Lines Matching refs:outbuf

506 	efx_dword_t *outbuf;  in efx_mcdi_complete_async()  local
545 outbuf = (efx_dword_t *)(async + 1); in efx_mcdi_complete_async()
546 efx->type->mcdi_read_response(efx, outbuf, hdr_len, in efx_mcdi_complete_async()
557 async->complete(efx, async->cookie, rc, outbuf, in efx_mcdi_complete_async()
654 efx_dword_t *outbuf, size_t outlen, in _efx_mcdi_rpc_finish() argument
714 efx->type->mcdi_read_response(efx, outbuf, hdr_len, in _efx_mcdi_rpc_finish()
805 efx_dword_t *outbuf, size_t outlen, in _efx_mcdi_rpc() argument
811 if (inbuf && inlen && (inbuf == outbuf)) { in _efx_mcdi_rpc()
821 rc = _efx_mcdi_rpc_finish(efx, cmd, inlen, outbuf, outlen, in _efx_mcdi_rpc()
845 outbuf, outlen, outlen_actual, in _efx_mcdi_rpc()
863 efx_dword_t *outbuf, size_t outlen, in _efx_mcdi_rpc_evb_retry() argument
870 outbuf, outlen, outlen_actual, true, &raw_rc); in _efx_mcdi_rpc_evb_retry()
888 outbuf, outlen, outlen_actual, in _efx_mcdi_rpc_evb_retry()
899 outbuf, outlen, rc); in _efx_mcdi_rpc_evb_retry()
930 efx_dword_t *outbuf, size_t outlen, in efx_siena_mcdi_rpc() argument
933 return _efx_mcdi_rpc_evb_retry(efx, cmd, inbuf, inlen, outbuf, outlen, in efx_siena_mcdi_rpc()
947 efx_dword_t *outbuf, size_t outlen, in efx_siena_mcdi_rpc_quiet() argument
950 return _efx_mcdi_rpc_evb_retry(efx, cmd, inbuf, inlen, outbuf, outlen, in efx_siena_mcdi_rpc_quiet()
1070 size_t inlen, efx_dword_t *outbuf, size_t outlen, in efx_siena_mcdi_rpc_finish() argument
1073 return _efx_mcdi_rpc_finish(efx, cmd, inlen, outbuf, outlen, in efx_siena_mcdi_rpc_finish()
1078 size_t inlen, efx_dword_t *outbuf, in efx_siena_mcdi_rpc_finish_quiet() argument
1081 return _efx_mcdi_rpc_finish(efx, cmd, inlen, outbuf, outlen, in efx_siena_mcdi_rpc_finish_quiet()
1086 size_t inlen, efx_dword_t *outbuf, in efx_siena_mcdi_display_error() argument
1092 code = MCDI_DWORD(outbuf, ERR_CODE); in efx_siena_mcdi_display_error()
1094 err_arg = MCDI_DWORD(outbuf, ERR_ARG); in efx_siena_mcdi_display_error()
1416 MCDI_DECLARE_BUF(outbuf, MC_CMD_GET_VERSION_OUT_LEN); in efx_siena_mcdi_print_fwver()
1424 outbuf, sizeof(outbuf), &outlength); in efx_siena_mcdi_print_fwver()
1432 ver_words = (__le16 *)MCDI_PTR(outbuf, GET_VERSION_OUT_VERSION); in efx_siena_mcdi_print_fwver()
1461 MCDI_DECLARE_BUF(outbuf, MC_CMD_DRV_ATTACH_EXT_OUT_LEN); in efx_mcdi_drv_attach()
1471 sizeof(inbuf), outbuf, sizeof(outbuf), in efx_mcdi_drv_attach()
1483 sizeof(inbuf), outbuf, in efx_mcdi_drv_attach()
1484 sizeof(outbuf), &outlen); in efx_mcdi_drv_attach()
1488 sizeof(inbuf), outbuf, outlen, rc); in efx_mcdi_drv_attach()
1499 MCDI_DWORD(outbuf, in efx_mcdi_drv_attach()
1517 *was_attached = MCDI_DWORD(outbuf, DRV_ATTACH_OUT_OLD_STATE); in efx_mcdi_drv_attach()
1528 MCDI_DECLARE_BUF(outbuf, MC_CMD_GET_BOARD_CFG_OUT_LENMAX); in efx_siena_mcdi_get_board_cfg()
1539 outbuf, sizeof(outbuf), &outlen); in efx_siena_mcdi_get_board_cfg()
1551 MCDI_PTR(outbuf, GET_BOARD_CFG_OUT_MAC_ADDR_BASE_PORT1) : in efx_siena_mcdi_get_board_cfg()
1552 MCDI_PTR(outbuf, GET_BOARD_CFG_OUT_MAC_ADDR_BASE_PORT0)); in efx_siena_mcdi_get_board_cfg()
1559 outbuf, GET_BOARD_CFG_OUT_FW_SUBTYPE_LIST, i); in efx_siena_mcdi_get_board_cfg()
1565 *capabilities = MCDI_DWORD(outbuf, in efx_siena_mcdi_get_board_cfg()
1568 *capabilities = MCDI_DWORD(outbuf, in efx_siena_mcdi_get_board_cfg()
1605 MCDI_DECLARE_BUF(outbuf, MC_CMD_NVRAM_TYPES_OUT_LEN); in efx_siena_mcdi_nvram_types()
1612 outbuf, sizeof(outbuf), &outlen); in efx_siena_mcdi_nvram_types()
1620 *nvram_types_out = MCDI_DWORD(outbuf, NVRAM_TYPES_OUT_TYPES); in efx_siena_mcdi_nvram_types()
1634 MCDI_DECLARE_BUF(outbuf, MC_CMD_NVRAM_INFO_OUT_LEN); in efx_siena_mcdi_nvram_info()
1641 outbuf, sizeof(outbuf), &outlen); in efx_siena_mcdi_nvram_info()
1649 *size_out = MCDI_DWORD(outbuf, NVRAM_INFO_OUT_SIZE); in efx_siena_mcdi_nvram_info()
1650 *erase_size_out = MCDI_DWORD(outbuf, NVRAM_INFO_OUT_ERASESIZE); in efx_siena_mcdi_nvram_info()
1651 *protected_out = !!(MCDI_DWORD(outbuf, NVRAM_INFO_OUT_FLAGS) & in efx_siena_mcdi_nvram_info()
1663 MCDI_DECLARE_BUF(outbuf, MC_CMD_NVRAM_TEST_OUT_LEN); in efx_mcdi_nvram_test()
1669 outbuf, sizeof(outbuf), NULL); in efx_mcdi_nvram_test()
1673 switch (MCDI_DWORD(outbuf, NVRAM_TEST_OUT_RESULT)) { in efx_mcdi_nvram_test()
1719 MCDI_DECLARE_BUF(outbuf, MC_CMD_GET_ASSERTS_OUT_LEN); in efx_mcdi_read_assertion()
1736 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_read_assertion()
1743 MC_CMD_GET_ASSERTS_IN_LEN, outbuf, in efx_mcdi_read_assertion()
1751 flags = MCDI_DWORD(outbuf, GET_ASSERTS_OUT_GLOBAL_FLAGS); in efx_mcdi_read_assertion()
1764 MCDI_DWORD(outbuf, GET_ASSERTS_OUT_SAVED_PC_OFFS), in efx_mcdi_read_assertion()
1765 MCDI_DWORD(outbuf, GET_ASSERTS_OUT_THREAD_OFFS)); in efx_mcdi_read_assertion()
1773 MCDI_ARRAY_DWORD(outbuf, GET_ASSERTS_OUT_GP_REGS_OFFS, in efx_mcdi_read_assertion()
1899 MCDI_DECLARE_BUF(outbuf, MC_CMD_WOL_FILTER_SET_OUT_LEN); in efx_mcdi_wol_filter_set()
1909 sizeof(inbuf), outbuf, sizeof(outbuf), &outlen); in efx_mcdi_wol_filter_set()
1918 *id_out = (int)MCDI_DWORD(outbuf, WOL_FILTER_SET_OUT_FILTER_ID); in efx_mcdi_wol_filter_set()
1939 MCDI_DECLARE_BUF(outbuf, MC_CMD_WOL_FILTER_GET_OUT_LEN); in efx_siena_mcdi_wol_filter_get_magic()
1944 outbuf, sizeof(outbuf), &outlen); in efx_siena_mcdi_wol_filter_get_magic()
1953 *id_out = (int)MCDI_DWORD(outbuf, WOL_FILTER_GET_OUT_FILTER_ID); in efx_siena_mcdi_wol_filter_get_magic()
2044 MCDI_DECLARE_BUF(outbuf, in efx_mcdi_nvram_read()
2056 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_nvram_read()
2060 memcpy(buffer, MCDI_PTR(outbuf, NVRAM_READ_OUT_READ_BUFFER), length); in efx_mcdi_nvram_read()
2104 MCDI_DECLARE_BUF(outbuf, MC_CMD_NVRAM_UPDATE_FINISH_V2_OUT_LEN); in efx_mcdi_nvram_update_finish()
2115 sizeof(inbuf), outbuf, sizeof(outbuf), &outlen); in efx_mcdi_nvram_update_finish()
2117 rc2 = MCDI_DWORD(outbuf, NVRAM_UPDATE_FINISH_V2_OUT_RESULT_CODE); in efx_mcdi_nvram_update_finish()