Lines Matching refs:mv_otg
59 struct mv_otg *mvotg = container_of(otg->usb_phy, struct mv_otg, phy); in mv_otg_set_vbus()
82 static void mv_otg_run_state_machine(struct mv_otg *mvotg, in mv_otg_run_state_machine()
94 struct mv_otg *mvotg = (struct mv_otg *) data; in mv_otg_timer_await_bcon()
106 static int mv_otg_cancel_timer(struct mv_otg *mvotg, unsigned int id) in mv_otg_cancel_timer()
121 static int mv_otg_set_timer(struct mv_otg *mvotg, unsigned int id, in mv_otg_set_timer()
145 static int mv_otg_reset(struct mv_otg *mvotg) in mv_otg_reset()
176 static void mv_otg_init_irq(struct mv_otg *mvotg) in mv_otg_init_irq()
202 static void mv_otg_start_host(struct mv_otg *mvotg, int on) in mv_otg_start_host()
224 static void mv_otg_start_periphrals(struct mv_otg *mvotg, int on) in mv_otg_start_periphrals()
239 static void otg_clock_enable(struct mv_otg *mvotg) in otg_clock_enable()
244 static void otg_clock_disable(struct mv_otg *mvotg) in otg_clock_disable()
249 static int mv_otg_enable_internal(struct mv_otg *mvotg) in mv_otg_enable_internal()
274 static int mv_otg_enable(struct mv_otg *mvotg) in mv_otg_enable()
282 static void mv_otg_disable_internal(struct mv_otg *mvotg) in mv_otg_disable_internal()
293 static void mv_otg_disable(struct mv_otg *mvotg) in mv_otg_disable()
299 static void mv_otg_update_inputs(struct mv_otg *mvotg) in mv_otg_update_inputs()
338 static void mv_otg_update_state(struct mv_otg *mvotg) in mv_otg_update_state()
412 struct mv_otg *mvotg; in mv_otg_work()
417 mvotg = container_of(to_delayed_work(work), struct mv_otg, work); in mv_otg_work()
493 struct mv_otg *mvotg = dev; in mv_otg_irq()
518 struct mv_otg *mvotg = dev; in mv_otg_inputs_irq()
534 struct mv_otg *mvotg = dev_get_drvdata(dev); in get_a_bus_req()
543 struct mv_otg *mvotg = dev_get_drvdata(dev); in set_a_bus_req()
579 struct mv_otg *mvotg = dev_get_drvdata(dev); in set_a_clr_err()
606 struct mv_otg *mvotg = dev_get_drvdata(dev); in get_a_bus_drop()
615 struct mv_otg *mvotg = dev_get_drvdata(dev); in set_a_bus_drop()
660 struct mv_otg *mvotg = platform_get_drvdata(pdev); in mv_otg_remove()
679 struct mv_otg *mvotg; in mv_otg_probe()
858 struct mv_otg *mvotg = platform_get_drvdata(pdev); in mv_otg_suspend()
875 struct mv_otg *mvotg = platform_get_drvdata(pdev); in mv_otg_resume()