Lines Matching defs:port

604 static int mt7530_phy_read_c22(struct mt7530_priv *priv, int port, int regnum)  in mt7530_phy_read_c22()
609 static int mt7530_phy_write_c22(struct mt7530_priv *priv, int port, int regnum, in mt7530_phy_write_c22()
615 static int mt7530_phy_read_c45(struct mt7530_priv *priv, int port, in mt7530_phy_read_c45()
621 static int mt7530_phy_write_c45(struct mt7530_priv *priv, int port, int devad, in mt7530_phy_write_c45()
628 mt7531_ind_c45_phy_read(struct mt7530_priv *priv, int port, int devad, in mt7531_ind_c45_phy_read()
676 mt7531_ind_c45_phy_write(struct mt7530_priv *priv, int port, int devad, in mt7531_ind_c45_phy_write()
723 mt7531_ind_c22_phy_read(struct mt7530_priv *priv, int port, int regnum) in mt7531_ind_c22_phy_read()
760 mt7531_ind_c22_phy_write(struct mt7530_priv *priv, int port, int regnum, in mt7531_ind_c22_phy_write()
797 mt753x_phy_read_c22(struct mii_bus *bus, int port, int regnum) in mt753x_phy_read_c22()
805 mt753x_phy_read_c45(struct mii_bus *bus, int port, int devad, int regnum) in mt753x_phy_read_c45()
813 mt753x_phy_write_c22(struct mii_bus *bus, int port, int regnum, u16 val) in mt753x_phy_write_c22()
821 mt753x_phy_write_c45(struct mii_bus *bus, int port, int devad, int regnum, in mt753x_phy_write_c45()
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()
1216 mt753x_cpu_port_enable(struct dsa_switch *ds, int port) in mt753x_cpu_port_enable()
1261 mt7530_port_enable(struct dsa_switch *ds, int port, in mt7530_port_enable()
1289 mt7530_port_disable(struct dsa_switch *ds, int port) in mt7530_port_disable()
1307 mt7530_port_change_mtu(struct dsa_switch *ds, int port, int new_mtu) in mt7530_port_change_mtu()
1347 mt7530_port_max_mtu(struct dsa_switch *ds, int port) in mt7530_port_max_mtu()
1353 mt7530_stp_state_set(struct dsa_switch *ds, int port, u8 state) in mt7530_stp_state_set()
1382 mt7530_port_pre_bridge_flags(struct dsa_switch *ds, int port, in mt7530_port_pre_bridge_flags()
1394 mt7530_port_bridge_flags(struct dsa_switch *ds, int port, in mt7530_port_bridge_flags()
1420 mt7530_port_bridge_join(struct dsa_switch *ds, int port, in mt7530_port_bridge_join()
1468 mt7530_port_set_vlan_unaware(struct dsa_switch *ds, int port) in mt7530_port_set_vlan_unaware()
1514 mt7530_port_set_vlan_aware(struct dsa_switch *ds, int port) in mt7530_port_set_vlan_aware()
1554 mt7530_port_bridge_leave(struct dsa_switch *ds, int port, in mt7530_port_bridge_leave()
1601 mt7530_port_fdb_add(struct dsa_switch *ds, int port, in mt7530_port_fdb_add()
1618 mt7530_port_fdb_del(struct dsa_switch *ds, int port, in mt7530_port_fdb_del()
1635 mt7530_port_fdb_dump(struct dsa_switch *ds, int port, in mt7530_port_fdb_dump()
1670 mt7530_port_mdb_add(struct dsa_switch *ds, int port, in mt7530_port_mdb_add()
1697 mt7530_port_mdb_del(struct dsa_switch *ds, int port, in mt7530_port_mdb_del()
1752 mt7530_port_vlan_filtering(struct dsa_switch *ds, int port, bool vlan_filtering, in mt7530_port_vlan_filtering()
1871 mt7530_port_vlan_add(struct dsa_switch *ds, int port, in mt7530_port_vlan_add()
1916 mt7530_port_vlan_del(struct dsa_switch *ds, int port, in mt7530_port_vlan_del()
1963 static int mt753x_port_mirror_add(struct dsa_switch *ds, int port, in mt753x_port_mirror_add()
2001 static void mt753x_port_mirror_del(struct dsa_switch *ds, int port, in mt753x_port_mirror_del()
2025 mtk_get_tag_protocol(struct dsa_switch *ds, int port, in mtk_get_tag_protocol()
2748 static void mt7530_mac_port_get_caps(struct dsa_switch *ds, int port, in mt7530_mac_port_get_caps()
2774 static bool mt7531_is_rgmii_port(struct mt7530_priv *priv, u32 port) in mt7531_is_rgmii_port()
2779 static void mt7531_mac_port_get_caps(struct dsa_switch *ds, int port, in mt7531_mac_port_get_caps()
2810 static void mt7988_mac_port_get_caps(struct dsa_switch *ds, int port, in mt7988_mac_port_get_caps()
2838 mt7530_mac_config(struct dsa_switch *ds, int port, unsigned int mode, in mt7530_mac_config()
2852 static int mt7531_rgmii_setup(struct mt7530_priv *priv, u32 port, in mt7531_rgmii_setup()
2899 static bool mt753x_is_mac_port(u32 port) in mt753x_is_mac_port()
2905 mt7988_mac_config(struct dsa_switch *ds, int port, unsigned int mode, in mt7988_mac_config()
2916 mt7531_mac_config(struct dsa_switch *ds, int port, unsigned int mode, in mt7531_mac_config()
2950 mt753x_mac_config(struct dsa_switch *ds, int port, unsigned int mode, in mt753x_mac_config()
2959 mt753x_phylink_mac_select_pcs(struct dsa_switch *ds, int port, in mt753x_phylink_mac_select_pcs()
2977 mt753x_phylink_mac_config(struct dsa_switch *ds, int port, unsigned int mode, in mt753x_phylink_mac_config()
3031 static void mt753x_phylink_mac_link_down(struct dsa_switch *ds, int port, in mt753x_phylink_mac_link_down()
3049 static void mt753x_phylink_mac_link_up(struct dsa_switch *ds, int port, in mt753x_phylink_mac_link_up()
3101 mt7531_cpu_port_config(struct dsa_switch *ds, int port) in mt7531_cpu_port_config()
3145 mt7988_cpu_port_config(struct dsa_switch *ds, int port) in mt7988_cpu_port_config()
3159 static void mt753x_phylink_get_caps(struct dsa_switch *ds, int port, in mt753x_phylink_get_caps()
3187 int port = pcs_to_mt753x_pcs(pcs)->port; in mt7530_pcs_get_state() local
3272 static int mt753x_get_mac_eee(struct dsa_switch *ds, int port, in mt753x_get_mac_eee()
3284 static int mt753x_set_mac_eee(struct dsa_switch *ds, int port, in mt753x_set_mac_eee()