Lines Matching refs:outlen
192 size_t outlen; in efx_ef10_get_pf_index() local
196 sizeof(outbuf), &outlen); in efx_ef10_get_pf_index()
199 if (outlen < sizeof(outbuf)) in efx_ef10_get_pf_index()
211 size_t outlen; in efx_ef10_get_vf_index() local
215 sizeof(outbuf), &outlen); in efx_ef10_get_vf_index()
218 if (outlen < sizeof(outbuf)) in efx_ef10_get_vf_index()
230 size_t outlen; in efx_ef10_init_datapath_caps() local
236 outbuf, sizeof(outbuf), &outlen); in efx_ef10_init_datapath_caps()
239 if (outlen < MC_CMD_GET_CAPABILITIES_OUT_LEN) { in efx_ef10_init_datapath_caps()
248 if (outlen >= MC_CMD_GET_CAPABILITIES_V2_OUT_LEN) { in efx_ef10_init_datapath_caps()
272 if (outlen >= MC_CMD_GET_CAPABILITIES_V3_OUT_LEN) { in efx_ef10_init_datapath_caps()
301 if (outlen >= MC_CMD_GET_CAPABILITIES_V4_OUT_LEN) { in efx_ef10_init_datapath_caps()
322 size_t outlen; in efx_ef10_read_licensed_features() local
328 outbuf, sizeof(outbuf), &outlen); in efx_ef10_read_licensed_features()
329 if (rc || (outlen < MC_CMD_LICENSING_V3_OUT_LEN)) in efx_ef10_read_licensed_features()
462 size_t outlen; in efx_ef10_get_mac_address_pf() local
468 outbuf, sizeof(outbuf), &outlen); in efx_ef10_get_mac_address_pf()
471 if (outlen < MC_CMD_GET_MAC_ADDRESSES_OUT_LEN) in efx_ef10_get_mac_address_pf()
483 size_t outlen; in efx_ef10_get_mac_address_vf() local
489 sizeof(inbuf), outbuf, sizeof(outbuf), &outlen); in efx_ef10_get_mac_address_vf()
493 if (outlen < MC_CMD_VPORT_GET_MAC_ADDRESSES_OUT_LENMIN) in efx_ef10_get_mac_address_vf()
837 size_t outlen; in efx_ef10_free_vis() local
839 outbuf, sizeof(outbuf), &outlen); in efx_ef10_free_vis()
845 efx_mcdi_display_error(efx, MC_CMD_FREE_VIS, 0, outbuf, outlen, in efx_ef10_free_vis()
877 size_t outlen; in efx_ef10_alloc_piobufs() local
884 outbuf, sizeof(outbuf), &outlen); in efx_ef10_alloc_piobufs()
891 0, outbuf, outlen, rc); in efx_ef10_alloc_piobufs()
894 if (outlen < MC_CMD_ALLOC_PIOBUF_OUT_LEN) { in efx_ef10_alloc_piobufs()
1125 size_t outlen; in efx_ef10_vadaptor_query() local
1134 outbuf, sizeof(outbuf), &outlen); in efx_ef10_vadaptor_query()
1138 if (outlen < sizeof(outbuf)) { in efx_ef10_vadaptor_query()
1264 size_t outlen; in efx_ef10_alloc_vis() local
1270 outbuf, sizeof(outbuf), &outlen); in efx_ef10_alloc_vis()
1274 if (outlen < MC_CMD_ALLOC_VIS_OUT_LEN) in efx_ef10_alloc_vis()
2174 size_t offset, size_t outlen) in efx_ef10_mcdi_read_response() argument
2179 memcpy(outbuf, pdu + offset, outlen); in efx_ef10_mcdi_read_response()
2534 size_t outlen; in efx_ef10_tx_fini() local
2541 outbuf, sizeof(outbuf), &outlen); in efx_ef10_tx_fini()
2550 outbuf, outlen, rc); in efx_ef10_tx_fini()
2672 size_t outlen; in efx_ef10_get_rss_flags() local
2681 sizeof(inbuf), outbuf, sizeof(outbuf), &outlen); in efx_ef10_get_rss_flags()
2683 if (outlen < MC_CMD_RSS_CONTEXT_GET_FLAGS_OUT_LEN) in efx_ef10_get_rss_flags()
2725 size_t outlen; in efx_ef10_alloc_rss_context() local
2752 outbuf, sizeof(outbuf), &outlen); in efx_ef10_alloc_rss_context()
2756 if (outlen < MC_CMD_RSS_CONTEXT_ALLOC_OUT_LEN) in efx_ef10_alloc_rss_context()
2927 size_t outlen; in efx_ef10_rx_pull_rss_context_config() local
2943 tablebuf, sizeof(tablebuf), &outlen); in efx_ef10_rx_pull_rss_context_config()
2947 if (WARN_ON(outlen != MC_CMD_RSS_CONTEXT_GET_TABLE_OUT_LEN)) in efx_ef10_rx_pull_rss_context_config()
2959 keybuf, sizeof(keybuf), &outlen); in efx_ef10_rx_pull_rss_context_config()
2963 if (WARN_ON(outlen != MC_CMD_RSS_CONTEXT_GET_KEY_OUT_LEN)) in efx_ef10_rx_pull_rss_context_config()
3133 size_t outlen; in efx_ef10_rx_fini() local
3140 outbuf, sizeof(outbuf), &outlen); in efx_ef10_rx_fini()
3149 outbuf, outlen, rc); in efx_ef10_rx_fini()
3241 size_t outlen; in efx_ef10_ev_fini() local
3247 outbuf, sizeof(outbuf), &outlen); in efx_ef10_ev_fini()
3256 outbuf, outlen, rc); in efx_ef10_ev_fini()
3268 size_t inlen, outlen; in efx_ef10_ev_init() local
3321 outbuf, sizeof(outbuf), &outlen); in efx_ef10_ev_init()
3323 if (outlen >= MC_CMD_INIT_EVQ_V2_OUT_LEN) in efx_ef10_ev_init()
4916 size_t outlen; in efx_ef10_filter_table_probe_matches() local
4926 &outlen); in efx_ef10_filter_table_probe_matches()
4931 outlen, GET_PARSER_DISP_INFO_OUT_SUPPORTED_MATCHES); in efx_ef10_filter_table_probe_matches()
5955 size_t outlen; in efx_ef10_poll_bist() local
5959 outbuf, sizeof(outbuf), &outlen); in efx_ef10_poll_bist()
5963 if (outlen < MC_CMD_POLL_BIST_OUT_LEN) in efx_ef10_poll_bist()
6059 size_t size, erase_size, outlen; in efx_ef10_mtd_probe_partition() local
6098 outbuf, sizeof(outbuf), &outlen); in efx_ef10_mtd_probe_partition()
6101 if (outlen < MC_CMD_NVRAM_METADATA_OUT_LENMIN) in efx_ef10_mtd_probe_partition()
6127 size_t outlen, n_parts_total, i, n_parts; in efx_ef10_mtd_probe() local
6135 outbuf, sizeof(outbuf), &outlen); in efx_ef10_mtd_probe()
6138 if (outlen < MC_CMD_NVRAM_PARTITIONS_OUT_LENMIN) in efx_ef10_mtd_probe()
6143 MCDI_VAR_ARRAY_LEN(outlen, NVRAM_PARTITIONS_OUT_TYPE_ID)) in efx_ef10_mtd_probe()
6343 size_t inlen, outlen; in efx_ef10_set_udp_tnl_ports() local
6392 inbuf, inlen, outbuf, sizeof(outbuf), &outlen); in efx_ef10_set_udp_tnl_ports()