Home
last modified time | relevance | path

Searched defs:mlxsw_core (Results 1 – 16 of 16) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlxsw/
A Dcore.c64 struct mlxsw_core { struct
85 struct mlxsw_core_port *ports; argument
101 struct mlxsw_core *mlxsw_core = priv; in mlxsw_ports_occ_get() argument
210 struct mlxsw_core *mlxsw_core; member
724 struct mlxsw_core *mlxsw_core = priv; in mlxsw_emad_rx_listener_func() local
934 struct mlxsw_core *mlxsw_core; member
1676 struct mlxsw_core *mlxsw_core; member
1684 struct mlxsw_core *mlxsw_core; in mlxsw_core_health_event_work() local
1697 struct mlxsw_core *mlxsw_core = priv; in mlxsw_core_health_listener_func() local
1917 struct mlxsw_core *mlxsw_core; in __mlxsw_core_bus_device_register() local
[all …]
A Dcmd.h199 static inline int mlxsw_cmd_query_fw(struct mlxsw_core *mlxsw_core, in mlxsw_cmd_query_fw()
339 static inline int mlxsw_cmd_boardinfo(struct mlxsw_core *mlxsw_core, in mlxsw_cmd_boardinfo()
478 static inline int mlxsw_cmd_map_fa(struct mlxsw_core *mlxsw_core, in mlxsw_cmd_map_fa()
507 static inline int mlxsw_cmd_unmap_fa(struct mlxsw_core *mlxsw_core) in mlxsw_cmd_unmap_fa()
1006 static inline int mlxsw_cmd_2err_sdq(struct mlxsw_core *mlxsw_core, in mlxsw_cmd_2err_sdq()
1013 static inline int mlxsw_cmd_2err_rdq(struct mlxsw_core *mlxsw_core, in mlxsw_cmd_2err_rdq()
1063 static inline int mlxsw_cmd_sw2hw_cq(struct mlxsw_core *mlxsw_core, in mlxsw_cmd_sw2hw_cq()
1117 static inline int mlxsw_cmd_hw2sw_cq(struct mlxsw_core *mlxsw_core, in mlxsw_cmd_hw2sw_cq()
1136 static inline int mlxsw_cmd_query_cq(struct mlxsw_core *mlxsw_core, in mlxsw_cmd_query_cq()
1154 static inline int mlxsw_cmd_sw2hw_eq(struct mlxsw_core *mlxsw_core, in mlxsw_cmd_sw2hw_eq()
[all …]
A Dcore_env.c67 mlxsw_env_query_module_eeprom(struct mlxsw_core *mlxsw_core, int module, in mlxsw_env_query_module_eeprom()
209 int mlxsw_env_get_module_info(struct mlxsw_core *mlxsw_core, int module, in mlxsw_env_get_module_info()
288 struct mlxsw_core *mlxsw_core, int module, in mlxsw_env_get_module_eeprom()
407 struct mlxsw_core *mlxsw_core, u8 module, u32 *flags) in mlxsw_env_reset_module()
450 mlxsw_env_get_module_power_mode(struct mlxsw_core *mlxsw_core, u8 module, in mlxsw_env_get_module_power_mode()
488 static int mlxsw_env_module_enable_set(struct mlxsw_core *mlxsw_core, in mlxsw_env_module_enable_set()
503 static int mlxsw_env_module_low_power_set(struct mlxsw_core *mlxsw_core, in mlxsw_env_module_low_power_set()
624 static int mlxsw_env_temp_event_set(struct mlxsw_core *mlxsw_core, in mlxsw_env_temp_event_set()
855 mlxsw_env_module_plug_event_register(struct mlxsw_core *mlxsw_core) in mlxsw_env_module_plug_event_register()
879 mlxsw_env_module_oper_state_event_enable(struct mlxsw_core *mlxsw_core, in mlxsw_env_module_oper_state_event_enable()
[all …]
A Dspectrum_trap.c1544 int mlxsw_sp_trap_init(struct mlxsw_core *mlxsw_core, in mlxsw_sp_trap_init()
1570 void mlxsw_sp_trap_fini(struct mlxsw_core *mlxsw_core, in mlxsw_sp_trap_fini()
1591 int mlxsw_sp_trap_action_set(struct mlxsw_core *mlxsw_core, in mlxsw_sp_trap_action_set()
1637 __mlxsw_sp_trap_group_init(struct mlxsw_core *mlxsw_core, in __mlxsw_sp_trap_group_init()
1670 int mlxsw_sp_trap_group_init(struct mlxsw_core *mlxsw_core, in mlxsw_sp_trap_group_init()
1677 int mlxsw_sp_trap_group_set(struct mlxsw_core *mlxsw_core, in mlxsw_sp_trap_group_set()
1749 int mlxsw_sp_trap_policer_init(struct mlxsw_core *mlxsw_core, in mlxsw_sp_trap_policer_init()
1777 void mlxsw_sp_trap_policer_fini(struct mlxsw_core *mlxsw_core, in mlxsw_sp_trap_policer_fini()
1790 int mlxsw_sp_trap_policer_set(struct mlxsw_core *mlxsw_core, in mlxsw_sp_trap_policer_set()
1807 mlxsw_sp_trap_policer_counter_get(struct mlxsw_core *mlxsw_core, in mlxsw_sp_trap_policer_counter_get()
A Dspectrum.c2307 static int mlxsw_sp_cpu_policers_set(struct mlxsw_core *mlxsw_core) in mlxsw_sp_cpu_policers_set()
2348 static int mlxsw_sp_trap_groups_set(struct mlxsw_core *mlxsw_core) in mlxsw_sp_trap_groups_set()
2758 static int mlxsw_sp_init(struct mlxsw_core *mlxsw_core, in mlxsw_sp_init()
2972 static int mlxsw_sp1_init(struct mlxsw_core *mlxsw_core, in mlxsw_sp1_init()
3003 static int mlxsw_sp2_init(struct mlxsw_core *mlxsw_core, in mlxsw_sp2_init()
3032 static int mlxsw_sp3_init(struct mlxsw_core *mlxsw_core, in mlxsw_sp3_init()
3061 static void mlxsw_sp_fini(struct mlxsw_core *mlxsw_core) in mlxsw_sp_fini()
3377 static int mlxsw_sp_kvd_sizes_get(struct mlxsw_core *mlxsw_core, in mlxsw_sp_kvd_sizes_get()
3436 struct mlxsw_core *mlxsw_core = devlink_priv(devlink); in mlxsw_sp_params_acl_region_rehash_intrvl_get() local
3447 struct mlxsw_core *mlxsw_core = devlink_priv(devlink); in mlxsw_sp_params_acl_region_rehash_intrvl_set() local
[all …]
A Dcore.h419 #define MLXSW_CORE_RES_VALID(mlxsw_core, short_res_id) \ argument
425 #define MLXSW_CORE_RES_GET(mlxsw_core, short_res_id) \ argument
428 static inline struct net *mlxsw_core_net(struct mlxsw_core *mlxsw_core) in mlxsw_core_net()
490 static inline int mlxsw_hwmon_init(struct mlxsw_core *mlxsw_core, in mlxsw_hwmon_init()
514 static inline int mlxsw_thermal_init(struct mlxsw_core *mlxsw_core, in mlxsw_thermal_init()
A Dminimal.c419 static int mlxsw_m_init(struct mlxsw_core *mlxsw_core, in mlxsw_m_init()
448 static void mlxsw_m_fini(struct mlxsw_core *mlxsw_core) in mlxsw_m_fini()
A Dspectrum_buffers.c273 static void mlxsw_sp_sb_pm_occ_query_cb(struct mlxsw_core *mlxsw_core, in mlxsw_sp_sb_pm_occ_query_cb()
1328 int mlxsw_sp_sb_pool_get(struct mlxsw_core *mlxsw_core, in mlxsw_sp_sb_pool_get()
1345 int mlxsw_sp_sb_pool_set(struct mlxsw_core *mlxsw_core, in mlxsw_sp_sb_pool_set()
1532 static void mlxsw_sp_sb_sr_occ_query_cb(struct mlxsw_core *mlxsw_core, in mlxsw_sp_sb_sr_occ_query_cb()
1581 int mlxsw_sp_sb_occ_snapshot(struct mlxsw_core *mlxsw_core, in mlxsw_sp_sb_occ_snapshot()
1650 int mlxsw_sp_sb_occ_max_clear(struct mlxsw_core *mlxsw_core, in mlxsw_sp_sb_occ_max_clear()
A Dspectrum_ptp.c76 struct mlxsw_core *mlxsw_core = clock->core; in __mlxsw_sp1_ptp_read_frc() local
106 struct mlxsw_core *mlxsw_core = clock->core; in mlxsw_sp1_ptp_phc_adjfreq() local
127 struct mlxsw_core *mlxsw_core = clock->core; in mlxsw_sp1_ptp_phc_settime() local
A Dspectrum_cnt.c242 int mlxsw_sp_counter_resources_register(struct mlxsw_core *mlxsw_core) in mlxsw_sp_counter_resources_register()
A Dspectrum_policer.c404 int mlxsw_sp_policer_resources_register(struct mlxsw_core *mlxsw_core) in mlxsw_sp_policer_resources_register()
A Dspectrum1_kvdl.c386 int mlxsw_sp1_kvdl_resources_register(struct mlxsw_core *mlxsw_core) in mlxsw_sp1_kvdl_resources_register()
A Di2c.c510 mlxsw_i2c_init(void *bus_priv, struct mlxsw_core *mlxsw_core, in mlxsw_i2c_init()
A Dcore_hwmon.c752 int mlxsw_hwmon_init(struct mlxsw_core *mlxsw_core, in mlxsw_hwmon_init()
A Dspectrum_ethtool.c572 struct mlxsw_core *mlxsw_core = mlxsw_sp_port->mlxsw_sp->core; in mlxsw_sp_port_get_transceiver_overheat_stats() local
A Dpci.c1489 static int mlxsw_pci_init(void *bus_priv, struct mlxsw_core *mlxsw_core, in mlxsw_pci_init()

Completed in 89 milliseconds