Home
last modified time | relevance | path

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

/linux-2.6.39/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-2.6.39/drivers/net/benet/
Dbe.h381 #define AMAP_BIT_OFFSET(_struct, field) \ argument
382 (((size_t)&(((_struct *)0)->field))%32)
398 #define AMAP_SET_BITS(_struct, field, ptr, val) \ argument
400 offsetof(_struct, field)/32, \
401 amap_mask(sizeof(((_struct *)0)->field)), \
402 AMAP_BIT_OFFSET(_struct, field), \
411 #define AMAP_GET_BITS(_struct, field, ptr) \ argument
413 offsetof(_struct, field)/32, \
414 amap_mask(sizeof(((_struct *)0)->field)), \
415 AMAP_BIT_OFFSET(_struct, field))
Dbe_ethtool.c31 #define FIELDINFO(_struct, field) FIELD_SIZEOF(_struct, field), \ argument
32 offsetof(_struct, field)
/linux-2.6.39/drivers/net/wireless/ath/ath5k/
Ddebug.c722 #define CC_PRINT(_struct, _field) \ in read_file_ani() argument
723 _struct._field, \ in read_file_ani()
724 _struct.cycles > 0 ? \ in read_file_ani()
725 _struct._field*100/_struct.cycles : 0 in read_file_ani()