Lines Matching refs:_index
279 #define _MCDI_ARRAY_PTR(_buf, _field, _index, _align) \ argument
281 + (_index) * _MCDI_CHECK_ALIGN(MC_CMD_ ## _field ## _LEN, _align))
284 #define MCDI_ARRAY_STRUCT_PTR(_buf, _field, _index) \ argument
285 ((efx_dword_t *)_MCDI_ARRAY_PTR(_buf, _field, _index, 4))
289 #define MCDI_ARRAY_WORD(_buf, _field, _index) \ argument
292 _MCDI_ARRAY_PTR(_buf, _field, _index, 2)))
293 #define _MCDI_ARRAY_DWORD(_buf, _field, _index) \ argument
295 (efx_dword_t *)_MCDI_ARRAY_PTR(_buf, _field, _index, 4))
296 #define MCDI_SET_ARRAY_DWORD(_buf, _field, _index, _value) \ argument
297 EFX_SET_DWORD_FIELD(*_MCDI_ARRAY_DWORD(_buf, _field, _index), \
299 #define MCDI_ARRAY_DWORD(_buf, _field, _index) \ argument
300 EFX_DWORD_FIELD(*_MCDI_ARRAY_DWORD(_buf, _field, _index), EFX_DWORD_0)
301 #define _MCDI_ARRAY_QWORD(_buf, _field, _index) \ argument
303 (efx_dword_t *)_MCDI_ARRAY_PTR(_buf, _field, _index, 4))
304 #define MCDI_SET_ARRAY_QWORD(_buf, _field, _index, _value) \ argument
306 EFX_SET_DWORD_FIELD(_MCDI_ARRAY_QWORD(_buf, _field, _index)[0],\
308 EFX_SET_DWORD_FIELD(_MCDI_ARRAY_QWORD(_buf, _field, _index)[1],\
311 #define MCDI_ARRAY_FIELD(_buf, _field1, _type, _index, _field2) \ argument
312 MCDI_FIELD(MCDI_ARRAY_STRUCT_PTR(_buf, _field1, _index), \