Lines Matching full:field
11 * NPCX register bit/field access operations
17 #define FIELD_POS(field) GET_POS_##field argument
18 #define FIELD_SIZE(field) GET_SIZE_##field argument
20 #define GET_FIELD(reg, field) \ argument
21 _GET_FIELD_(reg, FIELD_POS(field), FIELD_SIZE(field))
24 #define SET_FIELD(reg, field, value) \ argument
25 _SET_FIELD_(reg, FIELD_POS(field), FIELD_SIZE(field), value)
30 #define GET_FIELD_POS(field) \ argument
31 _GET_FIELD_POS_(FIELD_POS(field))
34 #define GET_FIELD_SZ(field) \ argument
35 _GET_FIELD_SZ_(FIELD_SIZE(field))