Lines Matching defs:mvotg
59 struct mv_otg *mvotg = container_of(otg->usb_phy, struct mv_otg, phy); in mv_otg_set_vbus() local
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() local
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() local
493 struct mv_otg *mvotg = dev; in mv_otg_irq() local
518 struct mv_otg *mvotg = dev; in mv_otg_inputs_irq() local
534 struct mv_otg *mvotg = dev_get_drvdata(dev); in get_a_bus_req() local
543 struct mv_otg *mvotg = dev_get_drvdata(dev); in set_a_bus_req() local
579 struct mv_otg *mvotg = dev_get_drvdata(dev); in set_a_clr_err() local
606 struct mv_otg *mvotg = dev_get_drvdata(dev); in get_a_bus_drop() local
615 struct mv_otg *mvotg = dev_get_drvdata(dev); in set_a_bus_drop() local
660 struct mv_otg *mvotg = platform_get_drvdata(pdev); in mv_otg_remove() local
679 struct mv_otg *mvotg; in mv_otg_probe() local
858 struct mv_otg *mvotg = platform_get_drvdata(pdev); in mv_otg_suspend() local
875 struct mv_otg *mvotg = platform_get_drvdata(pdev); in mv_otg_resume() local