Lines Matching refs:outlen
195 size_t outlen; in efx_ef10_get_pf_index() local
199 sizeof(outbuf), &outlen); in efx_ef10_get_pf_index()
202 if (outlen < sizeof(outbuf)) in efx_ef10_get_pf_index()
214 size_t outlen; in efx_ef10_get_vf_index() local
218 sizeof(outbuf), &outlen); in efx_ef10_get_vf_index()
221 if (outlen < sizeof(outbuf)) in efx_ef10_get_vf_index()
233 size_t outlen; in efx_ef10_init_datapath_caps() local
239 outbuf, sizeof(outbuf), &outlen); in efx_ef10_init_datapath_caps()
242 if (outlen < MC_CMD_GET_CAPABILITIES_OUT_LEN) { in efx_ef10_init_datapath_caps()
251 if (outlen >= MC_CMD_GET_CAPABILITIES_V2_OUT_LEN) { in efx_ef10_init_datapath_caps()
275 if (outlen >= MC_CMD_GET_CAPABILITIES_V3_OUT_LEN) { in efx_ef10_init_datapath_caps()
304 if (outlen >= MC_CMD_GET_CAPABILITIES_V4_OUT_LEN) { in efx_ef10_init_datapath_caps()
325 size_t outlen; in efx_ef10_read_licensed_features() local
331 outbuf, sizeof(outbuf), &outlen); in efx_ef10_read_licensed_features()
332 if (rc || (outlen < MC_CMD_LICENSING_V3_OUT_LEN)) in efx_ef10_read_licensed_features()
465 size_t outlen; in efx_ef10_get_mac_address_pf() local
471 outbuf, sizeof(outbuf), &outlen); in efx_ef10_get_mac_address_pf()
474 if (outlen < MC_CMD_GET_MAC_ADDRESSES_OUT_LEN) in efx_ef10_get_mac_address_pf()
486 size_t outlen; in efx_ef10_get_mac_address_vf() local
492 sizeof(inbuf), outbuf, sizeof(outbuf), &outlen); in efx_ef10_get_mac_address_vf()
496 if (outlen < MC_CMD_VPORT_GET_MAC_ADDRESSES_OUT_LENMIN) in efx_ef10_get_mac_address_vf()
840 size_t outlen; in efx_ef10_free_vis() local
842 outbuf, sizeof(outbuf), &outlen); in efx_ef10_free_vis()
848 efx_mcdi_display_error(efx, MC_CMD_FREE_VIS, 0, outbuf, outlen, in efx_ef10_free_vis()
880 size_t outlen; in efx_ef10_alloc_piobufs() local
887 outbuf, sizeof(outbuf), &outlen); in efx_ef10_alloc_piobufs()
894 0, outbuf, outlen, rc); in efx_ef10_alloc_piobufs()
897 if (outlen < MC_CMD_ALLOC_PIOBUF_OUT_LEN) { in efx_ef10_alloc_piobufs()
1128 size_t outlen; in efx_ef10_vadaptor_query() local
1137 outbuf, sizeof(outbuf), &outlen); in efx_ef10_vadaptor_query()
1141 if (outlen < sizeof(outbuf)) { in efx_ef10_vadaptor_query()
1267 size_t outlen; in efx_ef10_alloc_vis() local
1273 outbuf, sizeof(outbuf), &outlen); in efx_ef10_alloc_vis()
1277 if (outlen < MC_CMD_ALLOC_VIS_OUT_LEN) in efx_ef10_alloc_vis()
2177 size_t offset, size_t outlen) in efx_ef10_mcdi_read_response() argument
2182 memcpy(outbuf, pdu + offset, outlen); in efx_ef10_mcdi_read_response()
2537 size_t outlen; in efx_ef10_tx_fini() local
2544 outbuf, sizeof(outbuf), &outlen); in efx_ef10_tx_fini()
2553 outbuf, outlen, rc); in efx_ef10_tx_fini()
2675 size_t outlen; in efx_ef10_get_rss_flags() local
2684 sizeof(inbuf), outbuf, sizeof(outbuf), &outlen); in efx_ef10_get_rss_flags()
2686 if (outlen < MC_CMD_RSS_CONTEXT_GET_FLAGS_OUT_LEN) in efx_ef10_get_rss_flags()
2728 size_t outlen; in efx_ef10_alloc_rss_context() local
2755 outbuf, sizeof(outbuf), &outlen); in efx_ef10_alloc_rss_context()
2759 if (outlen < MC_CMD_RSS_CONTEXT_ALLOC_OUT_LEN) in efx_ef10_alloc_rss_context()
2930 size_t outlen; in efx_ef10_rx_pull_rss_context_config() local
2946 tablebuf, sizeof(tablebuf), &outlen); in efx_ef10_rx_pull_rss_context_config()
2950 if (WARN_ON(outlen != MC_CMD_RSS_CONTEXT_GET_TABLE_OUT_LEN)) in efx_ef10_rx_pull_rss_context_config()
2962 keybuf, sizeof(keybuf), &outlen); in efx_ef10_rx_pull_rss_context_config()
2966 if (WARN_ON(outlen != MC_CMD_RSS_CONTEXT_GET_KEY_OUT_LEN)) in efx_ef10_rx_pull_rss_context_config()
3136 size_t outlen; in efx_ef10_rx_fini() local
3143 outbuf, sizeof(outbuf), &outlen); in efx_ef10_rx_fini()
3152 outbuf, outlen, rc); in efx_ef10_rx_fini()
3244 size_t outlen; in efx_ef10_ev_fini() local
3250 outbuf, sizeof(outbuf), &outlen); in efx_ef10_ev_fini()
3259 outbuf, outlen, rc); in efx_ef10_ev_fini()
3271 size_t inlen, outlen; in efx_ef10_ev_init() local
3324 outbuf, sizeof(outbuf), &outlen); in efx_ef10_ev_init()
3326 if (outlen >= MC_CMD_INIT_EVQ_V2_OUT_LEN) in efx_ef10_ev_init()
4919 size_t outlen; in efx_ef10_filter_table_probe_matches() local
4929 &outlen); in efx_ef10_filter_table_probe_matches()
4934 outlen, GET_PARSER_DISP_INFO_OUT_SUPPORTED_MATCHES); in efx_ef10_filter_table_probe_matches()
5958 size_t outlen; in efx_ef10_poll_bist() local
5962 outbuf, sizeof(outbuf), &outlen); in efx_ef10_poll_bist()
5966 if (outlen < MC_CMD_POLL_BIST_OUT_LEN) in efx_ef10_poll_bist()
6053 size_t size, erase_size, outlen; in efx_ef10_mtd_probe_partition() local
6077 outbuf, sizeof(outbuf), &outlen); in efx_ef10_mtd_probe_partition()
6080 if (outlen < MC_CMD_NVRAM_METADATA_OUT_LENMIN) in efx_ef10_mtd_probe_partition()
6102 size_t outlen, n_parts_total, i, n_parts; in efx_ef10_mtd_probe() local
6110 outbuf, sizeof(outbuf), &outlen); in efx_ef10_mtd_probe()
6113 if (outlen < MC_CMD_NVRAM_PARTITIONS_OUT_LENMIN) in efx_ef10_mtd_probe()
6118 MCDI_VAR_ARRAY_LEN(outlen, NVRAM_PARTITIONS_OUT_TYPE_ID)) in efx_ef10_mtd_probe()
6316 size_t inlen, outlen; in efx_ef10_set_udp_tnl_ports() local
6365 inbuf, inlen, outbuf, sizeof(outbuf), &outlen); in efx_ef10_set_udp_tnl_ports()