Lines Matching refs:realtek_priv
623 struct realtek_priv *priv;
642 struct realtek_priv *priv;
650 static int rtl8365mb_phy_poll_busy(struct realtek_priv *priv) in rtl8365mb_phy_poll_busy()
659 static int rtl8365mb_phy_ocp_prepare(struct realtek_priv *priv, int phy, in rtl8365mb_phy_ocp_prepare()
689 static int rtl8365mb_phy_ocp_read(struct realtek_priv *priv, int phy, in rtl8365mb_phy_ocp_read()
733 static int rtl8365mb_phy_ocp_write(struct realtek_priv *priv, int phy, in rtl8365mb_phy_ocp_write()
775 static int rtl8365mb_phy_read(struct realtek_priv *priv, int phy, int regnum) in rtl8365mb_phy_read()
803 static int rtl8365mb_phy_write(struct realtek_priv *priv, int phy, int regnum, in rtl8365mb_phy_write()
832 rtl8365mb_get_port_extint(struct realtek_priv *priv, int port) in rtl8365mb_get_port_extint()
855 struct realtek_priv *priv = ds->priv; in rtl8365mb_get_tag_protocol()
868 static int rtl8365mb_ext_config_rgmii(struct realtek_priv *priv, int port, in rtl8365mb_ext_config_rgmii()
950 static int rtl8365mb_ext_config_forcemode(struct realtek_priv *priv, int port, in rtl8365mb_ext_config_forcemode()
1056 struct realtek_priv *priv = dp->ds->priv; in rtl8365mb_phylink_mac_config()
1086 struct realtek_priv *priv = dp->ds->priv; in rtl8365mb_phylink_mac_link_down()
1116 struct realtek_priv *priv = dp->ds->priv; in rtl8365mb_phylink_mac_link_up()
1142 struct realtek_priv *priv = ds->priv; in rtl8365mb_port_change_mtu()
1171 struct realtek_priv *priv = ds->priv; in rtl8365mb_port_stp_state_set()
1199 static int rtl8365mb_port_set_learning(struct realtek_priv *priv, int port, in rtl8365mb_port_set_learning()
1211 static int rtl8365mb_port_set_isolation(struct realtek_priv *priv, int port, in rtl8365mb_port_set_isolation()
1217 static int rtl8365mb_mib_counter_read(struct realtek_priv *priv, int port, in rtl8365mb_mib_counter_read()
1273 struct realtek_priv *priv = ds->priv; in rtl8365mb_get_ethtool_stats()
1320 struct realtek_priv *priv = ds->priv; in rtl8365mb_get_phy_stats()
1356 struct realtek_priv *priv = ds->priv; in rtl8365mb_get_mac_stats()
1421 struct realtek_priv *priv = ds->priv; in rtl8365mb_get_ctrl_stats()
1434 static void rtl8365mb_stats_update(struct realtek_priv *priv, int port) in rtl8365mb_stats_update()
1518 struct realtek_priv *priv = p->priv; in rtl8365mb_stats_poll()
1528 struct realtek_priv *priv = ds->priv; in rtl8365mb_get_stats64()
1540 static void rtl8365mb_stats_setup(struct realtek_priv *priv) in rtl8365mb_stats_setup()
1567 static void rtl8365mb_stats_teardown(struct realtek_priv *priv) in rtl8365mb_stats_teardown()
1583 static int rtl8365mb_get_and_clear_status_reg(struct realtek_priv *priv, u32 reg, in rtl8365mb_get_and_clear_status_reg()
1597 struct realtek_priv *priv = data; in rtl8365mb_irq()
1677 static int rtl8365mb_set_irq_enable(struct realtek_priv *priv, bool enable) in rtl8365mb_set_irq_enable()
1685 static int rtl8365mb_irq_enable(struct realtek_priv *priv) in rtl8365mb_irq_enable()
1690 static int rtl8365mb_irq_disable(struct realtek_priv *priv) in rtl8365mb_irq_disable()
1695 static int rtl8365mb_irq_setup(struct realtek_priv *priv) in rtl8365mb_irq_setup()
1814 static void rtl8365mb_irq_teardown(struct realtek_priv *priv) in rtl8365mb_irq_teardown()
1836 static int rtl8365mb_cpu_config(struct realtek_priv *priv) in rtl8365mb_cpu_config()
1868 struct realtek_priv *priv = ds->priv; in rtl8365mb_change_tag_protocol()
1896 static int rtl8365mb_switch_init(struct realtek_priv *priv) in rtl8365mb_switch_init()
1926 static int rtl8365mb_reset_chip(struct realtek_priv *priv) in rtl8365mb_reset_chip()
1944 struct realtek_priv *priv = ds->priv; in rtl8365mb_setup()
2038 struct realtek_priv *priv = ds->priv; in rtl8365mb_teardown()
2071 static int rtl8365mb_detect(struct realtek_priv *priv) in rtl8365mb_detect()