Lines Matching refs:_buf
88 #define MCDI_PTR2(_buf, _ofst) \ argument
89 (((u8 *)_buf) + _ofst)
90 #define MCDI_SET_DWORD2(_buf, _ofst, _value) \ argument
91 EFX_POPULATE_DWORD_1(*((efx_dword_t *)MCDI_PTR2(_buf, _ofst)), \
93 #define MCDI_DWORD2(_buf, _ofst) \ argument
94 EFX_DWORD_FIELD(*((efx_dword_t *)MCDI_PTR2(_buf, _ofst)), \
96 #define MCDI_QWORD2(_buf, _ofst) \ argument
97 EFX_QWORD_FIELD64(*((efx_qword_t *)MCDI_PTR2(_buf, _ofst)), \
100 #define MCDI_PTR(_buf, _ofst) \ argument
101 MCDI_PTR2(_buf, MC_CMD_ ## _ofst ## _OFST)
102 #define MCDI_ARRAY_PTR(_buf, _field, _type, _index) \ argument
103 MCDI_PTR2(_buf, \
106 #define MCDI_SET_DWORD(_buf, _ofst, _value) \ argument
107 MCDI_SET_DWORD2(_buf, MC_CMD_ ## _ofst ## _OFST, _value)
108 #define MCDI_DWORD(_buf, _ofst) \ argument
109 MCDI_DWORD2(_buf, MC_CMD_ ## _ofst ## _OFST)
110 #define MCDI_QWORD(_buf, _ofst) \ argument
111 MCDI_QWORD2(_buf, MC_CMD_ ## _ofst ## _OFST)
115 #define MCDI_ARRAY_FIELD(_buf, _field1, _type, _index, _field2) \ argument
118 (MCDI_ARRAY_PTR(_buf, _field1, _type, _index) + \