Searched refs:devid (Results 1 – 2 of 2) sorted by relevance
/scripts/mod/ |
D | devicetable-offsets.c | 5 #define DEVID(devid) DEFINE(SIZE_##devid, sizeof(struct devid)) argument 6 #define DEVID_FIELD(devid, field) \ argument 7 DEFINE(OFF_##devid##_##field, offsetof(struct devid, field))
|
D | file2alias.c | 72 #define DEF_FIELD(m, devid, f) \ argument 73 typeof(((struct devid *)0)->f) f = TO_NATIVE(*(typeof(f) *)((m) + OFF_##devid##_##f)) 79 #define DEF_FIELD_ADDR_VAR(m, devid, f, v) \ argument 80 typeof(((struct devid *)0)->f) *v = ((m) + OFF_##devid##_##f) 86 #define DEF_FIELD_ADDR(m, devid, f) \ argument 87 DEF_FIELD_ADDR_VAR(m, devid, f, f)
|