• Home
  • Raw
  • Download

Lines Matching defs:ds

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()
1003 void b53_get_ethtool_stats(struct dsa_switch *ds, int port, uint64_t *data) in b53_get_ethtool_stats()
1036 void b53_get_ethtool_phy_stats(struct dsa_switch *ds, int port, uint64_t *data) in b53_get_ethtool_phy_stats()
1048 int b53_get_sset_count(struct dsa_switch *ds, int port, int sset) in b53_get_sset_count()
1087 int b53_setup_devlink_resources(struct dsa_switch *ds) in b53_setup_devlink_resources()
1115 static int b53_setup(struct dsa_switch *ds) in b53_setup()
1153 static void b53_teardown(struct dsa_switch *ds) in b53_teardown()
1228 static void b53_adjust_63xx_rgmii(struct dsa_switch *ds, int port, in b53_adjust_63xx_rgmii()
1255 static void b53_adjust_link(struct dsa_switch *ds, int port, in b53_adjust_link()
1346 void b53_port_event(struct dsa_switch *ds, int port) in b53_port_event()
1358 static void b53_phylink_get_caps(struct dsa_switch *ds, int port, in b53_phylink_get_caps()
1401 static struct phylink_pcs *b53_phylink_mac_select_pcs(struct dsa_switch *ds, in b53_phylink_mac_select_pcs()
1413 void b53_phylink_mac_config(struct dsa_switch *ds, int port, in b53_phylink_mac_config()
1420 void b53_phylink_mac_link_down(struct dsa_switch *ds, int port, in b53_phylink_mac_link_down()
1440 void b53_phylink_mac_link_up(struct dsa_switch *ds, int port, in b53_phylink_mac_link_up()
1468 int b53_vlan_filtering(struct dsa_switch *ds, int port, bool vlan_filtering, in b53_vlan_filtering()
1479 static int b53_vlan_prepare(struct dsa_switch *ds, int port, in b53_vlan_prepare()
1503 int b53_vlan_add(struct dsa_switch *ds, int port, in b53_vlan_add()
1552 int b53_vlan_del(struct dsa_switch *ds, int port, in b53_vlan_del()
1741 int b53_fdb_add(struct dsa_switch *ds, int port, in b53_fdb_add()
1762 int b53_fdb_del(struct dsa_switch *ds, int port, in b53_fdb_del()
1821 int b53_fdb_dump(struct dsa_switch *ds, int port, in b53_fdb_dump()
1864 int b53_mdb_add(struct dsa_switch *ds, int port, in b53_mdb_add()
1885 int b53_mdb_del(struct dsa_switch *ds, int port, in b53_mdb_del()
1902 int b53_br_join(struct dsa_switch *ds, int port, struct dsa_bridge bridge, in b53_br_join()
1954 void b53_br_leave(struct dsa_switch *ds, int port, struct dsa_bridge bridge) in b53_br_leave()
2001 void b53_br_set_stp_state(struct dsa_switch *ds, int port, u8 state) in b53_br_set_stp_state()
2035 void b53_br_fast_age(struct dsa_switch *ds, int port) in b53_br_fast_age()
2044 int b53_br_flags_pre(struct dsa_switch *ds, int port, in b53_br_flags_pre()
2055 int b53_br_flags(struct dsa_switch *ds, int port, in b53_br_flags()
2073 static bool b53_possible_cpu_port(struct dsa_switch *ds, int port) in b53_possible_cpu_port()
2088 static bool b53_can_enable_brcm_tags(struct dsa_switch *ds, int port, in b53_can_enable_brcm_tags()
2114 enum dsa_tag_protocol b53_get_tag_protocol(struct dsa_switch *ds, int port, in b53_get_tag_protocol()
2144 int b53_mirror_add(struct dsa_switch *ds, int port, in b53_mirror_add()
2170 void b53_mirror_del(struct dsa_switch *ds, int port, in b53_mirror_del()
2209 void b53_eee_enable_set(struct dsa_switch *ds, int port, bool enable) in b53_eee_enable_set()
2226 int b53_eee_init(struct dsa_switch *ds, int port, struct phy_device *phy) in b53_eee_init()
2240 int b53_get_mac_eee(struct dsa_switch *ds, int port, struct ethtool_eee *e) in b53_get_mac_eee()
2257 int b53_set_mac_eee(struct dsa_switch *ds, int port, struct ethtool_eee *e) in b53_set_mac_eee()
2272 static int b53_change_mtu(struct dsa_switch *ds, int port, int mtu) in b53_change_mtu()
2290 static int b53_get_max_mtu(struct dsa_switch *ds, int port) in b53_get_max_mtu()
2738 struct dsa_switch *ds; in b53_switch_alloc() local