Lines Matching refs:_index
291 #define _MCDI_ARRAY_PTR(_buf, _field, _index, _align) \ argument
293 + (_index) * _MCDI_CHECK_ALIGN(MC_CMD_ ## _field ## _LEN, _align))
296 #define MCDI_ARRAY_STRUCT_PTR(_buf, _field, _index) \ argument
297 ((efx_dword_t *)_MCDI_ARRAY_PTR(_buf, _field, _index, 4))
301 #define MCDI_ARRAY_WORD(_buf, _field, _index) \ argument
304 _MCDI_ARRAY_PTR(_buf, _field, _index, 2)))
305 #define _MCDI_ARRAY_DWORD(_buf, _field, _index) \ argument
307 (efx_dword_t *)_MCDI_ARRAY_PTR(_buf, _field, _index, 4))
308 #define MCDI_SET_ARRAY_DWORD(_buf, _field, _index, _value) \ argument
309 EFX_SET_DWORD_FIELD(*_MCDI_ARRAY_DWORD(_buf, _field, _index), \
311 #define MCDI_ARRAY_DWORD(_buf, _field, _index) \ argument
312 EFX_DWORD_FIELD(*_MCDI_ARRAY_DWORD(_buf, _field, _index), EFX_DWORD_0)
313 #define _MCDI_ARRAY_QWORD(_buf, _field, _index) \ argument
315 (efx_dword_t *)_MCDI_ARRAY_PTR(_buf, _field, _index, 4))
316 #define MCDI_SET_ARRAY_QWORD(_buf, _field, _index, _value) \ argument
318 EFX_SET_DWORD_FIELD(_MCDI_ARRAY_QWORD(_buf, _field, _index)[0],\
320 EFX_SET_DWORD_FIELD(_MCDI_ARRAY_QWORD(_buf, _field, _index)[1],\
323 #define MCDI_ARRAY_FIELD(_buf, _field1, _type, _index, _field2) \ argument
324 MCDI_FIELD(MCDI_ARRAY_STRUCT_PTR(_buf, _field1, _index), \