Lines Matching refs:_field
75 #define ERR_STATUS_GET_FIELD(_status, _field) \ argument
76 (((_status) >> ERR_STATUS_ ##_field ##_SHIFT) & ERR_STATUS_ ##_field ##_MASK)
78 #define ERR_STATUS_CLR_FIELD(_status, _field) \ argument
79 (_status) &= ~(ERR_STATUS_ ##_field ##_MASK << ERR_STATUS_ ##_field ##_SHIFT)
81 #define ERR_STATUS_SET_FIELD(_status, _field, _value) \ argument
82 (_status) |= (((_value) & ERR_STATUS_ ##_field ##_MASK) << ERR_STATUS_ ##_field ##_SHIFT)
84 #define ERR_STATUS_WRITE_FIELD(_status, _field, _value) do { \ argument
85 ERR_STATUS_CLR_FIELD(_status, _field, _value); \
86 ERR_STATUS_SET_FIELD(_status, _field, _value); \
134 #define ERR_CTLR_CLR_FIELD(_ctlr, _field) \ argument
135 (_ctlr) &= ~(ERR_CTLR_ ##_field _MASK << ERR_CTLR_ ##_field ##_SHIFT)
137 #define ERR_CTLR_SET_FIELD(_ctlr, _field, _value) \ argument
138 (_ctlr) |= (((_value) & ERR_CTLR_ ##_field ##_MASK) << ERR_CTLR_ ##_field ##_SHIFT)
140 #define ERR_CTLR_ENABLE_FIELD(_ctlr, _field) \ argument
141 ERR_CTLR_SET_FIELD(_ctlr, _field, ERR_CTLR_ ##_field ##_MASK)