Lines Matching refs:__field
235 #define SET_FIELD(__reg, __type, __field, __value)\ argument
237 typecheck(__type, __field); \
238 *(__reg) &= ~((__field).bit_mask); \
240 ((__field).bit_offset)) & \
241 ((__field).bit_mask); \
244 #define GET_FIELD(__reg, __type, __field) \ argument
246 typecheck(__type, __field); \
247 ((__reg) & ((__field).bit_mask)) >> \
248 ((__field).bit_offset); \
251 #define rt2x00_set_field32(__reg, __field, __value) \ argument
252 SET_FIELD(__reg, struct rt2x00_field32, __field, __value)
253 #define rt2x00_get_field32(__reg, __field) \ argument
254 GET_FIELD(__reg, struct rt2x00_field32, __field)
256 #define rt2x00_set_field16(__reg, __field, __value) \ argument
257 SET_FIELD(__reg, struct rt2x00_field16, __field, __value)
258 #define rt2x00_get_field16(__reg, __field) \ argument
259 GET_FIELD(__reg, struct rt2x00_field16, __field)
261 #define rt2x00_set_field8(__reg, __field, __value) \ argument
262 SET_FIELD(__reg, struct rt2x00_field8, __field, __value)
263 #define rt2x00_get_field8(__reg, __field) \ argument
264 GET_FIELD(__reg, struct rt2x00_field8, __field)