Lines Matching refs:outlen

41 	size_t outlen;  member
544 min(async->outlen, data_len)); in efx_mcdi_complete_async()
555 min(async->outlen, data_len)); in efx_mcdi_complete_async()
651 efx_dword_t *outbuf, size_t outlen, in _efx_mcdi_rpc_finish() argument
712 min(outlen, data_len)); in _efx_mcdi_rpc_finish()
802 efx_dword_t *outbuf, size_t outlen, in _efx_mcdi_rpc() argument
818 rc = _efx_mcdi_rpc_finish(efx, cmd, inlen, outbuf, outlen, in _efx_mcdi_rpc()
842 outbuf, outlen, outlen_actual, in _efx_mcdi_rpc()
860 efx_dword_t *outbuf, size_t outlen, in _efx_mcdi_rpc_evb_retry() argument
867 outbuf, outlen, outlen_actual, true, &raw_rc); in _efx_mcdi_rpc_evb_retry()
885 outbuf, outlen, outlen_actual, in _efx_mcdi_rpc_evb_retry()
896 outbuf, outlen, rc); in _efx_mcdi_rpc_evb_retry()
927 efx_dword_t *outbuf, size_t outlen, in efx_mcdi_rpc() argument
930 return _efx_mcdi_rpc_evb_retry(efx, cmd, inbuf, inlen, outbuf, outlen, in efx_mcdi_rpc()
944 efx_dword_t *outbuf, size_t outlen, in efx_mcdi_rpc_quiet() argument
947 return _efx_mcdi_rpc_evb_retry(efx, cmd, inbuf, inlen, outbuf, outlen, in efx_mcdi_rpc_quiet()
974 size_t outlen, in _efx_mcdi_rpc_async() argument
989 async = kmalloc(sizeof(*async) + ALIGN(max(inlen, outlen), 4), in _efx_mcdi_rpc_async()
996 async->outlen = outlen; in _efx_mcdi_rpc_async()
1048 const efx_dword_t *inbuf, size_t inlen, size_t outlen, in efx_mcdi_rpc_async() argument
1051 return _efx_mcdi_rpc_async(efx, cmd, inbuf, inlen, outlen, complete, in efx_mcdi_rpc_async()
1057 size_t outlen, efx_mcdi_async_completer *complete, in efx_mcdi_rpc_async_quiet() argument
1060 return _efx_mcdi_rpc_async(efx, cmd, inbuf, inlen, outlen, complete, in efx_mcdi_rpc_async_quiet()
1065 efx_dword_t *outbuf, size_t outlen, in efx_mcdi_rpc_finish() argument
1068 return _efx_mcdi_rpc_finish(efx, cmd, inlen, outbuf, outlen, in efx_mcdi_rpc_finish()
1073 efx_dword_t *outbuf, size_t outlen, in efx_mcdi_rpc_finish_quiet() argument
1076 return _efx_mcdi_rpc_finish(efx, cmd, inlen, outbuf, outlen, in efx_mcdi_rpc_finish_quiet()
1082 size_t outlen, int rc) in efx_mcdi_display_error() argument
1086 if (outlen >= MC_CMD_ERR_CODE_OFST + 4) in efx_mcdi_display_error()
1088 if (outlen >= MC_CMD_ERR_ARG_OFST + 4) in efx_mcdi_display_error()
1457 size_t outlen; in efx_mcdi_drv_attach() local
1466 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_drv_attach()
1479 &outlen); in efx_mcdi_drv_attach()
1483 outbuf, outlen, rc); in efx_mcdi_drv_attach()
1486 if (outlen < MC_CMD_DRV_ATTACH_OUT_LEN) { in efx_mcdi_drv_attach()
1492 if (outlen >= MC_CMD_DRV_ATTACH_EXT_OUT_LEN) { in efx_mcdi_drv_attach()
1524 size_t outlen, i; in efx_mcdi_get_board_cfg() local
1534 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_get_board_cfg()
1538 if (outlen < MC_CMD_GET_BOARD_CFG_OUT_LENMIN) { in efx_mcdi_get_board_cfg()
1550 i < MCDI_VAR_ARRAY_LEN(outlen, in efx_mcdi_get_board_cfg()
1571 __func__, rc, (int)outlen); in efx_mcdi_get_board_cfg()
1600 size_t outlen; in efx_mcdi_nvram_types() local
1606 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_nvram_types()
1609 if (outlen < MC_CMD_NVRAM_TYPES_OUT_LEN) { in efx_mcdi_nvram_types()
1629 size_t outlen; in efx_new_mcdi_nvram_types() local
1638 outbuf, MC_CMD_NVRAM_PARTITIONS_OUT_LENMAX_MCDI2, &outlen); in efx_new_mcdi_nvram_types()
1658 size_t outlen; in efx_mcdi_nvram_info() local
1664 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_nvram_info()
1667 if (outlen < MC_CMD_NVRAM_INFO_OUT_LEN) { in efx_mcdi_nvram_info()
1778 size_t outlen; in efx_mcdi_read_assertion() local
1792 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_read_assertion()
1800 outlen, rc); in efx_mcdi_read_assertion()
1803 if (outlen < MC_CMD_GET_ASSERTS_OUT_LEN) in efx_mcdi_read_assertion()
1955 size_t outlen; in efx_mcdi_wol_filter_set() local
1964 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_wol_filter_set()
1968 if (outlen < MC_CMD_WOL_FILTER_SET_OUT_LEN) { in efx_mcdi_wol_filter_set()
1995 size_t outlen; in efx_mcdi_wol_filter_get_magic() local
1999 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_wol_filter_get_magic()
2003 if (outlen < MC_CMD_WOL_FILTER_GET_OUT_LEN) { in efx_mcdi_wol_filter_get_magic()
2076 size_t outlen; in efx_mcdi_set_workaround() local
2083 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_set_workaround()
2090 if (outlen >= MC_CMD_WORKAROUND_EXT_OUT_LEN) in efx_mcdi_set_workaround()
2102 size_t outlen; in efx_mcdi_get_workarounds() local
2106 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_get_workarounds()
2110 if (outlen < MC_CMD_GET_WORKAROUNDS_OUT_LEN) { in efx_mcdi_get_workarounds()
2141 size_t outlen; in efx_mcdi_get_privilege_mask() local
2151 &outlen); in efx_mcdi_get_privilege_mask()
2154 if (outlen < MC_CMD_GET_FUNCTION_INFO_OUT_LEN) in efx_mcdi_get_privilege_mask()
2166 pm_outbuf, sizeof(pm_outbuf), &outlen); in efx_mcdi_get_privilege_mask()
2170 if (outlen < MC_CMD_PRIVILEGE_MASK_OUT_LEN) in efx_mcdi_get_privilege_mask()
2206 size_t outlen; in efx_mcdi_nvram_read() local
2216 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_nvram_read()
2265 size_t outlen; in efx_mcdi_nvram_update_finish() local
2275 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_nvram_update_finish()
2276 if (!rc && outlen >= MC_CMD_NVRAM_UPDATE_FINISH_V2_OUT_LEN) { in efx_mcdi_nvram_update_finish()