/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/ |
H A D | mcdi_port_common.c | 34 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(outbu in efx_mcdi_phy_poll() [all...] |
H A D | mcdi_port.c | 39 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()
|
H A D | mcdi.c | 643 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(outbu in efx_new_mcdi_nvram_types() [all...] |
H A D | ptp.c | 654 fmt = MCDI_DWORD(outbuf, PTP_OUT_GET_ATTRIBUTES_TIME_FORMAT); in efx_ptp_get_attributes() 710 MCDI_DWORD(outbuf, in efx_ptp_get_attributes() 717 ptp->capabilities = MCDI_DWORD(outbuf, in efx_ptp_get_attributes() 752 efx->ptp_data->ts_corrections.ptp_tx = MCDI_DWORD(outbuf, in efx_ptp_get_timestamp_corrections() 754 efx->ptp_data->ts_corrections.ptp_rx = MCDI_DWORD(outbuf, in efx_ptp_get_timestamp_corrections() 756 efx->ptp_data->ts_corrections.pps_out = MCDI_DWORD(outbuf, in efx_ptp_get_timestamp_corrections() 758 efx->ptp_data->ts_corrections.pps_in = MCDI_DWORD(outbuf, in efx_ptp_get_timestamp_corrections() 762 efx->ptp_data->ts_corrections.general_tx = MCDI_DWORD( in efx_ptp_get_timestamp_corrections() 765 efx->ptp_data->ts_corrections.general_rx = MCDI_DWORD( in efx_ptp_get_timestamp_corrections() 904 timeset->host_start = MCDI_DWORD(dat [all...] |
H A D | mcdi_functions.c | 54 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()
|
H A D | ef10.c | 102 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(dat in efx_ef10_process_timer_config() [all...] |
H A 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()
|
H A D | ef10_sriov.c | 99 *port_id_out = MCDI_DWORD(outbuf, VPORT_ALLOC_OUT_VPORT_ID); in efx_ef10_vport_alloc() 716 old_mask = MCDI_DWORD(pm_outbuf, PRIVILEGE_MASK_OUT_OLD_MASK); in efx_ef10_sriov_set_privilege_mask() 815 ivf->linkstate = MCDI_DWORD(outbuf, LINK_STATE_MODE_OUT_OLD_MODE); in efx_ef10_sriov_get_vf_config()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/ |
H A D | mcdi_port_common.c | 34 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(outbu in efx_mcdi_phy_poll() [all...] |
H A D | mcdi_port.c | 39 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()
|
H A D | mcdi.c | 640 if (MCDI_DWORD(testbuf, ERR_CODE) == MC_CMD_ERR_PROXY_PENDING) { in efx_mcdi_get_proxy_handle() 641 *proxy_handle = MCDI_DWORD(testbuf, ERR_PROXY_PENDING_HANDLE); in efx_mcdi_get_proxy_handle() 1086 code = MCDI_DWORD(outbuf, ERR_CODE); in efx_mcdi_display_error() 1088 err_arg = MCDI_DWORD(outbuf, ERR_ARG); in efx_mcdi_display_error() 1487 MCDI_DWORD(outbuf, in efx_mcdi_drv_attach() 1505 *was_attached = MCDI_DWORD(outbuf, DRV_ATTACH_OUT_OLD_STATE); in efx_mcdi_drv_attach() 1553 *capabilities = MCDI_DWORD(outbuf, in efx_mcdi_get_board_cfg() 1556 *capabilities = MCDI_DWORD(outbuf, in efx_mcdi_get_board_cfg() 1607 *nvram_types_out = MCDI_DWORD(outbuf, NVRAM_TYPES_OUT_TYPES); in efx_mcdi_nvram_types() 1635 *number = MCDI_DWORD(outbu in efx_new_mcdi_nvram_types() [all...] |
H A D | mae.c | 43 *id = MCDI_DWORD(outbuf, MAE_MPORT_ALLOC_ALIAS_OUT_MPORT_ID); in efx_mae_allocate_mport() 44 *label = MCDI_DWORD(outbuf, MAE_MPORT_ALLOC_ALIAS_OUT_LABEL); in efx_mae_allocate_mport() 116 *id = MCDI_DWORD(outbuf, MAE_MPORT_LOOKUP_OUT_MPORT_ID); in efx_mae_fw_lookup_mport() 141 out_flags = MCDI_DWORD(outbuf, MAE_COUNTERS_STREAM_START_OUT_FLAGS); in efx_mae_start_counters() 428 tbl_total = MCDI_DWORD(outbuf, TABLE_LIST_OUT_N_TABLES); in efx_mae_check_table_exists() 495 caps->match_field_count = MCDI_DWORD(outbuf, MAE_GET_CAPS_OUT_MATCH_FIELD_COUNT); in efx_mae_get_basic_caps() 496 caps->encap_types = MCDI_DWORD(outbuf, MAE_GET_CAPS_OUT_ENCAP_TYPES_SUPPORTED); in efx_mae_get_basic_caps() 497 caps->action_prios = MCDI_DWORD(outbuf, MAE_GET_CAPS_OUT_ACTION_PRIOS); in efx_mae_get_basic_caps() 523 count = MCDI_DWORD(outbuf, MAE_GET_AR_CAPS_OUT_COUNT); in efx_mae_get_rule_fields() 908 cnt->fw_id = MCDI_DWORD(outbu in efx_mae_allocate_counter() [all...] |
H A D | ptp.c | 634 fmt = MCDI_DWORD(outbuf, PTP_OUT_GET_ATTRIBUTES_TIME_FORMAT); in efx_ptp_get_attributes() 684 MCDI_DWORD(outbuf, in efx_ptp_get_attributes() 691 ptp->capabilities = MCDI_DWORD(outbuf, in efx_ptp_get_attributes() 726 efx->ptp_data->ts_corrections.ptp_tx = MCDI_DWORD(outbuf, in efx_ptp_get_timestamp_corrections() 728 efx->ptp_data->ts_corrections.ptp_rx = MCDI_DWORD(outbuf, in efx_ptp_get_timestamp_corrections() 730 efx->ptp_data->ts_corrections.pps_out = MCDI_DWORD(outbuf, in efx_ptp_get_timestamp_corrections() 732 efx->ptp_data->ts_corrections.pps_in = MCDI_DWORD(outbuf, in efx_ptp_get_timestamp_corrections() 736 efx->ptp_data->ts_corrections.general_tx = MCDI_DWORD( in efx_ptp_get_timestamp_corrections() 739 efx->ptp_data->ts_corrections.general_rx = MCDI_DWORD( in efx_ptp_get_timestamp_corrections() 878 timeset->host_start = MCDI_DWORD(dat [all...] |
H A D | mcdi_functions.c | 54 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()
|
H A D | ef10.c | 102 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(dat in efx_ef10_process_timer_config() [all...] |
H A D | efx_devlink.c | 260 MCDI_DWORD(outbuf, in efx_devlink_info_running_v2() 319 build_id = MCDI_DWORD(outbuf, GET_VERSION_V2_OUT_MCFW_BUILD_ID); in efx_devlink_info_running_v2() 338 build_id = MCDI_DWORD(outbuf, GET_VERSION_V2_OUT_SUCFW_CHIP_ID); in efx_devlink_info_running_v2() 553 flags = MCDI_DWORD(outbuf, GET_VERSION_V2_OUT_FLAGS); in efx_devlink_info_running_versions()
|
H A D | ef10_sriov.c | 99 *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()
|
H A 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()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/siena/ |
H A D | mcdi_port.c | 39 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()
|
H A D | mcdi_port_common.c | 35 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(outbu in efx_siena_mcdi_phy_poll() [all...] |
H A 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() 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(outbu in efx_siena_mcdi_nvram_info() [all...] |
H A D | ptp.c | 647 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(dat [all...] |
H A D | mcdi_mon.c | 329 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()
|
/kernel/linux/linux-6.6/drivers/cdx/controller/ |
H A D | mcdi_functions.c | 25 return MCDI_DWORD(outbuf, CDX_BUS_ENUM_BUSES_OUT_BUS_COUNT); in cdx_mcdi_get_num_buses() 45 return MCDI_DWORD(outbuf, CDX_BUS_ENUM_DEVICES_OUT_DEVICE_COUNT); in cdx_mcdi_get_num_devs() 73 req_id = MCDI_DWORD(outbuf, CDX_BUS_GET_DEVICE_CONFIG_OUT_REQUESTER_ID); in cdx_mcdi_get_dev_config()
|
H A D | mcdi.h | 226 #define MCDI_DWORD(_buf, _field) \ macro
|