| /freebsd-12.1/sys/dev/bhnd/nvram/ |
| H A D | bhnd_nvram_value_prf.c | 589 #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.1/sys/dev/axgbe/ |
| H A D | xgbe-common.h | 1076 #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.1/sys/dev/hwpmc/ |
| H A D | hwpmc_uncore.h | 119 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,
|
| H A D | hwpmc_core.h | 189 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.1/sys/dev/bhnd/tools/ |
| H A D | nvram_map_gen.awk | 791 _width, _offset, _delta) 823 _delta % _width == 0 && 824 (_delta/_width) <= SPROM_OP_IMM_MAX) 829 value = (_delta / _width) 867 } else if (value % _width == 0 && (value / _width) <= UInt8Max) { 1115 _width = get(_type, p_width) 1123 set(_obj, p_width, _width) 1153 _width = get(bind, p_width) 1170 if ((_delta % _width) != 0) 1174 _skip_in = _delta / _width [all …]
|
| /freebsd-12.1/lib/libpmc/ |
| H A D | pmc.h | 96 int pmc_width(pmc_id_t _pmc, uint32_t *_width);
|
| /freebsd-12.1/sys/arm/allwinner/clkng/ |
| H A D | aw_clk.h | 432 _offset, _shift, _width) \ argument 442 .width = _width, \
|
| /freebsd-12.1/sys/dev/bhnd/ |
| H A D | bhnd.h | 265 #define BHND_DMA_ADDR_BITMASK(_width) \ argument 266 ((_width >= 64) ? ~0ULL : \ 267 (_width == 0) ? 0x0 : \ 268 ((1ULL << (_width)) - 1)) \
|
| /freebsd-12.1/sys/ofed/drivers/infiniband/core/ |
| H A D | ib_sysfs.c | 421 #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.1/sys/contrib/alpine-hal/ |
| H A D | al_hal_serdes_25g.c | 760 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()
|