dsa_switch        499 drivers/net/dsa/b53/b53_common.c void b53_imp_vlan_setup(struct dsa_switch *ds, int cpu_port)
dsa_switch        517 drivers/net/dsa/b53/b53_common.c int b53_enable_port(struct dsa_switch *ds, int port, struct phy_device *phy)
dsa_switch        559 drivers/net/dsa/b53/b53_common.c void b53_disable_port(struct dsa_switch *ds, int port)
dsa_switch        574 drivers/net/dsa/b53/b53_common.c void b53_brcm_hdr_setup(struct dsa_switch *ds, int port)
dsa_switch        667 drivers/net/dsa/b53/b53_common.c int b53_configure_vlan(struct dsa_switch *ds)
dsa_switch        769 drivers/net/dsa/b53/b53_common.c static int b53_phy_read16(struct dsa_switch *ds, int addr, int reg)
dsa_switch        784 drivers/net/dsa/b53/b53_common.c static int b53_phy_write16(struct dsa_switch *ds, int addr, int reg, u16 val)
dsa_switch        856 drivers/net/dsa/b53/b53_common.c static struct phy_device *b53_get_phy_device(struct dsa_switch *ds, int port)
dsa_switch        869 drivers/net/dsa/b53/b53_common.c void b53_get_strings(struct dsa_switch *ds, int port, u32 stringset,
dsa_switch        892 drivers/net/dsa/b53/b53_common.c void b53_get_ethtool_stats(struct dsa_switch *ds, int port, uint64_t *data)
dsa_switch        925 drivers/net/dsa/b53/b53_common.c void b53_get_ethtool_phy_stats(struct dsa_switch *ds, int port, uint64_t *data)
dsa_switch        937 drivers/net/dsa/b53/b53_common.c int b53_get_sset_count(struct dsa_switch *ds, int port, int sset)
dsa_switch        956 drivers/net/dsa/b53/b53_common.c static int b53_setup(struct dsa_switch *ds)
dsa_switch       1063 drivers/net/dsa/b53/b53_common.c static void b53_adjust_link(struct dsa_switch *ds, int port,
dsa_switch       1155 drivers/net/dsa/b53/b53_common.c void b53_port_event(struct dsa_switch *ds, int port)
dsa_switch       1167 drivers/net/dsa/b53/b53_common.c void b53_phylink_validate(struct dsa_switch *ds, int port,
dsa_switch       1210 drivers/net/dsa/b53/b53_common.c int b53_phylink_mac_link_state(struct dsa_switch *ds, int port,
dsa_switch       1225 drivers/net/dsa/b53/b53_common.c void b53_phylink_mac_config(struct dsa_switch *ds, int port,
dsa_switch       1247 drivers/net/dsa/b53/b53_common.c void b53_phylink_mac_an_restart(struct dsa_switch *ds, int port)
dsa_switch       1256 drivers/net/dsa/b53/b53_common.c void b53_phylink_mac_link_down(struct dsa_switch *ds, int port,
dsa_switch       1276 drivers/net/dsa/b53/b53_common.c void b53_phylink_mac_link_up(struct dsa_switch *ds, int port,
dsa_switch       1297 drivers/net/dsa/b53/b53_common.c int b53_vlan_filtering(struct dsa_switch *ds, int port, bool vlan_filtering)
dsa_switch       1325 drivers/net/dsa/b53/b53_common.c int b53_vlan_prepare(struct dsa_switch *ds, int port,
dsa_switch       1342 drivers/net/dsa/b53/b53_common.c void b53_vlan_add(struct dsa_switch *ds, int port,
dsa_switch       1377 drivers/net/dsa/b53/b53_common.c int b53_vlan_del(struct dsa_switch *ds, int port,
dsa_switch       1557 drivers/net/dsa/b53/b53_common.c int b53_fdb_add(struct dsa_switch *ds, int port,
dsa_switch       1572 drivers/net/dsa/b53/b53_common.c int b53_fdb_del(struct dsa_switch *ds, int port,
dsa_switch       1625 drivers/net/dsa/b53/b53_common.c int b53_fdb_dump(struct dsa_switch *ds, int port,
dsa_switch       1664 drivers/net/dsa/b53/b53_common.c int b53_br_join(struct dsa_switch *ds, int port, struct net_device *br)
dsa_switch       1709 drivers/net/dsa/b53/b53_common.c void b53_br_leave(struct dsa_switch *ds, int port, struct net_device *br)
dsa_switch       1755 drivers/net/dsa/b53/b53_common.c void b53_br_set_stp_state(struct dsa_switch *ds, int port, u8 state)
dsa_switch       1789 drivers/net/dsa/b53/b53_common.c void b53_br_fast_age(struct dsa_switch *ds, int port)
dsa_switch       1798 drivers/net/dsa/b53/b53_common.c int b53_br_egress_floods(struct dsa_switch *ds, int port,
dsa_switch       1830 drivers/net/dsa/b53/b53_common.c static bool b53_possible_cpu_port(struct dsa_switch *ds, int port)
dsa_switch       1845 drivers/net/dsa/b53/b53_common.c static bool b53_can_enable_brcm_tags(struct dsa_switch *ds, int port)
dsa_switch       1855 drivers/net/dsa/b53/b53_common.c enum dsa_tag_protocol b53_get_tag_protocol(struct dsa_switch *ds, int port)
dsa_switch       1878 drivers/net/dsa/b53/b53_common.c int b53_mirror_add(struct dsa_switch *ds, int port,
dsa_switch       1903 drivers/net/dsa/b53/b53_common.c void b53_mirror_del(struct dsa_switch *ds, int port,
dsa_switch       1942 drivers/net/dsa/b53/b53_common.c void b53_eee_enable_set(struct dsa_switch *ds, int port, bool enable)
dsa_switch       1959 drivers/net/dsa/b53/b53_common.c int b53_eee_init(struct dsa_switch *ds, int port, struct phy_device *phy)
dsa_switch       1973 drivers/net/dsa/b53/b53_common.c int b53_get_mac_eee(struct dsa_switch *ds, int port, struct ethtool_eee *e)
dsa_switch       1990 drivers/net/dsa/b53/b53_common.c int b53_set_mac_eee(struct dsa_switch *ds, int port, struct ethtool_eee *e)
dsa_switch       2383 drivers/net/dsa/b53/b53_common.c 	struct dsa_switch *ds;
dsa_switch        354 drivers/net/dsa/b53/b53_mdio.c 	struct dsa_switch *ds = dev->ds;
dsa_switch        104 drivers/net/dsa/b53/b53_priv.h 	struct dsa_switch *ds;
dsa_switch        311 drivers/net/dsa/b53/b53_priv.h void b53_imp_vlan_setup(struct dsa_switch *ds, int cpu_port);
dsa_switch        312 drivers/net/dsa/b53/b53_priv.h int b53_configure_vlan(struct dsa_switch *ds);
dsa_switch        313 drivers/net/dsa/b53/b53_priv.h void b53_get_strings(struct dsa_switch *ds, int port, u32 stringset,
dsa_switch        315 drivers/net/dsa/b53/b53_priv.h void b53_get_ethtool_stats(struct dsa_switch *ds, int port, uint64_t *data);
dsa_switch        316 drivers/net/dsa/b53/b53_priv.h int b53_get_sset_count(struct dsa_switch *ds, int port, int sset);
dsa_switch        317 drivers/net/dsa/b53/b53_priv.h void b53_get_ethtool_phy_stats(struct dsa_switch *ds, int port, uint64_t *data);
dsa_switch        318 drivers/net/dsa/b53/b53_priv.h int b53_br_join(struct dsa_switch *ds, int port, struct net_device *bridge);
dsa_switch        319 drivers/net/dsa/b53/b53_priv.h void b53_br_leave(struct dsa_switch *ds, int port, struct net_device *bridge);
dsa_switch        320 drivers/net/dsa/b53/b53_priv.h void b53_br_set_stp_state(struct dsa_switch *ds, int port, u8 state);
dsa_switch        321 drivers/net/dsa/b53/b53_priv.h void b53_br_fast_age(struct dsa_switch *ds, int port);
dsa_switch        322 drivers/net/dsa/b53/b53_priv.h int b53_br_egress_floods(struct dsa_switch *ds, int port,
dsa_switch        324 drivers/net/dsa/b53/b53_priv.h void b53_port_event(struct dsa_switch *ds, int port);
dsa_switch        325 drivers/net/dsa/b53/b53_priv.h void b53_phylink_validate(struct dsa_switch *ds, int port,
dsa_switch        328 drivers/net/dsa/b53/b53_priv.h int b53_phylink_mac_link_state(struct dsa_switch *ds, int port,
dsa_switch        330 drivers/net/dsa/b53/b53_priv.h void b53_phylink_mac_config(struct dsa_switch *ds, int port,
dsa_switch        333 drivers/net/dsa/b53/b53_priv.h void b53_phylink_mac_an_restart(struct dsa_switch *ds, int port);
dsa_switch        334 drivers/net/dsa/b53/b53_priv.h void b53_phylink_mac_link_down(struct dsa_switch *ds, int port,
dsa_switch        337 drivers/net/dsa/b53/b53_priv.h void b53_phylink_mac_link_up(struct dsa_switch *ds, int port,
dsa_switch        341 drivers/net/dsa/b53/b53_priv.h int b53_vlan_filtering(struct dsa_switch *ds, int port, bool vlan_filtering);
dsa_switch        342 drivers/net/dsa/b53/b53_priv.h int b53_vlan_prepare(struct dsa_switch *ds, int port,
dsa_switch        344 drivers/net/dsa/b53/b53_priv.h void b53_vlan_add(struct dsa_switch *ds, int port,
dsa_switch        346 drivers/net/dsa/b53/b53_priv.h int b53_vlan_del(struct dsa_switch *ds, int port,
dsa_switch        348 drivers/net/dsa/b53/b53_priv.h int b53_fdb_add(struct dsa_switch *ds, int port,
dsa_switch        350 drivers/net/dsa/b53/b53_priv.h int b53_fdb_del(struct dsa_switch *ds, int port,
dsa_switch        352 drivers/net/dsa/b53/b53_priv.h int b53_fdb_dump(struct dsa_switch *ds, int port,
dsa_switch        354 drivers/net/dsa/b53/b53_priv.h int b53_mirror_add(struct dsa_switch *ds, int port,
dsa_switch        356 drivers/net/dsa/b53/b53_priv.h enum dsa_tag_protocol b53_get_tag_protocol(struct dsa_switch *ds, int port);
dsa_switch        357 drivers/net/dsa/b53/b53_priv.h void b53_mirror_del(struct dsa_switch *ds, int port,
dsa_switch        359 drivers/net/dsa/b53/b53_priv.h int b53_enable_port(struct dsa_switch *ds, int port, struct phy_device *phy);
dsa_switch        360 drivers/net/dsa/b53/b53_priv.h void b53_disable_port(struct dsa_switch *ds, int port);
dsa_switch        361 drivers/net/dsa/b53/b53_priv.h void b53_brcm_hdr_setup(struct dsa_switch *ds, int port);
dsa_switch        362 drivers/net/dsa/b53/b53_priv.h void b53_eee_enable_set(struct dsa_switch *ds, int port, bool enable);
dsa_switch        363 drivers/net/dsa/b53/b53_priv.h int b53_eee_init(struct dsa_switch *ds, int port, struct phy_device *phy);
dsa_switch        364 drivers/net/dsa/b53/b53_priv.h int b53_get_mac_eee(struct dsa_switch *ds, int port, struct ethtool_eee *e);
dsa_switch        365 drivers/net/dsa/b53/b53_priv.h int b53_set_mac_eee(struct dsa_switch *ds, int port, struct ethtool_eee *e);
dsa_switch         34 drivers/net/dsa/bcm_sf2.c static void bcm_sf2_imp_setup(struct dsa_switch *ds, int port)
dsa_switch         87 drivers/net/dsa/bcm_sf2.c static void bcm_sf2_gphy_enable_set(struct dsa_switch *ds, bool enable)
dsa_switch        160 drivers/net/dsa/bcm_sf2.c static int bcm_sf2_port_setup(struct dsa_switch *ds, int port,
dsa_switch        230 drivers/net/dsa/bcm_sf2.c static void bcm_sf2_port_disable(struct dsa_switch *ds, int port)
dsa_switch        319 drivers/net/dsa/bcm_sf2.c 	struct dsa_switch *ds = dev_id;
dsa_switch        331 drivers/net/dsa/bcm_sf2.c 	struct dsa_switch *ds = dev_id;
dsa_switch        414 drivers/net/dsa/bcm_sf2.c static int bcm_sf2_mdio_register(struct dsa_switch *ds)
dsa_switch        475 drivers/net/dsa/bcm_sf2.c static u32 bcm_sf2_sw_get_phy_flags(struct dsa_switch *ds, int port)
dsa_switch        487 drivers/net/dsa/bcm_sf2.c static void bcm_sf2_sw_validate(struct dsa_switch *ds, int port,
dsa_switch        534 drivers/net/dsa/bcm_sf2.c static void bcm_sf2_sw_mac_config(struct dsa_switch *ds, int port,
dsa_switch        608 drivers/net/dsa/bcm_sf2.c static void bcm_sf2_sw_mac_link_set(struct dsa_switch *ds, int port,
dsa_switch        628 drivers/net/dsa/bcm_sf2.c static void bcm_sf2_sw_mac_link_down(struct dsa_switch *ds, int port,
dsa_switch        635 drivers/net/dsa/bcm_sf2.c static void bcm_sf2_sw_mac_link_up(struct dsa_switch *ds, int port,
dsa_switch        649 drivers/net/dsa/bcm_sf2.c static void bcm_sf2_sw_fixed_state(struct dsa_switch *ds, int port,
dsa_switch        679 drivers/net/dsa/bcm_sf2.c static void bcm_sf2_enable_acb(struct dsa_switch *ds)
dsa_switch        693 drivers/net/dsa/bcm_sf2.c static int bcm_sf2_sw_suspend(struct dsa_switch *ds)
dsa_switch        712 drivers/net/dsa/bcm_sf2.c static int bcm_sf2_sw_resume(struct dsa_switch *ds)
dsa_switch        735 drivers/net/dsa/bcm_sf2.c static void bcm_sf2_sw_get_wol(struct dsa_switch *ds, int port,
dsa_switch        759 drivers/net/dsa/bcm_sf2.c static int bcm_sf2_sw_set_wol(struct dsa_switch *ds, int port,
dsa_switch        789 drivers/net/dsa/bcm_sf2.c static int bcm_sf2_sw_setup(struct dsa_switch *ds)
dsa_switch        910 drivers/net/dsa/bcm_sf2.c static void bcm_sf2_sw_get_strings(struct dsa_switch *ds, int port,
dsa_switch        920 drivers/net/dsa/bcm_sf2.c static void bcm_sf2_sw_get_ethtool_stats(struct dsa_switch *ds, int port,
dsa_switch        929 drivers/net/dsa/bcm_sf2.c static int bcm_sf2_sw_get_sset_count(struct dsa_switch *ds, int port,
dsa_switch       1059 drivers/net/dsa/bcm_sf2.c 	struct dsa_switch *ds;
dsa_switch        112 drivers/net/dsa/bcm_sf2.h static inline struct bcm_sf2_priv *bcm_sf2_to_priv(struct dsa_switch *ds)
dsa_switch        205 drivers/net/dsa/bcm_sf2.h int bcm_sf2_get_rxnfc(struct dsa_switch *ds, int port,
dsa_switch        207 drivers/net/dsa/bcm_sf2.h int bcm_sf2_set_rxnfc(struct dsa_switch *ds, int port,
dsa_switch        210 drivers/net/dsa/bcm_sf2.h void bcm_sf2_cfp_exit(struct dsa_switch *ds);
dsa_switch        211 drivers/net/dsa/bcm_sf2.h int bcm_sf2_cfp_resume(struct dsa_switch *ds);
dsa_switch        212 drivers/net/dsa/bcm_sf2.h void bcm_sf2_cfp_get_strings(struct dsa_switch *ds, int port,
dsa_switch        214 drivers/net/dsa/bcm_sf2.h void bcm_sf2_cfp_get_ethtool_stats(struct dsa_switch *ds, int port,
dsa_switch        216 drivers/net/dsa/bcm_sf2.h int bcm_sf2_cfp_get_sset_count(struct dsa_switch *ds, int port, int sset);
dsa_switch        820 drivers/net/dsa/bcm_sf2_cfp.c static int bcm_sf2_cfp_rule_insert(struct dsa_switch *ds, int port,
dsa_switch        873 drivers/net/dsa/bcm_sf2_cfp.c static int bcm_sf2_cfp_rule_set(struct dsa_switch *ds, int port,
dsa_switch       1046 drivers/net/dsa/bcm_sf2_cfp.c int bcm_sf2_get_rxnfc(struct dsa_switch *ds, int port,
dsa_switch       1089 drivers/net/dsa/bcm_sf2_cfp.c int bcm_sf2_set_rxnfc(struct dsa_switch *ds, int port,
dsa_switch       1156 drivers/net/dsa/bcm_sf2_cfp.c void bcm_sf2_cfp_exit(struct dsa_switch *ds)
dsa_switch       1168 drivers/net/dsa/bcm_sf2_cfp.c int bcm_sf2_cfp_resume(struct dsa_switch *ds)
dsa_switch       1226 drivers/net/dsa/bcm_sf2_cfp.c void bcm_sf2_cfp_get_strings(struct dsa_switch *ds, int port,
dsa_switch       1249 drivers/net/dsa/bcm_sf2_cfp.c void bcm_sf2_cfp_get_ethtool_stats(struct dsa_switch *ds, int port,
dsa_switch       1281 drivers/net/dsa/bcm_sf2_cfp.c int bcm_sf2_cfp_get_sset_count(struct dsa_switch *ds, int port, int sset)
dsa_switch         63 drivers/net/dsa/dsa_loop.c static enum dsa_tag_protocol dsa_loop_get_protocol(struct dsa_switch *ds,
dsa_switch         71 drivers/net/dsa/dsa_loop.c static int dsa_loop_setup(struct dsa_switch *ds)
dsa_switch         85 drivers/net/dsa/dsa_loop.c static int dsa_loop_get_sset_count(struct dsa_switch *ds, int port, int sset)
dsa_switch         93 drivers/net/dsa/dsa_loop.c static void dsa_loop_get_strings(struct dsa_switch *ds, int port,
dsa_switch        107 drivers/net/dsa/dsa_loop.c static void dsa_loop_get_ethtool_stats(struct dsa_switch *ds, int port,
dsa_switch        117 drivers/net/dsa/dsa_loop.c static int dsa_loop_phy_read(struct dsa_switch *ds, int port, int regnum)
dsa_switch        132 drivers/net/dsa/dsa_loop.c static int dsa_loop_phy_write(struct dsa_switch *ds, int port,
dsa_switch        148 drivers/net/dsa/dsa_loop.c static int dsa_loop_port_bridge_join(struct dsa_switch *ds, int port,
dsa_switch        157 drivers/net/dsa/dsa_loop.c static void dsa_loop_port_bridge_leave(struct dsa_switch *ds, int port,
dsa_switch        164 drivers/net/dsa/dsa_loop.c static void dsa_loop_port_stp_state_set(struct dsa_switch *ds, int port,
dsa_switch        171 drivers/net/dsa/dsa_loop.c static int dsa_loop_port_vlan_filtering(struct dsa_switch *ds, int port,
dsa_switch        181 drivers/net/dsa/dsa_loop.c dsa_loop_port_vlan_prepare(struct dsa_switch *ds, int port,
dsa_switch        199 drivers/net/dsa/dsa_loop.c static void dsa_loop_port_vlan_add(struct dsa_switch *ds, int port,
dsa_switch        229 drivers/net/dsa/dsa_loop.c static int dsa_loop_port_vlan_del(struct dsa_switch *ds, int port,
dsa_switch        281 drivers/net/dsa/dsa_loop.c 	struct dsa_switch *ds;
dsa_switch        315 drivers/net/dsa/dsa_loop.c 	struct dsa_switch *ds = dev_get_drvdata(&mdiodev->dev);
dsa_switch        885 drivers/net/dsa/lan9303-core.c static enum dsa_tag_protocol lan9303_get_tag_protocol(struct dsa_switch *ds,
dsa_switch        891 drivers/net/dsa/lan9303-core.c static int lan9303_setup(struct dsa_switch *ds)
dsa_switch        971 drivers/net/dsa/lan9303-core.c static void lan9303_get_strings(struct dsa_switch *ds, int port,
dsa_switch        985 drivers/net/dsa/lan9303-core.c static void lan9303_get_ethtool_stats(struct dsa_switch *ds, int port,
dsa_switch       1005 drivers/net/dsa/lan9303-core.c static int lan9303_get_sset_count(struct dsa_switch *ds, int port, int sset)
dsa_switch       1013 drivers/net/dsa/lan9303-core.c static int lan9303_phy_read(struct dsa_switch *ds, int phy, int regnum)
dsa_switch       1026 drivers/net/dsa/lan9303-core.c static int lan9303_phy_write(struct dsa_switch *ds, int phy, int regnum,
dsa_switch       1040 drivers/net/dsa/lan9303-core.c static void lan9303_adjust_link(struct dsa_switch *ds, int port,
dsa_switch       1077 drivers/net/dsa/lan9303-core.c static int lan9303_port_enable(struct dsa_switch *ds, int port,
dsa_switch       1088 drivers/net/dsa/lan9303-core.c static void lan9303_port_disable(struct dsa_switch *ds, int port)
dsa_switch       1099 drivers/net/dsa/lan9303-core.c static int lan9303_port_bridge_join(struct dsa_switch *ds, int port,
dsa_switch       1113 drivers/net/dsa/lan9303-core.c static void lan9303_port_bridge_leave(struct dsa_switch *ds, int port,
dsa_switch       1125 drivers/net/dsa/lan9303-core.c static void lan9303_port_stp_state_set(struct dsa_switch *ds, int port,
dsa_switch       1165 drivers/net/dsa/lan9303-core.c static void lan9303_port_fast_age(struct dsa_switch *ds, int port)
dsa_switch       1176 drivers/net/dsa/lan9303-core.c static int lan9303_port_fdb_add(struct dsa_switch *ds, int port,
dsa_switch       1188 drivers/net/dsa/lan9303-core.c static int lan9303_port_fdb_del(struct dsa_switch *ds, int port,
dsa_switch       1202 drivers/net/dsa/lan9303-core.c static int lan9303_port_fdb_dump(struct dsa_switch *ds, int port,
dsa_switch       1218 drivers/net/dsa/lan9303-core.c static int lan9303_port_mdb_prepare(struct dsa_switch *ds, int port,
dsa_switch       1235 drivers/net/dsa/lan9303-core.c static void lan9303_port_mdb_add(struct dsa_switch *ds, int port,
dsa_switch       1245 drivers/net/dsa/lan9303-core.c static int lan9303_port_mdb_del(struct dsa_switch *ds, int port,
dsa_switch        250 drivers/net/dsa/lantiq_gswip.c 	struct dsa_switch *ds;
dsa_switch        485 drivers/net/dsa/lantiq_gswip.c 	struct dsa_switch *ds = priv->ds;
dsa_switch        639 drivers/net/dsa/lantiq_gswip.c static int gswip_port_enable(struct dsa_switch *ds, int port,
dsa_switch        680 drivers/net/dsa/lantiq_gswip.c static void gswip_port_disable(struct dsa_switch *ds, int port)
dsa_switch        738 drivers/net/dsa/lantiq_gswip.c static int gswip_port_vlan_filtering(struct dsa_switch *ds, int port,
dsa_switch        771 drivers/net/dsa/lantiq_gswip.c static int gswip_setup(struct dsa_switch *ds)
dsa_switch        843 drivers/net/dsa/lantiq_gswip.c static enum dsa_tag_protocol gswip_get_tag_protocol(struct dsa_switch *ds,
dsa_switch       1102 drivers/net/dsa/lantiq_gswip.c static int gswip_port_bridge_join(struct dsa_switch *ds, int port,
dsa_switch       1122 drivers/net/dsa/lantiq_gswip.c static void gswip_port_bridge_leave(struct dsa_switch *ds, int port,
dsa_switch       1136 drivers/net/dsa/lantiq_gswip.c static int gswip_port_vlan_prepare(struct dsa_switch *ds, int port,
dsa_switch       1184 drivers/net/dsa/lantiq_gswip.c static void gswip_port_vlan_add(struct dsa_switch *ds, int port,
dsa_switch       1205 drivers/net/dsa/lantiq_gswip.c static int gswip_port_vlan_del(struct dsa_switch *ds, int port,
dsa_switch       1231 drivers/net/dsa/lantiq_gswip.c static void gswip_port_fast_age(struct dsa_switch *ds, int port)
dsa_switch       1268 drivers/net/dsa/lantiq_gswip.c static void gswip_port_stp_state_set(struct dsa_switch *ds, int port, u8 state)
dsa_switch       1299 drivers/net/dsa/lantiq_gswip.c static int gswip_port_fdb(struct dsa_switch *ds, int port,
dsa_switch       1342 drivers/net/dsa/lantiq_gswip.c static int gswip_port_fdb_add(struct dsa_switch *ds, int port,
dsa_switch       1348 drivers/net/dsa/lantiq_gswip.c static int gswip_port_fdb_del(struct dsa_switch *ds, int port,
dsa_switch       1354 drivers/net/dsa/lantiq_gswip.c static int gswip_port_fdb_dump(struct dsa_switch *ds, int port,
dsa_switch       1394 drivers/net/dsa/lantiq_gswip.c static void gswip_phylink_validate(struct dsa_switch *ds, int port,
dsa_switch       1458 drivers/net/dsa/lantiq_gswip.c static void gswip_phylink_mac_config(struct dsa_switch *ds, int port,
dsa_switch       1507 drivers/net/dsa/lantiq_gswip.c static void gswip_phylink_mac_link_down(struct dsa_switch *ds, int port,
dsa_switch       1516 drivers/net/dsa/lantiq_gswip.c static void gswip_phylink_mac_link_up(struct dsa_switch *ds, int port,
dsa_switch       1528 drivers/net/dsa/lantiq_gswip.c static void gswip_get_strings(struct dsa_switch *ds, int port, u32 stringset,
dsa_switch       1567 drivers/net/dsa/lantiq_gswip.c static void gswip_get_ethtool_stats(struct dsa_switch *ds, int port,
dsa_switch       1588 drivers/net/dsa/lantiq_gswip.c static int gswip_get_sset_count(struct dsa_switch *ds, int port, int sset)
dsa_switch        647 drivers/net/dsa/microchip/ksz8795.c static enum dsa_tag_protocol ksz8795_get_tag_protocol(struct dsa_switch *ds,
dsa_switch        653 drivers/net/dsa/microchip/ksz8795.c static void ksz8795_get_strings(struct dsa_switch *ds, int port,
dsa_switch        676 drivers/net/dsa/microchip/ksz8795.c static void ksz8795_port_stp_state_set(struct dsa_switch *ds, int port,
dsa_switch        792 drivers/net/dsa/microchip/ksz8795.c static int ksz8795_port_vlan_filtering(struct dsa_switch *ds, int port,
dsa_switch        802 drivers/net/dsa/microchip/ksz8795.c static void ksz8795_port_vlan_add(struct dsa_switch *ds, int port,
dsa_switch        840 drivers/net/dsa/microchip/ksz8795.c static int ksz8795_port_vlan_del(struct dsa_switch *ds, int port,
dsa_switch        878 drivers/net/dsa/microchip/ksz8795.c static int ksz8795_port_mirror_add(struct dsa_switch *ds, int port,
dsa_switch        902 drivers/net/dsa/microchip/ksz8795.c static void ksz8795_port_mirror_del(struct dsa_switch *ds, int port,
dsa_switch        991 drivers/net/dsa/microchip/ksz8795.c static void ksz8795_config_cpu_port(struct dsa_switch *ds)
dsa_switch       1043 drivers/net/dsa/microchip/ksz8795.c static int ksz8795_setup(struct dsa_switch *ds)
dsa_switch        297 drivers/net/dsa/microchip/ksz9477.c static enum dsa_tag_protocol ksz9477_get_tag_protocol(struct dsa_switch *ds,
dsa_switch        308 drivers/net/dsa/microchip/ksz9477.c static int ksz9477_phy_read16(struct dsa_switch *ds, int addr, int reg)
dsa_switch        358 drivers/net/dsa/microchip/ksz9477.c static int ksz9477_phy_write16(struct dsa_switch *ds, int addr, int reg,
dsa_switch        375 drivers/net/dsa/microchip/ksz9477.c static void ksz9477_get_strings(struct dsa_switch *ds, int port,
dsa_switch        396 drivers/net/dsa/microchip/ksz9477.c static void ksz9477_port_stp_state_set(struct dsa_switch *ds, int port,
dsa_switch        503 drivers/net/dsa/microchip/ksz9477.c static int ksz9477_port_vlan_filtering(struct dsa_switch *ds, int port,
dsa_switch        521 drivers/net/dsa/microchip/ksz9477.c static void ksz9477_port_vlan_add(struct dsa_switch *ds, int port,
dsa_switch        555 drivers/net/dsa/microchip/ksz9477.c static int ksz9477_port_vlan_del(struct dsa_switch *ds, int port,
dsa_switch        592 drivers/net/dsa/microchip/ksz9477.c static int ksz9477_port_fdb_add(struct dsa_switch *ds, int port,
dsa_switch        649 drivers/net/dsa/microchip/ksz9477.c static int ksz9477_port_fdb_del(struct dsa_switch *ds, int port,
dsa_switch        739 drivers/net/dsa/microchip/ksz9477.c static int ksz9477_port_fdb_dump(struct dsa_switch *ds, int port,
dsa_switch        791 drivers/net/dsa/microchip/ksz9477.c static void ksz9477_port_mdb_add(struct dsa_switch *ds, int port,
dsa_switch        861 drivers/net/dsa/microchip/ksz9477.c static int ksz9477_port_mdb_del(struct dsa_switch *ds, int port,
dsa_switch        936 drivers/net/dsa/microchip/ksz9477.c static int ksz9477_port_mirror_add(struct dsa_switch *ds, int port,
dsa_switch        958 drivers/net/dsa/microchip/ksz9477.c static void ksz9477_port_mirror_del(struct dsa_switch *ds, int port,
dsa_switch       1290 drivers/net/dsa/microchip/ksz9477.c static void ksz9477_config_cpu_port(struct dsa_switch *ds)
dsa_switch       1352 drivers/net/dsa/microchip/ksz9477.c static int ksz9477_setup(struct dsa_switch *ds)
dsa_switch        125 drivers/net/dsa/microchip/ksz_common.c int ksz_phy_read16(struct dsa_switch *ds, int addr, int reg)
dsa_switch        136 drivers/net/dsa/microchip/ksz_common.c int ksz_phy_write16(struct dsa_switch *ds, int addr, int reg, u16 val)
dsa_switch        146 drivers/net/dsa/microchip/ksz_common.c void ksz_adjust_link(struct dsa_switch *ds, int port,
dsa_switch        167 drivers/net/dsa/microchip/ksz_common.c int ksz_sset_count(struct dsa_switch *ds, int port, int sset)
dsa_switch        178 drivers/net/dsa/microchip/ksz_common.c void ksz_get_ethtool_stats(struct dsa_switch *ds, int port, uint64_t *buf)
dsa_switch        196 drivers/net/dsa/microchip/ksz_common.c int ksz_port_bridge_join(struct dsa_switch *ds, int port,
dsa_switch        213 drivers/net/dsa/microchip/ksz_common.c void ksz_port_bridge_leave(struct dsa_switch *ds, int port,
dsa_switch        229 drivers/net/dsa/microchip/ksz_common.c void ksz_port_fast_age(struct dsa_switch *ds, int port)
dsa_switch        237 drivers/net/dsa/microchip/ksz_common.c int ksz_port_vlan_prepare(struct dsa_switch *ds, int port,
dsa_switch        246 drivers/net/dsa/microchip/ksz_common.c int ksz_port_fdb_dump(struct dsa_switch *ds, int port, dsa_fdb_dump_cb_t *cb,
dsa_switch        277 drivers/net/dsa/microchip/ksz_common.c int ksz_port_mdb_prepare(struct dsa_switch *ds, int port,
dsa_switch        285 drivers/net/dsa/microchip/ksz_common.c void ksz_port_mdb_add(struct dsa_switch *ds, int port,
dsa_switch        328 drivers/net/dsa/microchip/ksz_common.c int ksz_port_mdb_del(struct dsa_switch *ds, int port,
dsa_switch        360 drivers/net/dsa/microchip/ksz_common.c int ksz_enable_port(struct dsa_switch *ds, int port, struct phy_device *phy)
dsa_switch        380 drivers/net/dsa/microchip/ksz_common.c void ksz_disable_port(struct dsa_switch *ds, int port)
dsa_switch        398 drivers/net/dsa/microchip/ksz_common.c 	struct dsa_switch *ds;
dsa_switch         45 drivers/net/dsa/microchip/ksz_common.h 	struct dsa_switch *ds;
dsa_switch        161 drivers/net/dsa/microchip/ksz_common.h int ksz_phy_read16(struct dsa_switch *ds, int addr, int reg);
dsa_switch        162 drivers/net/dsa/microchip/ksz_common.h int ksz_phy_write16(struct dsa_switch *ds, int addr, int reg, u16 val);
dsa_switch        163 drivers/net/dsa/microchip/ksz_common.h void ksz_adjust_link(struct dsa_switch *ds, int port,
dsa_switch        165 drivers/net/dsa/microchip/ksz_common.h int ksz_sset_count(struct dsa_switch *ds, int port, int sset);
dsa_switch        166 drivers/net/dsa/microchip/ksz_common.h void ksz_get_ethtool_stats(struct dsa_switch *ds, int port, uint64_t *buf);
dsa_switch        167 drivers/net/dsa/microchip/ksz_common.h int ksz_port_bridge_join(struct dsa_switch *ds, int port,
dsa_switch        169 drivers/net/dsa/microchip/ksz_common.h void ksz_port_bridge_leave(struct dsa_switch *ds, int port,
dsa_switch        171 drivers/net/dsa/microchip/ksz_common.h void ksz_port_fast_age(struct dsa_switch *ds, int port);
dsa_switch        172 drivers/net/dsa/microchip/ksz_common.h int ksz_port_vlan_prepare(struct dsa_switch *ds, int port,
dsa_switch        174 drivers/net/dsa/microchip/ksz_common.h int ksz_port_fdb_dump(struct dsa_switch *ds, int port, dsa_fdb_dump_cb_t *cb,
dsa_switch        176 drivers/net/dsa/microchip/ksz_common.h int ksz_port_mdb_prepare(struct dsa_switch *ds, int port,
dsa_switch        178 drivers/net/dsa/microchip/ksz_common.h void ksz_port_mdb_add(struct dsa_switch *ds, int port,
dsa_switch        180 drivers/net/dsa/microchip/ksz_common.h int ksz_port_mdb_del(struct dsa_switch *ds, int port,
dsa_switch        182 drivers/net/dsa/microchip/ksz_common.h int ksz_enable_port(struct dsa_switch *ds, int port, struct phy_device *phy);
dsa_switch        183 drivers/net/dsa/microchip/ksz_common.h void ksz_disable_port(struct dsa_switch *ds, int port);
dsa_switch        376 drivers/net/dsa/mt7530.c mt7530_pad_clk_setup(struct dsa_switch *ds, int mode)
dsa_switch        485 drivers/net/dsa/mt7530.c mt7530_mib_reset(struct dsa_switch *ds)
dsa_switch        504 drivers/net/dsa/mt7530.c static int mt7530_phy_read(struct dsa_switch *ds, int port, int regnum)
dsa_switch        511 drivers/net/dsa/mt7530.c static int mt7530_phy_write(struct dsa_switch *ds, int port, int regnum,
dsa_switch        520 drivers/net/dsa/mt7530.c mt7530_get_strings(struct dsa_switch *ds, int port, u32 stringset,
dsa_switch        534 drivers/net/dsa/mt7530.c mt7530_get_ethtool_stats(struct dsa_switch *ds, int port,
dsa_switch        555 drivers/net/dsa/mt7530.c mt7530_get_sset_count(struct dsa_switch *ds, int port, int sset)
dsa_switch        563 drivers/net/dsa/mt7530.c static void mt7530_setup_port5(struct dsa_switch *ds, phy_interface_t interface)
dsa_switch        659 drivers/net/dsa/mt7530.c mt7530_port_enable(struct dsa_switch *ds, int port,
dsa_switch        685 drivers/net/dsa/mt7530.c mt7530_port_disable(struct dsa_switch *ds, int port)
dsa_switch        706 drivers/net/dsa/mt7530.c mt7530_stp_state_set(struct dsa_switch *ds, int port, u8 state)
dsa_switch        734 drivers/net/dsa/mt7530.c mt7530_port_bridge_join(struct dsa_switch *ds, int port,
dsa_switch        772 drivers/net/dsa/mt7530.c mt7530_port_set_vlan_unaware(struct dsa_switch *ds, int port)
dsa_switch        808 drivers/net/dsa/mt7530.c mt7530_port_set_vlan_aware(struct dsa_switch *ds, int port)
dsa_switch        840 drivers/net/dsa/mt7530.c mt7530_port_bridge_leave(struct dsa_switch *ds, int port,
dsa_switch        878 drivers/net/dsa/mt7530.c mt7530_port_fdb_add(struct dsa_switch *ds, int port,
dsa_switch        894 drivers/net/dsa/mt7530.c mt7530_port_fdb_del(struct dsa_switch *ds, int port,
dsa_switch        910 drivers/net/dsa/mt7530.c mt7530_port_fdb_dump(struct dsa_switch *ds, int port,
dsa_switch        972 drivers/net/dsa/mt7530.c mt7530_port_vlan_filtering(struct dsa_switch *ds, int port,
dsa_switch        991 drivers/net/dsa/mt7530.c mt7530_port_vlan_prepare(struct dsa_switch *ds, int port,
dsa_switch       1087 drivers/net/dsa/mt7530.c mt7530_port_vlan_add(struct dsa_switch *ds, int port,
dsa_switch       1120 drivers/net/dsa/mt7530.c mt7530_port_vlan_del(struct dsa_switch *ds, int port,
dsa_switch       1157 drivers/net/dsa/mt7530.c mtk_get_tag_protocol(struct dsa_switch *ds, int port)
dsa_switch       1171 drivers/net/dsa/mt7530.c mt7530_setup(struct dsa_switch *ds)
dsa_switch       1311 drivers/net/dsa/mt7530.c static void mt7530_phylink_mac_config(struct dsa_switch *ds, int port,
dsa_switch       1392 drivers/net/dsa/mt7530.c static void mt7530_phylink_mac_link_down(struct dsa_switch *ds, int port,
dsa_switch       1401 drivers/net/dsa/mt7530.c static void mt7530_phylink_mac_link_up(struct dsa_switch *ds, int port,
dsa_switch       1411 drivers/net/dsa/mt7530.c static void mt7530_phylink_validate(struct dsa_switch *ds, int port,
dsa_switch       1474 drivers/net/dsa/mt7530.c mt7530_phylink_mac_link_state(struct dsa_switch *ds, int port,
dsa_switch        456 drivers/net/dsa/mt7530.h 	struct dsa_switch	*ds;
dsa_switch         45 drivers/net/dsa/mv88e6060.c static enum dsa_tag_protocol mv88e6060_get_tag_protocol(struct dsa_switch *ds,
dsa_switch        183 drivers/net/dsa/mv88e6060.c static int mv88e6060_setup(struct dsa_switch *ds)
dsa_switch        221 drivers/net/dsa/mv88e6060.c static int mv88e6060_phy_read(struct dsa_switch *ds, int port, int regnum)
dsa_switch        234 drivers/net/dsa/mv88e6060.c mv88e6060_phy_write(struct dsa_switch *ds, int port, int regnum, u16 val)
dsa_switch        257 drivers/net/dsa/mv88e6060.c 	struct dsa_switch *ds;
dsa_switch        288 drivers/net/dsa/mv88e6060.c 	struct dsa_switch *ds = dev_get_drvdata(&mdiodev->dev);
dsa_switch        116 drivers/net/dsa/mv88e6060.h 	struct dsa_switch *ds;
dsa_switch        471 drivers/net/dsa/mv88e6xxx/chip.c static int mv88e6xxx_phy_is_internal(struct dsa_switch *ds, int port)
dsa_switch        557 drivers/net/dsa/mv88e6xxx/chip.c static void mv88e6xxx_validate(struct dsa_switch *ds, int port,
dsa_switch        582 drivers/net/dsa/mv88e6xxx/chip.c static int mv88e6xxx_link_state(struct dsa_switch *ds, int port,
dsa_switch        598 drivers/net/dsa/mv88e6xxx/chip.c static void mv88e6xxx_mac_config(struct dsa_switch *ds, int port,
dsa_switch        632 drivers/net/dsa/mv88e6xxx/chip.c static void mv88e6xxx_mac_link_force(struct dsa_switch *ds, int port, int link)
dsa_switch        645 drivers/net/dsa/mv88e6xxx/chip.c static void mv88e6xxx_mac_link_down(struct dsa_switch *ds, int port,
dsa_switch        653 drivers/net/dsa/mv88e6xxx/chip.c static void mv88e6xxx_mac_link_up(struct dsa_switch *ds, int port,
dsa_switch        828 drivers/net/dsa/mv88e6xxx/chip.c static void mv88e6xxx_get_strings(struct dsa_switch *ds, int port,
dsa_switch        884 drivers/net/dsa/mv88e6xxx/chip.c static int mv88e6xxx_get_sset_count(struct dsa_switch *ds, int port, int sset)
dsa_switch        998 drivers/net/dsa/mv88e6xxx/chip.c static void mv88e6xxx_get_ethtool_stats(struct dsa_switch *ds, int port,
dsa_switch       1016 drivers/net/dsa/mv88e6xxx/chip.c static int mv88e6xxx_get_regs_len(struct dsa_switch *ds, int port)
dsa_switch       1021 drivers/net/dsa/mv88e6xxx/chip.c static void mv88e6xxx_get_regs(struct dsa_switch *ds, int port,
dsa_switch       1046 drivers/net/dsa/mv88e6xxx/chip.c static int mv88e6xxx_get_mac_eee(struct dsa_switch *ds, int port,
dsa_switch       1053 drivers/net/dsa/mv88e6xxx/chip.c static int mv88e6xxx_set_mac_eee(struct dsa_switch *ds, int port,
dsa_switch       1062 drivers/net/dsa/mv88e6xxx/chip.c 	struct dsa_switch *ds = NULL;
dsa_switch       1103 drivers/net/dsa/mv88e6xxx/chip.c static void mv88e6xxx_port_stp_state_set(struct dsa_switch *ds, int port,
dsa_switch       1291 drivers/net/dsa/mv88e6xxx/chip.c static void mv88e6xxx_port_fast_age(struct dsa_switch *ds, int port)
dsa_switch       1373 drivers/net/dsa/mv88e6xxx/chip.c static int mv88e6xxx_port_check_hw_vlan(struct dsa_switch *ds, int port,
dsa_switch       1429 drivers/net/dsa/mv88e6xxx/chip.c static int mv88e6xxx_port_vlan_filtering(struct dsa_switch *ds, int port,
dsa_switch       1448 drivers/net/dsa/mv88e6xxx/chip.c mv88e6xxx_port_vlan_prepare(struct dsa_switch *ds, int port,
dsa_switch       1657 drivers/net/dsa/mv88e6xxx/chip.c static int mv88e6xxx_get_rxnfc(struct dsa_switch *ds, int port,
dsa_switch       1704 drivers/net/dsa/mv88e6xxx/chip.c static int mv88e6xxx_set_rxnfc(struct dsa_switch *ds, int port,
dsa_switch       1814 drivers/net/dsa/mv88e6xxx/chip.c static void mv88e6xxx_port_vlan_add(struct dsa_switch *ds, int port,
dsa_switch       1889 drivers/net/dsa/mv88e6xxx/chip.c static int mv88e6xxx_port_vlan_del(struct dsa_switch *ds, int port,
dsa_switch       1923 drivers/net/dsa/mv88e6xxx/chip.c static int mv88e6xxx_port_fdb_add(struct dsa_switch *ds, int port,
dsa_switch       1937 drivers/net/dsa/mv88e6xxx/chip.c static int mv88e6xxx_port_fdb_del(struct dsa_switch *ds, int port,
dsa_switch       2022 drivers/net/dsa/mv88e6xxx/chip.c static int mv88e6xxx_port_fdb_dump(struct dsa_switch *ds, int port,
dsa_switch       2038 drivers/net/dsa/mv88e6xxx/chip.c 	struct dsa_switch *ds;
dsa_switch       2073 drivers/net/dsa/mv88e6xxx/chip.c static int mv88e6xxx_port_bridge_join(struct dsa_switch *ds, int port,
dsa_switch       2086 drivers/net/dsa/mv88e6xxx/chip.c static void mv88e6xxx_port_bridge_leave(struct dsa_switch *ds, int port,
dsa_switch       2098 drivers/net/dsa/mv88e6xxx/chip.c static int mv88e6xxx_crosschip_bridge_join(struct dsa_switch *ds, int dev,
dsa_switch       2114 drivers/net/dsa/mv88e6xxx/chip.c static void mv88e6xxx_crosschip_bridge_leave(struct dsa_switch *ds, int dev,
dsa_switch       2253 drivers/net/dsa/mv88e6xxx/chip.c 	struct dsa_switch *ds = chip->ds;
dsa_switch       2359 drivers/net/dsa/mv88e6xxx/chip.c 	struct dsa_switch *ds = chip->ds;
dsa_switch       2392 drivers/net/dsa/mv88e6xxx/chip.c 	struct dsa_switch *ds = chip->ds;
dsa_switch       2545 drivers/net/dsa/mv88e6xxx/chip.c static int mv88e6xxx_port_enable(struct dsa_switch *ds, int port,
dsa_switch       2558 drivers/net/dsa/mv88e6xxx/chip.c static void mv88e6xxx_port_disable(struct dsa_switch *ds, int port)
dsa_switch       2568 drivers/net/dsa/mv88e6xxx/chip.c static int mv88e6xxx_set_ageing_time(struct dsa_switch *ds,
dsa_switch       2644 drivers/net/dsa/mv88e6xxx/chip.c static int mv88e6xxx_setup(struct dsa_switch *ds)
dsa_switch       2933 drivers/net/dsa/mv88e6xxx/chip.c static int mv88e6xxx_get_eeprom_len(struct dsa_switch *ds)
dsa_switch       2940 drivers/net/dsa/mv88e6xxx/chip.c static int mv88e6xxx_get_eeprom(struct dsa_switch *ds,
dsa_switch       2961 drivers/net/dsa/mv88e6xxx/chip.c static int mv88e6xxx_set_eeprom(struct dsa_switch *ds,
dsa_switch       4873 drivers/net/dsa/mv88e6xxx/chip.c static enum dsa_tag_protocol mv88e6xxx_get_tag_protocol(struct dsa_switch *ds,
dsa_switch       4881 drivers/net/dsa/mv88e6xxx/chip.c static int mv88e6xxx_port_mdb_prepare(struct dsa_switch *ds, int port,
dsa_switch       4891 drivers/net/dsa/mv88e6xxx/chip.c static void mv88e6xxx_port_mdb_add(struct dsa_switch *ds, int port,
dsa_switch       4904 drivers/net/dsa/mv88e6xxx/chip.c static int mv88e6xxx_port_mdb_del(struct dsa_switch *ds, int port,
dsa_switch       4917 drivers/net/dsa/mv88e6xxx/chip.c static int mv88e6xxx_port_egress_floods(struct dsa_switch *ds, int port,
dsa_switch       4983 drivers/net/dsa/mv88e6xxx/chip.c 	struct dsa_switch *ds;
dsa_switch       5180 drivers/net/dsa/mv88e6xxx/chip.c 	struct dsa_switch *ds = dev_get_drvdata(&mdiodev->dev);
dsa_switch        237 drivers/net/dsa/mv88e6xxx/chip.h 	struct dsa_switch *ds;
dsa_switch         66 drivers/net/dsa/mv88e6xxx/hwtstamp.c int mv88e6xxx_get_ts_info(struct dsa_switch *ds, int port,
dsa_switch        175 drivers/net/dsa/mv88e6xxx/hwtstamp.c int mv88e6xxx_port_hwtstamp_set(struct dsa_switch *ds, int port,
dsa_switch        200 drivers/net/dsa/mv88e6xxx/hwtstamp.c int mv88e6xxx_port_hwtstamp_get(struct dsa_switch *ds, int port,
dsa_switch        365 drivers/net/dsa/mv88e6xxx/hwtstamp.c bool mv88e6xxx_port_rxtstamp(struct dsa_switch *ds, int port,
dsa_switch        483 drivers/net/dsa/mv88e6xxx/hwtstamp.c 	struct dsa_switch *ds = chip->ds;
dsa_switch        501 drivers/net/dsa/mv88e6xxx/hwtstamp.c bool mv88e6xxx_port_txtstamp(struct dsa_switch *ds, int port,
dsa_switch        113 drivers/net/dsa/mv88e6xxx/hwtstamp.h int mv88e6xxx_port_hwtstamp_set(struct dsa_switch *ds, int port,
dsa_switch        115 drivers/net/dsa/mv88e6xxx/hwtstamp.h int mv88e6xxx_port_hwtstamp_get(struct dsa_switch *ds, int port,
dsa_switch        118 drivers/net/dsa/mv88e6xxx/hwtstamp.h bool mv88e6xxx_port_rxtstamp(struct dsa_switch *ds, int port,
dsa_switch        120 drivers/net/dsa/mv88e6xxx/hwtstamp.h bool mv88e6xxx_port_txtstamp(struct dsa_switch *ds, int port,
dsa_switch        123 drivers/net/dsa/mv88e6xxx/hwtstamp.h int mv88e6xxx_get_ts_info(struct dsa_switch *ds, int port,
dsa_switch        135 drivers/net/dsa/mv88e6xxx/hwtstamp.h static inline int mv88e6xxx_port_hwtstamp_set(struct dsa_switch *ds,
dsa_switch        141 drivers/net/dsa/mv88e6xxx/hwtstamp.h static inline int mv88e6xxx_port_hwtstamp_get(struct dsa_switch *ds,
dsa_switch        147 drivers/net/dsa/mv88e6xxx/hwtstamp.h static inline bool mv88e6xxx_port_rxtstamp(struct dsa_switch *ds, int port,
dsa_switch        154 drivers/net/dsa/mv88e6xxx/hwtstamp.h static inline bool mv88e6xxx_port_txtstamp(struct dsa_switch *ds, int port,
dsa_switch        161 drivers/net/dsa/mv88e6xxx/hwtstamp.h static inline int mv88e6xxx_get_ts_info(struct dsa_switch *ds, int port,
dsa_switch        183 drivers/net/dsa/mv88e6xxx/serdes.c 	struct dsa_switch *ds = chip->ds;
dsa_switch        430 drivers/net/dsa/mv88e6xxx/serdes.c 	struct dsa_switch *ds = chip->ds;
dsa_switch        552 drivers/net/dsa/qca8k.c qca8k_phy_write(struct dsa_switch *ds, int port, int regnum, u16 data)
dsa_switch        560 drivers/net/dsa/qca8k.c qca8k_phy_read(struct dsa_switch *ds, int port, int regnum)
dsa_switch        639 drivers/net/dsa/qca8k.c qca8k_setup(struct dsa_switch *ds)
dsa_switch        745 drivers/net/dsa/qca8k.c qca8k_adjust_link(struct dsa_switch *ds, int port, struct phy_device *phy)
dsa_switch        786 drivers/net/dsa/qca8k.c qca8k_get_strings(struct dsa_switch *ds, int port, u32 stringset, uint8_t *data)
dsa_switch        799 drivers/net/dsa/qca8k.c qca8k_get_ethtool_stats(struct dsa_switch *ds, int port,
dsa_switch        820 drivers/net/dsa/qca8k.c qca8k_get_sset_count(struct dsa_switch *ds, int port, int sset)
dsa_switch        829 drivers/net/dsa/qca8k.c qca8k_set_mac_eee(struct dsa_switch *ds, int port, struct ethtool_eee *eee)
dsa_switch        848 drivers/net/dsa/qca8k.c qca8k_get_mac_eee(struct dsa_switch *ds, int port, struct ethtool_eee *e)
dsa_switch        855 drivers/net/dsa/qca8k.c qca8k_port_stp_state_set(struct dsa_switch *ds, int port, u8 state)
dsa_switch        884 drivers/net/dsa/qca8k.c qca8k_port_bridge_join(struct dsa_switch *ds, int port, struct net_device *br)
dsa_switch        910 drivers/net/dsa/qca8k.c qca8k_port_bridge_leave(struct dsa_switch *ds, int port, struct net_device *br)
dsa_switch        934 drivers/net/dsa/qca8k.c qca8k_port_enable(struct dsa_switch *ds, int port,
dsa_switch        951 drivers/net/dsa/qca8k.c qca8k_port_disable(struct dsa_switch *ds, int port)
dsa_switch        972 drivers/net/dsa/qca8k.c qca8k_port_fdb_add(struct dsa_switch *ds, int port,
dsa_switch        982 drivers/net/dsa/qca8k.c qca8k_port_fdb_del(struct dsa_switch *ds, int port,
dsa_switch        995 drivers/net/dsa/qca8k.c qca8k_port_fdb_dump(struct dsa_switch *ds, int port,
dsa_switch       1019 drivers/net/dsa/qca8k.c qca8k_get_tag_protocol(struct dsa_switch *ds, int port)
dsa_switch        174 drivers/net/dsa/qca8k.h 	struct dsa_switch *ds;
dsa_switch         55 drivers/net/dsa/realtek-smi-core.h 	struct dsa_switch	*ds;
dsa_switch        129 drivers/net/dsa/realtek-smi-core.h int rtl8366_vlan_filtering(struct dsa_switch *ds, int port,
dsa_switch        131 drivers/net/dsa/realtek-smi-core.h int rtl8366_vlan_prepare(struct dsa_switch *ds, int port,
dsa_switch        133 drivers/net/dsa/realtek-smi-core.h void rtl8366_vlan_add(struct dsa_switch *ds, int port,
dsa_switch        135 drivers/net/dsa/realtek-smi-core.h int rtl8366_vlan_del(struct dsa_switch *ds, int port,
dsa_switch        137 drivers/net/dsa/realtek-smi-core.h void rtl8366_get_strings(struct dsa_switch *ds, int port, u32 stringset,
dsa_switch        139 drivers/net/dsa/realtek-smi-core.h int rtl8366_get_sset_count(struct dsa_switch *ds, int port, int sset);
dsa_switch        140 drivers/net/dsa/realtek-smi-core.h void rtl8366_get_ethtool_stats(struct dsa_switch *ds, int port, uint64_t *data);
dsa_switch        304 drivers/net/dsa/rtl8366.c int rtl8366_vlan_filtering(struct dsa_switch *ds, int port, bool vlan_filtering)
dsa_switch        338 drivers/net/dsa/rtl8366.c int rtl8366_vlan_prepare(struct dsa_switch *ds, int port,
dsa_switch        364 drivers/net/dsa/rtl8366.c void rtl8366_vlan_add(struct dsa_switch *ds, int port,
dsa_switch        420 drivers/net/dsa/rtl8366.c int rtl8366_vlan_del(struct dsa_switch *ds, int port,
dsa_switch        465 drivers/net/dsa/rtl8366.c void rtl8366_get_strings(struct dsa_switch *ds, int port, u32 stringset,
dsa_switch        483 drivers/net/dsa/rtl8366.c int rtl8366_get_sset_count(struct dsa_switch *ds, int port, int sset)
dsa_switch        497 drivers/net/dsa/rtl8366.c void rtl8366_get_ethtool_stats(struct dsa_switch *ds, int port, uint64_t *data)
dsa_switch        711 drivers/net/dsa/rtl8366rb.c static int rtl8366rb_setup(struct dsa_switch *ds)
dsa_switch        966 drivers/net/dsa/rtl8366rb.c static enum dsa_tag_protocol rtl8366_get_tag_protocol(struct dsa_switch *ds,
dsa_switch        986 drivers/net/dsa/rtl8366rb.c static void rtl8366rb_adjust_link(struct dsa_switch *ds, int port,
dsa_switch       1063 drivers/net/dsa/rtl8366rb.c rtl8366rb_port_enable(struct dsa_switch *ds, int port,
dsa_switch       1080 drivers/net/dsa/rtl8366rb.c rtl8366rb_port_disable(struct dsa_switch *ds, int port)
dsa_switch         78 drivers/net/dsa/sja1105/sja1105.h 	int (*fdb_add_cmd)(struct dsa_switch *ds, int port,
dsa_switch         80 drivers/net/dsa/sja1105/sja1105.h 	int (*fdb_del_cmd)(struct dsa_switch *ds, int port,
dsa_switch         92 drivers/net/dsa/sja1105/sja1105.h 	struct dsa_switch *ds;
dsa_switch        175 drivers/net/dsa/sja1105/sja1105.h void sja1105_get_ethtool_stats(struct dsa_switch *ds, int port, u64 *data);
dsa_switch        176 drivers/net/dsa/sja1105/sja1105.h void sja1105_get_strings(struct dsa_switch *ds, int port,
dsa_switch        178 drivers/net/dsa/sja1105/sja1105.h int sja1105_get_sset_count(struct dsa_switch *ds, int port, int sset);
dsa_switch        194 drivers/net/dsa/sja1105/sja1105.h int sja1105et_fdb_add(struct dsa_switch *ds, int port,
dsa_switch        196 drivers/net/dsa/sja1105/sja1105.h int sja1105et_fdb_del(struct dsa_switch *ds, int port,
dsa_switch        198 drivers/net/dsa/sja1105/sja1105.h int sja1105pqrs_fdb_add(struct dsa_switch *ds, int port,
dsa_switch        200 drivers/net/dsa/sja1105/sja1105.h int sja1105pqrs_fdb_del(struct dsa_switch *ds, int port,
dsa_switch        313 drivers/net/dsa/sja1105/sja1105_ethtool.c void sja1105_get_ethtool_stats(struct dsa_switch *ds, int port, u64 *data)
dsa_switch        381 drivers/net/dsa/sja1105/sja1105_ethtool.c void sja1105_get_strings(struct dsa_switch *ds, int port,
dsa_switch        406 drivers/net/dsa/sja1105/sja1105_ethtool.c int sja1105_get_sset_count(struct dsa_switch *ds, int port, int sset)
dsa_switch        806 drivers/net/dsa/sja1105/sja1105_main.c static void sja1105_mac_config(struct dsa_switch *ds, int port,
dsa_switch        823 drivers/net/dsa/sja1105/sja1105_main.c static void sja1105_mac_link_down(struct dsa_switch *ds, int port,
dsa_switch        830 drivers/net/dsa/sja1105/sja1105_main.c static void sja1105_mac_link_up(struct dsa_switch *ds, int port,
dsa_switch        838 drivers/net/dsa/sja1105/sja1105_main.c static void sja1105_phylink_validate(struct dsa_switch *ds, int port,
dsa_switch        991 drivers/net/dsa/sja1105/sja1105_main.c int sja1105et_fdb_add(struct dsa_switch *ds, int port,
dsa_switch       1051 drivers/net/dsa/sja1105/sja1105_main.c int sja1105et_fdb_del(struct dsa_switch *ds, int port,
dsa_switch       1086 drivers/net/dsa/sja1105/sja1105_main.c int sja1105pqrs_fdb_add(struct dsa_switch *ds, int port,
dsa_switch       1149 drivers/net/dsa/sja1105/sja1105_main.c int sja1105pqrs_fdb_del(struct dsa_switch *ds, int port,
dsa_switch       1193 drivers/net/dsa/sja1105/sja1105_main.c static int sja1105_fdb_add(struct dsa_switch *ds, int port,
dsa_switch       1213 drivers/net/dsa/sja1105/sja1105_main.c static int sja1105_fdb_del(struct dsa_switch *ds, int port,
dsa_switch       1224 drivers/net/dsa/sja1105/sja1105_main.c static int sja1105_fdb_dump(struct dsa_switch *ds, int port,
dsa_switch       1265 drivers/net/dsa/sja1105/sja1105_main.c static int sja1105_mdb_prepare(struct dsa_switch *ds, int port,
dsa_switch       1271 drivers/net/dsa/sja1105/sja1105_main.c static void sja1105_mdb_add(struct dsa_switch *ds, int port,
dsa_switch       1277 drivers/net/dsa/sja1105/sja1105_main.c static int sja1105_mdb_del(struct dsa_switch *ds, int port,
dsa_switch       1283 drivers/net/dsa/sja1105/sja1105_main.c static int sja1105_bridge_member(struct dsa_switch *ds, int port,
dsa_switch       1324 drivers/net/dsa/sja1105/sja1105_main.c static void sja1105_bridge_stp_state_set(struct dsa_switch *ds, int port,
dsa_switch       1368 drivers/net/dsa/sja1105/sja1105_main.c static int sja1105_bridge_join(struct dsa_switch *ds, int port,
dsa_switch       1374 drivers/net/dsa/sja1105/sja1105_main.c static void sja1105_bridge_leave(struct dsa_switch *ds, int port,
dsa_switch       1518 drivers/net/dsa/sja1105/sja1105_main.c static int sja1105_setup_8021q_tagging(struct dsa_switch *ds, bool enabled)
dsa_switch       1536 drivers/net/dsa/sja1105/sja1105_main.c sja1105_get_tag_protocol(struct dsa_switch *ds, int port)
dsa_switch       1542 drivers/net/dsa/sja1105/sja1105_main.c static int sja1105_vlan_prepare(struct dsa_switch *ds, int port,
dsa_switch       1552 drivers/net/dsa/sja1105/sja1105_main.c static int sja1105_vlan_filtering(struct dsa_switch *ds, int port, bool enabled)
dsa_switch       1616 drivers/net/dsa/sja1105/sja1105_main.c static void sja1105_vlan_add(struct dsa_switch *ds, int port,
dsa_switch       1642 drivers/net/dsa/sja1105/sja1105_main.c static int sja1105_vlan_del(struct dsa_switch *ds, int port,
dsa_switch       1673 drivers/net/dsa/sja1105/sja1105_main.c static int sja1105_setup(struct dsa_switch *ds)
dsa_switch       1731 drivers/net/dsa/sja1105/sja1105_main.c static void sja1105_teardown(struct dsa_switch *ds)
dsa_switch       1742 drivers/net/dsa/sja1105/sja1105_main.c static int sja1105_port_enable(struct dsa_switch *ds, int port,
dsa_switch       1757 drivers/net/dsa/sja1105/sja1105_main.c static int sja1105_mgmt_xmit(struct dsa_switch *ds, int port, int slot,
dsa_switch       1819 drivers/net/dsa/sja1105/sja1105_main.c static netdev_tx_t sja1105_port_deferred_xmit(struct dsa_switch *ds, int port,
dsa_switch       1883 drivers/net/dsa/sja1105/sja1105_main.c static int sja1105_set_ageing_time(struct dsa_switch *ds,
dsa_switch       1932 drivers/net/dsa/sja1105/sja1105_main.c static int sja1105_hwtstamp_set(struct dsa_switch *ds, int port,
dsa_switch       1981 drivers/net/dsa/sja1105/sja1105_main.c static int sja1105_hwtstamp_get(struct dsa_switch *ds, int port,
dsa_switch       2035 drivers/net/dsa/sja1105/sja1105_main.c static bool sja1105_port_rxtstamp(struct dsa_switch *ds, int port,
dsa_switch       2056 drivers/net/dsa/sja1105/sja1105_main.c static bool sja1105_port_txtstamp(struct dsa_switch *ds, int port,
dsa_switch       2068 drivers/net/dsa/sja1105/sja1105_main.c static int sja1105_port_setup_tc(struct dsa_switch *ds, int port,
dsa_switch       2156 drivers/net/dsa/sja1105/sja1105_main.c 	struct dsa_switch *ds;
dsa_switch         61 drivers/net/dsa/sja1105/sja1105_ptp.c int sja1105_get_ts_info(struct dsa_switch *ds, int port,
dsa_switch        221 drivers/net/dsa/sja1105/sja1105_ptp.c 	struct dsa_switch *ds = priv->ds;
dsa_switch        362 drivers/net/dsa/sja1105/sja1105_ptp.c 	struct dsa_switch *ds = priv->ds;
dsa_switch         19 drivers/net/dsa/sja1105/sja1105_ptp.h int sja1105_get_ts_info(struct dsa_switch *ds, int port,
dsa_switch        334 drivers/net/dsa/sja1105/sja1105_tas.c int sja1105_setup_tc_taprio(struct dsa_switch *ds, int port,
dsa_switch        406 drivers/net/dsa/sja1105/sja1105_tas.c void sja1105_tas_setup(struct dsa_switch *ds)
dsa_switch        410 drivers/net/dsa/sja1105/sja1105_tas.c void sja1105_tas_teardown(struct dsa_switch *ds)
dsa_switch         15 drivers/net/dsa/sja1105/sja1105_tas.h int sja1105_setup_tc_taprio(struct dsa_switch *ds, int port,
dsa_switch         18 drivers/net/dsa/sja1105/sja1105_tas.h void sja1105_tas_setup(struct dsa_switch *ds);
dsa_switch         20 drivers/net/dsa/sja1105/sja1105_tas.h void sja1105_tas_teardown(struct dsa_switch *ds);
dsa_switch         29 drivers/net/dsa/sja1105/sja1105_tas.h static inline int sja1105_setup_tc_taprio(struct dsa_switch *ds, int port,
dsa_switch         35 drivers/net/dsa/sja1105/sja1105_tas.h static inline void sja1105_tas_setup(struct dsa_switch *ds) { }
dsa_switch         37 drivers/net/dsa/sja1105/sja1105_tas.h static inline void sja1105_tas_teardown(struct dsa_switch *ds) { }
dsa_switch        487 drivers/net/dsa/vitesse-vsc73xx-core.c static int vsc73xx_phy_read(struct dsa_switch *ds, int phy, int regnum)
dsa_switch        516 drivers/net/dsa/vitesse-vsc73xx-core.c static int vsc73xx_phy_write(struct dsa_switch *ds, int phy, int regnum,
dsa_switch        544 drivers/net/dsa/vitesse-vsc73xx-core.c static enum dsa_tag_protocol vsc73xx_get_tag_protocol(struct dsa_switch *ds,
dsa_switch        559 drivers/net/dsa/vitesse-vsc73xx-core.c static int vsc73xx_setup(struct dsa_switch *ds)
dsa_switch        766 drivers/net/dsa/vitesse-vsc73xx-core.c static void vsc73xx_adjust_link(struct dsa_switch *ds, int port,
dsa_switch        887 drivers/net/dsa/vitesse-vsc73xx-core.c static int vsc73xx_port_enable(struct dsa_switch *ds, int port,
dsa_switch        898 drivers/net/dsa/vitesse-vsc73xx-core.c static void vsc73xx_port_disable(struct dsa_switch *ds, int port)
dsa_switch        935 drivers/net/dsa/vitesse-vsc73xx-core.c static void vsc73xx_get_strings(struct dsa_switch *ds, int port, u32 stringset,
dsa_switch        994 drivers/net/dsa/vitesse-vsc73xx-core.c static int vsc73xx_get_sset_count(struct dsa_switch *ds, int port, int sset)
dsa_switch       1003 drivers/net/dsa/vitesse-vsc73xx-core.c static void vsc73xx_get_ethtool_stats(struct dsa_switch *ds, int port,
dsa_switch         12 drivers/net/dsa/vitesse-vsc73xx.h 	struct dsa_switch		*ds;
dsa_switch         10 include/linux/dsa/8021q.h struct dsa_switch;
dsa_switch         17 include/linux/dsa/8021q.h int dsa_port_setup_8021q_tagging(struct dsa_switch *ds, int index,
dsa_switch         23 include/linux/dsa/8021q.h u16 dsa_8021q_tx_vid(struct dsa_switch *ds, int port);
dsa_switch         25 include/linux/dsa/8021q.h u16 dsa_8021q_rx_vid(struct dsa_switch *ds, int port);
dsa_switch         33 include/linux/dsa/8021q.h int dsa_port_setup_8021q_tagging(struct dsa_switch *ds, int index,
dsa_switch         45 include/linux/dsa/8021q.h u16 dsa_8021q_tx_vid(struct dsa_switch *ds, int port)
dsa_switch         50 include/linux/dsa/8021q.h u16 dsa_8021q_rx_vid(struct dsa_switch *ds, int port)
dsa_switch         27 include/linux/dsa/lan9303.h 	struct dsa_switch *ds;
dsa_switch         65 include/net/dsa.h struct dsa_switch;
dsa_switch        133 include/net/dsa.h 	struct dsa_switch	*ds[DSA_MAX_SWITCHES];
dsa_switch        183 include/net/dsa.h 	struct dsa_switch	*ds;
dsa_switch        283 include/net/dsa.h static inline const struct dsa_port *dsa_to_port(struct dsa_switch *ds, int p)
dsa_switch        288 include/net/dsa.h static inline bool dsa_is_unused_port(struct dsa_switch *ds, int p)
dsa_switch        293 include/net/dsa.h static inline bool dsa_is_cpu_port(struct dsa_switch *ds, int p)
dsa_switch        298 include/net/dsa.h static inline bool dsa_is_dsa_port(struct dsa_switch *ds, int p)
dsa_switch        303 include/net/dsa.h static inline bool dsa_is_user_port(struct dsa_switch *ds, int p)
dsa_switch        308 include/net/dsa.h static inline u32 dsa_user_ports(struct dsa_switch *ds)
dsa_switch        321 include/net/dsa.h static inline unsigned int dsa_towards_port(struct dsa_switch *ds, int device,
dsa_switch        331 include/net/dsa.h static inline unsigned int dsa_upstream_port(struct dsa_switch *ds, int port)
dsa_switch        344 include/net/dsa.h 	const struct dsa_switch *ds = dp->ds;
dsa_switch        355 include/net/dsa.h 	enum dsa_tag_protocol (*get_tag_protocol)(struct dsa_switch *ds,
dsa_switch        358 include/net/dsa.h 	int	(*setup)(struct dsa_switch *ds);
dsa_switch        359 include/net/dsa.h 	void	(*teardown)(struct dsa_switch *ds);
dsa_switch        360 include/net/dsa.h 	u32	(*get_phy_flags)(struct dsa_switch *ds, int port);
dsa_switch        365 include/net/dsa.h 	int	(*phy_read)(struct dsa_switch *ds, int port, int regnum);
dsa_switch        366 include/net/dsa.h 	int	(*phy_write)(struct dsa_switch *ds, int port,
dsa_switch        372 include/net/dsa.h 	void	(*adjust_link)(struct dsa_switch *ds, int port,
dsa_switch        374 include/net/dsa.h 	void	(*fixed_link_update)(struct dsa_switch *ds, int port,
dsa_switch        380 include/net/dsa.h 	void	(*phylink_validate)(struct dsa_switch *ds, int port,
dsa_switch        383 include/net/dsa.h 	int	(*phylink_mac_link_state)(struct dsa_switch *ds, int port,
dsa_switch        385 include/net/dsa.h 	void	(*phylink_mac_config)(struct dsa_switch *ds, int port,
dsa_switch        388 include/net/dsa.h 	void	(*phylink_mac_an_restart)(struct dsa_switch *ds, int port);
dsa_switch        389 include/net/dsa.h 	void	(*phylink_mac_link_down)(struct dsa_switch *ds, int port,
dsa_switch        392 include/net/dsa.h 	void	(*phylink_mac_link_up)(struct dsa_switch *ds, int port,
dsa_switch        396 include/net/dsa.h 	void	(*phylink_fixed_state)(struct dsa_switch *ds, int port,
dsa_switch        401 include/net/dsa.h 	void	(*get_strings)(struct dsa_switch *ds, int port,
dsa_switch        403 include/net/dsa.h 	void	(*get_ethtool_stats)(struct dsa_switch *ds,
dsa_switch        405 include/net/dsa.h 	int	(*get_sset_count)(struct dsa_switch *ds, int port, int sset);
dsa_switch        406 include/net/dsa.h 	void	(*get_ethtool_phy_stats)(struct dsa_switch *ds,
dsa_switch        412 include/net/dsa.h 	void	(*get_wol)(struct dsa_switch *ds, int port,
dsa_switch        414 include/net/dsa.h 	int	(*set_wol)(struct dsa_switch *ds, int port,
dsa_switch        420 include/net/dsa.h 	int	(*get_ts_info)(struct dsa_switch *ds, int port,
dsa_switch        426 include/net/dsa.h 	int	(*suspend)(struct dsa_switch *ds);
dsa_switch        427 include/net/dsa.h 	int	(*resume)(struct dsa_switch *ds);
dsa_switch        432 include/net/dsa.h 	int	(*port_enable)(struct dsa_switch *ds, int port,
dsa_switch        434 include/net/dsa.h 	void	(*port_disable)(struct dsa_switch *ds, int port);
dsa_switch        439 include/net/dsa.h 	int	(*set_mac_eee)(struct dsa_switch *ds, int port,
dsa_switch        441 include/net/dsa.h 	int	(*get_mac_eee)(struct dsa_switch *ds, int port,
dsa_switch        445 include/net/dsa.h 	int	(*get_eeprom_len)(struct dsa_switch *ds);
dsa_switch        446 include/net/dsa.h 	int	(*get_eeprom)(struct dsa_switch *ds,
dsa_switch        448 include/net/dsa.h 	int	(*set_eeprom)(struct dsa_switch *ds,
dsa_switch        454 include/net/dsa.h 	int	(*get_regs_len)(struct dsa_switch *ds, int port);
dsa_switch        455 include/net/dsa.h 	void	(*get_regs)(struct dsa_switch *ds, int port,
dsa_switch        461 include/net/dsa.h 	int	(*set_ageing_time)(struct dsa_switch *ds, unsigned int msecs);
dsa_switch        462 include/net/dsa.h 	int	(*port_bridge_join)(struct dsa_switch *ds, int port,
dsa_switch        464 include/net/dsa.h 	void	(*port_bridge_leave)(struct dsa_switch *ds, int port,
dsa_switch        466 include/net/dsa.h 	void	(*port_stp_state_set)(struct dsa_switch *ds, int port,
dsa_switch        468 include/net/dsa.h 	void	(*port_fast_age)(struct dsa_switch *ds, int port);
dsa_switch        469 include/net/dsa.h 	int	(*port_egress_floods)(struct dsa_switch *ds, int port,
dsa_switch        475 include/net/dsa.h 	int	(*port_vlan_filtering)(struct dsa_switch *ds, int port,
dsa_switch        477 include/net/dsa.h 	int (*port_vlan_prepare)(struct dsa_switch *ds, int port,
dsa_switch        479 include/net/dsa.h 	void (*port_vlan_add)(struct dsa_switch *ds, int port,
dsa_switch        481 include/net/dsa.h 	int	(*port_vlan_del)(struct dsa_switch *ds, int port,
dsa_switch        486 include/net/dsa.h 	int	(*port_fdb_add)(struct dsa_switch *ds, int port,
dsa_switch        488 include/net/dsa.h 	int	(*port_fdb_del)(struct dsa_switch *ds, int port,
dsa_switch        490 include/net/dsa.h 	int	(*port_fdb_dump)(struct dsa_switch *ds, int port,
dsa_switch        496 include/net/dsa.h 	int (*port_mdb_prepare)(struct dsa_switch *ds, int port,
dsa_switch        498 include/net/dsa.h 	void (*port_mdb_add)(struct dsa_switch *ds, int port,
dsa_switch        500 include/net/dsa.h 	int	(*port_mdb_del)(struct dsa_switch *ds, int port,
dsa_switch        505 include/net/dsa.h 	int	(*get_rxnfc)(struct dsa_switch *ds, int port,
dsa_switch        507 include/net/dsa.h 	int	(*set_rxnfc)(struct dsa_switch *ds, int port,
dsa_switch        513 include/net/dsa.h 	int	(*port_mirror_add)(struct dsa_switch *ds, int port,
dsa_switch        516 include/net/dsa.h 	void	(*port_mirror_del)(struct dsa_switch *ds, int port,
dsa_switch        518 include/net/dsa.h 	int	(*port_setup_tc)(struct dsa_switch *ds, int port,
dsa_switch        524 include/net/dsa.h 	int	(*crosschip_bridge_join)(struct dsa_switch *ds, int sw_index,
dsa_switch        526 include/net/dsa.h 	void	(*crosschip_bridge_leave)(struct dsa_switch *ds, int sw_index,
dsa_switch        532 include/net/dsa.h 	int	(*port_hwtstamp_get)(struct dsa_switch *ds, int port,
dsa_switch        534 include/net/dsa.h 	int	(*port_hwtstamp_set)(struct dsa_switch *ds, int port,
dsa_switch        536 include/net/dsa.h 	bool	(*port_txtstamp)(struct dsa_switch *ds, int port,
dsa_switch        538 include/net/dsa.h 	bool	(*port_rxtstamp)(struct dsa_switch *ds, int port,
dsa_switch        544 include/net/dsa.h 	netdev_tx_t (*port_deferred_xmit)(struct dsa_switch *ds, int port,
dsa_switch        573 include/net/dsa.h struct dsa_switch *dsa_switch_alloc(struct device *dev, size_t n);
dsa_switch        574 include/net/dsa.h void dsa_unregister_switch(struct dsa_switch *ds);
dsa_switch        575 include/net/dsa.h int dsa_register_switch(struct dsa_switch *ds);
dsa_switch        577 include/net/dsa.h int dsa_switch_suspend(struct dsa_switch *ds);
dsa_switch        578 include/net/dsa.h int dsa_switch_resume(struct dsa_switch *ds);
dsa_switch        580 include/net/dsa.h static inline int dsa_switch_suspend(struct dsa_switch *ds)
dsa_switch        584 include/net/dsa.h static inline int dsa_switch_resume(struct dsa_switch *ds)
dsa_switch        645 include/net/dsa.h void dsa_port_phylink_mac_change(struct dsa_switch *ds, int port, bool up);
dsa_switch        182 net/dsa/dsa.c  	struct dsa_switch *ds = p->dp->ds;
dsa_switch        247 net/dsa/dsa.c  static bool dsa_is_port_initialized(struct dsa_switch *ds, int p)
dsa_switch        252 net/dsa/dsa.c  int dsa_switch_suspend(struct dsa_switch *ds)
dsa_switch        273 net/dsa/dsa.c  int dsa_switch_resume(struct dsa_switch *ds)
dsa_switch        114 net/dsa/dsa2.c 	struct dsa_switch *ds;
dsa_switch        136 net/dsa/dsa2.c 	struct dsa_switch *ds = dp->ds;
dsa_switch        156 net/dsa/dsa2.c static bool dsa_switch_setup_routing_table(struct dsa_switch *ds)
dsa_switch        180 net/dsa/dsa2.c 	struct dsa_switch *ds;
dsa_switch        199 net/dsa/dsa2.c 	struct dsa_switch *ds;
dsa_switch        221 net/dsa/dsa2.c 	struct dsa_switch *ds;
dsa_switch        257 net/dsa/dsa2.c 	struct dsa_switch *ds = dp->ds;
dsa_switch        368 net/dsa/dsa2.c static int dsa_switch_setup(struct dsa_switch *ds)
dsa_switch        425 net/dsa/dsa2.c static void dsa_switch_teardown(struct dsa_switch *ds)
dsa_switch        445 net/dsa/dsa2.c 	struct dsa_switch *ds;
dsa_switch        490 net/dsa/dsa2.c 	struct dsa_switch *ds;
dsa_switch        593 net/dsa/dsa2.c 			       struct dsa_switch *ds)
dsa_switch        633 net/dsa/dsa2.c 	struct dsa_switch *ds = dp->ds;
dsa_switch        681 net/dsa/dsa2.c static int dsa_switch_parse_ports_of(struct dsa_switch *ds,
dsa_switch        717 net/dsa/dsa2.c static int dsa_switch_parse_member_of(struct dsa_switch *ds,
dsa_switch        739 net/dsa/dsa2.c static int dsa_switch_parse_of(struct dsa_switch *ds, struct device_node *dn)
dsa_switch        771 net/dsa/dsa2.c static int dsa_switch_parse_ports(struct dsa_switch *ds,
dsa_switch        802 net/dsa/dsa2.c static int dsa_switch_parse(struct dsa_switch *ds, struct dsa_chip_data *cd)
dsa_switch        817 net/dsa/dsa2.c static int dsa_switch_add(struct dsa_switch *ds)
dsa_switch        824 net/dsa/dsa2.c static int dsa_switch_probe(struct dsa_switch *ds)
dsa_switch        843 net/dsa/dsa2.c struct dsa_switch *dsa_switch_alloc(struct device *dev, size_t n)
dsa_switch        845 net/dsa/dsa2.c 	struct dsa_switch *ds;
dsa_switch        864 net/dsa/dsa2.c int dsa_register_switch(struct dsa_switch *ds)
dsa_switch        877 net/dsa/dsa2.c static void dsa_switch_remove(struct dsa_switch *ds)
dsa_switch        885 net/dsa/dsa2.c void dsa_unregister_switch(struct dsa_switch *ds)
dsa_switch        107 net/dsa/dsa_priv.h 	struct dsa_switch *ds;
dsa_switch        186 net/dsa/dsa_priv.h void dsa_slave_mii_bus_init(struct dsa_switch *ds);
dsa_switch        212 net/dsa/dsa_priv.h int dsa_switch_register_notifier(struct dsa_switch *ds);
dsa_switch        213 net/dsa/dsa_priv.h void dsa_switch_unregister_notifier(struct dsa_switch *ds);
dsa_switch         15 net/dsa/master.c 	struct dsa_switch *ds = cpu_dp->ds;
dsa_switch         45 net/dsa/master.c 	struct dsa_switch *ds = cpu_dp->ds;
dsa_switch         81 net/dsa/master.c 	struct dsa_switch *ds = cpu_dp->ds;
dsa_switch        100 net/dsa/master.c 	struct dsa_switch *ds = cpu_dp->ds;
dsa_switch        124 net/dsa/master.c 	struct dsa_switch *ds = cpu_dp->ds;
dsa_switch        147 net/dsa/master.c 	struct dsa_switch *ds = cpu_dp->ds;
dsa_switch        203 net/dsa/master.c 	struct dsa_switch *ds = cpu_dp->ds;
dsa_switch        237 net/dsa/master.c 	struct dsa_switch *ds = cpu_dp->ds;
dsa_switch         29 net/dsa/port.c 	struct dsa_switch *ds = dp->ds;
dsa_switch         68 net/dsa/port.c 	struct dsa_switch *ds = dp->ds;
dsa_switch        100 net/dsa/port.c 	struct dsa_switch *ds = dp->ds;
dsa_switch        180 net/dsa/port.c 	struct dsa_switch *ds = dp->ds;
dsa_switch        213 net/dsa/port.c 	struct dsa_switch *ds = dp->ds;
dsa_switch        262 net/dsa/port.c 	struct dsa_switch *ds = dp->ds;
dsa_switch        274 net/dsa/port.c 	struct dsa_switch *ds = dp->ds;
dsa_switch        291 net/dsa/port.c 	struct dsa_switch *ds = dp->ds;
dsa_switch        329 net/dsa/port.c 	struct dsa_switch *ds = dp->ds;
dsa_switch        447 net/dsa/port.c 	struct dsa_switch *ds = dp->ds;
dsa_switch        460 net/dsa/port.c 	struct dsa_switch *ds = dp->ds;
dsa_switch        475 net/dsa/port.c 	struct dsa_switch *ds = dp->ds;
dsa_switch        487 net/dsa/port.c 	struct dsa_switch *ds = dp->ds;
dsa_switch        502 net/dsa/port.c 	struct dsa_switch *ds = dp->ds;
dsa_switch        523 net/dsa/port.c 	struct dsa_switch *ds = dp->ds;
dsa_switch        546 net/dsa/port.c 	struct dsa_switch *ds = dp->ds;
dsa_switch        585 net/dsa/port.c 	struct dsa_switch *ds = dp->ds;
dsa_switch        618 net/dsa/port.c 	struct dsa_switch *ds = dp->ds;
dsa_switch        651 net/dsa/port.c 	struct dsa_switch *ds = dp->ds;
dsa_switch        672 net/dsa/port.c 	struct dsa_switch *ds = dp->ds;
dsa_switch         30 net/dsa/slave.c 	struct dsa_switch *ds = bus->priv;
dsa_switch         40 net/dsa/slave.c 	struct dsa_switch *ds = bus->priv;
dsa_switch         48 net/dsa/slave.c void dsa_slave_mii_bus_init(struct dsa_switch *ds)
dsa_switch        257 net/dsa/slave.c 	struct dsa_switch *ds = p->dp->ds;
dsa_switch        431 net/dsa/slave.c 	struct dsa_switch *ds = dp->ds;
dsa_switch        464 net/dsa/slave.c 	struct dsa_switch *ds = p->dp->ds;
dsa_switch        553 net/dsa/slave.c 	struct dsa_switch *ds = dp->ds;
dsa_switch        576 net/dsa/slave.c 	struct dsa_switch *ds = dp->ds;
dsa_switch        588 net/dsa/slave.c 	struct dsa_switch *ds = dp->ds;
dsa_switch        604 net/dsa/slave.c 	struct dsa_switch *ds = dp->ds;
dsa_switch        619 net/dsa/slave.c 	struct dsa_switch *ds = dp->ds;
dsa_switch        631 net/dsa/slave.c 	struct dsa_switch *ds = dp->ds;
dsa_switch        643 net/dsa/slave.c 	struct dsa_switch *ds = dp->ds;
dsa_switch        664 net/dsa/slave.c 	struct dsa_switch *ds = dp->ds;
dsa_switch        692 net/dsa/slave.c 	struct dsa_switch *ds = dp->ds;
dsa_switch        710 net/dsa/slave.c 	struct dsa_switch *ds = dp->ds;
dsa_switch        721 net/dsa/slave.c 	struct dsa_switch *ds = dp->ds;
dsa_switch        735 net/dsa/slave.c 	struct dsa_switch *ds = dp->ds;
dsa_switch        755 net/dsa/slave.c 	struct dsa_switch *ds = dp->ds;
dsa_switch        869 net/dsa/slave.c 	struct dsa_switch *ds = dp->ds;
dsa_switch        921 net/dsa/slave.c 	struct dsa_switch *ds = dp->ds;
dsa_switch       1035 net/dsa/slave.c 	struct dsa_switch *ds = dp->ds;
dsa_switch       1078 net/dsa/slave.c 	struct dsa_switch *ds = dp->ds;
dsa_switch       1090 net/dsa/slave.c 	struct dsa_switch *ds = dp->ds;
dsa_switch       1102 net/dsa/slave.c 	struct dsa_switch *ds = p->dp->ds;
dsa_switch       1254 net/dsa/slave.c void dsa_port_phylink_mac_change(struct dsa_switch *ds, int port, bool up)
dsa_switch       1266 net/dsa/slave.c 	struct dsa_switch *ds = dp->ds;
dsa_switch       1278 net/dsa/slave.c 	struct dsa_switch *ds = dp->ds;
dsa_switch       1293 net/dsa/slave.c 	struct dsa_switch *ds = dp->ds;
dsa_switch       1393 net/dsa/slave.c 	struct dsa_switch *ds = port->ds;
dsa_switch         17 net/dsa/switch.c static unsigned int dsa_switch_fastest_ageing_time(struct dsa_switch *ds,
dsa_switch         32 net/dsa/switch.c static int dsa_switch_ageing_time(struct dsa_switch *ds,
dsa_switch         55 net/dsa/switch.c static int dsa_switch_bridge_join(struct dsa_switch *ds,
dsa_switch         68 net/dsa/switch.c static int dsa_switch_bridge_leave(struct dsa_switch *ds,
dsa_switch        109 net/dsa/switch.c static int dsa_switch_fdb_add(struct dsa_switch *ds,
dsa_switch        120 net/dsa/switch.c static int dsa_switch_fdb_del(struct dsa_switch *ds,
dsa_switch        131 net/dsa/switch.c static bool dsa_switch_mdb_match(struct dsa_switch *ds, int port,
dsa_switch        143 net/dsa/switch.c static int dsa_switch_mdb_prepare(struct dsa_switch *ds,
dsa_switch        162 net/dsa/switch.c static int dsa_switch_mdb_add(struct dsa_switch *ds,
dsa_switch        180 net/dsa/switch.c static int dsa_switch_mdb_del(struct dsa_switch *ds,
dsa_switch        207 net/dsa/switch.c static int dsa_port_vlan_check(struct dsa_switch *ds, int port,
dsa_switch        229 net/dsa/switch.c static bool dsa_switch_vlan_match(struct dsa_switch *ds, int port,
dsa_switch        241 net/dsa/switch.c static int dsa_switch_vlan_prepare(struct dsa_switch *ds,
dsa_switch        264 net/dsa/switch.c static int dsa_switch_vlan_add(struct dsa_switch *ds,
dsa_switch        282 net/dsa/switch.c static int dsa_switch_vlan_del(struct dsa_switch *ds,
dsa_switch        300 net/dsa/switch.c 	struct dsa_switch *ds = container_of(nb, struct dsa_switch, nb);
dsa_switch        347 net/dsa/switch.c int dsa_switch_register_notifier(struct dsa_switch *ds)
dsa_switch        354 net/dsa/switch.c void dsa_switch_unregister_notifier(struct dsa_switch *ds)
dsa_switch         65 net/dsa/tag_8021q.c u16 dsa_8021q_tx_vid(struct dsa_switch *ds, int port)
dsa_switch         75 net/dsa/tag_8021q.c u16 dsa_8021q_rx_vid(struct dsa_switch *ds, int port)
dsa_switch         96 net/dsa/tag_8021q.c static int dsa_8021q_restore_pvid(struct dsa_switch *ds, int port)
dsa_switch        130 net/dsa/tag_8021q.c static int dsa_8021q_vid_apply(struct dsa_switch *ds, int port, u16 vid,
dsa_switch        221 net/dsa/tag_8021q.c int dsa_port_setup_8021q_tagging(struct dsa_switch *ds, int port, bool enabled)
dsa_switch         90 net/dsa/tag_sja1105.c 	struct dsa_switch *ds = dp->ds;