Lines Matching refs:ohci

12  * and on ohci-sa1111.c by Christopher Hoover <ch@hpl.hp.com>
168 static void start_hnp(struct ohci_hcd *ohci)
170 const unsigned port = ohci_to_hcd(ohci)->self.otg_port - 1;
174 otg_start_hnp(ohci->transceiver->otg);
177 ohci->transceiver->state = OTG_STATE_A_SUSPEND;
178 writel (RH_PS_PSS, &ohci->regs->roothub.portstatus [port]);
191 struct ohci_hcd *ohci = hcd_to_ohci(hcd);
199 ohci_to_hcd(ohci)->self.otg_port = config->otg;
201 ohci_to_hcd(ohci)->power_budget = 8;
213 ohci->transceiver = usb_get_transceiver();
214 if (ohci->transceiver) {
215 int status = otg_set_host(ohci->transceiver->otg,
216 &ohci_to_hcd(ohci)->self);
218 ohci->transceiver->label, status);
220 if (ohci->transceiver)
221 put_device(ohci->transceiver->dev);
228 ohci->start_hnp = start_hnp;
239 if ((ret = ohci_init(ohci)) < 0)
244 u32 rh = roothub_a (ohci);
251 ohci_to_hcd(ohci)->power_budget = 250;
263 ohci_writel(ohci, rh, &ohci->regs->roothub.a);
264 ohci->flags &= ~OHCI_QUIRK_HUB_POWER;
268 ohci_to_hcd(ohci)->power_budget = 0;
305 struct ohci_hcd *ohci;
355 ohci = hcd_to_ohci(hcd);
356 ohci_hcd_init(ohci);
403 struct ohci_hcd *ohci = hcd_to_ohci (hcd);
406 if (ohci->transceiver) {
407 (void) otg_set_host(ohci->transceiver->otg, 0);
408 put_device(ohci->transceiver->dev);
425 struct ohci_hcd *ohci = hcd_to_ohci (hcd);
432 ohci->hc_control = OHCI_CTRL_RWC;
433 writel(OHCI_CTRL_RWC, &ohci->regs->control);
436 if ((ret = ohci_run (ohci)) < 0) {
512 struct ohci_hcd *ohci = hcd_to_ohci(platform_get_drvdata(dev));
514 if (time_before(jiffies, ohci->next_statechange))
516 ohci->next_statechange = jiffies;
525 struct ohci_hcd *ohci = hcd_to_ohci(hcd);
527 if (time_before(jiffies, ohci->next_statechange))
529 ohci->next_statechange = jiffies;
553 .name = "ohci",
557 MODULE_ALIAS("platform:ohci");