Searched defs:mlxsw_core (Results 1 – 11 of 11) sorted by relevance
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/ |
D | cmd.h | 33 static inline int mlxsw_cmd_exec_in(struct mlxsw_core *mlxsw_core, u16 opcode, in mlxsw_cmd_exec_in() 41 static inline int mlxsw_cmd_exec_out(struct mlxsw_core *mlxsw_core, u16 opcode, in mlxsw_cmd_exec_out() 51 static inline int mlxsw_cmd_exec_none(struct mlxsw_core *mlxsw_core, u16 opcode, in mlxsw_cmd_exec_none() 199 static inline int mlxsw_cmd_query_fw(struct mlxsw_core *mlxsw_core, in mlxsw_cmd_query_fw() 327 static inline int mlxsw_cmd_boardinfo(struct mlxsw_core *mlxsw_core, in mlxsw_cmd_boardinfo() 371 static inline int mlxsw_cmd_query_aq_cap(struct mlxsw_core *mlxsw_core, in mlxsw_cmd_query_aq_cap() 449 static inline int mlxsw_cmd_map_fa(struct mlxsw_core *mlxsw_core, in mlxsw_cmd_map_fa() 478 static inline int mlxsw_cmd_unmap_fa(struct mlxsw_core *mlxsw_core) in mlxsw_cmd_unmap_fa() 498 static inline int mlxsw_cmd_query_resources(struct mlxsw_core *mlxsw_core, in mlxsw_cmd_query_resources() 532 static inline int mlxsw_cmd_config_profile_set(struct mlxsw_core *mlxsw_core, in mlxsw_cmd_config_profile_set() [all …]
|
D | core.c | 61 struct mlxsw_core { struct 81 struct mlxsw_core_port *ports; argument 90 static int mlxsw_ports_init(struct mlxsw_core *mlxsw_core) in mlxsw_ports_init() 107 static void mlxsw_ports_fini(struct mlxsw_core *mlxsw_core) in mlxsw_ports_fini() 112 unsigned int mlxsw_core_max_ports(const struct mlxsw_core *mlxsw_core) in mlxsw_core_max_ports() 118 void *mlxsw_core_driver_priv(struct mlxsw_core *mlxsw_core) in mlxsw_core_driver_priv() 440 static int mlxsw_emad_transmit(struct mlxsw_core *mlxsw_core, in mlxsw_emad_transmit() 466 struct mlxsw_core *mlxsw_core = trans->core; in mlxsw_emad_trans_finish() local 476 static void mlxsw_emad_transmit_retry(struct mlxsw_core *mlxsw_core, in mlxsw_emad_transmit_retry() 504 static void mlxsw_emad_process_response(struct mlxsw_core *mlxsw_core, in mlxsw_emad_process_response() [all …]
|
D | switchib.c | 419 static int mlxsw_sib_basic_trap_groups_set(struct mlxsw_core *mlxsw_core) in mlxsw_sib_basic_trap_groups_set() 433 static int mlxsw_sib_init(struct mlxsw_core *mlxsw_core, in mlxsw_sib_init() 461 static void mlxsw_sib_fini(struct mlxsw_core *mlxsw_core) in mlxsw_sib_fini()
|
D | spectrum_buffers.c | 156 static void mlxsw_sp_sb_pm_occ_query_cb(struct mlxsw_core *mlxsw_core, in mlxsw_sp_sb_pm_occ_query_cb() 656 int mlxsw_sp_sb_pool_get(struct mlxsw_core *mlxsw_core, in mlxsw_sp_sb_pool_get() 671 int mlxsw_sp_sb_pool_set(struct mlxsw_core *mlxsw_core, in mlxsw_sp_sb_pool_set() 815 static void mlxsw_sp_sb_sr_occ_query_cb(struct mlxsw_core *mlxsw_core, in mlxsw_sp_sb_sr_occ_query_cb() 859 int mlxsw_sp_sb_occ_snapshot(struct mlxsw_core *mlxsw_core, in mlxsw_sp_sb_occ_snapshot() 928 int mlxsw_sp_sb_occ_max_clear(struct mlxsw_core *mlxsw_core, in mlxsw_sp_sb_occ_max_clear()
|
D | core.h | 298 #define MLXSW_CORE_RES_VALID(mlxsw_core, short_res_id) \ argument 304 #define MLXSW_CORE_RES_GET(mlxsw_core, short_res_id) \ argument 355 static inline int mlxsw_hwmon_init(struct mlxsw_core *mlxsw_core, in mlxsw_hwmon_init() 379 static inline int mlxsw_thermal_init(struct mlxsw_core *mlxsw_core, in mlxsw_thermal_init()
|
D | spectrum.c | 3182 static int mlxsw_sp_port_split(struct mlxsw_core *mlxsw_core, u8 local_port, in mlxsw_sp_port_split() 3250 static int mlxsw_sp_port_unsplit(struct mlxsw_core *mlxsw_core, u8 local_port, in mlxsw_sp_port_unsplit() 3477 static int mlxsw_sp_cpu_policers_set(struct mlxsw_core *mlxsw_core) in mlxsw_sp_cpu_policers_set() 3540 static int mlxsw_sp_trap_groups_set(struct mlxsw_core *mlxsw_core) in mlxsw_sp_trap_groups_set() 3692 static int mlxsw_sp_basic_trap_groups_set(struct mlxsw_core *mlxsw_core) in mlxsw_sp_basic_trap_groups_set() 3706 static int mlxsw_sp_init(struct mlxsw_core *mlxsw_core, in mlxsw_sp_init() 3848 static int mlxsw_sp1_init(struct mlxsw_core *mlxsw_core, in mlxsw_sp1_init() 3864 static int mlxsw_sp2_init(struct mlxsw_core *mlxsw_core, in mlxsw_sp2_init() 3878 static void mlxsw_sp_fini(struct mlxsw_core *mlxsw_core) in mlxsw_sp_fini() 3947 mlxsw_sp_resource_size_params_prepare(struct mlxsw_core *mlxsw_core, in mlxsw_sp_resource_size_params_prepare() [all …]
|
D | switchx2.c | 1402 static int mlxsw_sx_port_type_set(struct mlxsw_core *mlxsw_core, u8 local_port, in mlxsw_sx_port_type_set() 1577 static int mlxsw_sx_basic_trap_groups_set(struct mlxsw_core *mlxsw_core) in mlxsw_sx_basic_trap_groups_set() 1591 static int mlxsw_sx_init(struct mlxsw_core *mlxsw_core, in mlxsw_sx_init() 1633 static void mlxsw_sx_fini(struct mlxsw_core *mlxsw_core) in mlxsw_sx_fini()
|
D | core_hwmon.c | 298 int mlxsw_hwmon_init(struct mlxsw_core *mlxsw_core, in mlxsw_hwmon_init()
|
D | spectrum1_kvdl.c | 386 int mlxsw_sp1_kvdl_resources_register(struct mlxsw_core *mlxsw_core) in mlxsw_sp1_kvdl_resources_register()
|
D | i2c.c | 415 mlxsw_i2c_init(void *bus_priv, struct mlxsw_core *mlxsw_core, in mlxsw_i2c_init()
|
D | pci.c | 1389 static int mlxsw_pci_init(void *bus_priv, struct mlxsw_core *mlxsw_core, in mlxsw_pci_init()
|