Searched refs:MCDI_DWORD (Results 1 – 8 of 8) sorted by relevance
/linux-4.4.14/drivers/net/ethernet/sfc/ |
D | mcdi_port.c | 56 cfg->flags = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_FLAGS); in efx_mcdi_get_phy_cfg() 57 cfg->type = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_TYPE); in efx_mcdi_get_phy_cfg() 59 MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_SUPPORTED_CAP); in efx_mcdi_get_phy_cfg() 60 cfg->channel = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_CHANNEL); in efx_mcdi_get_phy_cfg() 61 cfg->port = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_PRT); in efx_mcdi_get_phy_cfg() 62 cfg->stats_mask = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_STATS_MASK); in efx_mcdi_get_phy_cfg() 65 cfg->media = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_MEDIA_TYPE); in efx_mcdi_get_phy_cfg() 66 cfg->mmd_mask = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_MMD_MASK); in efx_mcdi_get_phy_cfg() 141 if (MCDI_DWORD(outbuf, MDIO_READ_OUT_STATUS) != in efx_mcdi_mdio_read() 145 return (u16)MCDI_DWORD(outbuf, MDIO_READ_OUT_VALUE); in efx_mcdi_mdio_read() [all …]
|
D | mcdi.c | 887 code = MCDI_DWORD(outbuf, ERR_CODE); in efx_mcdi_display_error() 889 err_arg = MCDI_DWORD(outbuf, ERR_ARG); in efx_mcdi_display_error() 1276 MCDI_DWORD(outbuf, in efx_mcdi_drv_attach() 1294 *was_attached = MCDI_DWORD(outbuf, DRV_ATTACH_OUT_OLD_STATE); in efx_mcdi_drv_attach() 1342 *capabilities = MCDI_DWORD(outbuf, in efx_mcdi_get_board_cfg() 1345 *capabilities = MCDI_DWORD(outbuf, in efx_mcdi_get_board_cfg() 1396 *nvram_types_out = MCDI_DWORD(outbuf, NVRAM_TYPES_OUT_TYPES); in efx_mcdi_nvram_types() 1425 *size_out = MCDI_DWORD(outbuf, NVRAM_INFO_OUT_SIZE); in efx_mcdi_nvram_info() 1426 *erase_size_out = MCDI_DWORD(outbuf, NVRAM_INFO_OUT_ERASESIZE); in efx_mcdi_nvram_info() 1427 *protected_out = !!(MCDI_DWORD(outbuf, NVRAM_INFO_OUT_FLAGS) & in efx_mcdi_nvram_info() [all …]
|
D | ptp.c | 493 fmt = MCDI_DWORD(outbuf, PTP_OUT_GET_ATTRIBUTES_TIME_FORMAT); in efx_ptp_get_attributes() 525 MCDI_DWORD(outbuf, in efx_ptp_get_attributes() 550 efx->ptp_data->ts_corrections.tx = MCDI_DWORD(outbuf, in efx_ptp_get_timestamp_corrections() 552 efx->ptp_data->ts_corrections.rx = MCDI_DWORD(outbuf, in efx_ptp_get_timestamp_corrections() 554 efx->ptp_data->ts_corrections.pps_out = MCDI_DWORD(outbuf, in efx_ptp_get_timestamp_corrections() 556 efx->ptp_data->ts_corrections.pps_in = MCDI_DWORD(outbuf, in efx_ptp_get_timestamp_corrections() 688 timeset->host_start = MCDI_DWORD(data, PTP_OUT_SYNCHRONIZE_HOSTSTART); in efx_ptp_read_timeset() 689 timeset->major = MCDI_DWORD(data, PTP_OUT_SYNCHRONIZE_MAJOR); in efx_ptp_read_timeset() 690 timeset->minor = MCDI_DWORD(data, PTP_OUT_SYNCHRONIZE_MINOR); in efx_ptp_read_timeset() 691 timeset->host_end = MCDI_DWORD(data, PTP_OUT_SYNCHRONIZE_HOSTEND), in efx_ptp_read_timeset() [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.c | 130 nic_data->pf_index = MCDI_DWORD(outbuf, GET_FUNCTION_INFO_OUT_PF); in efx_ef10_get_pf_index() 149 nic_data->vf_index = MCDI_DWORD(outbuf, GET_FUNCTION_INFO_OUT_VF); in efx_ef10_get_vf_index() 174 MCDI_DWORD(outbuf, GET_CAPABILITIES_OUT_FLAGS1); in efx_ef10_init_datapath_caps() 209 rc = MCDI_DWORD(outbuf, GET_CLOCK_OUT_SYS_FREQ); in efx_ef10_get_sysclk_freq() 250 num_addrs = MCDI_DWORD(outbuf, in efx_ef10_get_mac_address_vf() 505 MCDI_DWORD(outbuf, ALLOC_PIOBUF_OUT_PIOBUF_HANDLE); in efx_ef10_alloc_piobufs() 828 MCDI_DWORD(outbuf, ALLOC_VIS_OUT_VI_BASE)); in efx_ef10_alloc_vis() 830 nic_data->vi_base = MCDI_DWORD(outbuf, ALLOC_VIS_OUT_VI_BASE); in efx_ef10_alloc_vis() 831 nic_data->n_allocated_vis = MCDI_DWORD(outbuf, ALLOC_VIS_OUT_VI_COUNT); in efx_ef10_alloc_vis() 1946 *context = MCDI_DWORD(outbuf, RSS_CONTEXT_ALLOC_OUT_RSS_CONTEXT_ID); in efx_ef10_alloc_rss_context() [all …]
|
D | ef10_sriov.c | 101 *port_id_out = MCDI_DWORD(outbuf, VPORT_ALLOC_OUT_VPORT_ID); in efx_ef10_vport_alloc() 729 ivf->linkstate = MCDI_DWORD(outbuf, LINK_STATE_MODE_OUT_OLD_MODE); in efx_ef10_sriov_get_vf_config()
|
D | mcdi.h | 205 #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()
|