Home
last modified time | relevance | path

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

/drivers/net/ethernet/sfc/
Dmae.c38 *id = MCDI_DWORD(outbuf, MAE_MPORT_ALLOC_ALIAS_OUT_MPORT_ID); in efx_mae_allocate_mport()
39 *label = MCDI_DWORD(outbuf, MAE_MPORT_ALLOC_ALIAS_OUT_LABEL); in efx_mae_allocate_mport()
111 *id = MCDI_DWORD(outbuf, MAE_MPORT_LOOKUP_OUT_MPORT_ID); in efx_mae_lookup_mport()
129 caps->match_field_count = MCDI_DWORD(outbuf, MAE_GET_CAPS_OUT_MATCH_FIELD_COUNT); in efx_mae_get_basic_caps()
130 caps->action_prios = MCDI_DWORD(outbuf, MAE_GET_CAPS_OUT_ACTION_PRIOS); in efx_mae_get_basic_caps()
148 count = MCDI_DWORD(outbuf, MAE_GET_AR_CAPS_OUT_COUNT); in efx_mae_get_rule_fields()
308 act->fw_id = MCDI_DWORD(outbuf, MAE_ACTION_SET_ALLOC_OUT_AS_ID); in efx_mae_alloc_action_set()
337 if (WARN_ON(MCDI_DWORD(outbuf, MAE_ACTION_SET_FREE_OUT_FREED_AS_ID) != fw_id)) in efx_mae_free_action_set()
384 acts->fw_id = MCDI_DWORD(outbuf, MAE_ACTION_SET_LIST_ALLOC_OUT_ASL_ID); in efx_mae_alloc_action_set_list()
421 if (WARN_ON(MCDI_DWORD(outbuf, MAE_ACTION_SET_LIST_FREE_OUT_FREED_ASL_ID) != acts->fw_id)) in efx_mae_free_action_set_list()
[all …]
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()
417 MCDI_DWORD(outbuf, GET_LINK_OUT_LINK_SPEED), in efx_mcdi_phy_poll()
418 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.c641 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()
1494 MCDI_DWORD(outbuf, in efx_mcdi_drv_attach()
1512 *was_attached = MCDI_DWORD(outbuf, DRV_ATTACH_OUT_OLD_STATE); in efx_mcdi_drv_attach()
1560 *capabilities = MCDI_DWORD(outbuf, in efx_mcdi_get_board_cfg()
1563 *capabilities = MCDI_DWORD(outbuf, in efx_mcdi_get_board_cfg()
1614 *nvram_types_out = MCDI_DWORD(outbuf, NVRAM_TYPES_OUT_TYPES); in efx_mcdi_nvram_types()
1642 *number = MCDI_DWORD(outbuf, NVRAM_PARTITIONS_OUT_NUM_PARTITIONS); in efx_new_mcdi_nvram_types()
[all …]
Dptp.c657 fmt = MCDI_DWORD(outbuf, PTP_OUT_GET_ATTRIBUTES_TIME_FORMAT); in efx_ptp_get_attributes()
713 MCDI_DWORD(outbuf, in efx_ptp_get_attributes()
720 ptp->capabilities = MCDI_DWORD(outbuf, in efx_ptp_get_attributes()
755 efx->ptp_data->ts_corrections.ptp_tx = MCDI_DWORD(outbuf, in efx_ptp_get_timestamp_corrections()
757 efx->ptp_data->ts_corrections.ptp_rx = MCDI_DWORD(outbuf, in efx_ptp_get_timestamp_corrections()
759 efx->ptp_data->ts_corrections.pps_out = MCDI_DWORD(outbuf, in efx_ptp_get_timestamp_corrections()
761 efx->ptp_data->ts_corrections.pps_in = MCDI_DWORD(outbuf, in efx_ptp_get_timestamp_corrections()
765 efx->ptp_data->ts_corrections.general_tx = MCDI_DWORD( in efx_ptp_get_timestamp_corrections()
768 efx->ptp_data->ts_corrections.general_rx = MCDI_DWORD( in efx_ptp_get_timestamp_corrections()
907 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()
705 old_mask = MCDI_DWORD(pm_outbuf, PRIVILEGE_MASK_OUT_OLD_MASK); in efx_ef10_sriov_set_privilege_mask()
804 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.c173 nic_data->datapath_caps = MCDI_DWORD(outbuf, in efx_ef100_init_datapath_caps()
175 nic_data->datapath_caps2 = MCDI_DWORD(outbuf, in efx_ef100_init_datapath_caps()
180 nic_data->datapath_caps3 = MCDI_DWORD(outbuf, in efx_ef100_init_datapath_caps()
Dmcdi.h231 #define MCDI_DWORD(_buf, _field) \ macro
Dmcdi_filters.c1900 *flags = MCDI_DWORD(outbuf, RSS_CONTEXT_GET_FLAGS_OUT_FLAGS); in efx_mcdi_get_rss_context_flags()
1972 ctx->context_id = MCDI_DWORD(outbuf, RSS_CONTEXT_ALLOC_OUT_RSS_CONTEXT_ID); in efx_mcdi_filter_alloc_rss_context()
/drivers/net/ethernet/sfc/siena/
Dmcdi_port_common.c35 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()
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()
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()
[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()
86 return MCDI_DWORD(outbuf, GET_LINK_OUT_MAC_FAULT) != 0; in efx_siena_mcdi_mac_check_fault()
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.c644 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()
1092 code = MCDI_DWORD(outbuf, ERR_CODE); in efx_siena_mcdi_display_error()
1094 err_arg = MCDI_DWORD(outbuf, ERR_ARG); in efx_siena_mcdi_display_error()
1499 MCDI_DWORD(outbuf, in efx_mcdi_drv_attach()
1517 *was_attached = MCDI_DWORD(outbuf, DRV_ATTACH_OUT_OLD_STATE); in efx_mcdi_drv_attach()
1565 *capabilities = MCDI_DWORD(outbuf, in efx_siena_mcdi_get_board_cfg()
1568 *capabilities = MCDI_DWORD(outbuf, in efx_siena_mcdi_get_board_cfg()
1620 *nvram_types_out = MCDI_DWORD(outbuf, NVRAM_TYPES_OUT_TYPES); in efx_siena_mcdi_nvram_types()
1649 *size_out = MCDI_DWORD(outbuf, NVRAM_INFO_OUT_SIZE); in efx_siena_mcdi_nvram_info()
[all …]
Dmcdi_mon.c329 mask = MCDI_DWORD(outbuf, SENSOR_INFO_OUT_MASK); in efx_siena_mcdi_mon_probe()
394 mask = (MCDI_DWORD(outbuf, in efx_siena_mcdi_mon_probe()
Dmcdi.h219 #define MCDI_DWORD(_buf, _field) \ macro
Dsiena_sriov.c217 vf_total = MCDI_DWORD(outbuf, SRIOV_OUT_VF_TOTAL); in efx_siena_sriov_cmd()
218 vi_scale = MCDI_DWORD(outbuf, SRIOV_OUT_VI_SCALE); in efx_siena_sriov_cmd()