Searched refs:_struct (Results 1 – 7 of 7) sorted by relevance
/linux-4.1.27/drivers/scsi/be2iscsi/ |
D | be.h | 161 #define AMAP_BIT_OFFSET(_struct, field) \ argument 162 (((size_t)&(((_struct *)0)->field))%32) 178 #define AMAP_SET_BITS(_struct, field, ptr, val) \ argument 180 offsetof(_struct, field)/32, \ 181 amap_mask(sizeof(((_struct *)0)->field)), \ 182 AMAP_BIT_OFFSET(_struct, field), \ 191 #define AMAP_GET_BITS(_struct, field, ptr) \ argument 193 offsetof(_struct, field)/32, \ 194 amap_mask(sizeof(((_struct *)0)->field)), \ 195 AMAP_BIT_OFFSET(_struct, field))
|
/linux-4.1.27/drivers/net/ethernet/emulex/benet/ |
D | be.h | 681 #define AMAP_BIT_OFFSET(_struct, field) \ argument 682 (((size_t)&(((_struct *)0)->field))%32) 698 #define AMAP_SET_BITS(_struct, field, ptr, val) \ argument 700 offsetof(_struct, field)/32, \ 701 amap_mask(sizeof(((_struct *)0)->field)), \ 702 AMAP_BIT_OFFSET(_struct, field), \ 711 #define AMAP_GET_BITS(_struct, field, ptr) \ argument 713 offsetof(_struct, field)/32, \ 714 amap_mask(sizeof(((_struct *)0)->field)), \ 715 AMAP_BIT_OFFSET(_struct, field))
|
D | be_ethtool.c | 30 #define FIELDINFO(_struct, field) FIELD_SIZEOF(_struct, field), \ argument 31 offsetof(_struct, field)
|
/linux-4.1.27/include/uapi/linux/genwqe/ |
D | genwqe_card.h | 390 #define ATS_SET_FLAGS(_struct, _field, _flags) \ argument 391 (((_flags) & 0xf) << (44 - (4 * (offsetof(_struct, _field) / 8))))
|
/linux-4.1.27/drivers/net/wireless/ath/ath5k/ |
D | debug.c | 727 #define CC_PRINT(_struct, _field) \ in read_file_ani() argument 728 _struct._field, \ in read_file_ani() 729 _struct.cycles > 0 ? \ in read_file_ani() 730 _struct._field * 100 / _struct.cycles : 0 in read_file_ani()
|
/linux-4.1.27/drivers/net/ethernet/intel/i40e/ |
D | i40e_lan_hmc.c | 683 #define I40E_HMC_STORE(_struct, _ele) \ argument 684 offsetof(struct _struct, _ele), \ 685 FIELD_SIZEOF(struct _struct, _ele)
|
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/ |
D | debugfs.c | 643 #define PRINT_STATS_LE32(_struct, _memb) \ argument 646 le32_to_cpu(_struct->_memb))
|