Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore_hwmon.c81 err = mlxsw_reg_query(mlxsw_hwmon->core, MLXSW_REG(mtmp), mtmp_pl); in mlxsw_hwmon_temp_show()
106 err = mlxsw_reg_query(mlxsw_hwmon->core, MLXSW_REG(mtmp), mtmp_pl); in mlxsw_hwmon_temp_max_show()
139 err = mlxsw_reg_query(mlxsw_hwmon->core, MLXSW_REG(mtmp), mtmp_pl); in mlxsw_hwmon_temp_rst_store()
164 err = mlxsw_reg_query(mlxsw_hwmon->core, MLXSW_REG(mfsm), mfsm_pl); in mlxsw_hwmon_fan_rpm_show()
184 err = mlxsw_reg_query(mlxsw_hwmon->core, MLXSW_REG(fore), fore_pl); in mlxsw_hwmon_fan_fault_show()
206 err = mlxsw_reg_query(mlxsw_hwmon->core, MLXSW_REG(mfsc), mfsc_pl); in mlxsw_hwmon_pwm_show()
258 err = mlxsw_reg_query(mlxsw_hwmon->core, MLXSW_REG(mtmp), mtmp_pl); in mlxsw_hwmon_module_temp_get()
297 err = mlxsw_reg_query(mlxsw_hwmon->core, MLXSW_REG(mtbr), mtbr_pl); in mlxsw_hwmon_module_temp_fault_show()
625 err = mlxsw_reg_query(mlxsw_hwmon->core, MLXSW_REG(mtmp), in mlxsw_hwmon_temp_init()
659 err = mlxsw_reg_query(mlxsw_hwmon->core, MLXSW_REG(mfcr), mfcr_pl); in mlxsw_hwmon_fans_init()
[all …]
H A Dcore_thermal.c217 err = mlxsw_reg_query(thermal->core, MLXSW_REG(mtmp), mtmp_pl); in mlxsw_thermal_get_temp()
298 err = mlxsw_reg_query(thermal->core, MLXSW_REG(mtmp), mtmp_pl); in mlxsw_thermal_module_temp_get()
324 err = mlxsw_reg_query(thermal->core, MLXSW_REG(mtmp), mtmp_pl); in mlxsw_thermal_gearbox_temp_get()
362 err = mlxsw_reg_query(thermal->core, MLXSW_REG(mfsc), mfsc_pl); in mlxsw_thermal_get_cur_state()
486 err = mlxsw_reg_query(core, MLXSW_REG(mgpir), mgpir_pl); in mlxsw_thermal_modules_init()
584 err = mlxsw_reg_query(core, MLXSW_REG(mgpir), mgpir_pl); in mlxsw_thermal_gearboxes_init()
707 err = mlxsw_reg_query(core, MLXSW_REG(mgpir), mgpir_pl); in mlxsw_thermal_init()
725 err = mlxsw_reg_query(thermal->core, MLXSW_REG(mfcr), mfcr_pl); in mlxsw_thermal_init()
739 err = mlxsw_reg_query(thermal->core, MLXSW_REG(mfsl), in mlxsw_thermal_init()
H A Dcore_env.c118 err = mlxsw_reg_query(core, MLXSW_REG(mcia), mcia_pl); in mlxsw_env_validate_cable_ident()
192 err = mlxsw_reg_query(mlxsw_core, MLXSW_REG(mcia), mcia_pl); in mlxsw_env_query_module_eeprom()
226 err = mlxsw_reg_query(core, MLXSW_REG(mtmp), mtmp_pl); in mlxsw_env_module_temp_thresholds_get()
278 err = mlxsw_reg_query(core, MLXSW_REG(mcia), mcia_pl); in mlxsw_env_module_temp_thresholds_get()
497 err = mlxsw_reg_query(mlxsw_core, MLXSW_REG(mcia), mcia_pl); in mlxsw_env_get_module_eeprom_by_page()
609 err = mlxsw_reg_query(mlxsw_core, MLXSW_REG(mcion), mcion_pl); in mlxsw_env_get_module_power_mode()
779 err = mlxsw_reg_query(mlxsw_core, MLXSW_REG(mtbr), mtbr_pl); in mlxsw_env_module_has_temp_sensor()
808 err = mlxsw_reg_query(mlxsw_core, MLXSW_REG(mtmp), mtmp_pl); in mlxsw_env_temp_event_set()
1256 err = mlxsw_reg_query(mlxsw_core, MLXSW_REG(pmtm), pmtm_pl); in mlxsw_env_module_type_set()
1368 err = mlxsw_reg_query(mlxsw_env->core, MLXSW_REG(mcam), mcam_pl); in mlxsw_env_max_module_eeprom_len_query()
[all …]
H A Dcore_linecards.c84 err = mlxsw_reg_query(mlxsw_core, MLXSW_REG(mddq), mddq_pl); in mlxsw_linecard_type_name()
118 err = mlxsw_reg_query(mlxsw_core, MLXSW_REG(mddt), mddt_pl); in mlxsw_linecard_device_fw_component_query()
148 err = mlxsw_reg_query(mlxsw_core, MLXSW_REG(mddt), mddt_pl); in mlxsw_linecard_device_fw_fsm_lock()
272 err = mlxsw_reg_query(mlxsw_core, MLXSW_REG(mddt), mddt_pl); in mlxsw_linecard_device_fw_fsm_query_state()
380 err = mlxsw_reg_query(mlxsw_core, MLXSW_REG(mddt), mddt_pl); in mlxsw_linecard_device_psid_get()
404 err = mlxsw_reg_query(mlxsw_core, MLXSW_REG(mddq), mddq_pl); in mlxsw_linecard_device_info_update()
781 err = mlxsw_reg_query(mlxsw_core, MLXSW_REG(mddq), mddq_pl); in mlxsw_linecard_status_get_and_process()
850 err = mlxsw_reg_query(linecard->linecards->mlxsw_core, MLXSW_REG(mbct), in mlxsw_linecard_query_ini_status()
1511 err = mlxsw_reg_query(mlxsw_core, MLXSW_REG(mgpir), mgpir_pl); in mlxsw_linecards_init()
H A Dminimal.c59 err = mlxsw_reg_query(mlxsw_m->core, MLXSW_REG(spad), spad_pl); in mlxsw_m_base_mac_get()
197 err = mlxsw_reg_query(mlxsw_m->core, MLXSW_REG(pmlp), pmlp_pl); in mlxsw_m_port_module_info_get()
216 err = mlxsw_reg_query(mlxsw_m->core, MLXSW_REG(ppad), ppad_pl); in mlxsw_m_port_dev_addr_get()
369 err = mlxsw_reg_query(mlxsw_m->core, MLXSW_REG(mgpir), mgpir_pl); in mlxsw_m_linecards_init()
H A 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()
H A Dcore.c847 err = mlxsw_reg_query(mlxsw_core, MLXSW_REG(mgir), mgir_pl); in mlxsw_emad_tlv_enable()
1075 err = mlxsw_reg_query(mlxsw_core, MLXSW_REG(mcqi), mcqi_pl); in mlxsw_core_fw_component_query()
1095 err = mlxsw_reg_query(mlxsw_core, MLXSW_REG(mcc), mcc_pl); in mlxsw_core_fw_fsm_lock()
1169 err = mlxsw_reg_query(mlxsw_core, MLXSW_REG(mcc), mcc_pl); in mlxsw_core_fw_fsm_query_state()
1537 err = mlxsw_reg_query(mlxsw_core, MLXSW_REG(mgir), mgir_pl); in mlxsw_devlink_info_get()
2072 err = mlxsw_reg_query(mlxsw_core, MLXSW_REG(mfgd), mfgd_pl); in mlxsw_core_health_fw_fatal_test()
2093 err = mlxsw_reg_query(mlxsw_core, MLXSW_REG(mfgd), mfgd_pl); in mlxsw_core_health_fw_fatal_config()
2990 int mlxsw_reg_query(struct mlxsw_core *mlxsw_core, in mlxsw_reg_query() function
2996 EXPORT_SYMBOL(mlxsw_reg_query);
H A 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()
H A Dspectrum.c187 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(mgpc), mgpc_pl); in mlxsw_sp_flow_counter_get()
366 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(spad), spad_pl); in mlxsw_sp_base_mac_get()
413 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(pmtu), pmtu_pl); in mlxsw_sp_port_max_mtu_get()
648 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(pmlp), pmlp_pl); in mlxsw_sp_port_module_info_get()
894 return mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(ppcnt), ppcnt_pl); in mlxsw_sp_port_get_stats_raw()
1373 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(ptys), ptys_pl); in mlxsw_sp_port_speed_by_width_set()
1398 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(ptys), ptys_pl); in mlxsw_sp_port_speed_get()
1598 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(pllp), pllp_pl); in mlxsw_sp_port_label_info_get()
2290 err = mlxsw_reg_query(mlxsw_core, MLXSW_REG(pmtdb), pmtdb_pl); in mlxsw_sp_port_split()
2356 err = mlxsw_reg_query(mlxsw_core, MLXSW_REG(pmtdb), pmtdb_pl); in mlxsw_sp_port_unsplit()
H A Dspectrum_policer.c298 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(qpcr), qpcr_pl); in mlxsw_sp_policer_drops_counter_get()
H A Dspectrum_ethtool.c160 err = mlxsw_reg_query(mlxsw_sp_port->mlxsw_sp->core, MLXSW_REG(pddr), in mlxsw_sp_port_get_link_ext_state()
940 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(ptys), ptys_pl); in mlxsw_sp_port_ptys_query()
998 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(ptys), ptys_pl); in mlxsw_sp_port_set_link_ksettings()
H A Dcore.h228 int mlxsw_reg_query(struct mlxsw_core *mlxsw_core,
H A Dspectrum_dcb.c487 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(ppcnt), ppcnt_pl); in mlxsw_sp_port_pfc_cnt_get()
H A Dspectrum_span.c1429 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(momte), momte_pl); in __mlxsw_sp2_span_trigger_global_enable()
1725 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(mogcr), mogcr_pl); in mlxsw_sp2_span_policer_id_base_set()
H A Dspectrum_router.c224 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(ritr), ritr_pl); in mlxsw_sp_rif_counter_edit()
251 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(ricnt), ricnt_pl); in mlxsw_sp_rif_counter_value_get()
290 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(ricnt), ricnt_pl); in mlxsw_sp_rif_counter_fetch_clear()
2555 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(rauhtd), in __mlxsw_sp_router_neighs_update_rauhtd()
4711 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(ratrad), ratrad_pl); in mlxsw_sp_nh_grp_activity_get()
5357 return mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(ratr), ratr_pl); in mlxsw_sp_nexthop_obj_bucket_query()
7979 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(ritr), ritr_pl); in mlxsw_sp_router_rif_disable()
9168 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(ritr), ritr_pl); in mlxsw_sp_rif_vrrp_op()
9425 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(ritr), ritr_pl); in mlxsw_sp_rif_edit()
H A Dspectrum_ptp.c887 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(mogcr), mogcr_pl); in mlxsw_sp1_ptp_set_fifo_clr_on_trap()
H A Dspectrum_trap.c1846 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(qpcr), qpcr_pl); in mlxsw_sp_trap_policer_counter_get()
H A Dspectrum_switchdev.c3354 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(sfn), sfn_pl); in mlxsw_sp_fdb_notify_work()