| /linux-6.15/drivers/net/ethernet/sfc/ |
| H 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() 451 caps = MCDI_DWORD(outbuf, GET_LINK_OUT_CAP); in efx_mcdi_phy_probe() 498 MCDI_DWORD(outbuf, GET_LINK_OUT_FLAGS), in efx_mcdi_phy_probe() 499 MCDI_DWORD(outbuf, GET_LINK_OUT_FCNTL)); in efx_mcdi_phy_probe() 552 MCDI_DWORD(outbuf, GET_LINK_OUT_LP_CAP), in efx_mcdi_phy_get_link_ksettings() [all …]
|
| H A D | mcdi.c | 1069 code = MCDI_DWORD(outbuf, ERR_CODE); in efx_mcdi_display_error() 1071 err_arg = MCDI_DWORD(outbuf, ERR_ARG); in efx_mcdi_display_error() 1470 MCDI_DWORD(outbuf, in efx_mcdi_drv_attach() 1536 *capabilities = MCDI_DWORD(outbuf, in efx_mcdi_get_board_cfg() 1539 *capabilities = MCDI_DWORD(outbuf, in efx_mcdi_get_board_cfg() 1657 *size_out = MCDI_DWORD(outbuf, NVRAM_INFO_OUT_SIZE); in efx_mcdi_nvram_info() 1681 switch (MCDI_DWORD(outbuf, NVRAM_TEST_OUT_RESULT)) { in efx_mcdi_nvram_test() 1805 MCDI_DWORD(outbuf, GET_ASSERTS_OUT_SAVED_PC_OFFS), in efx_mcdi_read_assertion() 1806 MCDI_DWORD(outbuf, GET_ASSERTS_OUT_THREAD_OFFS)); in efx_mcdi_read_assertion() 2083 pf = MCDI_DWORD(fi_outbuf, GET_FUNCTION_INFO_OUT_PF); in efx_mcdi_get_privilege_mask() [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() 105 *id = MCDI_DWORD(outbuf, MAE_MPORT_LOOKUP_OUT_MPORT_ID); in efx_mae_fw_lookup_mport() 130 out_flags = MCDI_DWORD(outbuf, MAE_COUNTERS_STREAM_START_OUT_FLAGS); in efx_mae_start_counters() 417 tbl_total = MCDI_DWORD(outbuf, TABLE_LIST_OUT_N_TABLES); in efx_mae_check_table_exists() 512 count = MCDI_DWORD(outbuf, MAE_GET_AR_CAPS_OUT_COUNT); in efx_mae_get_rule_fields() 897 cnt->fw_id = MCDI_DWORD(outbuf, MAE_COUNTER_ALLOC_OUT_COUNTER_ID); in efx_mae_allocate_counter() 1239 ped->fw_id = MCDI_DWORD(outbuf, MAE_MAC_ADDR_ALLOC_OUT_MAC_ID); in efx_mae_allocate_pedit_mac() 1341 act->fw_id = MCDI_DWORD(outbuf, MAE_ACTION_SET_ALLOC_OUT_AS_ID); in efx_mae_alloc_action_set() 1725 rule->fw_id = MCDI_DWORD(outbuf, MAE_OUTER_RULE_INSERT_OUT_OR_ID); in efx_mae_insert_lhs_outer_rule() [all …]
|
| H A D | ptp.c | 690 MCDI_DWORD(outbuf, in efx_ptp_get_attributes() 697 ptp->capabilities = MCDI_DWORD(outbuf, in efx_ptp_get_attributes() 732 efx->ptp_data->ts_corrections.ptp_tx = MCDI_DWORD(outbuf, in efx_ptp_get_timestamp_corrections() 734 efx->ptp_data->ts_corrections.ptp_rx = MCDI_DWORD(outbuf, in efx_ptp_get_timestamp_corrections() 738 efx->ptp_data->ts_corrections.pps_in = MCDI_DWORD(outbuf, in efx_ptp_get_timestamp_corrections() 742 efx->ptp_data->ts_corrections.general_tx = MCDI_DWORD( in efx_ptp_get_timestamp_corrections() 745 efx->ptp_data->ts_corrections.general_rx = MCDI_DWORD( in efx_ptp_get_timestamp_corrections() 1156 MCDI_DWORD(txtime, PTP_OUT_TRANSMIT_MAJOR), in efx_ptp_xmit_skb_mc() 1157 MCDI_DWORD(txtime, PTP_OUT_TRANSMIT_MINOR), in efx_ptp_xmit_skb_mc() 2158 MCDI_DWORD(outbuf, PTP_OUT_READ_NIC_TIME_MAJOR), in efx_phc_gettime() [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 | mcdi_port.c | 41 return MCDI_DWORD(outbuf, GET_LINK_OUT_MAC_FAULT) != 0; in efx_mcdi_mac_check_fault()
|
| H 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 …]
|
| H A D | efx_devlink.c | 261 MCDI_DWORD(outbuf, in efx_devlink_info_running_v2() 320 build_id = MCDI_DWORD(outbuf, GET_VERSION_V2_OUT_MCFW_BUILD_ID); in efx_devlink_info_running_v2() 339 build_id = MCDI_DWORD(outbuf, GET_VERSION_V2_OUT_SUCFW_CHIP_ID); in efx_devlink_info_running_v2() 554 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()
|
| H 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()
|
| H A D | mcdi.h | 256 #define MCDI_DWORD(_buf, _field) \ macro
|
| H A D | mcdi_filters.c | 1901 *flags = MCDI_DWORD(outbuf, RSS_CONTEXT_GET_FLAGS_OUT_FLAGS); in efx_mcdi_get_rss_context_flags() 1973 ctx->context_id = MCDI_DWORD(outbuf, RSS_CONTEXT_ALLOC_OUT_RSS_CONTEXT_ID); in efx_mcdi_filter_alloc_rss_context()
|
| /linux-6.15/drivers/net/ethernet/sfc/siena/ |
| H 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 …]
|
| 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 | 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() 2116 MCDI_DWORD(outbuf, PTP_OUT_READ_NIC_TIME_MAJOR), in efx_phc_gettime() [all …]
|
| H 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 …]
|
| 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()
|
| H A D | mcdi.h | 219 #define MCDI_DWORD(_buf, _field) \ macro
|
| H 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()
|
| /linux-6.15/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() 76 dev_params->msi_dev_id = MCDI_DWORD(outbuf, in cdx_mcdi_get_dev_config() 130 dev_params->class = MCDI_DWORD(outbuf, in cdx_mcdi_get_dev_config() 133 dev_params->num_msi = MCDI_DWORD(outbuf, CDX_BUS_GET_DEVICE_CONFIG_OUT_MSI_COUNT); in cdx_mcdi_get_dev_config() 212 *flags = MCDI_DWORD(outbuf, CDX_DEVICE_CONTROL_GET_OUT_FLAGS); in cdx_mcdi_ctrl_flag_get()
|
| H A D | mcdi.h | 226 #define MCDI_DWORD(_buf, _field) \ macro
|