Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlxsw/
Dcore_hwmon.c70 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 …]
Dcore_env.c35 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()
Dcore_thermal.c284 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()
Dminimal.c50 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()
Dswitchx2.c179 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()
Dswitchib.c111 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()
Dcore.c900 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()
Dspectrum1_acl_tcam.c215 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(ptce2), ptce2_pl); in mlxsw_sp1_acl_tcam_region_entry_activity_get()
Dspectrum_acl_flex_actions.c78 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(pefa), pefa_pl); in mlxsw_sp2_act_kvdl_set_activity_get()
Dspectrum_ethtool.c153 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()
Dspectrum_policer.c298 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(qpcr), qpcr_pl); in mlxsw_sp_policer_drops_counter_get()
Dspectrum.c181 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()
Dcore.h177 int mlxsw_reg_query(struct mlxsw_core *mlxsw_core,
Dspectrum_span.c1418 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()
Dspectrum_dcb.c487 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(ppcnt), ppcnt_pl); in mlxsw_sp_port_pfc_cnt_get()
Dspectrum_ptp.c708 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(mogcr), mogcr_pl); in mlxsw_sp1_ptp_set_fifo_clr_on_trap()
Dspectrum_router.c181 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()
Dspectrum_trap.c1669 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(qpcr), qpcr_pl); in mlxsw_sp_trap_policer_counter_get()
Dspectrum_switchdev.c2715 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(sfn), sfn_pl); in mlxsw_sp_fdb_notify_work()