/drivers/net/ethernet/mellanox/mlxsw/ |
D | core_hwmon.c | 70 err = mlxsw_reg_query(mlxsw_hwmon->core, MLXSW_REG(mtmp), mtmp_pl); in mlxsw_hwmon_temp_show() 93 err = mlxsw_reg_query(mlxsw_hwmon->core, MLXSW_REG(mtmp), mtmp_pl); in mlxsw_hwmon_temp_max_show() 124 err = mlxsw_reg_query(mlxsw_hwmon->core, MLXSW_REG(mtmp), mtmp_pl); in mlxsw_hwmon_temp_rst_store() 148 err = mlxsw_reg_query(mlxsw_hwmon->core, MLXSW_REG(mfsm), mfsm_pl); in mlxsw_hwmon_fan_rpm_show() 167 err = mlxsw_reg_query(mlxsw_hwmon->core, MLXSW_REG(fore), fore_pl); in mlxsw_hwmon_fan_fault_show() 188 err = mlxsw_reg_query(mlxsw_hwmon->core, MLXSW_REG(mfsc), mfsc_pl); in mlxsw_hwmon_pwm_show() 237 err = mlxsw_reg_query(mlxsw_hwmon->core, MLXSW_REG(mtmp), mtmp_pl); in mlxsw_hwmon_module_temp_get() 275 err = mlxsw_reg_query(mlxsw_hwmon->core, MLXSW_REG(mtbr), mtbr_pl); in mlxsw_hwmon_module_temp_fault_show() 582 err = mlxsw_reg_query(mlxsw_hwmon->core, MLXSW_REG(mtcap), mtcap_pl); in mlxsw_hwmon_temp_init() 592 err = mlxsw_reg_query(mlxsw_hwmon->core, MLXSW_REG(mtmp), in mlxsw_hwmon_temp_init() [all …]
|
D | core_env.c | 35 err = mlxsw_reg_query(core, MLXSW_REG(mcia), mcia_pl); in mlxsw_env_validate_cable_ident() 110 err = mlxsw_reg_query(mlxsw_core, MLXSW_REG(mcia), mcia_pl); in mlxsw_env_query_module_eeprom() 142 err = mlxsw_reg_query(core, MLXSW_REG(mtmp), mtmp_pl); in mlxsw_env_module_temp_thresholds_get() 184 err = mlxsw_reg_query(core, MLXSW_REG(mcia), mcia_pl); in mlxsw_env_module_temp_thresholds_get() 319 err = mlxsw_reg_query(mlxsw_core, MLXSW_REG(mtbr), mtbr_pl); in mlxsw_env_module_has_temp_sensor() 346 err = mlxsw_reg_query(mlxsw_core, MLXSW_REG(mtmp), mtmp_pl); in mlxsw_env_temp_event_set() 612 err = mlxsw_reg_query(mlxsw_core, MLXSW_REG(mgpir), mgpir_pl); in mlxsw_env_init()
|
D | core_thermal.c | 284 err = mlxsw_reg_query(thermal->core, MLXSW_REG(mtmp), mtmp_pl); in mlxsw_thermal_get_temp() 442 err = mlxsw_reg_query(thermal->core, MLXSW_REG(mtmp), mtmp_pl); in mlxsw_thermal_module_temp_get() 566 err = mlxsw_reg_query(thermal->core, MLXSW_REG(mtmp), mtmp_pl); in mlxsw_thermal_gearbox_temp_get() 612 err = mlxsw_reg_query(thermal->core, MLXSW_REG(mfsc), mfsc_pl); in mlxsw_thermal_get_cur_state() 730 err = mlxsw_reg_query(core, MLXSW_REG(mgpir), mgpir_pl); in mlxsw_thermal_modules_init() 826 err = mlxsw_reg_query(core, MLXSW_REG(mgpir), mgpir_pl); in mlxsw_thermal_gearboxes_init() 897 err = mlxsw_reg_query(thermal->core, MLXSW_REG(mfcr), mfcr_pl); in mlxsw_thermal_init() 911 err = mlxsw_reg_query(thermal->core, MLXSW_REG(mfsl), in mlxsw_thermal_init()
|
D | minimal.c | 50 err = mlxsw_reg_query(mlxsw_m->core, MLXSW_REG(spad), spad_pl); in mlxsw_m_base_mac_get() 129 err = mlxsw_reg_query(mlxsw_m->core, MLXSW_REG(pmlp), pmlp_pl); in mlxsw_m_port_module_info_get() 147 err = mlxsw_reg_query(mlxsw_m->core, MLXSW_REG(ppad), ppad_pl); in mlxsw_m_port_dev_addr_get()
|
D | switchx2.c | 179 err = mlxsw_reg_query(mlxsw_sx->core, MLXSW_REG(paos), paos_pl); in mlxsw_sx_port_oper_status_get() 196 err = mlxsw_reg_query(mlxsw_sx->core, MLXSW_REG(pmtu), pmtu_pl); in __mlxsw_sx_port_mtu_set() 261 err = mlxsw_reg_query(mlxsw_sx->core, MLXSW_REG(pmlp), pmlp_pl); in mlxsw_sx_port_module_info_get() 530 err = mlxsw_reg_query(mlxsw_sx->core, MLXSW_REG(ppcnt), ppcnt_pl); in mlxsw_sx_port_get_stats() 725 err = mlxsw_reg_query(mlxsw_sx->core, MLXSW_REG(ptys), ptys_pl); in mlxsw_sx_port_get_link_ksettings() 815 err = mlxsw_reg_query(mlxsw_sx->core, MLXSW_REG(ptys), ptys_pl); in mlxsw_sx_port_set_link_ksettings() 877 err = mlxsw_reg_query(mlxsw_sx->core, MLXSW_REG(spad), spad_pl); in mlxsw_sx_hw_id_get() 892 err = mlxsw_reg_query(mlxsw_sx->core, MLXSW_REG(ppad), ppad_pl); in mlxsw_sx_port_dev_addr_get()
|
D | switchib.c | 111 err = mlxsw_reg_query(mlxsw_sib->core, MLXSW_REG(spad), spad_pl); in mlxsw_sib_hw_id_get() 140 err = mlxsw_reg_query(mlxsw_sib->core, MLXSW_REG(pmtu), pmtu_pl); in mlxsw_sib_port_mtu_set() 182 err = mlxsw_reg_query(mlxsw_sib->core, MLXSW_REG(pmlp), pmlp_pl); in mlxsw_sib_port_module_info_get()
|
D | core.c | 900 err = mlxsw_reg_query(mlxsw_core, MLXSW_REG(mcqi), mcqi_pl); in mlxsw_core_fw_component_query() 920 err = mlxsw_reg_query(mlxsw_core, MLXSW_REG(mcc), mcc_pl); in mlxsw_core_fw_fsm_lock() 994 err = mlxsw_reg_query(mlxsw_core, MLXSW_REG(mcc), mcc_pl); in mlxsw_core_fw_fsm_query_state() 1396 err = mlxsw_reg_query(mlxsw_core, MLXSW_REG(mgir), mgir_pl); in mlxsw_devlink_info_get() 1788 err = mlxsw_reg_query(mlxsw_core, MLXSW_REG(mfgd), mfgd_pl); in mlxsw_core_health_fw_fatal_test() 1809 err = mlxsw_reg_query(mlxsw_core, MLXSW_REG(mfgd), mfgd_pl); in mlxsw_core_health_fw_fatal_config() 2585 int mlxsw_reg_query(struct mlxsw_core *mlxsw_core, in mlxsw_reg_query() function 2591 EXPORT_SYMBOL(mlxsw_reg_query); 2878 err = mlxsw_reg_query(mlxsw_core, MLXSW_REG(pmtm), pmtm_pl); in mlxsw_core_module_max_width()
|
D | spectrum1_acl_tcam.c | 215 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(ptce2), ptce2_pl); in mlxsw_sp1_acl_tcam_region_entry_activity_get()
|
D | spectrum_acl_flex_actions.c | 78 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(pefa), pefa_pl); in mlxsw_sp2_act_kvdl_set_activity_get()
|
D | spectrum_ethtool.c | 153 err = mlxsw_reg_query(mlxsw_sp_port->mlxsw_sp->core, MLXSW_REG(pddr), in mlxsw_sp_port_get_link_ext_state() 933 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(ptys), ptys_pl); in mlxsw_sp_port_ptys_query() 993 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(ptys), ptys_pl); in mlxsw_sp_port_set_link_ksettings()
|
D | spectrum_policer.c | 298 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(qpcr), qpcr_pl); in mlxsw_sp_policer_drops_counter_get()
|
D | spectrum.c | 181 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(mgpc), mgpc_pl); in mlxsw_sp_flow_counter_get() 284 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(spad), spad_pl); in mlxsw_sp_base_mac_get() 331 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(pmtu), pmtu_pl); in mlxsw_sp_port_max_mtu_get() 454 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(pmlp), pmlp_pl); in mlxsw_sp_port_module_info_get() 703 return mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(ppcnt), ppcnt_pl); in mlxsw_sp_port_get_stats_raw() 1187 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(ptys), ptys_pl); in mlxsw_sp_port_speed_by_width_set() 1212 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(ptys), ptys_pl); in mlxsw_sp_port_speed_get()
|
D | core.h | 177 int mlxsw_reg_query(struct mlxsw_core *mlxsw_core,
|
D | spectrum_span.c | 1418 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(momte), momte_pl); in __mlxsw_sp2_span_trigger_global_enable() 1696 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(mogcr), mogcr_pl); in mlxsw_sp2_span_policer_id_base_set()
|
D | spectrum_dcb.c | 487 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(ppcnt), ppcnt_pl); in mlxsw_sp_port_pfc_cnt_get()
|
D | spectrum_ptp.c | 708 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(mogcr), mogcr_pl); in mlxsw_sp1_ptp_set_fifo_clr_on_trap()
|
D | spectrum_router.c | 181 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(ritr), ritr_pl); in mlxsw_sp_rif_counter_edit() 208 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(ricnt), ricnt_pl); in mlxsw_sp_rif_counter_value_get() 2321 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(rauhtd), in __mlxsw_sp_router_neighs_update_rauhtd() 6347 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(ritr), ritr_pl); in mlxsw_sp_router_rif_disable() 6902 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(ritr), ritr_pl); in mlxsw_sp_rif_vrrp_op() 7195 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(ritr), ritr_pl); in mlxsw_sp_rif_edit()
|
D | spectrum_trap.c | 1669 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(qpcr), qpcr_pl); in mlxsw_sp_trap_policer_counter_get()
|
D | spectrum_switchdev.c | 2715 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(sfn), sfn_pl); in mlxsw_sp_fdb_notify_work()
|