| /kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | Makefile | |
| H A D | spectrum_cnt.c | 242 int mlxsw_sp_counter_resources_register(struct mlxsw_core *mlxsw_core) in mlxsw_sp_counter_resources_register() argument
|
| H A D | spectrum_ptp.h | 175 mlxsw_sp_ptp_txhdr_construct(struct mlxsw_core *mlxsw_core, in mlxsw_sp_ptp_txhdr_construct() argument 236 mlxsw_sp2_ptp_txhdr_construct(struct mlxsw_core *mlxsw_core, in mlxsw_sp2_ptp_txhdr_construct() argument
|
| H A D | spectrum1_kvdl.c | 385 int mlxsw_sp1_kvdl_resources_register(struct mlxsw_core *mlxsw_core) in mlxsw_sp1_kvdl_resources_register() argument
|
| H A D | spectrum_policer.c | 404 int mlxsw_sp_policer_resources_register(struct mlxsw_core *mlxsw_core) in mlxsw_sp_policer_resources_register() argument
|
| H A D | cmd.h | 33 static inline int mlxsw_cmd_exec_in(struct mlxsw_core *mlxsw_core, u16 opcode, in mlxsw_cmd_exec_in() argument 41 static inline int mlxsw_cmd_exec_out(struct mlxsw_core *mlxsw_core, u16 opcode, in mlxsw_cmd_exec_out() argument 51 static inline int mlxsw_cmd_exec_none(struct mlxsw_core *mlxsw_cor argument 199 mlxsw_cmd_query_fw(struct mlxsw_core *mlxsw_core, char *out_mbox) mlxsw_cmd_query_fw() argument 365 mlxsw_cmd_boardinfo(struct mlxsw_core *mlxsw_core, char *out_mbox) mlxsw_cmd_boardinfo() argument 409 mlxsw_cmd_query_aq_cap(struct mlxsw_core *mlxsw_core, char *out_mbox) mlxsw_cmd_query_aq_cap() argument 487 mlxsw_cmd_map_fa(struct mlxsw_core *mlxsw_core, char *in_mbox, u32 vpm_entries_count) mlxsw_cmd_map_fa() argument 516 mlxsw_cmd_unmap_fa(struct mlxsw_core *mlxsw_core) mlxsw_cmd_unmap_fa() argument 536 mlxsw_cmd_query_resources(struct mlxsw_core *mlxsw_core, char *out_mbox, int index) mlxsw_cmd_query_resources() argument 570 mlxsw_cmd_config_profile_set(struct mlxsw_core *mlxsw_core, char *in_mbox) mlxsw_cmd_config_profile_set() argument 932 mlxsw_cmd_access_reg(struct mlxsw_core *mlxsw_core, bool reset_ok, char *in_mbox, char *out_mbox) mlxsw_cmd_access_reg() argument 952 __mlxsw_cmd_sw2hw_dq(struct mlxsw_core *mlxsw_core, char *in_mbox, u32 dq_number, u8 opcode_mod) __mlxsw_cmd_sw2hw_dq() argument 966 mlxsw_cmd_sw2hw_sdq(struct mlxsw_core *mlxsw_core, char *in_mbox, u32 dq_number) mlxsw_cmd_sw2hw_sdq() argument 973 mlxsw_cmd_sw2hw_rdq(struct mlxsw_core *mlxsw_core, char *in_mbox, u32 dq_number) mlxsw_cmd_sw2hw_rdq() argument 1023 __mlxsw_cmd_hw2sw_dq(struct mlxsw_core *mlxsw_core, u32 dq_number, u8 opcode_mod) __mlxsw_cmd_hw2sw_dq() argument 1030 mlxsw_cmd_hw2sw_sdq(struct mlxsw_core *mlxsw_core, u32 dq_number) mlxsw_cmd_hw2sw_sdq() argument 1037 mlxsw_cmd_hw2sw_rdq(struct mlxsw_core *mlxsw_core, u32 dq_number) mlxsw_cmd_hw2sw_rdq() argument 1058 __mlxsw_cmd_2err_dq(struct mlxsw_core *mlxsw_core, u32 dq_number, u8 opcode_mod) __mlxsw_cmd_2err_dq() argument 1065 mlxsw_cmd_2err_sdq(struct mlxsw_core *mlxsw_core, u32 dq_number) mlxsw_cmd_2err_sdq() argument 1072 mlxsw_cmd_2err_rdq(struct mlxsw_core *mlxsw_core, u32 dq_number) mlxsw_cmd_2err_rdq() argument 1089 __mlxsw_cmd_query_dq(struct mlxsw_core *mlxsw_core, char *out_mbox, u32 dq_number, u8 opcode_mod) __mlxsw_cmd_query_dq() argument 1098 mlxsw_cmd_query_sdq(struct mlxsw_core *mlxsw_core, char *out_mbox, u32 dq_number) mlxsw_cmd_query_sdq() argument 1105 mlxsw_cmd_query_rdq(struct mlxsw_core *mlxsw_core, char *out_mbox, u32 dq_number) mlxsw_cmd_query_rdq() argument 1122 mlxsw_cmd_sw2hw_cq(struct mlxsw_core *mlxsw_core, char *in_mbox, u32 cq_number) mlxsw_cmd_sw2hw_cq() argument 1176 mlxsw_cmd_hw2sw_cq(struct mlxsw_core *mlxsw_core, u32 cq_number) mlxsw_cmd_hw2sw_cq() argument 1195 mlxsw_cmd_query_cq(struct mlxsw_core *mlxsw_core, char *out_mbox, u32 cq_number) mlxsw_cmd_query_cq() argument 1213 mlxsw_cmd_sw2hw_eq(struct mlxsw_core *mlxsw_core, char *in_mbox, u32 eq_number) mlxsw_cmd_sw2hw_eq() argument 1258 mlxsw_cmd_hw2sw_eq(struct mlxsw_core *mlxsw_core, u32 eq_number) mlxsw_cmd_hw2sw_eq() argument 1273 mlxsw_cmd_query_eq(struct mlxsw_core *mlxsw_core, char *out_mbox, u32 eq_number) mlxsw_cmd_query_eq() argument [all...] |
| H A D | core_hwmon.c | 788 mlxsw_hwmon_got_active(struct mlxsw_core *mlxsw_core, u8 slot_index, in mlxsw_hwmon_got_active() argument 836 mlxsw_hwmon_got_inactive(struct mlxsw_core *mlxsw_core, u8 slot_index, in mlxsw_hwmon_got_inactive() argument 856 int mlxsw_hwmon_init(struct mlxsw_core *mlxsw_core, in mlxsw_hwmon_init() argument
|
| H A D | core_thermal.c | 636 mlxsw_thermal_got_active(struct mlxsw_core *mlxsw_core, u8 slot_index, in mlxsw_thermal_got_active() argument 674 mlxsw_thermal_got_inactive(struct mlxsw_core *mlxsw_core, u8 slot_index, in mlxsw_thermal_got_inactive() argument
|
| H A D | minimal.c | 545 mlxsw_m_ports_remove_selected(struct mlxsw_core *mlxsw_core, in mlxsw_m_ports_remove_selected() argument 581 mlxsw_m_got_active(struct mlxsw_core *mlxsw_core, u8 slot_index, void *priv) mlxsw_m_got_active() argument 615 mlxsw_m_got_inactive(struct mlxsw_core *mlxsw_core, u8 slot_index, void *priv) mlxsw_m_got_inactive() argument 634 mlxsw_m_init(struct mlxsw_core *mlxsw_core, const struct mlxsw_bus_info *mlxsw_bus_info, struct netlink_ext_ack *extack) mlxsw_m_init() argument 683 mlxsw_m_fini(struct mlxsw_core *mlxsw_core) mlxsw_m_fini() argument [all...] |
| H A D | core_env.c | 59 mlxsw_env_module_info *mlxsw_env_module_info_get(struct mlxsw_core *mlxsw_core, in mlxsw_env_module_info_get() argument 146 mlxsw_env_query_module_eeprom(struct mlxsw_core *mlxsw_core, u8 slot_index, in mlxsw_env_query_module_eeprom() argument 289 mlxsw_env_get_module_info(struct net_device *netdev, struct mlxsw_core *mlxsw_core, u8 slot_index, int module, struct ethtool_modinfo *modinfo) mlxsw_env_get_module_info() argument 384 mlxsw_env_get_module_eeprom(struct net_device *netdev, struct mlxsw_core *mlxsw_core, u8 slot_index, int module, struct ethtool_eeprom *ee, u8 *data) mlxsw_env_get_module_eeprom() argument 459 mlxsw_env_get_module_eeprom_by_page(struct mlxsw_core *mlxsw_core, u8 slot_index, u8 module, const struct ethtool_module_eeprom *page, struct netlink_ext_ack *extack) mlxsw_env_get_module_eeprom_by_page() argument 516 mlxsw_env_module_reset(struct mlxsw_core *mlxsw_core, u8 slot_index, u8 module) mlxsw_env_module_reset() argument 527 mlxsw_env_reset_module(struct net_device *netdev, struct mlxsw_core *mlxsw_core, u8 slot_index, u8 module, u32 *flags) mlxsw_env_reset_module() argument 582 mlxsw_env_get_module_power_mode(struct mlxsw_core *mlxsw_core, u8 slot_index, u8 module, struct ethtool_module_power_mode_params *params, struct netlink_ext_ack *extack) mlxsw_env_get_module_power_mode() argument 630 mlxsw_env_module_enable_set(struct mlxsw_core *mlxsw_core, u8 slot_index, u8 module, bool enable) mlxsw_env_module_enable_set() argument 645 mlxsw_env_module_low_power_set(struct mlxsw_core *mlxsw_core, u8 slot_index, u8 module, bool low_power) mlxsw_env_module_low_power_set() argument 664 __mlxsw_env_set_module_power_mode(struct mlxsw_core *mlxsw_core, u8 slot_index, u8 module, bool low_power, struct netlink_ext_ack *extack) __mlxsw_env_set_module_power_mode() argument 709 mlxsw_env_set_module_power_mode_apply(struct mlxsw_core *mlxsw_core, u8 slot_index, u8 module, enum ethtool_module_power_mode_policy policy, struct netlink_ext_ack *extack) mlxsw_env_set_module_power_mode_apply() argument 746 mlxsw_env_set_module_power_mode(struct mlxsw_core *mlxsw_core, u8 slot_index, u8 module, enum ethtool_module_power_mode_policy policy, struct netlink_ext_ack *extack) mlxsw_env_set_module_power_mode() argument 769 mlxsw_env_module_has_temp_sensor(struct mlxsw_core *mlxsw_core, u8 slot_index, u8 module, bool *p_has_temp_sensor) mlxsw_env_module_has_temp_sensor() argument 799 mlxsw_env_temp_event_set(struct mlxsw_core *mlxsw_core, u8 slot_index, u16 sensor_index, bool enable) mlxsw_env_temp_event_set() argument 841 mlxsw_env_module_temp_event_enable(struct mlxsw_core *mlxsw_core, u8 slot_index) mlxsw_env_module_temp_event_enable() argument 945 mlxsw_env_temp_warn_event_register(struct mlxsw_core *mlxsw_core) mlxsw_env_temp_warn_event_register() argument 1041 mlxsw_env_module_plug_event_register(struct mlxsw_core *mlxsw_core) mlxsw_env_module_plug_event_register() argument 1059 mlxsw_env_module_oper_state_event_enable(struct mlxsw_core *mlxsw_core, u8 slot_index) mlxsw_env_module_oper_state_event_enable() argument 1080 mlxsw_env_module_overheat_counter_get(struct mlxsw_core *mlxsw_core, u8 slot_index, u8 module, u64 *p_counter) mlxsw_env_module_overheat_counter_get() argument 1095 mlxsw_env_module_port_map(struct mlxsw_core *mlxsw_core, u8 slot_index, u8 module) mlxsw_env_module_port_map() argument 1108 mlxsw_env_module_port_unmap(struct mlxsw_core *mlxsw_core, u8 slot_index, u8 module) mlxsw_env_module_port_unmap() argument 1121 mlxsw_env_module_port_up(struct mlxsw_core *mlxsw_core, u8 slot_index, u8 module) mlxsw_env_module_port_up() argument 1154 mlxsw_env_module_port_down(struct mlxsw_core *mlxsw_core, u8 slot_index, u8 module) mlxsw_env_module_port_down() argument 1245 mlxsw_env_module_type_set(struct mlxsw_core *mlxsw_core, u8 slot_index) mlxsw_env_module_type_set() argument 1269 mlxsw_env_linecard_modules_power_mode_apply(struct mlxsw_core *mlxsw_core, struct mlxsw_env *env, u8 slot_index) mlxsw_env_linecard_modules_power_mode_apply() argument 1292 mlxsw_env_got_active(struct mlxsw_core *mlxsw_core, u8 slot_index, void *priv) mlxsw_env_got_active() argument 1340 mlxsw_env_got_inactive(struct mlxsw_core *mlxsw_core, u8 slot_index, void *priv) mlxsw_env_got_inactive() argument 1380 mlxsw_env_init(struct mlxsw_core *mlxsw_core, const struct mlxsw_bus_info *bus_info, struct mlxsw_env **p_env) mlxsw_env_init() argument [all...] |
| H A D | spectrum_trap.c | 1568 int mlxsw_sp_trap_init(struct mlxsw_core *mlxsw_core, in mlxsw_sp_trap_init() argument 1594 void mlxsw_sp_trap_fini(struct mlxsw_core *mlxsw_core, in mlxsw_sp_trap_fini() argument 1615 int mlxsw_sp_trap_action_set(struct mlxsw_core *mlxsw_core, in mlxsw_sp_trap_action_set() argument 1661 __mlxsw_sp_trap_group_init(struct mlxsw_core *mlxsw_core, const struct devlink_trap_group *group, u32 policer_id, struct netlink_ext_ack *extack) __mlxsw_sp_trap_group_init() argument 1694 mlxsw_sp_trap_group_init(struct mlxsw_core *mlxsw_core, const struct devlink_trap_group *group) mlxsw_sp_trap_group_init() argument 1701 mlxsw_sp_trap_group_set(struct mlxsw_core *mlxsw_core, const struct devlink_trap_group *group, const struct devlink_trap_policer *policer, struct netlink_ext_ack *extack) mlxsw_sp_trap_group_set() argument 1773 mlxsw_sp_trap_policer_init(struct mlxsw_core *mlxsw_core, const struct devlink_trap_policer *policer) mlxsw_sp_trap_policer_init() argument 1801 mlxsw_sp_trap_policer_fini(struct mlxsw_core *mlxsw_core, const struct devlink_trap_policer *policer) mlxsw_sp_trap_policer_fini() argument 1814 mlxsw_sp_trap_policer_set(struct mlxsw_core *mlxsw_core, const struct devlink_trap_policer *policer, u64 rate, u64 burst, struct netlink_ext_ack *extack) mlxsw_sp_trap_policer_set() argument 1831 mlxsw_sp_trap_policer_counter_get(struct mlxsw_core *mlxsw_core, const struct devlink_trap_policer *policer, u64 *p_drops) mlxsw_sp_trap_policer_counter_get() argument [all...] |
| H A D | i2c.c | 527 mlxsw_i2c_init(void *bus_priv, struct mlxsw_core *mlxsw_core, in mlxsw_i2c_init() argument
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | Makefile | |
| H A D | minimal.c | 359 static int mlxsw_m_init(struct mlxsw_core *mlxsw_core, in mlxsw_m_init() argument 388 static void mlxsw_m_fini(struct mlxsw_core *mlxsw_core) in mlxsw_m_fini() argument [all...] |
| H A D | spectrum_cnt.c | 242 int mlxsw_sp_counter_resources_register(struct mlxsw_core *mlxsw_core) in mlxsw_sp_counter_resources_register() argument
|
| H A D | switchib.c | 434 static int mlxsw_sib_basic_trap_groups_set(struct mlxsw_core *mlxsw_core) in mlxsw_sib_basic_trap_groups_set() argument 448 static int mlxsw_sib_init(struct mlxsw_core *mlxsw_core, in mlxsw_sib_init() argument 483 static void mlxsw_sib_fini(struct mlxsw_core *mlxsw_core) in mlxsw_sib_fini() argument [all...] |
| H A D | spectrum1_kvdl.c | 386 int mlxsw_sp1_kvdl_resources_register(struct mlxsw_core *mlxsw_core) in mlxsw_sp1_kvdl_resources_register() argument
|
| H A D | spectrum_policer.c | 404 int mlxsw_sp_policer_resources_register(struct mlxsw_core *mlxsw_core) in mlxsw_sp_policer_resources_register() argument
|
| H A D | core_env.c | 62 mlxsw_env_query_module_eeprom(struct mlxsw_core *mlxsw_core, int module, in mlxsw_env_query_module_eeprom() argument 195 int mlxsw_env_get_module_info(struct mlxsw_core *mlxsw_core, int module, in mlxsw_env_get_module_info() argument 273 mlxsw_env_get_module_eeprom(struct net_device *netdev, struct mlxsw_core *mlxsw_core, int module, struct ethtool_eeprom *ee, u8 *data) mlxsw_env_get_module_eeprom() argument 309 mlxsw_env_module_has_temp_sensor(struct mlxsw_core *mlxsw_core, u8 module, bool *p_has_temp_sensor) mlxsw_env_module_has_temp_sensor() argument 338 mlxsw_env_temp_event_set(struct mlxsw_core *mlxsw_core, u16 sensor_index, bool enable) mlxsw_env_temp_event_set() argument 378 mlxsw_env_module_temp_event_enable(struct mlxsw_core *mlxsw_core, u8 module_count) mlxsw_env_module_temp_event_enable() argument 449 mlxsw_env_temp_warn_event_register(struct mlxsw_core *mlxsw_core) mlxsw_env_temp_warn_event_register() argument 540 mlxsw_env_module_plug_event_register(struct mlxsw_core *mlxsw_core) mlxsw_env_module_plug_event_register() argument 564 mlxsw_env_module_oper_state_event_enable(struct mlxsw_core *mlxsw_core, u8 module_count) mlxsw_env_module_oper_state_event_enable() argument 582 mlxsw_env_module_overheat_counter_get(struct mlxsw_core *mlxsw_core, u8 module, u64 *p_counter) mlxsw_env_module_overheat_counter_get() argument 604 mlxsw_env_init(struct mlxsw_core *mlxsw_core, struct mlxsw_env **p_env) mlxsw_env_init() argument [all...] |
| H A D | cmd.h | 33 static inline int mlxsw_cmd_exec_in(struct mlxsw_core *mlxsw_core, u16 opcode, in mlxsw_cmd_exec_in() argument 41 static inline int mlxsw_cmd_exec_out(struct mlxsw_core *mlxsw_core, u16 opcode, in mlxsw_cmd_exec_out() argument 51 static inline int mlxsw_cmd_exec_none(struct mlxsw_core *mlxsw_cor argument 199 mlxsw_cmd_query_fw(struct mlxsw_core *mlxsw_core, char *out_mbox) mlxsw_cmd_query_fw() argument 339 mlxsw_cmd_boardinfo(struct mlxsw_core *mlxsw_core, char *out_mbox) mlxsw_cmd_boardinfo() argument 383 mlxsw_cmd_query_aq_cap(struct mlxsw_core *mlxsw_core, char *out_mbox) mlxsw_cmd_query_aq_cap() argument 461 mlxsw_cmd_map_fa(struct mlxsw_core *mlxsw_core, char *in_mbox, u32 vpm_entries_count) mlxsw_cmd_map_fa() argument 490 mlxsw_cmd_unmap_fa(struct mlxsw_core *mlxsw_core) mlxsw_cmd_unmap_fa() argument 510 mlxsw_cmd_query_resources(struct mlxsw_core *mlxsw_core, char *out_mbox, int index) mlxsw_cmd_query_resources() argument 544 mlxsw_cmd_config_profile_set(struct mlxsw_core *mlxsw_core, char *in_mbox) mlxsw_cmd_config_profile_set() argument 855 mlxsw_cmd_access_reg(struct mlxsw_core *mlxsw_core, bool reset_ok, char *in_mbox, char *out_mbox) mlxsw_cmd_access_reg() argument 875 __mlxsw_cmd_sw2hw_dq(struct mlxsw_core *mlxsw_core, char *in_mbox, u32 dq_number, u8 opcode_mod) __mlxsw_cmd_sw2hw_dq() argument 889 mlxsw_cmd_sw2hw_sdq(struct mlxsw_core *mlxsw_core, char *in_mbox, u32 dq_number) mlxsw_cmd_sw2hw_sdq() argument 896 mlxsw_cmd_sw2hw_rdq(struct mlxsw_core *mlxsw_core, char *in_mbox, u32 dq_number) mlxsw_cmd_sw2hw_rdq() argument 946 __mlxsw_cmd_hw2sw_dq(struct mlxsw_core *mlxsw_core, u32 dq_number, u8 opcode_mod) __mlxsw_cmd_hw2sw_dq() argument 953 mlxsw_cmd_hw2sw_sdq(struct mlxsw_core *mlxsw_core, u32 dq_number) mlxsw_cmd_hw2sw_sdq() argument 960 mlxsw_cmd_hw2sw_rdq(struct mlxsw_core *mlxsw_core, u32 dq_number) mlxsw_cmd_hw2sw_rdq() argument 981 __mlxsw_cmd_2err_dq(struct mlxsw_core *mlxsw_core, u32 dq_number, u8 opcode_mod) __mlxsw_cmd_2err_dq() argument 988 mlxsw_cmd_2err_sdq(struct mlxsw_core *mlxsw_core, u32 dq_number) mlxsw_cmd_2err_sdq() argument 995 mlxsw_cmd_2err_rdq(struct mlxsw_core *mlxsw_core, u32 dq_number) mlxsw_cmd_2err_rdq() argument 1012 __mlxsw_cmd_query_dq(struct mlxsw_core *mlxsw_core, char *out_mbox, u32 dq_number, u8 opcode_mod) __mlxsw_cmd_query_dq() argument 1021 mlxsw_cmd_query_sdq(struct mlxsw_core *mlxsw_core, char *out_mbox, u32 dq_number) mlxsw_cmd_query_sdq() argument 1028 mlxsw_cmd_query_rdq(struct mlxsw_core *mlxsw_core, char *out_mbox, u32 dq_number) mlxsw_cmd_query_rdq() argument 1045 mlxsw_cmd_sw2hw_cq(struct mlxsw_core *mlxsw_core, char *in_mbox, u32 cq_number) mlxsw_cmd_sw2hw_cq() argument 1099 mlxsw_cmd_hw2sw_cq(struct mlxsw_core *mlxsw_core, u32 cq_number) mlxsw_cmd_hw2sw_cq() argument 1118 mlxsw_cmd_query_cq(struct mlxsw_core *mlxsw_core, char *out_mbox, u32 cq_number) mlxsw_cmd_query_cq() argument 1136 mlxsw_cmd_sw2hw_eq(struct mlxsw_core *mlxsw_core, char *in_mbox, u32 eq_number) mlxsw_cmd_sw2hw_eq() argument 1181 mlxsw_cmd_hw2sw_eq(struct mlxsw_core *mlxsw_core, u32 eq_number) mlxsw_cmd_hw2sw_eq() argument 1196 mlxsw_cmd_query_eq(struct mlxsw_core *mlxsw_core, char *out_mbox, u32 eq_number) mlxsw_cmd_query_eq() argument [all...] |
| H A D | i2c.c | 511 mlxsw_i2c_init(void *bus_priv, struct mlxsw_core *mlxsw_core, in mlxsw_i2c_init() argument
|
| H A D | core_hwmon.c | 752 int mlxsw_hwmon_init(struct mlxsw_core *mlxsw_core, in mlxsw_hwmon_init() argument
|
| H A D | core.h | 403 mlxsw_core_net(struct mlxsw_core *mlxsw_core) mlxsw_core_net() argument 460 mlxsw_hwmon_init(struct mlxsw_core *mlxsw_core, const struct mlxsw_bus_info *mlxsw_bus_info, struct mlxsw_hwmon **p_hwmon) mlxsw_hwmon_init() argument 484 mlxsw_thermal_init(struct mlxsw_core *mlxsw_core, const struct mlxsw_bus_info *mlxsw_bus_info, struct mlxsw_thermal **p_thermal) mlxsw_thermal_init() argument [all...] |
| H A D | spectrum_trap.c | 1391 int mlxsw_sp_trap_init(struct mlxsw_core *mlxsw_core, in mlxsw_sp_trap_init() argument 1417 void mlxsw_sp_trap_fini(struct mlxsw_core *mlxsw_core, in mlxsw_sp_trap_fini() argument 1438 int mlxsw_sp_trap_action_set(struct mlxsw_core *mlxsw_core, in mlxsw_sp_trap_action_set() argument 1484 __mlxsw_sp_trap_group_init(struct mlxsw_core *mlxsw_core, const struct devlink_trap_group *group, u32 policer_id, struct netlink_ext_ack *extack) __mlxsw_sp_trap_group_init() argument 1517 mlxsw_sp_trap_group_init(struct mlxsw_core *mlxsw_core, const struct devlink_trap_group *group) mlxsw_sp_trap_group_init() argument 1524 mlxsw_sp_trap_group_set(struct mlxsw_core *mlxsw_core, const struct devlink_trap_group *group, const struct devlink_trap_policer *policer, struct netlink_ext_ack *extack) mlxsw_sp_trap_group_set() argument 1596 mlxsw_sp_trap_policer_init(struct mlxsw_core *mlxsw_core, const struct devlink_trap_policer *policer) mlxsw_sp_trap_policer_init() argument 1624 mlxsw_sp_trap_policer_fini(struct mlxsw_core *mlxsw_core, const struct devlink_trap_policer *policer) mlxsw_sp_trap_policer_fini() argument 1637 mlxsw_sp_trap_policer_set(struct mlxsw_core *mlxsw_core, const struct devlink_trap_policer *policer, u64 rate, u64 burst, struct netlink_ext_ack *extack) mlxsw_sp_trap_policer_set() argument 1654 mlxsw_sp_trap_policer_counter_get(struct mlxsw_core *mlxsw_core, const struct devlink_trap_policer *policer, u64 *p_drops) mlxsw_sp_trap_policer_counter_get() argument [all...] |
| H A D | switchx2.c | 1352 static int mlxsw_sx_port_type_set(struct mlxsw_core *mlxsw_core, u8 local_port, in mlxsw_sx_port_type_set() argument 1538 static int mlxsw_sx_basic_trap_groups_set(struct mlxsw_core *mlxsw_core) in mlxsw_sx_basic_trap_groups_set() argument 1552 static int mlxsw_sx_init(struct mlxsw_core *mlxsw_core, in mlxsw_sx_init() argument 1595 mlxsw_sx_fini(struct mlxsw_core *mlxsw_core) mlxsw_sx_fini() argument [all...] |