Lines Matching refs:rockchip_usb2phy

36 struct rockchip_usb2phy;
176 int (*phy_tuning)(struct rockchip_usb2phy *rphy);
241 struct rockchip_usb2phy { struct
258 static inline struct regmap *get_reg_base(struct rockchip_usb2phy *rphy) in get_reg_base() argument
290 static int rockchip_usb2phy_reset(struct rockchip_usb2phy *rphy) in rockchip_usb2phy_reset()
311 struct rockchip_usb2phy *rphy = in rockchip_usb2phy_clk480m_prepare()
312 container_of(hw, struct rockchip_usb2phy, clk480m_hw); in rockchip_usb2phy_clk480m_prepare()
331 struct rockchip_usb2phy *rphy = in rockchip_usb2phy_clk480m_unprepare()
332 container_of(hw, struct rockchip_usb2phy, clk480m_hw); in rockchip_usb2phy_clk480m_unprepare()
341 struct rockchip_usb2phy *rphy = in rockchip_usb2phy_clk480m_prepared()
342 container_of(hw, struct rockchip_usb2phy, clk480m_hw); in rockchip_usb2phy_clk480m_prepared()
364 struct rockchip_usb2phy *rphy = data; in rockchip_usb2phy_clk480m_unregister()
371 rockchip_usb2phy_clk480m_register(struct rockchip_usb2phy *rphy) in rockchip_usb2phy_clk480m_register()
415 static int rockchip_usb2phy_extcon_register(struct rockchip_usb2phy *rphy) in rockchip_usb2phy_extcon_register()
448 static int rockchip_usb2phy_enable_host_disc_irq(struct rockchip_usb2phy *rphy, in rockchip_usb2phy_enable_host_disc_irq()
472 struct rockchip_usb2phy *rphy = dev_get_drvdata(phy->dev.parent); in rockchip_usb2phy_init()
544 struct rockchip_usb2phy *rphy = dev_get_drvdata(phy->dev.parent); in rockchip_usb2phy_power_on()
585 struct rockchip_usb2phy *rphy = dev_get_drvdata(phy->dev.parent); in rockchip_usb2phy_power_off()
632 struct rockchip_usb2phy *rphy = dev_get_drvdata(rport->phy->dev.parent); in rockchip_usb2phy_otg_sm_work()
755 static void rockchip_chg_enable_dcd(struct rockchip_usb2phy *rphy, in rockchip_chg_enable_dcd()
764 static void rockchip_chg_enable_primary_det(struct rockchip_usb2phy *rphy, in rockchip_chg_enable_primary_det()
773 static void rockchip_chg_enable_secondary_det(struct rockchip_usb2phy *rphy, in rockchip_chg_enable_secondary_det()
790 struct rockchip_usb2phy *rphy = dev_get_drvdata(rport->phy->dev.parent); in rockchip_chg_detect_work()
894 struct rockchip_usb2phy *rphy = dev_get_drvdata(rport->phy->dev.parent); in rockchip_usb2phy_sm_work()
989 struct rockchip_usb2phy *rphy = dev_get_drvdata(rport->phy->dev.parent); in rockchip_usb2phy_linestate_irq()
1016 struct rockchip_usb2phy *rphy = dev_get_drvdata(rport->phy->dev.parent); in rockchip_usb2phy_bvalid_irq()
1032 struct rockchip_usb2phy *rphy = dev_get_drvdata(rport->phy->dev.parent); in rockchip_usb2phy_id_irq()
1060 struct rockchip_usb2phy *rphy = dev_get_drvdata(rport->phy->dev.parent); in rockchip_usb2phy_host_disc_irq()
1084 struct rockchip_usb2phy *rphy = data; in rockchip_usb2phy_irq()
1113 static int rockchip_usb2phy_port_irq_init(struct rockchip_usb2phy *rphy, in rockchip_usb2phy_port_irq_init()
1209 static int rockchip_usb2phy_host_port_init(struct rockchip_usb2phy *rphy, in rockchip_usb2phy_host_port_init()
1242 static int rockchip_usb2phy_otg_port_init(struct rockchip_usb2phy *rphy, in rockchip_usb2phy_otg_port_init()
1306 struct rockchip_usb2phy *rphy; in rockchip_usb2phy_probe()
1469 static int rk3588_usb2phy_tuning(struct rockchip_usb2phy *rphy) in rk3588_usb2phy_tuning()