Home
last modified time | relevance | path

Searched refs:_struct (Results 1 – 4 of 4) sorted by relevance

/linux-3.4.99/drivers/scsi/be2iscsi/
Dbe.h140 #define AMAP_BIT_OFFSET(_struct, field) \ argument
141 (((size_t)&(((_struct *)0)->field))%32)
157 #define AMAP_SET_BITS(_struct, field, ptr, val) \ argument
159 offsetof(_struct, field)/32, \
160 amap_mask(sizeof(((_struct *)0)->field)), \
161 AMAP_BIT_OFFSET(_struct, field), \
170 #define AMAP_GET_BITS(_struct, field, ptr) \ argument
172 offsetof(_struct, field)/32, \
173 amap_mask(sizeof(((_struct *)0)->field)), \
174 AMAP_BIT_OFFSET(_struct, field))
/linux-3.4.99/drivers/net/ethernet/emulex/benet/
Dbe.h456 #define AMAP_BIT_OFFSET(_struct, field) \ argument
457 (((size_t)&(((_struct *)0)->field))%32)
473 #define AMAP_SET_BITS(_struct, field, ptr, val) \ argument
475 offsetof(_struct, field)/32, \
476 amap_mask(sizeof(((_struct *)0)->field)), \
477 AMAP_BIT_OFFSET(_struct, field), \
486 #define AMAP_GET_BITS(_struct, field, ptr) \ argument
488 offsetof(_struct, field)/32, \
489 amap_mask(sizeof(((_struct *)0)->field)), \
490 AMAP_BIT_OFFSET(_struct, field))
Dbe_ethtool.c30 #define FIELDINFO(_struct, field) FIELD_SIZEOF(_struct, field), \ argument
31 offsetof(_struct, field)
/linux-3.4.99/drivers/net/wireless/ath/ath5k/
Ddebug.c714 #define CC_PRINT(_struct, _field) \ in read_file_ani() argument
715 _struct._field, \ in read_file_ani()
716 _struct.cycles > 0 ? \ in read_file_ani()
717 _struct._field * 100 / _struct.cycles : 0 in read_file_ani()