Home
last modified time | relevance | path

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

/drivers/net/benet/
Dbe.h253 #define AMAP_BIT_OFFSET(_struct, field) \ argument
254 (((size_t)&(((_struct *)0)->field))%32)
270 #define AMAP_SET_BITS(_struct, field, ptr, val) \ argument
272 offsetof(_struct, field)/32, \
273 amap_mask(sizeof(((_struct *)0)->field)), \
274 AMAP_BIT_OFFSET(_struct, field), \
283 #define AMAP_GET_BITS(_struct, field, ptr) \ argument
285 offsetof(_struct, field)/32, \
286 amap_mask(sizeof(((_struct *)0)->field)), \
287 AMAP_BIT_OFFSET(_struct, field))
Dbe_ethtool.c29 #define FIELDINFO(_struct, field) FIELD_SIZEOF(_struct, field), \ argument
30 offsetof(_struct, field)