Lines Matching refs:mv_otg
54 struct mv_otg *mvotg = container_of(otg->usb_phy, struct mv_otg, phy);
77 static void mv_otg_run_state_machine(struct mv_otg *mvotg,
89 struct mv_otg *mvotg = from_timer(mvotg, t,
102 static int mv_otg_cancel_timer(struct mv_otg *mvotg, unsigned int id)
117 static int mv_otg_set_timer(struct mv_otg *mvotg, unsigned int id,
137 static int mv_otg_reset(struct mv_otg *mvotg)
165 static void mv_otg_init_irq(struct mv_otg *mvotg)
191 static void mv_otg_start_host(struct mv_otg *mvotg, int on)
213 static void mv_otg_start_periphrals(struct mv_otg *mvotg, int on)
228 static void otg_clock_enable(struct mv_otg *mvotg)
233 static void otg_clock_disable(struct mv_otg *mvotg)
238 static int mv_otg_enable_internal(struct mv_otg *mvotg)
263 static int mv_otg_enable(struct mv_otg *mvotg)
271 static void mv_otg_disable_internal(struct mv_otg *mvotg)
282 static void mv_otg_disable(struct mv_otg *mvotg)
288 static void mv_otg_update_inputs(struct mv_otg *mvotg)
327 static void mv_otg_update_state(struct mv_otg *mvotg)
401 struct mv_otg *mvotg;
405 mvotg = container_of(to_delayed_work(work), struct mv_otg, work);
479 struct mv_otg *mvotg = dev;
504 struct mv_otg *mvotg = dev;
520 struct mv_otg *mvotg = dev_get_drvdata(dev);
529 struct mv_otg *mvotg = dev_get_drvdata(dev);
564 struct mv_otg *mvotg = dev_get_drvdata(dev);
591 struct mv_otg *mvotg = dev_get_drvdata(dev);
600 struct mv_otg *mvotg = dev_get_drvdata(dev);
649 struct mv_otg *mvotg = platform_get_drvdata(pdev);
666 struct mv_otg *mvotg;
837 struct mv_otg *mvotg = platform_get_drvdata(pdev);
854 struct mv_otg *mvotg = platform_get_drvdata(pdev);