/linux-6.3-rc2/drivers/net/ethernet/sfc/ |
A D | mcdi_port_common.c | 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() 39 cfg->port = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_PRT); 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() 419 MCDI_DWORD(outbuf, GET_LINK_OUT_FCNTL)); in efx_mcdi_phy_poll() 460 caps = MCDI_DWORD(outbuf, GET_LINK_OUT_CAP); in efx_mcdi_phy_probe() 507 MCDI_DWORD(outbuf, GET_LINK_OUT_FLAGS), in efx_mcdi_phy_probe() 508 MCDI_DWORD(outbuf, GET_LINK_OUT_FCNTL)); in efx_mcdi_phy_probe() 563 MCDI_DWORD(outbuf, GET_LINK_OUT_LP_CAP), in efx_mcdi_phy_get_link_ksettings() [all …]
|
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()
|
A D | mae.c | 41 *id = MCDI_DWORD(outbuf, MAE_MPORT_ALLOC_ALIAS_OUT_MPORT_ID); in efx_mae_allocate_mport() 42 *label = MCDI_DWORD(outbuf, MAE_MPORT_ALLOC_ALIAS_OUT_LABEL); in efx_mae_allocate_mport() 114 *id = MCDI_DWORD(outbuf, MAE_MPORT_LOOKUP_OUT_MPORT_ID); in efx_mae_fw_lookup_mport() 139 out_flags = MCDI_DWORD(outbuf, MAE_COUNTERS_STREAM_START_OUT_FLAGS); in efx_mae_start_counters() 244 caps->action_prios = MCDI_DWORD(outbuf, MAE_GET_CAPS_OUT_ACTION_PRIOS); in efx_mae_get_basic_caps() 262 count = MCDI_DWORD(outbuf, MAE_GET_AR_CAPS_OUT_COUNT); in efx_mae_get_rule_fields() 459 cnt->fw_id = MCDI_DWORD(outbuf, MAE_COUNTER_ALLOC_OUT_COUNTER_ID); in efx_mae_allocate_counter() 460 cnt->gen = MCDI_DWORD(outbuf, MAE_COUNTER_ALLOC_OUT_GENERATION_COUNT); in efx_mae_allocate_counter() 709 act->fw_id = MCDI_DWORD(outbuf, MAE_ACTION_SET_ALLOC_OUT_AS_ID); in efx_mae_alloc_action_set() 785 acts->fw_id = MCDI_DWORD(outbuf, MAE_ACTION_SET_LIST_ALLOC_OUT_ASL_ID); in efx_mae_alloc_action_set_list() [all …]
|
A D | mcdi.c | 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() 1560 *capabilities = MCDI_DWORD(outbuf, in efx_mcdi_get_board_cfg() 1563 *capabilities = MCDI_DWORD(outbuf, in efx_mcdi_get_board_cfg() 1672 *size_out = MCDI_DWORD(outbuf, NVRAM_INFO_OUT_SIZE); in efx_mcdi_nvram_info() 1696 switch (MCDI_DWORD(outbuf, NVRAM_TEST_OUT_RESULT)) { in efx_mcdi_nvram_test() 1820 MCDI_DWORD(outbuf, GET_ASSERTS_OUT_SAVED_PC_OFFS), in efx_mcdi_read_assertion() 1821 MCDI_DWORD(outbuf, GET_ASSERTS_OUT_THREAD_OFFS)); in efx_mcdi_read_assertion() 2157 pf = MCDI_DWORD(fi_outbuf, GET_FUNCTION_INFO_OUT_PF); in efx_mcdi_get_privilege_mask() [all …]
|
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()
|
A D | ptp.c | 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() 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() 1170 MCDI_DWORD(txtime, PTP_OUT_TRANSMIT_MAJOR), in efx_ptp_xmit_skb_mc() 1171 MCDI_DWORD(txtime, PTP_OUT_TRANSMIT_MINOR), in efx_ptp_xmit_skb_mc() 2215 MCDI_DWORD(outbuf, PTP_OUT_READ_NIC_TIME_MAJOR), in efx_phc_gettime() [all …]
|
A D | ef10.c | 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() 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() 362 num_addrs = MCDI_DWORD(outbuf, in efx_ef10_get_mac_address_vf() 1016 MCDI_DWORD(outbuf, in efx_ef10_vadaptor_query() [all …]
|
A D | efx_devlink.c | 250 MCDI_DWORD(outbuf, in efx_devlink_info_running_v2() 309 build_id = MCDI_DWORD(outbuf, GET_VERSION_V2_OUT_MCFW_BUILD_ID); in efx_devlink_info_running_v2() 328 build_id = MCDI_DWORD(outbuf, GET_VERSION_V2_OUT_SUCFW_CHIP_ID); in efx_devlink_info_running_v2() 543 flags = MCDI_DWORD(outbuf, GET_VERSION_V2_OUT_FLAGS); in efx_devlink_info_running_versions()
|
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()
|
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()
|
A D | ef100_nic.c | 184 nic_data->datapath_caps = MCDI_DWORD(outbuf, in efx_ef100_init_datapath_caps() 186 nic_data->datapath_caps2 = MCDI_DWORD(outbuf, in efx_ef100_init_datapath_caps() 191 nic_data->datapath_caps3 = MCDI_DWORD(outbuf, in efx_ef100_init_datapath_caps() 1145 *id = MCDI_DWORD(outbuf, GET_CLIENT_HANDLE_OUT_HANDLE); in efx_ef100_lookup_client_id()
|
A D | mcdi.h | 245 #define MCDI_DWORD(_buf, _field) \ macro
|
A D | mcdi_filters.c | 1900 *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()
|
/linux-6.3-rc2/drivers/net/ethernet/sfc/siena/ |
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()
|
A D | mcdi_port_common.c | 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() 40 cfg->port = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_PRT); 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() 420 MCDI_DWORD(outbuf, GET_LINK_OUT_FCNTL)); in efx_siena_mcdi_phy_poll() 461 caps = MCDI_DWORD(outbuf, GET_LINK_OUT_CAP); in efx_siena_mcdi_phy_probe() 508 MCDI_DWORD(outbuf, GET_LINK_OUT_FLAGS), in efx_siena_mcdi_phy_probe() 509 MCDI_DWORD(outbuf, GET_LINK_OUT_FCNTL)); in efx_siena_mcdi_phy_probe() 565 MCDI_DWORD(outbuf, GET_LINK_OUT_LP_CAP), in efx_siena_mcdi_phy_get_link_ksettings() [all …]
|
A D | ptp.c | 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() 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() 1138 MCDI_DWORD(txtime, PTP_OUT_TRANSMIT_MAJOR), in efx_ptp_xmit_skb_mc() 1139 MCDI_DWORD(txtime, PTP_OUT_TRANSMIT_MINOR), in efx_ptp_xmit_skb_mc() 2122 MCDI_DWORD(outbuf, PTP_OUT_READ_NIC_TIME_MAJOR), in efx_phc_gettime() [all …]
|
A D | mcdi.c | 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() 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() 1673 switch (MCDI_DWORD(outbuf, NVRAM_TEST_OUT_RESULT)) { in efx_mcdi_nvram_test() 1751 flags = MCDI_DWORD(outbuf, GET_ASSERTS_OUT_GLOBAL_FLAGS); in efx_mcdi_read_assertion() 1764 MCDI_DWORD(outbuf, GET_ASSERTS_OUT_SAVED_PC_OFFS), in efx_mcdi_read_assertion() [all …]
|
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()
|
A D | mcdi.h | 219 #define MCDI_DWORD(_buf, _field) \ macro
|
A D | siena_sriov.c | 217 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()
|