| /kernel/linux/linux-5.10/net/dsa/ |
| D | switch.c | 17 static unsigned int dsa_switch_fastest_ageing_time(struct dsa_switch *ds, in dsa_switch_fastest_ageing_time() 32 static int dsa_switch_ageing_time(struct dsa_switch *ds, in dsa_switch_ageing_time() 55 static bool dsa_switch_mtu_match(struct dsa_switch *ds, int port, in dsa_switch_mtu_match() 70 static int dsa_switch_mtu(struct dsa_switch *ds, in dsa_switch_mtu() 89 static int dsa_switch_bridge_join(struct dsa_switch *ds, in dsa_switch_bridge_join() 107 static int dsa_switch_bridge_leave(struct dsa_switch *ds, in dsa_switch_bridge_leave() 159 static int dsa_switch_fdb_add(struct dsa_switch *ds, in dsa_switch_fdb_add() 170 static int dsa_switch_fdb_del(struct dsa_switch *ds, in dsa_switch_fdb_del() 181 static bool dsa_switch_mdb_match(struct dsa_switch *ds, int port, in dsa_switch_mdb_match() 193 static int dsa_switch_mdb_prepare(struct dsa_switch *ds, in dsa_switch_mdb_prepare() [all …]
|
| D | dsa.c | 178 struct dsa_switch *ds = p->dp->ds; in dsa_skb_defer_rx_timestamp() local 252 static bool dsa_is_port_initialized(struct dsa_switch *ds, int p) in dsa_is_port_initialized() 259 int dsa_switch_suspend(struct dsa_switch *ds) in dsa_switch_suspend() 280 int dsa_switch_resume(struct dsa_switch *ds) in dsa_switch_resume() 342 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in dsa_devlink_param_get() local 354 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in dsa_devlink_param_set() local 363 int dsa_devlink_params_register(struct dsa_switch *ds, in dsa_devlink_params_register() 371 void dsa_devlink_params_unregister(struct dsa_switch *ds, in dsa_devlink_params_unregister() 379 int dsa_devlink_resource_register(struct dsa_switch *ds, in dsa_devlink_resource_register() 393 void dsa_devlink_resources_unregister(struct dsa_switch *ds) in dsa_devlink_resources_unregister() [all …]
|
| D | port.c | 46 struct dsa_switch *ds = dp->ds; in dsa_port_set_state() local 85 struct dsa_switch *ds = dp->ds; in dsa_port_enable_rt() local 117 struct dsa_switch *ds = dp->ds; in dsa_port_disable_rt() local 200 struct dsa_switch *ds = dp->ds; in dsa_port_can_apply_vlan_filtering() local 265 struct dsa_switch *ds = dp->ds; in dsa_port_vlan_filtering() local 308 struct dsa_switch *ds = dp->ds; in dsa_port_skip_vlan_configuration() local 338 struct dsa_switch *ds = dp->ds; in dsa_port_pre_bridge_flags() local 350 struct dsa_switch *ds = dp->ds; in dsa_port_bridge_flags() local 367 struct dsa_switch *ds = dp->ds; in dsa_port_mrouter() local 418 struct dsa_switch *ds = dp->ds; in dsa_port_fdb_dump() local [all …]
|
| D | dsa2.c | 148 struct dsa_switch *ds = dp->ds; in dsa_link_touch() local 173 struct dsa_switch *ds = dp->ds; in dsa_port_setup_routing_table() local 399 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in dsa_devlink_info_get() local 411 static int dsa_switch_setup(struct dsa_switch *ds) in dsa_switch_setup() 499 static void dsa_switch_teardown(struct dsa_switch *ds) in dsa_switch_teardown() 664 static struct dsa_port *dsa_port_touch(struct dsa_switch *ds, int index) in dsa_port_touch() 708 struct dsa_switch *mds, *ds = dp->ds; in dsa_get_tag_protocol() local 732 struct dsa_switch *ds = dp->ds; in dsa_port_parse_cpu() local 782 static int dsa_switch_parse_ports_of(struct dsa_switch *ds, in dsa_switch_parse_ports_of() 822 static int dsa_switch_parse_member_of(struct dsa_switch *ds, in dsa_switch_parse_member_of() [all …]
|
| /kernel/linux/linux-6.6/net/dsa/ |
| D | switch.c | 23 static unsigned int dsa_switch_fastest_ageing_time(struct dsa_switch *ds, in dsa_switch_fastest_ageing_time() 35 static int dsa_switch_ageing_time(struct dsa_switch *ds, in dsa_switch_ageing_time() 61 static int dsa_switch_mtu(struct dsa_switch *ds, in dsa_switch_mtu() 82 static int dsa_switch_bridge_join(struct dsa_switch *ds, in dsa_switch_bridge_join() 113 static int dsa_switch_bridge_leave(struct dsa_switch *ds, in dsa_switch_bridge_leave() 162 struct dsa_switch *ds = dp->ds; in dsa_port_do_mdb_add() local 214 struct dsa_switch *ds = dp->ds; in dsa_port_do_mdb_del() local 261 struct dsa_switch *ds = dp->ds; in dsa_port_do_fdb_add() local 311 struct dsa_switch *ds = dp->ds; in dsa_port_do_fdb_del() local 354 static int dsa_switch_do_lag_fdb_add(struct dsa_switch *ds, struct dsa_lag *lag, in dsa_switch_do_lag_fdb_add() [all …]
|
| D | devlink.c | 15 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in dsa_devlink_info_get() local 27 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in dsa_devlink_sb_pool_get() local 41 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in dsa_devlink_sb_pool_set() local 54 struct dsa_switch *ds = dsa_devlink_port_to_ds(dlp); in dsa_devlink_sb_port_pool_get() local 69 struct dsa_switch *ds = dsa_devlink_port_to_ds(dlp); in dsa_devlink_sb_port_pool_set() local 85 struct dsa_switch *ds = dsa_devlink_port_to_ds(dlp); in dsa_devlink_sb_tc_pool_bind_get() local 103 struct dsa_switch *ds = dsa_devlink_port_to_ds(dlp); in dsa_devlink_sb_tc_pool_bind_set() local 118 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in dsa_devlink_sb_occ_snapshot() local 129 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in dsa_devlink_sb_occ_max_clear() local 142 struct dsa_switch *ds = dsa_devlink_port_to_ds(dlp); in dsa_devlink_sb_occ_port_pool_get() local [all …]
|
| D | port.c | 57 struct dsa_switch *ds = dp->ds; in dsa_port_fast_age() local 70 struct dsa_switch *ds = dp->ds; in dsa_port_vlan_fast_age() local 107 struct dsa_switch *ds = dp->ds; in dsa_port_can_configure_learning() local 119 struct dsa_switch *ds = dp->ds; in dsa_port_supports_hwtstamp() local 137 struct dsa_switch *ds = dp->ds; in dsa_port_set_state() local 171 struct dsa_switch *ds = dp->ds; in dsa_port_set_state_now() local 185 struct dsa_switch *ds = dp->ds; in dsa_port_set_mst_state() local 219 struct dsa_switch *ds = dp->ds; in dsa_port_enable_rt() local 251 struct dsa_switch *ds = dp->ds; in dsa_port_disable_rt() local 276 struct dsa_switch *ds = dp->ds; in dsa_port_reset_vlan_filtering() local [all …]
|
| /kernel/linux/linux-6.6/drivers/net/dsa/ocelot/ |
| D | felix.c | 45 static int felix_cpu_port_for_master(struct dsa_switch *ds, in felix_cpu_port_for_master() 67 static int felix_tag_8021q_vlan_add_rx(struct dsa_switch *ds, int port, in felix_tag_8021q_vlan_add_rx() 107 static int felix_tag_8021q_vlan_del_rx(struct dsa_switch *ds, int port, in felix_tag_8021q_vlan_del_rx() 129 static int felix_tag_8021q_vlan_add_tx(struct dsa_switch *ds, int port, in felix_tag_8021q_vlan_add_tx() 196 static int felix_tag_8021q_vlan_del_tx(struct dsa_switch *ds, int port, u16 vid) in felix_tag_8021q_vlan_del_tx() 227 static int felix_tag_8021q_vlan_add(struct dsa_switch *ds, int port, u16 vid, in felix_tag_8021q_vlan_add() 259 static int felix_tag_8021q_vlan_del(struct dsa_switch *ds, int port, u16 vid) in felix_tag_8021q_vlan_del() 286 static int felix_trap_get_cpu_port(struct dsa_switch *ds, in felix_trap_get_cpu_port() 305 static int felix_update_trapping_destinations(struct dsa_switch *ds, in felix_update_trapping_destinations() 408 static int felix_tag_npi_setup(struct dsa_switch *ds) in felix_tag_npi_setup() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/dsa/ocelot/ |
| D | felix.c | 27 static enum dsa_tag_protocol felix_get_tag_protocol(struct dsa_switch *ds, in felix_get_tag_protocol() 34 static int felix_set_ageing_time(struct dsa_switch *ds, in felix_set_ageing_time() 44 static int felix_fdb_dump(struct dsa_switch *ds, int port, in felix_fdb_dump() 52 static int felix_fdb_add(struct dsa_switch *ds, int port, in felix_fdb_add() 60 static int felix_fdb_del(struct dsa_switch *ds, int port, in felix_fdb_del() 69 static int felix_mdb_prepare(struct dsa_switch *ds, int port, in felix_mdb_prepare() 75 static void felix_mdb_add(struct dsa_switch *ds, int port, in felix_mdb_add() 83 static int felix_mdb_del(struct dsa_switch *ds, int port, in felix_mdb_del() 91 static void felix_bridge_stp_state_set(struct dsa_switch *ds, int port, in felix_bridge_stp_state_set() 99 static int felix_bridge_join(struct dsa_switch *ds, int port, in felix_bridge_join() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/dsa/ |
| D | dsa_loop.c | 50 static int dsa_loop_setup_devlink_resources(struct dsa_switch *ds) in dsa_loop_setup_devlink_resources() 78 static enum dsa_tag_protocol dsa_loop_get_protocol(struct dsa_switch *ds, in dsa_loop_get_protocol() 87 static int dsa_loop_setup(struct dsa_switch *ds) in dsa_loop_setup() 101 static void dsa_loop_teardown(struct dsa_switch *ds) in dsa_loop_teardown() 106 static int dsa_loop_get_sset_count(struct dsa_switch *ds, int port, int sset) in dsa_loop_get_sset_count() 114 static void dsa_loop_get_strings(struct dsa_switch *ds, int port, in dsa_loop_get_strings() 128 static void dsa_loop_get_ethtool_stats(struct dsa_switch *ds, int port, in dsa_loop_get_ethtool_stats() 138 static int dsa_loop_phy_read(struct dsa_switch *ds, int port, int regnum) in dsa_loop_phy_read() 153 static int dsa_loop_phy_write(struct dsa_switch *ds, int port, in dsa_loop_phy_write() 169 static int dsa_loop_port_bridge_join(struct dsa_switch *ds, int port, in dsa_loop_port_bridge_join() [all …]
|
| D | mt7530.c | 406 mt753x_preferred_default_local_cpu_port(struct dsa_switch *ds) in mt753x_preferred_default_local_cpu_port() 418 mt7530_pad_clk_setup(struct dsa_switch *ds, phy_interface_t interface) in mt7530_pad_clk_setup() 500 mt7531_pad_setup(struct dsa_switch *ds, phy_interface_t interface) in mt7531_pad_setup() 596 mt7530_mib_reset(struct dsa_switch *ds) in mt7530_mib_reset() 830 mt7530_get_strings(struct dsa_switch *ds, int port, u32 stringset, in mt7530_get_strings() 844 mt7530_get_ethtool_stats(struct dsa_switch *ds, int port, in mt7530_get_ethtool_stats() 865 mt7530_get_sset_count(struct dsa_switch *ds, int port, int sset) in mt7530_get_sset_count() 874 mt7530_set_ageing_time(struct dsa_switch *ds, unsigned int msecs) in mt7530_set_ageing_time() 931 static void mt7530_setup_port5(struct dsa_switch *ds, phy_interface_t interface) in mt7530_setup_port5() 1216 mt753x_cpu_port_enable(struct dsa_switch *ds, int port) in mt753x_cpu_port_enable() [all …]
|
| D | bcm_sf2.c | 116 static unsigned int bcm_sf2_num_active_ports(struct dsa_switch *ds) in bcm_sf2_num_active_ports() 131 static void bcm_sf2_recalc_clock(struct dsa_switch *ds) in bcm_sf2_recalc_clock() 158 static void bcm_sf2_imp_setup(struct dsa_switch *ds, int port) in bcm_sf2_imp_setup() 202 static void bcm_sf2_gphy_enable_set(struct dsa_switch *ds, bool enable) in bcm_sf2_gphy_enable_set() 280 static int bcm_sf2_port_setup(struct dsa_switch *ds, int port, in bcm_sf2_port_setup() 349 static void bcm_sf2_port_disable(struct dsa_switch *ds, int port) in bcm_sf2_port_disable() 442 struct dsa_switch *ds = dev_id; in bcm_sf2_switch_0_isr() local 454 struct dsa_switch *ds = dev_id; in bcm_sf2_switch_1_isr() local 607 static int bcm_sf2_mdio_register(struct dsa_switch *ds) in bcm_sf2_mdio_register() 710 static u32 bcm_sf2_sw_get_phy_flags(struct dsa_switch *ds, int port) in bcm_sf2_sw_get_phy_flags() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/dsa/ |
| D | dsa_loop.c | 50 static int dsa_loop_setup_devlink_resources(struct dsa_switch *ds) in dsa_loop_setup_devlink_resources() 78 static enum dsa_tag_protocol dsa_loop_get_protocol(struct dsa_switch *ds, in dsa_loop_get_protocol() 87 static int dsa_loop_setup(struct dsa_switch *ds) in dsa_loop_setup() 101 static void dsa_loop_teardown(struct dsa_switch *ds) in dsa_loop_teardown() 106 static int dsa_loop_get_sset_count(struct dsa_switch *ds, int port, int sset) in dsa_loop_get_sset_count() 114 static void dsa_loop_get_strings(struct dsa_switch *ds, int port, in dsa_loop_get_strings() 128 static void dsa_loop_get_ethtool_stats(struct dsa_switch *ds, int port, in dsa_loop_get_ethtool_stats() 138 static int dsa_loop_phy_read(struct dsa_switch *ds, int port, int regnum) in dsa_loop_phy_read() 153 static int dsa_loop_phy_write(struct dsa_switch *ds, int port, in dsa_loop_phy_write() 169 static int dsa_loop_port_bridge_join(struct dsa_switch *ds, int port, in dsa_loop_port_bridge_join() [all …]
|
| D | mt7530.c | 384 mt7530_pad_clk_setup(struct dsa_switch *ds, phy_interface_t interface) in mt7530_pad_clk_setup() 503 mt7531_pad_setup(struct dsa_switch *ds, phy_interface_t interface) in mt7531_pad_setup() 599 mt7530_mib_reset(struct dsa_switch *ds) in mt7530_mib_reset() 607 static int mt7530_phy_read(struct dsa_switch *ds, int port, int regnum) in mt7530_phy_read() 614 static int mt7530_phy_write(struct dsa_switch *ds, int port, int regnum, in mt7530_phy_write() 796 mt7531_ind_phy_read(struct dsa_switch *ds, int port, int regnum) in mt7531_ind_phy_read() 814 mt7531_ind_phy_write(struct dsa_switch *ds, int port, int regnum, in mt7531_ind_phy_write() 834 mt7530_get_strings(struct dsa_switch *ds, int port, u32 stringset, in mt7530_get_strings() 848 mt7530_get_ethtool_stats(struct dsa_switch *ds, int port, in mt7530_get_ethtool_stats() 869 mt7530_get_sset_count(struct dsa_switch *ds, int port, int sset) in mt7530_get_sset_count() [all …]
|
| D | bcm_sf2.c | 36 static unsigned int bcm_sf2_num_active_ports(struct dsa_switch *ds) in bcm_sf2_num_active_ports() 51 static void bcm_sf2_recalc_clock(struct dsa_switch *ds) in bcm_sf2_recalc_clock() 78 static void bcm_sf2_imp_setup(struct dsa_switch *ds, int port) in bcm_sf2_imp_setup() 133 static void bcm_sf2_gphy_enable_set(struct dsa_switch *ds, bool enable) in bcm_sf2_gphy_enable_set() 206 static int bcm_sf2_port_setup(struct dsa_switch *ds, int port, in bcm_sf2_port_setup() 275 static void bcm_sf2_port_disable(struct dsa_switch *ds, int port) in bcm_sf2_port_disable() 368 struct dsa_switch *ds = dev_id; in bcm_sf2_switch_0_isr() local 380 struct dsa_switch *ds = dev_id; in bcm_sf2_switch_1_isr() local 487 static int bcm_sf2_mdio_register(struct dsa_switch *ds) in bcm_sf2_mdio_register() 590 static u32 bcm_sf2_sw_get_phy_flags(struct dsa_switch *ds, int port) in bcm_sf2_sw_get_phy_flags() [all …]
|
| /kernel/linux/linux-5.10/drivers/acpi/ |
| D | dock.c | 71 static int add_dock_dependent_device(struct dock_station *ds, in add_dock_dependent_device() 132 struct dock_station *ds; in find_dock_station() local 150 find_dock_dependent_device(struct dock_station *ds, struct acpi_device *adev) in find_dock_dependent_device() 164 struct dock_station *ds = find_dock_station(dshandle); in register_dock_dependent_device() local 207 static int dock_present(struct dock_station *ds) in dock_present() 224 static void hot_remove_dock_devices(struct dock_station *ds) in hot_remove_dock_devices() 251 static void hotplug_dock_devices(struct dock_station *ds, u32 event) in hotplug_dock_devices() 280 static void dock_event(struct dock_station *ds, u32 event, int num) in dock_event() 313 static void handle_dock(struct dock_station *ds, int dock) in handle_dock() 333 static inline void dock(struct dock_station *ds) in dock() [all …]
|
| /kernel/linux/linux-6.6/drivers/acpi/ |
| D | dock.c | 71 static int add_dock_dependent_device(struct dock_station *ds, in add_dock_dependent_device() 132 struct dock_station *ds; in find_dock_station() local 150 find_dock_dependent_device(struct dock_station *ds, struct acpi_device *adev) in find_dock_dependent_device() 164 struct dock_station *ds = find_dock_station(dshandle); in register_dock_dependent_device() local 207 static int dock_present(struct dock_station *ds) in dock_present() 224 static void hot_remove_dock_devices(struct dock_station *ds) in hot_remove_dock_devices() 251 static void hotplug_dock_devices(struct dock_station *ds, u32 event) in hotplug_dock_devices() 281 static void dock_event(struct dock_station *ds, u32 event, int num) in dock_event() 314 static void handle_dock(struct dock_station *ds, int dock) in handle_dock() 334 static inline void dock(struct dock_station *ds) in dock() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/dsa/microchip/ |
| D | ksz_common.c | 111 int ksz_phy_read16(struct dsa_switch *ds, int addr, int reg) in ksz_phy_read16() 122 int ksz_phy_write16(struct dsa_switch *ds, int addr, int reg, u16 val) in ksz_phy_write16() 132 void ksz_mac_link_down(struct dsa_switch *ds, int port, unsigned int mode, in ksz_mac_link_down() 146 int ksz_sset_count(struct dsa_switch *ds, int port, int sset) in ksz_sset_count() 157 void ksz_get_ethtool_stats(struct dsa_switch *ds, int port, uint64_t *buf) in ksz_get_ethtool_stats() 175 int ksz_port_bridge_join(struct dsa_switch *ds, int port, in ksz_port_bridge_join() 192 void ksz_port_bridge_leave(struct dsa_switch *ds, int port, in ksz_port_bridge_leave() 208 void ksz_port_fast_age(struct dsa_switch *ds, int port) in ksz_port_fast_age() 216 int ksz_port_vlan_prepare(struct dsa_switch *ds, int port, in ksz_port_vlan_prepare() 225 int ksz_port_fdb_dump(struct dsa_switch *ds, int port, dsa_fdb_dump_cb_t *cb, in ksz_port_fdb_dump() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/dsa/qca/ |
| D | qca8k-common.c | 480 void qca8k_get_strings(struct dsa_switch *ds, int port, u32 stringset, in qca8k_get_strings() 494 void qca8k_get_ethtool_stats(struct dsa_switch *ds, int port, in qca8k_get_ethtool_stats() 527 int qca8k_get_sset_count(struct dsa_switch *ds, int port, int sset) in qca8k_get_sset_count() 537 int qca8k_set_mac_eee(struct dsa_switch *ds, int port, in qca8k_set_mac_eee() 561 int qca8k_get_mac_eee(struct dsa_switch *ds, int port, in qca8k_get_mac_eee() 568 static int qca8k_port_configure_learning(struct dsa_switch *ds, int port, in qca8k_port_configure_learning() 583 void qca8k_port_stp_state_set(struct dsa_switch *ds, int port, u8 state) in qca8k_port_stp_state_set() 618 int qca8k_port_pre_bridge_flags(struct dsa_switch *ds, int port, in qca8k_port_pre_bridge_flags() 628 int qca8k_port_bridge_flags(struct dsa_switch *ds, int port, in qca8k_port_bridge_flags() 644 int qca8k_port_bridge_join(struct dsa_switch *ds, int port, in qca8k_port_bridge_join() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/dsa/b53/ |
| D | b53_common.c | 504 void b53_imp_vlan_setup(struct dsa_switch *ds, int cpu_port) in b53_imp_vlan_setup() 568 int b53_enable_port(struct dsa_switch *ds, int port, struct phy_device *phy) in b53_enable_port() 612 void b53_disable_port(struct dsa_switch *ds, int port) in b53_disable_port() 627 void b53_brcm_hdr_setup(struct dsa_switch *ds, int port) in b53_brcm_hdr_setup() 746 static bool b53_vlan_port_needs_forced_tagged(struct dsa_switch *ds, int port) in b53_vlan_port_needs_forced_tagged() 753 int b53_configure_vlan(struct dsa_switch *ds) in b53_configure_vlan() 882 static int b53_phy_read16(struct dsa_switch *ds, int addr, int reg) in b53_phy_read16() 897 static int b53_phy_write16(struct dsa_switch *ds, int addr, int reg, u16 val) in b53_phy_write16() 967 static struct phy_device *b53_get_phy_device(struct dsa_switch *ds, int port) in b53_get_phy_device() 980 void b53_get_strings(struct dsa_switch *ds, int port, u32 stringset, in b53_get_strings() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/dsa/sja1105/ |
| D | sja1105_devlink.c | 41 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in sja1105_region_static_config_snapshot() local 77 static int sja1105_setup_devlink_regions(struct dsa_switch *ds) in sja1105_setup_devlink_regions() 109 static void sja1105_teardown_devlink_regions(struct dsa_switch *ds) in sja1105_teardown_devlink_regions() 131 struct dsa_switch *ds = priv->ds; in sja1105_best_effort_vlan_filtering_set() local 169 int sja1105_devlink_param_get(struct dsa_switch *ds, u32 id, in sja1105_devlink_param_get() 188 int sja1105_devlink_param_set(struct dsa_switch *ds, u32 id, in sja1105_devlink_param_set() 214 static int sja1105_setup_devlink_params(struct dsa_switch *ds) in sja1105_setup_devlink_params() 220 static void sja1105_teardown_devlink_params(struct dsa_switch *ds) in sja1105_teardown_devlink_params() 226 int sja1105_devlink_info_get(struct dsa_switch *ds, in sja1105_devlink_info_get() 243 int sja1105_devlink_setup(struct dsa_switch *ds) in sja1105_devlink_setup() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/dsa/sja1105/ |
| D | sja1105_main.c | 86 static int sja1105_drop_untagged(struct dsa_switch *ds, int port, bool drop) in sja1105_drop_untagged() 117 static int sja1105_commit_pvid(struct dsa_switch *ds, int port) in sja1105_commit_pvid() 200 struct dsa_switch *ds = priv->ds; in sja1105_init_mac_settings() local 251 struct dsa_switch *ds = priv->ds; in sja1105_init_mii_settings() local 414 struct dsa_switch *ds = priv->ds; in sja1105_init_l2_lookup_params() local 472 struct dsa_switch *ds = priv->ds; in sja1105_init_static_vlan() local 510 struct dsa_switch *ds = priv->ds; in sja1105_init_l2_forwarding() local 644 struct dsa_switch *ds = priv->ds; in sja1110_init_pcp_remapping() local 793 struct dsa_switch *ds = priv->ds; in sja1105_init_topology() local 1009 struct dsa_switch *ds = priv->ds; in sja1105_init_l2_policing() local [all …]
|
| /kernel/linux/linux-5.10/drivers/net/dsa/b53/ |
| D | b53_common.c | 495 void b53_imp_vlan_setup(struct dsa_switch *ds, int cpu_port) in b53_imp_vlan_setup() 526 int b53_enable_port(struct dsa_switch *ds, int port, struct phy_device *phy) in b53_enable_port() 569 void b53_disable_port(struct dsa_switch *ds, int port) in b53_disable_port() 584 void b53_brcm_hdr_setup(struct dsa_switch *ds, int port) in b53_brcm_hdr_setup() 693 int b53_configure_vlan(struct dsa_switch *ds) in b53_configure_vlan() 810 static int b53_phy_read16(struct dsa_switch *ds, int addr, int reg) in b53_phy_read16() 825 static int b53_phy_write16(struct dsa_switch *ds, int addr, int reg, u16 val) in b53_phy_write16() 895 static struct phy_device *b53_get_phy_device(struct dsa_switch *ds, int port) in b53_get_phy_device() 908 void b53_get_strings(struct dsa_switch *ds, int port, u32 stringset, in b53_get_strings() 931 void b53_get_ethtool_stats(struct dsa_switch *ds, int port, uint64_t *data) in b53_get_ethtool_stats() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/dsa/xrs700x/ |
| D | xrs700x.c | 86 static void xrs700x_get_strings(struct dsa_switch *ds, int port, in xrs700x_get_strings() 100 static int xrs700x_get_sset_count(struct dsa_switch *ds, int port, int sset) in xrs700x_get_sset_count() 161 static void xrs700x_get_ethtool_stats(struct dsa_switch *ds, int port, in xrs700x_get_ethtool_stats() 174 static void xrs700x_get_stats64(struct dsa_switch *ds, int port, in xrs700x_get_stats64() 228 static enum dsa_tag_protocol xrs700x_get_tag_protocol(struct dsa_switch *ds, in xrs700x_get_tag_protocol() 235 static int xrs700x_reset(struct dsa_switch *ds) in xrs700x_reset() 257 static void xrs700x_port_stp_state_set(struct dsa_switch *ds, int port, in xrs700x_port_stp_state_set() 299 static int xrs700x_port_add_bpdu_ipf(struct dsa_switch *ds, int port) in xrs700x_port_add_bpdu_ipf() 342 static int xrs700x_port_add_hsrsup_ipf(struct dsa_switch *ds, int port, in xrs700x_port_add_hsrsup_ipf() 385 static int xrs700x_port_setup(struct dsa_switch *ds, int port) in xrs700x_port_setup() [all …]
|
| /kernel/linux/linux-5.10/fs/xfs/scrub/ |
| D | dabtree.c | 31 struct xchk_da_btree *ds, in xchk_da_process_error() 67 struct xchk_da_btree *ds, in xchk_da_set_corrupt() 82 struct xchk_da_btree *ds, in xchk_da_btree_node_entry() 97 struct xchk_da_btree *ds, in xchk_da_btree_hash() 129 struct xchk_da_btree *ds, in xchk_da_btree_ptr_ok() 217 struct xchk_da_btree *ds, in xchk_da_btree_block_check_sibling() 277 struct xchk_da_btree *ds, in xchk_da_btree_block_check_siblings() 312 struct xchk_da_btree *ds, in xchk_da_btree_block() 476 struct xchk_da_btree ds = {}; in xchk_da_btree() local
|