Lines Matching defs:rphy

355 static inline struct regmap *get_reg_base(struct rockchip_usb2phy *rphy)  in get_reg_base()
435 static int rockchip_usb2phy_reset(struct rockchip_usb2phy *rphy) in rockchip_usb2phy_reset()
459 struct rockchip_usb2phy *rphy = in rockchip_usb2phy_clk480m_prepare() local
486 struct rockchip_usb2phy *rphy = in rockchip_usb2phy_clk480m_unprepare() local
499 struct rockchip_usb2phy *rphy = in rockchip_usb2phy_clk480m_prepared() local
525 struct rockchip_usb2phy *rphy = data; in rockchip_usb2phy_clk480m_unregister() local
532 rockchip_usb2phy_clk480m_register(struct rockchip_usb2phy *rphy) in rockchip_usb2phy_clk480m_register()
584 static int rockchip_usb2phy_extcon_register(struct rockchip_usb2phy *rphy) in rockchip_usb2phy_extcon_register()
620 static int rockchip_usb2phy_enable_id_irq(struct rockchip_usb2phy *rphy, in rockchip_usb2phy_enable_id_irq()
644 static int rockchip_usb2phy_enable_vbus_irq(struct rockchip_usb2phy *rphy, in rockchip_usb2phy_enable_vbus_irq()
659 static int rockchip_usb2phy_enable_line_irq(struct rockchip_usb2phy *rphy, in rockchip_usb2phy_enable_line_irq()
674 static int rockchip_usb2phy_enable_host_disc_irq(struct rockchip_usb2phy *rphy, in rockchip_usb2phy_enable_host_disc_irq()
700 struct rockchip_usb2phy *rphy = dev_get_drvdata(rport->phy->dev.parent); in rockchip_usb_bypass_uart() local
758 struct rockchip_usb2phy *rphy = dev_get_drvdata(rport->phy->dev.parent); in rockchip_usb_bypass_uart_work() local
793 struct rockchip_usb2phy *rphy = dev_get_drvdata(phy->dev.parent); in rockchip_usb2phy_init() local
864 struct rockchip_usb2phy *rphy = dev_get_drvdata(phy->dev.parent); in rockchip_usb2phy_power_on() local
928 struct rockchip_usb2phy *rphy = dev_get_drvdata(phy->dev.parent); in rockchip_usb2phy_power_off() local
998 struct rockchip_usb2phy *rphy = dev_get_drvdata(phy->dev.parent); in rockchip_usb2phy_set_mode() local
1081 struct rockchip_usb2phy *rphy = dev_get_drvdata(device); in otg_mode_show() local
1117 struct rockchip_usb2phy *rphy = dev_get_drvdata(device); in otg_mode_store() local
1206 struct rockchip_usb2phy *rphy = dev_get_drvdata(rport->phy->dev.parent); in rockchip_usb2phy_otg_sm_work() local
1386 static void rockchip_chg_enable_dcd(struct rockchip_usb2phy *rphy, in rockchip_chg_enable_dcd()
1395 static void rockchip_chg_enable_primary_det(struct rockchip_usb2phy *rphy, in rockchip_chg_enable_primary_det()
1404 static void rockchip_chg_enable_secondary_det(struct rockchip_usb2phy *rphy, in rockchip_chg_enable_secondary_det()
1421 struct rockchip_usb2phy *rphy = dev_get_drvdata(rport->phy->dev.parent); in rockchip_chg_detect_work() local
1580 struct rockchip_usb2phy *rphy = dev_get_drvdata(rport->phy->dev.parent); in rockchip_usb2phy_sm_work() local
1694 struct rockchip_usb2phy *rphy = dev_get_drvdata(rport->phy->dev.parent); in rockchip_usb2phy_linestate_irq() local
1731 struct rockchip_usb2phy *rphy = dev_get_drvdata(rport->phy->dev.parent); in rockchip_usb2phy_bvalid_irq() local
1757 struct rockchip_usb2phy *rphy = dev_get_drvdata(rport->phy->dev.parent); in rockchip_usb2phy_id_irq() local
1795 struct rockchip_usb2phy *rphy = dev_get_drvdata(rport->phy->dev.parent); in rockchip_usb2phy_host_disc_irq() local
1832 struct rockchip_usb2phy *rphy = data; in rockchip_usb2phy_irq() local
1885 static int rockchip_usb2phy_port_irq_init(struct rockchip_usb2phy *rphy, in rockchip_usb2phy_port_irq_init()
1994 struct rockchip_usb2phy *rphy = dev_get_drvdata(rport->phy->dev.parent); in rockchip_usb2phy_usb_bvalid_enable() local
2019 rockchip_usb2phy_setup_orien_switch(struct rockchip_usb2phy *rphy, in rockchip_usb2phy_setup_orien_switch()
2046 static int rockchip_usb2phy_host_port_init(struct rockchip_usb2phy *rphy, in rockchip_usb2phy_host_port_init()
2098 static int rockchip_usb2phy_otg_port_init(struct rockchip_usb2phy *rphy, in rockchip_usb2phy_otg_port_init()
2257 struct rockchip_usb2phy *rphy; in rockchip_usb2phy_probe() local
2461 rockchip_usb2phy_low_power_enable(struct rockchip_usb2phy *rphy, in rockchip_usb2phy_low_power_enable()
2496 static int rk312x_usb2phy_tuning(struct rockchip_usb2phy *rphy) in rk312x_usb2phy_tuning()
2508 static int rk3228_usb2phy_tuning(struct rockchip_usb2phy *rphy) in rk3228_usb2phy_tuning()
2519 static int rk3308_usb2phy_tuning(struct rockchip_usb2phy *rphy) in rk3308_usb2phy_tuning()
2576 static int rk3328_usb2phy_tuning(struct rockchip_usb2phy *rphy) in rk3328_usb2phy_tuning()
2642 static int rk3366_usb2phy_tuning(struct rockchip_usb2phy *rphy) in rk3366_usb2phy_tuning()
2661 static int rk3399_usb2phy_tuning(struct rockchip_usb2phy *rphy) in rk3399_usb2phy_tuning()
2732 static int rk3528_usb2phy_tuning(struct rockchip_usb2phy *rphy) in rk3528_usb2phy_tuning()
2757 static int rk3562_usb2phy_tuning(struct rockchip_usb2phy *rphy) in rk3562_usb2phy_tuning()
2785 static int rk3568_usb2phy_tuning(struct rockchip_usb2phy *rphy) in rk3568_usb2phy_tuning()
2821 static int rv1106_usb2phy_tuning(struct rockchip_usb2phy *rphy) in rv1106_usb2phy_tuning()
2856 static int rockchip_usb2phy_vbus_det_control(struct rockchip_usb2phy *rphy, in rockchip_usb2phy_vbus_det_control()
2871 static int rk3588_usb2phy_tuning(struct rockchip_usb2phy *rphy) in rk3588_usb2phy_tuning()
2978 struct rockchip_usb2phy *rphy = dev_get_drvdata(dev); in rockchip_usb2phy_pm_suspend() local
3055 struct rockchip_usb2phy *rphy = dev_get_drvdata(dev); in rockchip_usb2phy_pm_resume() local