Lines Matching refs:_index
293 #define _MCDI_ARRAY_PTR(_buf, _field, _index, _align) \ argument
295 + (_index) * _MCDI_CHECK_ALIGN(MC_CMD_ ## _field ## _LEN, _align))
298 #define MCDI_ARRAY_STRUCT_PTR(_buf, _field, _index) \ argument
299 ((efx_dword_t *)_MCDI_ARRAY_PTR(_buf, _field, _index, 4))
303 #define MCDI_ARRAY_WORD(_buf, _field, _index) \ argument
306 _MCDI_ARRAY_PTR(_buf, _field, _index, 2)))
307 #define _MCDI_ARRAY_DWORD(_buf, _field, _index) \ argument
309 (efx_dword_t *)_MCDI_ARRAY_PTR(_buf, _field, _index, 4))
310 #define MCDI_SET_ARRAY_DWORD(_buf, _field, _index, _value) \ argument
311 EFX_SET_DWORD_FIELD(*_MCDI_ARRAY_DWORD(_buf, _field, _index), \
313 #define MCDI_ARRAY_DWORD(_buf, _field, _index) \ argument
314 EFX_DWORD_FIELD(*_MCDI_ARRAY_DWORD(_buf, _field, _index), EFX_DWORD_0)
315 #define _MCDI_ARRAY_QWORD(_buf, _field, _index) \ argument
317 (efx_dword_t *)_MCDI_ARRAY_PTR(_buf, _field, _index, 4))
318 #define MCDI_SET_ARRAY_QWORD(_buf, _field, _index, _value) \ argument
320 EFX_SET_DWORD_FIELD(_MCDI_ARRAY_QWORD(_buf, _field, _index)[0],\
322 EFX_SET_DWORD_FIELD(_MCDI_ARRAY_QWORD(_buf, _field, _index)[1],\
325 #define MCDI_ARRAY_FIELD(_buf, _field1, _type, _index, _field2) \ argument
326 MCDI_FIELD(MCDI_ARRAY_STRUCT_PTR(_buf, _field1, _index), \