Lines Matching refs:dsa_switch

499 void b53_imp_vlan_setup(struct dsa_switch *ds, int cpu_port)  in b53_imp_vlan_setup()
517 int b53_enable_port(struct dsa_switch *ds, int port, struct phy_device *phy) in b53_enable_port()
557 void b53_disable_port(struct dsa_switch *ds, int port) in b53_disable_port()
572 void b53_brcm_hdr_setup(struct dsa_switch *ds, int port) in b53_brcm_hdr_setup()
663 int b53_configure_vlan(struct dsa_switch *ds) in b53_configure_vlan()
765 static int b53_phy_read16(struct dsa_switch *ds, int addr, int reg) in b53_phy_read16()
780 static int b53_phy_write16(struct dsa_switch *ds, int addr, int reg, u16 val) in b53_phy_write16()
852 static struct phy_device *b53_get_phy_device(struct dsa_switch *ds, int port) in b53_get_phy_device()
865 void b53_get_strings(struct dsa_switch *ds, int port, u32 stringset, in b53_get_strings()
888 void b53_get_ethtool_stats(struct dsa_switch *ds, int port, uint64_t *data) in b53_get_ethtool_stats()
921 void b53_get_ethtool_phy_stats(struct dsa_switch *ds, int port, uint64_t *data) in b53_get_ethtool_phy_stats()
933 int b53_get_sset_count(struct dsa_switch *ds, int port, int sset) in b53_get_sset_count()
952 static int b53_setup(struct dsa_switch *ds) in b53_setup()
1059 static void b53_adjust_link(struct dsa_switch *ds, int port, in b53_adjust_link()
1151 void b53_port_event(struct dsa_switch *ds, int port) in b53_port_event()
1163 void b53_phylink_validate(struct dsa_switch *ds, int port, in b53_phylink_validate()
1206 int b53_phylink_mac_link_state(struct dsa_switch *ds, int port, in b53_phylink_mac_link_state()
1221 void b53_phylink_mac_config(struct dsa_switch *ds, int port, in b53_phylink_mac_config()
1243 void b53_phylink_mac_an_restart(struct dsa_switch *ds, int port) in b53_phylink_mac_an_restart()
1252 void b53_phylink_mac_link_down(struct dsa_switch *ds, int port, in b53_phylink_mac_link_down()
1272 void b53_phylink_mac_link_up(struct dsa_switch *ds, int port, in b53_phylink_mac_link_up()
1293 int b53_vlan_filtering(struct dsa_switch *ds, int port, bool vlan_filtering) in b53_vlan_filtering()
1321 int b53_vlan_prepare(struct dsa_switch *ds, int port, in b53_vlan_prepare()
1338 void b53_vlan_add(struct dsa_switch *ds, int port, in b53_vlan_add()
1370 int b53_vlan_del(struct dsa_switch *ds, int port, in b53_vlan_del()
1522 int b53_fdb_add(struct dsa_switch *ds, int port, in b53_fdb_add()
1537 int b53_fdb_del(struct dsa_switch *ds, int port, in b53_fdb_del()
1590 int b53_fdb_dump(struct dsa_switch *ds, int port, in b53_fdb_dump()
1629 int b53_br_join(struct dsa_switch *ds, int port, struct net_device *br) in b53_br_join()
1674 void b53_br_leave(struct dsa_switch *ds, int port, struct net_device *br) in b53_br_leave()
1720 void b53_br_set_stp_state(struct dsa_switch *ds, int port, u8 state) in b53_br_set_stp_state()
1754 void b53_br_fast_age(struct dsa_switch *ds, int port) in b53_br_fast_age()
1763 int b53_br_egress_floods(struct dsa_switch *ds, int port, in b53_br_egress_floods()
1788 static bool b53_possible_cpu_port(struct dsa_switch *ds, int port) in b53_possible_cpu_port()
1803 static bool b53_can_enable_brcm_tags(struct dsa_switch *ds, int port) in b53_can_enable_brcm_tags()
1813 enum dsa_tag_protocol b53_get_tag_protocol(struct dsa_switch *ds, int port) in b53_get_tag_protocol()
1836 int b53_mirror_add(struct dsa_switch *ds, int port, in b53_mirror_add()
1861 void b53_mirror_del(struct dsa_switch *ds, int port, in b53_mirror_del()
1900 void b53_eee_enable_set(struct dsa_switch *ds, int port, bool enable) in b53_eee_enable_set()
1917 int b53_eee_init(struct dsa_switch *ds, int port, struct phy_device *phy) in b53_eee_init()
1931 int b53_get_mac_eee(struct dsa_switch *ds, int port, struct ethtool_eee *e) in b53_get_mac_eee()
1948 int b53_set_mac_eee(struct dsa_switch *ds, int port, struct ethtool_eee *e) in b53_set_mac_eee()
2341 struct dsa_switch *ds; in b53_switch_alloc()