Lines Matching defs:mvotg
54 struct mv_otg *mvotg = container_of(otg->usb_phy, struct mv_otg, phy); in mv_otg_set_vbus() local
77 static void mv_otg_run_state_machine(struct mv_otg *mvotg, in mv_otg_run_state_machine()
89 struct mv_otg *mvotg = from_timer(mvotg, t, in mv_otg_timer_await_bcon() local
102 static int mv_otg_cancel_timer(struct mv_otg *mvotg, unsigned int id) in mv_otg_cancel_timer()
117 static int mv_otg_set_timer(struct mv_otg *mvotg, unsigned int id, in mv_otg_set_timer()
137 static int mv_otg_reset(struct mv_otg *mvotg) in mv_otg_reset()
165 static void mv_otg_init_irq(struct mv_otg *mvotg) in mv_otg_init_irq()
191 static void mv_otg_start_host(struct mv_otg *mvotg, int on) in mv_otg_start_host()
213 static void mv_otg_start_periphrals(struct mv_otg *mvotg, int on) in mv_otg_start_periphrals()
228 static void otg_clock_enable(struct mv_otg *mvotg) in otg_clock_enable()
233 static void otg_clock_disable(struct mv_otg *mvotg) in otg_clock_disable()
238 static int mv_otg_enable_internal(struct mv_otg *mvotg) in mv_otg_enable_internal()
263 static int mv_otg_enable(struct mv_otg *mvotg) in mv_otg_enable()
271 static void mv_otg_disable_internal(struct mv_otg *mvotg) in mv_otg_disable_internal()
282 static void mv_otg_disable(struct mv_otg *mvotg) in mv_otg_disable()
288 static void mv_otg_update_inputs(struct mv_otg *mvotg) in mv_otg_update_inputs()
327 static void mv_otg_update_state(struct mv_otg *mvotg) in mv_otg_update_state()
401 struct mv_otg *mvotg; in mv_otg_work() local
479 struct mv_otg *mvotg = dev; in mv_otg_irq() local
504 struct mv_otg *mvotg = dev; in mv_otg_inputs_irq() local
520 struct mv_otg *mvotg = dev_get_drvdata(dev); in a_bus_req_show() local
529 struct mv_otg *mvotg = dev_get_drvdata(dev); in a_bus_req_store() local
564 struct mv_otg *mvotg = dev_get_drvdata(dev); in a_clr_err_store() local
591 struct mv_otg *mvotg = dev_get_drvdata(dev); in a_bus_drop_show() local
600 struct mv_otg *mvotg = dev_get_drvdata(dev); in a_bus_drop_store() local
649 struct mv_otg *mvotg = platform_get_drvdata(pdev); in mv_otg_remove() local
662 struct mv_otg *mvotg; in mv_otg_probe() local
832 struct mv_otg *mvotg = platform_get_drvdata(pdev); in mv_otg_suspend() local
849 struct mv_otg *mvotg = platform_get_drvdata(pdev); in mv_otg_resume() local