Home
last modified time | relevance | path

Searched refs:_width (Results 1 – 12 of 12) sorted by relevance

/freebsd-12-stable/sys/dev/bhnd/nvram/
Dbhnd_nvram_value_prf.c589 #define NV_ENCODE_INT(_width) do { \ in bhnd_nvram_val_vprintf() argument
590 arg_type = (is_signed) ? BHND_NVRAM_TYPE_INT ## _width : \ in bhnd_nvram_val_vprintf()
591 BHND_NVRAM_TYPE_UINT ## _width; \ in bhnd_nvram_val_vprintf()
592 arg_size = sizeof(v.u ## _width); \ in bhnd_nvram_val_vprintf()
594 &v.u ## _width, &arg_size, arg_type); \ in bhnd_nvram_val_vprintf()
602 if (v.i ## _width < 0) { \ in bhnd_nvram_val_vprintf()
604 numval = (int64_t)-(v.i ## _width); \ in bhnd_nvram_val_vprintf()
606 numval = (int64_t) (v.i ## _width); \ in bhnd_nvram_val_vprintf()
609 numval = v.u ## _width; \ in bhnd_nvram_val_vprintf()
/freebsd-12-stable/sys/dev/axgbe/
Dxgbe-common.h1076 #define GET_BITS(_var, _index, _width) \ argument
1077 (((_var) >> (_index)) & ((0x1 << (_width)) - 1))
1079 #define SET_BITS(_var, _index, _width, _val) \ argument
1081 (_var) &= ~(((0x1 << (_width)) - 1) << (_index)); \
1082 (_var) |= (((_val) & ((0x1 << (_width)) - 1)) << (_index)); \
1085 #define GET_BITS_LE(_var, _index, _width) \ argument
1086 ((le32_to_cpu((_var)) >> (_index)) & ((0x1 << (_width)) - 1))
1088 #define SET_BITS_LE(_var, _index, _width, _val) \ argument
1090 (_var) &= cpu_to_le32(~(((0x1 << (_width)) - 1) << (_index))); \
1092 ((0x1 << (_width)) - 1)) << (_index))); \
/freebsd-12-stable/sys/dev/hwpmc/
Dhwpmc_uncore.h119 int pmc_ucf_initialize(struct pmc_mdep *_md, int _maxcpu, int _npmc, int _width);
122 int pmc_ucp_initialize(struct pmc_mdep *_md, int _maxcpu, int _npmc, int _width,
Dhwpmc_core.h189 int pmc_iaf_initialize(struct pmc_mdep *_md, int _maxcpu, int _npmc, int _width);
192 int pmc_iap_initialize(struct pmc_mdep *_md, int _maxcpu, int _npmc, int _width,
/freebsd-12-stable/sys/dev/bhnd/tools/
Dnvram_map_gen.awk791 _width, _offset, _delta)
796 _width = srom_ops_get_type_width(opstream)
823 _delta % _width == 0 &&
824 (_delta/_width) <= SPROM_OP_IMM_MAX)
829 value = (_delta / _width)
867 } else if (value % _width == 0 && (value / _width) <= UInt8Max) {
870 "("opc"|"SPROM_OP_DATA_U8_SCALED")", svalue / _width)
1094 function srom_opbind_new(segment, skip_in, skip_out, _obj, _type, _width,
1115 _width = get(_type, p_width)
1123 set(_obj, p_width, _width)
[all …]
/freebsd-12-stable/lib/libpmc/
Dpmc.h96 int pmc_width(pmc_id_t _pmc, uint32_t *_width);
/freebsd-12-stable/contrib/file/magic/Magdir/
Dxwindows39 >&0 regex [a-zA-Z0-9]+_width\040 xbm image
/freebsd-12-stable/sys/dev/bhnd/
Dbhnd.h265 #define BHND_DMA_ADDR_BITMASK(_width) \ argument
266 ((_width >= 64) ? ~0ULL : \
267 (_width == 0) ? 0x0 : \
268 ((1ULL << (_width)) - 1)) \
/freebsd-12-stable/sys/ofed/drivers/infiniband/core/
Dib_sysfs.c421 #define PORT_PMA_ATTR(_name, _counter, _width, _offset) \ argument
424 .index = (_offset) | ((_width) << 16) | ((_counter) << 24), \
428 #define PORT_PMA_ATTR_EXT(_name, _width, _offset) \ argument
431 .index = (_offset) | ((_width) << 16), \
/freebsd-12-stable/sys/contrib/alpine-hal/
Dal_hal_serdes_25g.c760 int _width = 0; in al_serdes_25g_calc_eye_size() local
818 i++, (_width)++) in al_serdes_25g_calc_eye_size()
822 i--, (_width)++) in al_serdes_25g_calc_eye_size()
826 *width = _width; in al_serdes_25g_calc_eye_size()
/freebsd-12-stable/sys/arm/allwinner/clkng/
Daw_clk.h559 _offset, _shift, _width) \ argument
569 .width = _width, \
/freebsd-12-stable/sys/dev/ice/
Dice_lan_tx_rx.h851 #define ICE_CTX_STORE(_struct, _ele, _width, _lsb) { \ argument
854 .width = _width, \