Searched refs:MCDI_DWORD (Results 1 – 8 of 8) sorted by relevance
/drivers/net/ethernet/sfc/ |
D | mcdi_port.c | 52 cfg->flags = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_FLAGS); in efx_mcdi_get_phy_cfg() 53 cfg->type = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_TYPE); in efx_mcdi_get_phy_cfg() 55 MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_SUPPORTED_CAP); in efx_mcdi_get_phy_cfg() 56 cfg->channel = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_CHANNEL); in efx_mcdi_get_phy_cfg() 57 cfg->port = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_PRT); in efx_mcdi_get_phy_cfg() 58 cfg->stats_mask = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_STATS_MASK); in efx_mcdi_get_phy_cfg() 61 cfg->media = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_MEDIA_TYPE); in efx_mcdi_get_phy_cfg() 62 cfg->mmd_mask = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_MMD_MASK); in efx_mcdi_get_phy_cfg() 137 if (MCDI_DWORD(outbuf, MDIO_READ_OUT_STATUS) != in efx_mcdi_mdio_read() 141 return (u16)MCDI_DWORD(outbuf, MDIO_READ_OUT_VALUE); in efx_mcdi_mdio_read() [all …]
|
D | mcdi.c | 641 if (MCDI_DWORD(testbuf, ERR_CODE) == MC_CMD_ERR_PROXY_PENDING) { in efx_mcdi_get_proxy_handle() 642 *proxy_handle = MCDI_DWORD(testbuf, ERR_PROXY_PENDING_HANDLE); in efx_mcdi_get_proxy_handle() 1087 code = MCDI_DWORD(outbuf, ERR_CODE); in efx_mcdi_display_error() 1089 err_arg = MCDI_DWORD(outbuf, ERR_ARG); in efx_mcdi_display_error() 1490 MCDI_DWORD(outbuf, in efx_mcdi_drv_attach() 1508 *was_attached = MCDI_DWORD(outbuf, DRV_ATTACH_OUT_OLD_STATE); in efx_mcdi_drv_attach() 1556 *capabilities = MCDI_DWORD(outbuf, in efx_mcdi_get_board_cfg() 1559 *capabilities = MCDI_DWORD(outbuf, in efx_mcdi_get_board_cfg() 1610 *nvram_types_out = MCDI_DWORD(outbuf, NVRAM_TYPES_OUT_TYPES); in efx_mcdi_nvram_types() 1639 *size_out = MCDI_DWORD(outbuf, NVRAM_INFO_OUT_SIZE); in efx_mcdi_nvram_info() [all …]
|
D | ptp.c | 615 fmt = MCDI_DWORD(outbuf, PTP_OUT_GET_ATTRIBUTES_TIME_FORMAT); in efx_ptp_get_attributes() 671 MCDI_DWORD(outbuf, in efx_ptp_get_attributes() 678 ptp->capabilities = MCDI_DWORD(outbuf, in efx_ptp_get_attributes() 713 efx->ptp_data->ts_corrections.ptp_tx = MCDI_DWORD(outbuf, in efx_ptp_get_timestamp_corrections() 715 efx->ptp_data->ts_corrections.ptp_rx = MCDI_DWORD(outbuf, in efx_ptp_get_timestamp_corrections() 717 efx->ptp_data->ts_corrections.pps_out = MCDI_DWORD(outbuf, in efx_ptp_get_timestamp_corrections() 719 efx->ptp_data->ts_corrections.pps_in = MCDI_DWORD(outbuf, in efx_ptp_get_timestamp_corrections() 723 efx->ptp_data->ts_corrections.general_tx = MCDI_DWORD( in efx_ptp_get_timestamp_corrections() 726 efx->ptp_data->ts_corrections.general_rx = MCDI_DWORD( in efx_ptp_get_timestamp_corrections() 865 timeset->host_start = MCDI_DWORD(data, PTP_OUT_SYNCHRONIZE_HOSTSTART); in efx_ptp_read_timeset() [all …]
|
D | ef10.c | 202 nic_data->pf_index = MCDI_DWORD(outbuf, GET_FUNCTION_INFO_OUT_PF); in efx_ef10_get_pf_index() 221 nic_data->vf_index = MCDI_DWORD(outbuf, GET_FUNCTION_INFO_OUT_VF); in efx_ef10_get_vf_index() 246 MCDI_DWORD(outbuf, GET_CAPABILITIES_OUT_FLAGS1); in efx_ef10_init_datapath_caps() 249 nic_data->datapath_caps2 = MCDI_DWORD(outbuf, in efx_ef10_init_datapath_caps() 345 rc = MCDI_DWORD(outbuf, GET_CLOCK_OUT_SYS_FREQ); in efx_ef10_get_sysclk_freq() 401 efx->timer_quantum_ns = MCDI_DWORD(data, in efx_ef10_process_timer_config() 403 efx->timer_max_ns = MCDI_DWORD(data, in efx_ef10_process_timer_config() 406 efx->timer_quantum_ns = MCDI_DWORD(data, in efx_ef10_process_timer_config() 408 max_count = MCDI_DWORD(data, in efx_ef10_process_timer_config() 412 efx->timer_quantum_ns = MCDI_DWORD(data, in efx_ef10_process_timer_config() [all …]
|
D | mcdi_mon.c | 328 mask = MCDI_DWORD(outbuf, SENSOR_INFO_OUT_MASK); in efx_mcdi_mon_probe() 394 mask = (MCDI_DWORD(outbuf, in efx_mcdi_mon_probe()
|
D | ef10_sriov.c | 99 *port_id_out = MCDI_DWORD(outbuf, VPORT_ALLOC_OUT_VPORT_ID); in efx_ef10_vport_alloc() 754 ivf->linkstate = MCDI_DWORD(outbuf, LINK_STATE_MODE_OUT_OLD_MODE); in efx_ef10_sriov_get_vf_config()
|
D | mcdi.h | 216 #define MCDI_DWORD(_buf, _field) \ macro
|
D | siena_sriov.c | 215 vf_total = MCDI_DWORD(outbuf, SRIOV_OUT_VF_TOTAL); in efx_siena_sriov_cmd() 216 vi_scale = MCDI_DWORD(outbuf, SRIOV_OUT_VI_SCALE); in efx_siena_sriov_cmd()
|