Lines Matching refs:outbuf
18 MCDI_DECLARE_BUF(outbuf, MC_CMD_GET_PHY_CFG_OUT_LEN); in efx_mcdi_get_phy_cfg()
26 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_get_phy_cfg()
35 cfg->flags = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_FLAGS); in efx_mcdi_get_phy_cfg()
36 cfg->type = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_TYPE); in efx_mcdi_get_phy_cfg()
38 MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_SUPPORTED_CAP); in efx_mcdi_get_phy_cfg()
39 cfg->channel = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_CHANNEL); in efx_mcdi_get_phy_cfg()
40 cfg->port = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_PRT); in efx_mcdi_get_phy_cfg()
41 cfg->stats_mask = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_STATS_MASK); in efx_mcdi_get_phy_cfg()
42 memcpy(cfg->name, MCDI_PTR(outbuf, GET_PHY_CFG_OUT_NAME), in efx_mcdi_get_phy_cfg()
44 cfg->media = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_MEDIA_TYPE); in efx_mcdi_get_phy_cfg()
45 cfg->mmd_mask = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_MMD_MASK); in efx_mcdi_get_phy_cfg()
46 memcpy(cfg->revision, MCDI_PTR(outbuf, GET_PHY_CFG_OUT_REVISION), in efx_mcdi_get_phy_cfg()
89 MCDI_DECLARE_BUF(outbuf, MC_CMD_GET_LOOPBACK_MODES_OUT_LEN); in efx_mcdi_loopback_modes()
94 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_loopback_modes()
104 *loopback_modes = MCDI_QWORD(outbuf, GET_LOOPBACK_MODES_OUT_SUGGESTED); in efx_mcdi_loopback_modes()
404 MCDI_DECLARE_BUF(outbuf, MC_CMD_GET_LINK_OUT_LEN); in efx_siena_mcdi_phy_poll()
412 outbuf, sizeof(outbuf), NULL); in efx_siena_mcdi_phy_poll()
418 MCDI_DWORD(outbuf, GET_LINK_OUT_LINK_SPEED), in efx_siena_mcdi_phy_poll()
419 MCDI_DWORD(outbuf, GET_LINK_OUT_FLAGS), in efx_siena_mcdi_phy_poll()
420 MCDI_DWORD(outbuf, GET_LINK_OUT_FCNTL)); in efx_siena_mcdi_phy_poll()
428 MCDI_DECLARE_BUF(outbuf, MC_CMD_GET_LINK_OUT_LEN); in efx_siena_mcdi_phy_probe()
444 outbuf, sizeof(outbuf), NULL); in efx_siena_mcdi_phy_probe()
461 caps = MCDI_DWORD(outbuf, GET_LINK_OUT_CAP); in efx_siena_mcdi_phy_probe()
507 MCDI_DWORD(outbuf, GET_LINK_OUT_LINK_SPEED), in efx_siena_mcdi_phy_probe()
508 MCDI_DWORD(outbuf, GET_LINK_OUT_FLAGS), in efx_siena_mcdi_phy_probe()
509 MCDI_DWORD(outbuf, GET_LINK_OUT_FCNTL)); in efx_siena_mcdi_phy_probe()
543 MCDI_DECLARE_BUF(outbuf, MC_CMD_GET_LINK_OUT_LEN); in efx_siena_mcdi_phy_get_link_ksettings()
561 outbuf, sizeof(outbuf), NULL); in efx_siena_mcdi_phy_get_link_ksettings()
565 MCDI_DWORD(outbuf, GET_LINK_OUT_LP_CAP), in efx_siena_mcdi_phy_get_link_ksettings()
621 MCDI_DECLARE_BUF(outbuf, MC_CMD_GET_LINK_OUT_V2_LEN); in efx_siena_mcdi_phy_get_fecparam()
629 outbuf, sizeof(outbuf), &outlen); in efx_siena_mcdi_phy_get_fecparam()
636 speed = MCDI_DWORD(outbuf, GET_LINK_OUT_V2_LINK_SPEED); in efx_siena_mcdi_phy_get_fecparam()
639 caps = MCDI_DWORD(outbuf, GET_LINK_OUT_V2_CAP); in efx_siena_mcdi_phy_get_fecparam()
645 active = MCDI_DWORD(outbuf, GET_LINK_OUT_V2_FEC_TYPE); in efx_siena_mcdi_phy_get_fecparam()
717 MCDI_DECLARE_BUF(outbuf, MC_CMD_GET_PHY_STATE_OUT_LEN); in efx_siena_mcdi_phy_test_alive()
724 outbuf, sizeof(outbuf), &outlen); in efx_siena_mcdi_phy_test_alive()
730 if (MCDI_DWORD(outbuf, GET_PHY_STATE_OUT_STATE) != MC_CMD_PHY_STATE_OK) in efx_siena_mcdi_phy_test_alive()
767 MCDI_DECLARE_BUF(outbuf, MC_CMD_POLL_BIST_OUT_SFT9001_LEN); in efx_mcdi_bist()
782 outbuf, sizeof(outbuf), &outlen); in efx_mcdi_bist()
786 status = MCDI_DWORD(outbuf, POLL_BIST_OUT_RESULT); in efx_mcdi_bist()
803 ptr = MCDI_PTR(outbuf, POLL_BIST_OUT_SFT9001_CABLE_LENGTH_A); in efx_mcdi_bist()
911 MCDI_DECLARE_BUF(outbuf, MC_CMD_GET_PHY_MEDIA_INFO_OUT_LENMAX); in efx_mcdi_phy_get_module_eeprom_page()
926 outbuf, sizeof(outbuf), in efx_mcdi_phy_get_module_eeprom_page()
936 payload_len = MCDI_DWORD(outbuf, GET_PHY_MEDIA_INFO_OUT_DATALEN); in efx_mcdi_phy_get_module_eeprom_page()
940 memcpy(data, MCDI_PTR(outbuf, GET_PHY_MEDIA_INFO_OUT_DATA) + offset, in efx_mcdi_phy_get_module_eeprom_page()