Lines Matching refs:_index
271 #define _MCDI_ARRAY_PTR(_buf, _field, _index, _align) \ argument
273 + (_index) * _MCDI_CHECK_ALIGN(MC_CMD_ ## _field ## _LEN, _align))
276 #define MCDI_ARRAY_STRUCT_PTR(_buf, _field, _index) \ argument
277 ((efx_dword_t *)_MCDI_ARRAY_PTR(_buf, _field, _index, 4))
281 #define MCDI_ARRAY_WORD(_buf, _field, _index) \ argument
284 _MCDI_ARRAY_PTR(_buf, _field, _index, 2)))
285 #define _MCDI_ARRAY_DWORD(_buf, _field, _index) \ argument
287 (efx_dword_t *)_MCDI_ARRAY_PTR(_buf, _field, _index, 4))
288 #define MCDI_SET_ARRAY_DWORD(_buf, _field, _index, _value) \ argument
289 EFX_SET_DWORD_FIELD(*_MCDI_ARRAY_DWORD(_buf, _field, _index), \
291 #define MCDI_ARRAY_DWORD(_buf, _field, _index) \ argument
292 EFX_DWORD_FIELD(*_MCDI_ARRAY_DWORD(_buf, _field, _index), EFX_DWORD_0)
293 #define _MCDI_ARRAY_QWORD(_buf, _field, _index) \ argument
295 (efx_dword_t *)_MCDI_ARRAY_PTR(_buf, _field, _index, 4))
296 #define MCDI_SET_ARRAY_QWORD(_buf, _field, _index, _value) \ argument
298 EFX_SET_DWORD_FIELD(_MCDI_ARRAY_QWORD(_buf, _field, _index)[0],\
300 EFX_SET_DWORD_FIELD(_MCDI_ARRAY_QWORD(_buf, _field, _index)[1],\
303 #define MCDI_ARRAY_FIELD(_buf, _field1, _type, _index, _field2) \ argument
304 MCDI_FIELD(MCDI_ARRAY_STRUCT_PTR(_buf, _field1, _index), \