/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | efx_types.h | 125 #define EFX_VAL(_field, _attribute) \ argument 126 _field ## _ ## _attribute 129 #define EFX_LOW_BIT(_field) \ argument 130 EFX_VAL(_field, LBN) 133 #define EFX_WIDTH(_field) \ argument 134 EFX_VAL(_field, WIDTH) 137 #define EFX_HIGH_BIT(_field) \ argument 138 (EFX_LOW_BIT(_field) + EFX_WIDTH(_field) - 1) 145 #define EFX_MASK64(_field) \ argument 146 ((EFX_WIDTH(_field) == 64) ? ~((uint64_t)0) : \ [all …]
|
H A D | efx_mcdi.h | 255 #define MCDI_IN_SET_DWORD_FIELD(_emr, _ofst, _field, _value) \ argument 257 MC_CMD_ ## _field, _value) 380 #define MCDI_OUT_DWORD_FIELD(_emr, _ofst, _field) \ argument 382 MC_CMD_ ## _field) 384 #define MCDI_EV_FIELD(_eqp, _field) \ argument 385 EFX_QWORD_FIELD(*_eqp, MCDI_EVENT_ ## _field) 387 #define MCDI_CMD_DWORD_FIELD(_edp, _field) \ argument 388 EFX_DWORD_FIELD(*_edp, MC_CMD_ ## _field)
|
H A D | mcdi_mon.c | 159 #define MCDI_STATIC_SENSOR_ASSERT(_field) \ argument 160 EFX_STATIC_ASSERT(MC_CMD_SENSOR_STATE_ ## _field \ 161 == EFX_MON_STAT_STATE_ ## _field)
|
H A D | siena_mac.c | 235 #define SIENA_MAC_STAT_READ(_esmp, _field, _eqp) \ argument 236 EFSYS_MEM_READQ((_esmp), (_field) * sizeof (efx_qword_t), _eqp)
|
H A D | ef10_mac.c | 419 #define EF10_MAC_STAT_READ(_esmp, _field, _eqp) \ argument 420 EFSYS_MEM_READQ((_esmp), (_field) * sizeof (efx_qword_t), _eqp)
|
H A D | efx.h | 48 #define EFX_FIELD_OFFSET(_type, _field) \ argument 49 ((size_t) &(((_type *)0)->_field))
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/include/ |
H A D | mm_vbd.h | 232 #define RESOURCE_TRACE_INC(_pdev, _cli_idx, _type, _field) \ argument 238 _field); \ 241 #define RESOURCE_TRACE_DEC(_pdev, _cli_idx, _type, _field) \ argument 247 _field); \ 250 #define RESOURCE_TRACE_ADD(_pdev, _cli_idx, _type, _field, _size) \ argument 256 _field), (long)(_size)); \ 259 #define RESOURCE_TRACE_SUB(_pdev, _cli_idx, _type, _field, _size) \ argument 260 RESOURCE_TRACE_ADD( _pdev, _cli_idx, _type, _field, 0L-(long)_size)
|
/illumos-gate/usr/src/cmd/sgs/elfdump/common/ |
H A D | gen_struct_layout.c | 83 #define SCALAR_FIELD(_type, _field, _sign) \ argument 84 do_scalar_field(#_type, #_field, _sign, NULL) 85 #define SCALAR_FIELD4(_type, _field, _sign, _rtype) \ argument 86 do_scalar_field(#_type, #_field, _sign, _rtype) 87 #define ARRAY_FIELD(_type, _field, _sign) \ argument 88 do_array_field(#_type, #_field, _sign, NULL) 96 static void do_scalar_field(char *_type, char *_field, 98 static void do_array_field(char *_type, char *_field, 100 static void do_array_type(char *_type, char *_field, int _sign);
|
H A D | corenote.c | 79 #define PRINT_DEC(_title, _field) \ argument 80 print_num(state, _title, &layout->_field, SL_FMT_NUM_DEC) 84 #define PRINT_HEX(_title, _field) \ argument 85 print_num(state, _title, &layout->_field, SL_FMT_NUM_HEX) 89 #define PRINT_ZHEX(_title, _field) \ argument 90 print_num(state, _title, &layout->_field, SL_FMT_NUM_ZHEX) 94 #define PRINT_SUBTYPE(_title, _field, _func) \ argument 95 print_subtype(state, _title, &layout->_field, _func) 96 #define PRINT_STRBUF(_title, _field) \ argument 97 print_strbuf(state, _title, &layout->_field)
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/ |
H A D | lm_niv.c | 290 #define NIV_STATS_ASSIGN_HI_LO(_field, _val) _field##_hi = U64_HI((_val));\ argument 291 … _field##_lo = U64_LO((_val));
|
H A D | lm_phy.c | 208 #define MII_REG(_type, _field) (OFFSETOF(_type, _field)/2) argument
|
/illumos-gate/usr/src/uts/common/io/bnx/ |
H A D | bnx_mm.c | 30 #define MII_REG(_type, _field) (OFFSETOF(_type, _field)/2) argument
|
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/ |
H A D | ecore_mcp.c | 71 #define DRV_MB_WR(_p_hwfn, _p_ptt, _field, _val) \ argument 73 offsetof(struct public_drv_mb, _field), _val) 75 #define DRV_MB_RD(_p_hwfn, _p_ptt, _field) \ argument 77 offsetof(struct public_drv_mb, _field))
|
/illumos-gate/usr/src/uts/common/io/bnx/570x/driver/common/lmdev/ |
H A D | bnx_hw_phy.c | 26 #define MII_REG(_type, _field) (OFFSETOF(_type, _field)/2) argument
|
/illumos-gate/usr/src/uts/common/inet/ipf/ |
H A D | fil.c | 6462 #define TUNE_SET(_ifs, _name, _field) \ in ipftuneable_alloc() argument 6465 item->ipft_una.ipftp_int = (unsigned int *)&((_ifs)->_field); \ in ipftuneable_alloc() 6466 item->ipft_sz = sizeof ((_ifs)->_field); \ in ipftuneable_alloc()
|
/illumos-gate/usr/src/uts/common/io/bnx/570x/common/include/ |
H A D | 5706_reg.h | 17880 #define ROFFSET(_field) \ argument 17881 ((u32_t) (((u8_t *) &(((reg_space_t *) 0)->_field)) - ((u8_t *) 0)))
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/common/ |
H A D | bnxe_clc.c | 161 #define SHMEM2_RD(cb, shmem2_base, _field) \ argument 164 _field))
|