Lines Matching defs:port
356 static void b53_enable_vlan(struct b53_device *dev, int port, bool enable, in b53_enable_vlan()
488 static int b53_fast_age_port(struct b53_device *dev, int port) in b53_fast_age_port()
520 static void b53_port_set_ucast_flood(struct b53_device *dev, int port, in b53_port_set_ucast_flood()
533 static void b53_port_set_mcast_flood(struct b53_device *dev, int port, in b53_port_set_mcast_flood()
553 static void b53_port_set_learning(struct b53_device *dev, int port, in b53_port_set_learning()
566 int b53_enable_port(struct dsa_switch *ds, int port, struct phy_device *phy) in b53_enable_port()
610 void b53_disable_port(struct dsa_switch *ds, int port) in b53_disable_port()
625 void b53_brcm_hdr_setup(struct dsa_switch *ds, int port) in b53_brcm_hdr_setup()
698 static void b53_enable_cpu_port(struct b53_device *dev, int port) in b53_enable_cpu_port()
735 static bool b53_vlan_port_needs_forced_tagged(struct dsa_switch *ds, int port) in b53_vlan_port_needs_forced_tagged()
955 static struct phy_device *b53_get_phy_device(struct dsa_switch *ds, int port) in b53_get_phy_device()
968 void b53_get_strings(struct dsa_switch *ds, int port, u32 stringset, in b53_get_strings()
991 void b53_get_ethtool_stats(struct dsa_switch *ds, int port, uint64_t *data) in b53_get_ethtool_stats()
1024 void b53_get_ethtool_phy_stats(struct dsa_switch *ds, int port, uint64_t *data) in b53_get_ethtool_phy_stats()
1036 int b53_get_sset_count(struct dsa_switch *ds, int port, int sset) in b53_get_sset_count()
1106 unsigned int port; in b53_setup() local
1146 static void b53_force_link(struct b53_device *dev, int port, int link) in b53_force_link()
1168 static void b53_force_port_config(struct b53_device *dev, int port, in b53_force_port_config()
1216 static void b53_adjust_63xx_rgmii(struct dsa_switch *ds, int port, in b53_adjust_63xx_rgmii()
1260 static void b53_adjust_link(struct dsa_switch *ds, int port, in b53_adjust_link()
1351 void b53_port_event(struct dsa_switch *ds, int port) in b53_port_event()
1363 static void b53_phylink_get_caps(struct dsa_switch *ds, int port, in b53_phylink_get_caps()
1403 int port, in b53_phylink_mac_select_pcs()
1414 void b53_phylink_mac_config(struct dsa_switch *ds, int port, in b53_phylink_mac_config()
1421 void b53_phylink_mac_link_down(struct dsa_switch *ds, int port, in b53_phylink_mac_link_down()
1441 void b53_phylink_mac_link_up(struct dsa_switch *ds, int port, in b53_phylink_mac_link_up()
1469 int b53_vlan_filtering(struct dsa_switch *ds, int port, bool vlan_filtering, in b53_vlan_filtering()
1480 static int b53_vlan_prepare(struct dsa_switch *ds, int port, in b53_vlan_prepare()
1504 int b53_vlan_add(struct dsa_switch *ds, int port, in b53_vlan_add()
1544 int b53_vlan_del(struct dsa_switch *ds, int port, in b53_vlan_del()
1658 static int b53_arl_op(struct b53_device *dev, int op, int port, in b53_arl_op()
1733 int b53_fdb_add(struct dsa_switch *ds, int port, in b53_fdb_add()
1754 int b53_fdb_del(struct dsa_switch *ds, int port, in b53_fdb_del()
1801 static int b53_fdb_copy(int port, const struct b53_arl_entry *ent, in b53_fdb_copy()
1813 int b53_fdb_dump(struct dsa_switch *ds, int port, in b53_fdb_dump()
1856 int b53_mdb_add(struct dsa_switch *ds, int port, in b53_mdb_add()
1877 int b53_mdb_del(struct dsa_switch *ds, int port, in b53_mdb_del()
1894 int b53_br_join(struct dsa_switch *ds, int port, struct dsa_bridge bridge, in b53_br_join()
1946 void b53_br_leave(struct dsa_switch *ds, int port, struct dsa_bridge bridge) in b53_br_leave()
1992 void b53_br_set_stp_state(struct dsa_switch *ds, int port, u8 state) in b53_br_set_stp_state()
2026 void b53_br_fast_age(struct dsa_switch *ds, int port) in b53_br_fast_age()
2035 int b53_br_flags_pre(struct dsa_switch *ds, int port, in b53_br_flags_pre()
2046 int b53_br_flags(struct dsa_switch *ds, int port, in b53_br_flags()
2064 static bool b53_possible_cpu_port(struct dsa_switch *ds, int port) in b53_possible_cpu_port()
2079 static bool b53_can_enable_brcm_tags(struct dsa_switch *ds, int port, in b53_can_enable_brcm_tags()
2105 enum dsa_tag_protocol b53_get_tag_protocol(struct dsa_switch *ds, int port, in b53_get_tag_protocol()
2135 int b53_mirror_add(struct dsa_switch *ds, int port, in b53_mirror_add()
2161 void b53_mirror_del(struct dsa_switch *ds, int port, in b53_mirror_del()
2200 void b53_eee_enable_set(struct dsa_switch *ds, int port, bool enable) in b53_eee_enable_set()
2217 int b53_eee_init(struct dsa_switch *ds, int port, struct phy_device *phy) in b53_eee_init()
2231 int b53_get_mac_eee(struct dsa_switch *ds, int port, struct ethtool_eee *e) in b53_get_mac_eee()
2248 int b53_set_mac_eee(struct dsa_switch *ds, int port, struct ethtool_eee *e) in b53_set_mac_eee()
2263 static int b53_change_mtu(struct dsa_switch *ds, int port, int mtu) in b53_change_mtu()
2281 static int b53_get_max_mtu(struct dsa_switch *ds, int port) in b53_get_max_mtu()