Searched refs:MCDI_DWORD (Results 1 – 8 of 8) sorted by relevance
| /Linux-v4.19/drivers/net/ethernet/sfc/ |
| D | mcdi_port.c | 55 cfg->flags = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_FLAGS); in efx_mcdi_get_phy_cfg() 56 cfg->type = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_TYPE); in efx_mcdi_get_phy_cfg() 58 MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_SUPPORTED_CAP); in efx_mcdi_get_phy_cfg() 59 cfg->channel = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_CHANNEL); in efx_mcdi_get_phy_cfg() 60 cfg->port = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_PRT); in efx_mcdi_get_phy_cfg() 61 cfg->stats_mask = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_STATS_MASK); in efx_mcdi_get_phy_cfg() 64 cfg->media = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_MEDIA_TYPE); in efx_mcdi_get_phy_cfg() 65 cfg->mmd_mask = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_MMD_MASK); in efx_mcdi_get_phy_cfg() 140 if (MCDI_DWORD(outbuf, MDIO_READ_OUT_STATUS) != in efx_mcdi_mdio_read() 144 return (u16)MCDI_DWORD(outbuf, MDIO_READ_OUT_VALUE); in efx_mcdi_mdio_read() [all …]
|
| D | mcdi.c | 644 if (MCDI_DWORD(testbuf, ERR_CODE) == MC_CMD_ERR_PROXY_PENDING) { in efx_mcdi_get_proxy_handle() 645 *proxy_handle = MCDI_DWORD(testbuf, ERR_PROXY_PENDING_HANDLE); in efx_mcdi_get_proxy_handle() 1090 code = MCDI_DWORD(outbuf, ERR_CODE); in efx_mcdi_display_error() 1092 err_arg = MCDI_DWORD(outbuf, ERR_ARG); in efx_mcdi_display_error() 1493 MCDI_DWORD(outbuf, in efx_mcdi_drv_attach() 1511 *was_attached = MCDI_DWORD(outbuf, DRV_ATTACH_OUT_OLD_STATE); in efx_mcdi_drv_attach() 1559 *capabilities = MCDI_DWORD(outbuf, in efx_mcdi_get_board_cfg() 1562 *capabilities = MCDI_DWORD(outbuf, in efx_mcdi_get_board_cfg() 1613 *nvram_types_out = MCDI_DWORD(outbuf, NVRAM_TYPES_OUT_TYPES); in efx_mcdi_nvram_types() 1642 *size_out = MCDI_DWORD(outbuf, NVRAM_INFO_OUT_SIZE); in efx_mcdi_nvram_info() [all …]
|
| D | ptp.c | 618 fmt = MCDI_DWORD(outbuf, PTP_OUT_GET_ATTRIBUTES_TIME_FORMAT); in efx_ptp_get_attributes() 674 MCDI_DWORD(outbuf, in efx_ptp_get_attributes() 681 ptp->capabilities = MCDI_DWORD(outbuf, in efx_ptp_get_attributes() 716 efx->ptp_data->ts_corrections.ptp_tx = MCDI_DWORD(outbuf, in efx_ptp_get_timestamp_corrections() 718 efx->ptp_data->ts_corrections.ptp_rx = MCDI_DWORD(outbuf, in efx_ptp_get_timestamp_corrections() 720 efx->ptp_data->ts_corrections.pps_out = MCDI_DWORD(outbuf, in efx_ptp_get_timestamp_corrections() 722 efx->ptp_data->ts_corrections.pps_in = MCDI_DWORD(outbuf, in efx_ptp_get_timestamp_corrections() 726 efx->ptp_data->ts_corrections.general_tx = MCDI_DWORD( in efx_ptp_get_timestamp_corrections() 729 efx->ptp_data->ts_corrections.general_rx = MCDI_DWORD( in efx_ptp_get_timestamp_corrections() 868 timeset->host_start = MCDI_DWORD(data, PTP_OUT_SYNCHRONIZE_HOSTSTART); in efx_ptp_read_timeset() [all …]
|
| D | ef10.c | 205 nic_data->pf_index = MCDI_DWORD(outbuf, GET_FUNCTION_INFO_OUT_PF); in efx_ef10_get_pf_index() 224 nic_data->vf_index = MCDI_DWORD(outbuf, GET_FUNCTION_INFO_OUT_VF); in efx_ef10_get_vf_index() 249 MCDI_DWORD(outbuf, GET_CAPABILITIES_OUT_FLAGS1); in efx_ef10_init_datapath_caps() 252 nic_data->datapath_caps2 = MCDI_DWORD(outbuf, in efx_ef10_init_datapath_caps() 348 rc = MCDI_DWORD(outbuf, GET_CLOCK_OUT_SYS_FREQ); in efx_ef10_get_sysclk_freq() 404 efx->timer_quantum_ns = MCDI_DWORD(data, in efx_ef10_process_timer_config() 406 efx->timer_max_ns = MCDI_DWORD(data, in efx_ef10_process_timer_config() 409 efx->timer_quantum_ns = MCDI_DWORD(data, in efx_ef10_process_timer_config() 411 max_count = MCDI_DWORD(data, in efx_ef10_process_timer_config() 415 efx->timer_quantum_ns = MCDI_DWORD(data, in efx_ef10_process_timer_config() [all …]
|
| D | mcdi_mon.c | 331 mask = MCDI_DWORD(outbuf, SENSOR_INFO_OUT_MASK); in efx_mcdi_mon_probe() 397 mask = (MCDI_DWORD(outbuf, in efx_mcdi_mon_probe()
|
| D | ef10_sriov.c | 102 *port_id_out = MCDI_DWORD(outbuf, VPORT_ALLOC_OUT_VPORT_ID); in efx_ef10_vport_alloc() 757 ivf->linkstate = MCDI_DWORD(outbuf, LINK_STATE_MODE_OUT_OLD_MODE); in efx_ef10_sriov_get_vf_config()
|
| D | mcdi.h | 219 #define MCDI_DWORD(_buf, _field) \ macro
|
| D | siena_sriov.c | 218 vf_total = MCDI_DWORD(outbuf, SRIOV_OUT_VF_TOTAL); in efx_siena_sriov_cmd() 219 vi_scale = MCDI_DWORD(outbuf, SRIOV_OUT_VI_SCALE); in efx_siena_sriov_cmd()
|