Home
last modified time | relevance | path

Searched refs:MCDI_DWORD (Results 1 – 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
Dmcdi_port_common.c34 cfg->flags = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_FLAGS); in efx_mcdi_get_phy_cfg()
35 cfg->type = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_TYPE); in efx_mcdi_get_phy_cfg()
37 MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_SUPPORTED_CAP); in efx_mcdi_get_phy_cfg()
38 cfg->channel = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_CHANNEL); in efx_mcdi_get_phy_cfg()
39 cfg->port = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_PRT); in efx_mcdi_get_phy_cfg()
40 cfg->stats_mask = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_STATS_MASK); in efx_mcdi_get_phy_cfg()
43 cfg->media = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_MEDIA_TYPE); in efx_mcdi_get_phy_cfg()
44 cfg->mmd_mask = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_MMD_MASK); in efx_mcdi_get_phy_cfg()
419 MCDI_DWORD(outbuf, GET_LINK_OUT_LINK_SPEED), in efx_mcdi_phy_poll()
420 MCDI_DWORD(outbuf, GET_LINK_OUT_FLAGS), in efx_mcdi_phy_poll()
[all …]
Dmcdi_port.c39 if (MCDI_DWORD(outbuf, MDIO_READ_OUT_STATUS) != in efx_mcdi_mdio_read()
43 return (u16)MCDI_DWORD(outbuf, MDIO_READ_OUT_VALUE); in efx_mcdi_mdio_read()
66 if (MCDI_DWORD(outbuf, MDIO_WRITE_OUT_STATUS) != in efx_mcdi_mdio_write()
93 return MCDI_DWORD(outbuf, GET_LINK_OUT_MAC_FAULT) != 0; in efx_mcdi_mac_check_fault()
Dmcdi.c643 if (MCDI_DWORD(testbuf, ERR_CODE) == MC_CMD_ERR_PROXY_PENDING) { in efx_mcdi_get_proxy_handle()
644 *proxy_handle = MCDI_DWORD(testbuf, ERR_PROXY_PENDING_HANDLE); in efx_mcdi_get_proxy_handle()
1089 code = MCDI_DWORD(outbuf, ERR_CODE); in efx_mcdi_display_error()
1091 err_arg = MCDI_DWORD(outbuf, ERR_ARG); in efx_mcdi_display_error()
1495 MCDI_DWORD(outbuf, in efx_mcdi_drv_attach()
1513 *was_attached = MCDI_DWORD(outbuf, DRV_ATTACH_OUT_OLD_STATE); in efx_mcdi_drv_attach()
1561 *capabilities = MCDI_DWORD(outbuf, in efx_mcdi_get_board_cfg()
1564 *capabilities = MCDI_DWORD(outbuf, in efx_mcdi_get_board_cfg()
1615 *nvram_types_out = MCDI_DWORD(outbuf, NVRAM_TYPES_OUT_TYPES); in efx_mcdi_nvram_types()
1643 *number = MCDI_DWORD(outbuf, NVRAM_PARTITIONS_OUT_NUM_PARTITIONS); in efx_new_mcdi_nvram_types()
[all …]
Dptp.c647 fmt = MCDI_DWORD(outbuf, PTP_OUT_GET_ATTRIBUTES_TIME_FORMAT); in efx_ptp_get_attributes()
703 MCDI_DWORD(outbuf, in efx_ptp_get_attributes()
710 ptp->capabilities = MCDI_DWORD(outbuf, in efx_ptp_get_attributes()
745 efx->ptp_data->ts_corrections.ptp_tx = MCDI_DWORD(outbuf, in efx_ptp_get_timestamp_corrections()
747 efx->ptp_data->ts_corrections.ptp_rx = MCDI_DWORD(outbuf, in efx_ptp_get_timestamp_corrections()
749 efx->ptp_data->ts_corrections.pps_out = MCDI_DWORD(outbuf, in efx_ptp_get_timestamp_corrections()
751 efx->ptp_data->ts_corrections.pps_in = MCDI_DWORD(outbuf, in efx_ptp_get_timestamp_corrections()
755 efx->ptp_data->ts_corrections.general_tx = MCDI_DWORD( in efx_ptp_get_timestamp_corrections()
758 efx->ptp_data->ts_corrections.general_rx = MCDI_DWORD( in efx_ptp_get_timestamp_corrections()
897 timeset->host_start = MCDI_DWORD(data, PTP_OUT_SYNCHRONIZE_HOSTSTART); in efx_ptp_read_timeset()
[all …]
Dmcdi_functions.c54 MCDI_DWORD(outbuf, ALLOC_VIS_OUT_VI_BASE)); in efx_mcdi_alloc_vis()
57 *vi_base = MCDI_DWORD(outbuf, ALLOC_VIS_OUT_VI_BASE); in efx_mcdi_alloc_vis()
59 *allocated_vis = MCDI_DWORD(outbuf, ALLOC_VIS_OUT_VI_COUNT); in efx_mcdi_alloc_vis()
130 MCDI_DWORD(outbuf, INIT_EVQ_V2_OUT_FLAGS)); in efx_mcdi_ev_init()
429 *pf_index = MCDI_DWORD(outbuf, GET_FUNCTION_INFO_OUT_PF); in efx_get_pf_index()
Def10.c102 nic_data->vf_index = MCDI_DWORD(outbuf, GET_FUNCTION_INFO_OUT_VF); in efx_ef10_get_vf_index()
127 MCDI_DWORD(outbuf, GET_CAPABILITIES_OUT_FLAGS1); in efx_ef10_init_datapath_caps()
130 nic_data->datapath_caps2 = MCDI_DWORD(outbuf, in efx_ef10_init_datapath_caps()
211 rc = MCDI_DWORD(outbuf, GET_CLOCK_OUT_SYS_FREQ); in efx_ef10_get_sysclk_freq()
267 efx->timer_quantum_ns = MCDI_DWORD(data, in efx_ef10_process_timer_config()
269 efx->timer_max_ns = MCDI_DWORD(data, in efx_ef10_process_timer_config()
272 efx->timer_quantum_ns = MCDI_DWORD(data, in efx_ef10_process_timer_config()
274 max_count = MCDI_DWORD(data, in efx_ef10_process_timer_config()
278 efx->timer_quantum_ns = MCDI_DWORD(data, in efx_ef10_process_timer_config()
280 max_count = MCDI_DWORD(data, in efx_ef10_process_timer_config()
[all …]
Def10_sriov.c99 *port_id_out = MCDI_DWORD(outbuf, VPORT_ALLOC_OUT_VPORT_ID); in efx_ef10_vport_alloc()
712 old_mask = MCDI_DWORD(pm_outbuf, PRIVILEGE_MASK_OUT_OLD_MASK); in efx_ef10_sriov_set_privilege_mask()
811 ivf->linkstate = MCDI_DWORD(outbuf, LINK_STATE_MODE_OUT_OLD_MODE); in efx_ef10_sriov_get_vf_config()
Dmcdi_mon.c328 mask = MCDI_DWORD(outbuf, SENSOR_INFO_OUT_MASK); in efx_mcdi_mon_probe()
394 mask = (MCDI_DWORD(outbuf, in efx_mcdi_mon_probe()
Def100_nic.c169 nic_data->datapath_caps = MCDI_DWORD(outbuf, in efx_ef100_init_datapath_caps()
171 nic_data->datapath_caps2 = MCDI_DWORD(outbuf, in efx_ef100_init_datapath_caps()
176 nic_data->datapath_caps3 = MCDI_DWORD(outbuf, in efx_ef100_init_datapath_caps()
Dmcdi.h217 #define MCDI_DWORD(_buf, _field) \ macro
Dsiena_sriov.c216 vf_total = MCDI_DWORD(outbuf, SRIOV_OUT_VF_TOTAL); in efx_siena_sriov_cmd()
217 vi_scale = MCDI_DWORD(outbuf, SRIOV_OUT_VI_SCALE); in efx_siena_sriov_cmd()
Dmcdi_filters.c1896 *flags = MCDI_DWORD(outbuf, RSS_CONTEXT_GET_FLAGS_OUT_FLAGS); in efx_mcdi_get_rss_context_flags()
1968 ctx->context_id = MCDI_DWORD(outbuf, RSS_CONTEXT_ALLOC_OUT_RSS_CONTEXT_ID); in efx_mcdi_filter_alloc_rss_context()