Lines Matching refs:rcar_gen3_chan
101 struct rcar_gen3_chan *ch;
108 struct rcar_gen3_chan { struct
143 struct rcar_gen3_chan *ch = container_of(work, struct rcar_gen3_chan, in rcar_gen3_phy_usb2_work() argument
155 static void rcar_gen3_set_host_mode(struct rcar_gen3_chan *ch, int host) in rcar_gen3_set_host_mode()
168 static void rcar_gen3_set_linectrl(struct rcar_gen3_chan *ch, int dp, int dm) in rcar_gen3_set_linectrl()
182 static void rcar_gen3_enable_vbus_ctrl(struct rcar_gen3_chan *ch, int vbus) in rcar_gen3_enable_vbus_ctrl()
203 static void rcar_gen3_control_otg_irq(struct rcar_gen3_chan *ch, int enable) in rcar_gen3_control_otg_irq()
215 static void rcar_gen3_init_for_host(struct rcar_gen3_chan *ch) in rcar_gen3_init_for_host()
225 static void rcar_gen3_init_for_peri(struct rcar_gen3_chan *ch) in rcar_gen3_init_for_peri()
235 static void rcar_gen3_init_for_b_host(struct rcar_gen3_chan *ch) in rcar_gen3_init_for_b_host()
251 static void rcar_gen3_init_for_a_peri(struct rcar_gen3_chan *ch) in rcar_gen3_init_for_a_peri()
258 static void rcar_gen3_init_from_a_peri_to_a_host(struct rcar_gen3_chan *ch) in rcar_gen3_init_from_a_peri_to_a_host()
268 static bool rcar_gen3_check_id(struct rcar_gen3_chan *ch) in rcar_gen3_check_id()
279 static void rcar_gen3_device_recognition(struct rcar_gen3_chan *ch) in rcar_gen3_device_recognition()
287 static bool rcar_gen3_is_host(struct rcar_gen3_chan *ch) in rcar_gen3_is_host()
292 static enum phy_mode rcar_gen3_get_phy_mode(struct rcar_gen3_chan *ch) in rcar_gen3_get_phy_mode()
300 static bool rcar_gen3_is_any_rphy_initialized(struct rcar_gen3_chan *ch) in rcar_gen3_is_any_rphy_initialized()
312 static bool rcar_gen3_needs_init_otg(struct rcar_gen3_chan *ch) in rcar_gen3_needs_init_otg()
324 static bool rcar_gen3_are_all_rphys_power_off(struct rcar_gen3_chan *ch) in rcar_gen3_are_all_rphys_power_off()
339 struct rcar_gen3_chan *ch = dev_get_drvdata(dev); in role_store()
379 struct rcar_gen3_chan *ch = dev_get_drvdata(dev); in role_show()
389 static void rcar_gen3_init_otg(struct rcar_gen3_chan *ch) in rcar_gen3_init_otg()
417 struct rcar_gen3_chan *ch = _ch; in rcar_gen3_phy_usb2_irq()
435 struct rcar_gen3_chan *channel = rphy->ch; in rcar_gen3_phy_usb2_init()
472 struct rcar_gen3_chan *channel = rphy->ch; in rcar_gen3_phy_usb2_exit()
496 struct rcar_gen3_chan *channel = rphy->ch; in rcar_gen3_phy_usb2_power_on()
528 struct rcar_gen3_chan *channel = rphy->ch; in rcar_gen3_phy_usb2_power_off()
613 struct rcar_gen3_chan *ch = dev_get_drvdata(dev); in rcar_gen3_phy_usb2_xlate()
654 struct rcar_gen3_chan *channel; in rcar_gen3_phy_usb2_probe()
754 struct rcar_gen3_chan *channel = platform_get_drvdata(pdev); in rcar_gen3_phy_usb2_remove()