Lines Matching refs:outbuf
118 MCDI_DECLARE_BUF(outbuf, MC_CMD_GET_FUNCTION_INFO_OUT_LEN); in efx_ef10_get_pf_index()
123 rc = efx_mcdi_rpc(efx, MC_CMD_GET_FUNCTION_INFO, NULL, 0, outbuf, in efx_ef10_get_pf_index()
124 sizeof(outbuf), &outlen); in efx_ef10_get_pf_index()
127 if (outlen < sizeof(outbuf)) in efx_ef10_get_pf_index()
130 nic_data->pf_index = MCDI_DWORD(outbuf, GET_FUNCTION_INFO_OUT_PF); in efx_ef10_get_pf_index()
137 MCDI_DECLARE_BUF(outbuf, MC_CMD_GET_FUNCTION_INFO_OUT_LEN); in efx_ef10_get_vf_index()
142 rc = efx_mcdi_rpc(efx, MC_CMD_GET_FUNCTION_INFO, NULL, 0, outbuf, in efx_ef10_get_vf_index()
143 sizeof(outbuf), &outlen); in efx_ef10_get_vf_index()
146 if (outlen < sizeof(outbuf)) in efx_ef10_get_vf_index()
149 nic_data->vf_index = MCDI_DWORD(outbuf, GET_FUNCTION_INFO_OUT_VF); in efx_ef10_get_vf_index()
156 MCDI_DECLARE_BUF(outbuf, MC_CMD_GET_CAPABILITIES_OUT_LEN); in efx_ef10_init_datapath_caps()
164 outbuf, sizeof(outbuf), &outlen); in efx_ef10_init_datapath_caps()
167 if (outlen < sizeof(outbuf)) { in efx_ef10_init_datapath_caps()
174 MCDI_DWORD(outbuf, GET_CAPABILITIES_OUT_FLAGS1); in efx_ef10_init_datapath_caps()
179 MCDI_WORD(outbuf, GET_CAPABILITIES_OUT_RX_DPCPU_FW_ID); in efx_ef10_init_datapath_caps()
181 MCDI_WORD(outbuf, GET_CAPABILITIES_OUT_TX_DPCPU_FW_ID); in efx_ef10_init_datapath_caps()
202 MCDI_DECLARE_BUF(outbuf, MC_CMD_GET_CLOCK_OUT_LEN); in efx_ef10_get_sysclk_freq()
206 outbuf, sizeof(outbuf), NULL); in efx_ef10_get_sysclk_freq()
209 rc = MCDI_DWORD(outbuf, GET_CLOCK_OUT_SYS_FREQ); in efx_ef10_get_sysclk_freq()
215 MCDI_DECLARE_BUF(outbuf, MC_CMD_GET_MAC_ADDRESSES_OUT_LEN); in efx_ef10_get_mac_address_pf()
222 outbuf, sizeof(outbuf), &outlen); in efx_ef10_get_mac_address_pf()
229 MCDI_PTR(outbuf, GET_MAC_ADDRESSES_OUT_MAC_ADDR_BASE)); in efx_ef10_get_mac_address_pf()
236 MCDI_DECLARE_BUF(outbuf, MC_CMD_VPORT_GET_MAC_ADDRESSES_OUT_LENMAX); in efx_ef10_get_mac_address_vf()
243 sizeof(inbuf), outbuf, sizeof(outbuf), &outlen); in efx_ef10_get_mac_address_vf()
250 num_addrs = MCDI_DWORD(outbuf, in efx_ef10_get_mac_address_vf()
256 MCDI_PTR(outbuf, VPORT_GET_MAC_ADDRESSES_OUT_MACADDR)); in efx_ef10_get_mac_address_vf()
449 MCDI_DECLARE_BUF_ERR(outbuf); in efx_ef10_free_vis()
452 outbuf, sizeof(outbuf), &outlen); in efx_ef10_free_vis()
458 efx_mcdi_display_error(efx, MC_CMD_FREE_VIS, 0, outbuf, outlen, in efx_ef10_free_vis()
488 MCDI_DECLARE_BUF(outbuf, MC_CMD_ALLOC_PIOBUF_OUT_LEN); in efx_ef10_alloc_piobufs()
497 outbuf, sizeof(outbuf), &outlen); in efx_ef10_alloc_piobufs()
505 MCDI_DWORD(outbuf, ALLOC_PIOBUF_OUT_PIOBUF_HANDLE); in efx_ef10_alloc_piobufs()
812 MCDI_DECLARE_BUF(outbuf, MC_CMD_ALLOC_VIS_OUT_LEN); in efx_ef10_alloc_vis()
820 outbuf, sizeof(outbuf), &outlen); in efx_ef10_alloc_vis()
828 MCDI_DWORD(outbuf, ALLOC_VIS_OUT_VI_BASE)); in efx_ef10_alloc_vis()
830 nic_data->vi_base = MCDI_DWORD(outbuf, ALLOC_VIS_OUT_VI_BASE); in efx_ef10_alloc_vis()
831 nic_data->n_allocated_vis = MCDI_DWORD(outbuf, ALLOC_VIS_OUT_VI_COUNT); in efx_ef10_alloc_vis()
1614 efx_ef10_mcdi_read_response(struct efx_nic *efx, efx_dword_t *outbuf, in efx_ef10_mcdi_read_response() argument
1620 memcpy(outbuf, pdu + offset, outlen); in efx_ef10_mcdi_read_response()
1829 MCDI_DECLARE_BUF_ERR(outbuf); in efx_ef10_tx_fini()
1838 outbuf, sizeof(outbuf), &outlen); in efx_ef10_tx_fini()
1847 outbuf, outlen, rc); in efx_ef10_tx_fini()
1914 MCDI_DECLARE_BUF(outbuf, MC_CMD_RSS_CONTEXT_ALLOC_OUT_LEN); in efx_ef10_alloc_rss_context()
1939 outbuf, sizeof(outbuf), &outlen); in efx_ef10_alloc_rss_context()
1946 *context = MCDI_DWORD(outbuf, RSS_CONTEXT_ALLOC_OUT_RSS_CONTEXT_ID); in efx_ef10_alloc_rss_context()
2184 MCDI_DECLARE_BUF_ERR(outbuf); in efx_ef10_rx_fini()
2193 outbuf, sizeof(outbuf), &outlen); in efx_ef10_rx_fini()
2202 outbuf, outlen, rc); in efx_ef10_rx_fini()
2275 int rc, efx_dword_t *outbuf, in efx_ef10_rx_defer_refill_complete() argument
2292 MCDI_DECLARE_BUF_ERR(outbuf); in efx_ef10_ev_fini()
2300 outbuf, sizeof(outbuf), &outlen); in efx_ef10_ev_fini()
2309 outbuf, outlen, rc); in efx_ef10_ev_fini()
2317 MCDI_DECLARE_BUF(outbuf, MC_CMD_INIT_EVQ_OUT_LEN); in efx_ef10_ev_init()
2362 outbuf, sizeof(outbuf), &outlen); in efx_ef10_ev_init()
3002 MCDI_DECLARE_BUF(outbuf, MC_CMD_FILTER_OP_OUT_LEN); in efx_ef10_filter_push()
3007 outbuf, sizeof(outbuf), NULL); in efx_ef10_filter_push()
3009 *handle = MCDI_QWORD(outbuf, FILTER_OP_OUT_HANDLE); in efx_ef10_filter_push()
3580 int rc, efx_dword_t *outbuf, in efx_ef10_filter_rfs_insert_complete() argument
3597 MCDI_QWORD(outbuf, FILTER_OP_OUT_HANDLE); in efx_ef10_filter_rfs_insert_complete()
3613 int rc, efx_dword_t *outbuf,
3648 int rc, efx_dword_t *outbuf, in efx_ef10_filter_rfs_expire_complete() argument
3702 MCDI_DECLARE_BUF(outbuf, MC_CMD_GET_PARSER_DISP_INFO_OUT_LENMAX); in efx_ef10_filter_table_probe()
3716 inbuf, sizeof(inbuf), outbuf, sizeof(outbuf), in efx_ef10_filter_table_probe()
3727 outbuf, in efx_ef10_filter_table_probe()
4348 MCDI_DECLARE_BUF(outbuf, MC_CMD_POLL_BIST_OUT_LEN); in efx_ef10_poll_bist()
4353 outbuf, sizeof(outbuf), &outlen); in efx_ef10_poll_bist()
4360 result = MCDI_DWORD(outbuf, POLL_BIST_OUT_RESULT); in efx_ef10_poll_bist()
4442 MCDI_DECLARE_BUF(outbuf, MC_CMD_NVRAM_METADATA_OUT_LENMAX); in efx_ef10_mtd_probe_partition()
4468 outbuf, sizeof(outbuf), &outlen); in efx_ef10_mtd_probe_partition()
4473 if (MCDI_DWORD(outbuf, NVRAM_METADATA_OUT_FLAGS) & in efx_ef10_mtd_probe_partition()
4475 part->fw_subtype = MCDI_DWORD(outbuf, in efx_ef10_mtd_probe_partition()
4491 MCDI_DECLARE_BUF(outbuf, MC_CMD_NVRAM_PARTITIONS_OUT_LENMAX); in efx_ef10_mtd_probe()
4501 outbuf, sizeof(outbuf), &outlen); in efx_ef10_mtd_probe()
4507 n_parts_total = MCDI_DWORD(outbuf, NVRAM_PARTITIONS_OUT_NUM_PARTITIONS); in efx_ef10_mtd_probe()
4518 type = MCDI_ARRAY_DWORD(outbuf, NVRAM_PARTITIONS_OUT_TYPE_ID, in efx_ef10_mtd_probe()