Lines Matching refs:rk_priv_data
28 struct rk_priv_data;
30 void (*set_to_rgmii)(struct rk_priv_data *bsp_priv,
32 void (*set_to_rmii)(struct rk_priv_data *bsp_priv);
33 void (*set_rgmii_speed)(struct rk_priv_data *bsp_priv, int speed);
34 void (*set_rmii_speed)(struct rk_priv_data *bsp_priv, int speed);
35 void (*set_clock_selection)(struct rk_priv_data *bsp_priv, bool input,
37 void (*integrated_phy_powerup)(struct rk_priv_data *bsp_priv);
60 struct rk_priv_data { struct
104 static void px30_set_to_rmii(struct rk_priv_data *bsp_priv) in px30_set_to_rmii() argument
117 static void px30_set_rmii_speed(struct rk_priv_data *bsp_priv, int speed) in px30_set_rmii_speed()
183 static void rk3128_set_to_rgmii(struct rk_priv_data *bsp_priv, in rk3128_set_to_rgmii()
202 static void rk3128_set_to_rmii(struct rk_priv_data *bsp_priv) in rk3128_set_to_rmii()
215 static void rk3128_set_rgmii_speed(struct rk_priv_data *bsp_priv, int speed) in rk3128_set_rgmii_speed()
237 static void rk3128_set_rmii_speed(struct rk_priv_data *bsp_priv, int speed) in rk3128_set_rmii_speed()
299 static void rk3228_set_to_rgmii(struct rk_priv_data *bsp_priv, in rk3228_set_to_rgmii()
319 static void rk3228_set_to_rmii(struct rk_priv_data *bsp_priv) in rk3228_set_to_rmii()
336 static void rk3228_set_rgmii_speed(struct rk_priv_data *bsp_priv, int speed) in rk3228_set_rgmii_speed()
358 static void rk3228_set_rmii_speed(struct rk_priv_data *bsp_priv, int speed) in rk3228_set_rmii_speed()
379 static void rk3228_integrated_phy_powerup(struct rk_priv_data *priv) in rk3228_integrated_phy_powerup()
421 static void rk3288_set_to_rgmii(struct rk_priv_data *bsp_priv, in rk3288_set_to_rgmii()
440 static void rk3288_set_to_rmii(struct rk_priv_data *bsp_priv) in rk3288_set_to_rmii()
453 static void rk3288_set_rgmii_speed(struct rk_priv_data *bsp_priv, int speed) in rk3288_set_rgmii_speed()
475 static void rk3288_set_rmii_speed(struct rk_priv_data *bsp_priv, int speed) in rk3288_set_rmii_speed()
514 static void rk3308_set_to_rmii(struct rk_priv_data *bsp_priv) in rk3308_set_to_rmii()
527 static void rk3308_set_rmii_speed(struct rk_priv_data *bsp_priv, int speed) in rk3308_set_rmii_speed()
585 static void rk3328_set_to_rgmii(struct rk_priv_data *bsp_priv, in rk3328_set_to_rgmii()
606 static void rk3328_set_to_rmii(struct rk_priv_data *bsp_priv) in rk3328_set_to_rmii()
624 static void rk3328_set_rgmii_speed(struct rk_priv_data *bsp_priv, int speed) in rk3328_set_rgmii_speed()
646 static void rk3328_set_rmii_speed(struct rk_priv_data *bsp_priv, int speed) in rk3328_set_rmii_speed()
671 static void rk3328_integrated_phy_powerup(struct rk_priv_data *priv) in rk3328_integrated_phy_powerup()
713 static void rk3366_set_to_rgmii(struct rk_priv_data *bsp_priv, in rk3366_set_to_rgmii()
732 static void rk3366_set_to_rmii(struct rk_priv_data *bsp_priv) in rk3366_set_to_rmii()
745 static void rk3366_set_rgmii_speed(struct rk_priv_data *bsp_priv, int speed) in rk3366_set_rgmii_speed()
767 static void rk3366_set_rmii_speed(struct rk_priv_data *bsp_priv, int speed) in rk3366_set_rmii_speed()
824 static void rk3368_set_to_rgmii(struct rk_priv_data *bsp_priv, in rk3368_set_to_rgmii()
843 static void rk3368_set_to_rmii(struct rk_priv_data *bsp_priv) in rk3368_set_to_rmii()
856 static void rk3368_set_rgmii_speed(struct rk_priv_data *bsp_priv, int speed) in rk3368_set_rgmii_speed()
878 static void rk3368_set_rmii_speed(struct rk_priv_data *bsp_priv, int speed) in rk3368_set_rmii_speed()
935 static void rk3399_set_to_rgmii(struct rk_priv_data *bsp_priv, in rk3399_set_to_rgmii()
954 static void rk3399_set_to_rmii(struct rk_priv_data *bsp_priv) in rk3399_set_to_rmii()
967 static void rk3399_set_rgmii_speed(struct rk_priv_data *bsp_priv, int speed) in rk3399_set_rgmii_speed()
989 static void rk3399_set_rmii_speed(struct rk_priv_data *bsp_priv, int speed) in rk3399_set_rmii_speed()
1039 static void rk3568_set_to_rgmii(struct rk_priv_data *bsp_priv, in rk3568_set_to_rgmii()
1065 static void rk3568_set_to_rmii(struct rk_priv_data *bsp_priv) in rk3568_set_to_rmii()
1080 static void rk3568_set_gmac_speed(struct rk_priv_data *bsp_priv, int speed) in rk3568_set_gmac_speed()
1162 static void rk3588_set_to_rgmii(struct rk_priv_data *bsp_priv, in rk3588_set_to_rgmii()
1191 static void rk3588_set_to_rmii(struct rk_priv_data *bsp_priv) in rk3588_set_to_rmii()
1207 static void rk3588_set_gmac_speed(struct rk_priv_data *bsp_priv, int speed) in rk3588_set_gmac_speed()
1242 static void rk3588_set_clock_selection(struct rk_priv_data *bsp_priv, bool input, in rk3588_set_clock_selection()
1280 static void rv1108_set_to_rmii(struct rk_priv_data *bsp_priv) in rv1108_set_to_rmii()
1293 static void rv1108_set_rmii_speed(struct rk_priv_data *bsp_priv, int speed) in rv1108_set_rmii_speed()
1347 static void rv1126_set_to_rgmii(struct rk_priv_data *bsp_priv, in rv1126_set_to_rgmii()
1373 static void rv1126_set_to_rmii(struct rk_priv_data *bsp_priv) in rv1126_set_to_rmii()
1386 static void rv1126_set_rgmii_speed(struct rk_priv_data *bsp_priv, int speed) in rv1126_set_rgmii_speed()
1414 static void rv1126_set_rmii_speed(struct rk_priv_data *bsp_priv, int speed) in rv1126_set_rmii_speed()
1458 static void rk_gmac_integrated_phy_powerup(struct rk_priv_data *priv) in rk_gmac_integrated_phy_powerup()
1483 static void rk_gmac_integrated_phy_powerdown(struct rk_priv_data *priv) in rk_gmac_integrated_phy_powerdown()
1492 struct rk_priv_data *bsp_priv = plat->bsp_priv; in rk_gmac_clk_init()
1544 static int gmac_clk_enable(struct rk_priv_data *bsp_priv, bool enable) in gmac_clk_enable()
1583 static int phy_power_on(struct rk_priv_data *bsp_priv, bool enable) in phy_power_on()
1602 static struct rk_priv_data *rk_gmac_setup(struct platform_device *pdev, in rk_gmac_setup()
1606 struct rk_priv_data *bsp_priv; in rk_gmac_setup()
1702 static int rk_gmac_check_ops(struct rk_priv_data *bsp_priv) in rk_gmac_check_ops()
1723 static int rk_gmac_powerup(struct rk_priv_data *bsp_priv) in rk_gmac_powerup()
1777 static void rk_gmac_powerdown(struct rk_priv_data *gmac) in rk_gmac_powerdown()
1790 struct rk_priv_data *bsp_priv = priv; in rk_fix_speed()
1868 struct rk_priv_data *bsp_priv = get_stmmac_bsp_priv(&pdev->dev); in rk_gmac_remove()
1878 struct rk_priv_data *bsp_priv = get_stmmac_bsp_priv(dev); in rk_gmac_suspend()
1892 struct rk_priv_data *bsp_priv = get_stmmac_bsp_priv(dev); in rk_gmac_resume()