Searched refs:hc_control (Results 1 - 12 of 12) sorted by relevance

/drivers/usb/host/
H A Dohci-hub.c52 ohci->hc_control = ohci_readl (ohci, &ohci->regs->control);
53 switch (ohci->hc_control & OHCI_CTRL_HCFS) {
56 ohci->hc_control &= ~OHCI_CTRL_HCFS;
57 ohci->hc_control |= OHCI_USB_RESET;
58 ohci_writel (ohci, ohci->hc_control, &ohci->regs->control);
75 if (!autostop && (ohci->hc_control & OHCI_SCHED_ENABLES)) {
76 ohci->hc_control &= ~OHCI_SCHED_ENABLES;
77 ohci_writel (ohci, ohci->hc_control, &ohci->regs->control);
78 ohci->hc_control = ohci_readl (ohci, &ohci->regs->control);
95 ohci->hc_control |
[all...]
H A Dohci-q.c78 ohci->hc_control &= ~(OHCI_CTRL_PLE|OHCI_CTRL_IE);
79 ohci_writel (ohci, ohci->hc_control, &ohci->regs->control);
192 WARN_ON (ohci->hc_control & OHCI_CTRL_CLE);
203 ohci->hc_control |= OHCI_CTRL_CLE;
205 ohci_writel (ohci, ohci->hc_control,
213 WARN_ON (ohci->hc_control & OHCI_CTRL_BLE);
223 ohci->hc_control |= OHCI_CTRL_BLE;
225 ohci_writel (ohci, ohci->hc_control,
324 ohci->hc_control &= ~OHCI_CTRL_CLE;
325 ohci_writel (ohci, ohci->hc_control,
[all...]
H A Dohci-hcd.c376 ohci->hc_control = ohci_readl (ohci, &ohci->regs->control);
377 ohci->hc_control &= OHCI_CTRL_RWC;
378 ohci_writel (ohci, ohci->hc_control, &ohci->regs->control);
543 ohci->hc_control |= OHCI_CTRL_RWC;
598 if ((ohci->hc_control & OHCI_CTRL_RWC) != 0)
601 switch (ohci->hc_control & OHCI_CTRL_HCFS) {
607 ohci->hc_control &= OHCI_CTRL_RWC;
608 ohci->hc_control |= OHCI_USB_RESUME;
613 ohci->hc_control &= OHCI_CTRL_RWC;
614 ohci->hc_control |
[all...]
H A Dehci.h679 u32 hc_control; local
681 hc_control = (readl_be(ehci->ohci_hcctrl_reg) & ~OHCI_CTRL_HCFS);
683 hc_control |= OHCI_USB_OPER;
685 hc_control |= OHCI_USB_SUSPEND;
687 writel_be(hc_control, ehci->ohci_hcctrl_reg);
H A Dohci-omap3.c56 ohci->hc_control = OHCI_CTRL_RWC;
H A Disp1362-hcd.c1743 isp1362_hcd->hc_control = isp1362_read_reg32(isp1362_hcd, HCCONTROL);
1744 switch (isp1362_hcd->hc_control & OHCI_CTRL_HCFS) {
1747 isp1362_hcd->hc_control &= ~OHCI_CTRL_HCFS;
1748 isp1362_hcd->hc_control |= OHCI_USB_RESET;
1749 isp1362_write_reg32(isp1362_hcd, HCCONTROL, isp1362_hcd->hc_control);
1803 isp1362_hcd->hc_control = OHCI_USB_SUSPEND;
1805 isp1362_write_reg32(isp1362_hcd, HCCONTROL, isp1362_hcd->hc_control);
1809 isp1362_hcd->hc_control = isp1362_read_reg32(isp1362_hcd, HCCONTROL);
1810 if ((isp1362_hcd->hc_control & OHCI_CTRL_HCFS) != OHCI_USB_SUSPEND) {
1812 isp1362_hcd->hc_control);
[all...]
H A Dohci-pci.c287 ohci->hc_control |= OHCI_CTRL_RWC;
H A Du132-hcd.c195 u32 hc_control; member in struct:u132
441 retval = u132_read_pcimem(u132, control, &u132->hc_control);
1622 retval = u132_read_pcimem(u132, control, &u132->hc_control);
1626 "= %08X\n", hcfs2string(u132->hc_control & OHCI_CTRL_HCFS),
1627 u132->hc_control);
1628 switch (u132->hc_control & OHCI_CTRL_HCFS) {
1634 u132->hc_control &= OHCI_CTRL_RWC;
1635 u132->hc_control |= OHCI_USB_RESUME;
1639 u132->hc_control &= OHCI_CTRL_RWC;
1640 u132->hc_control |
[all...]
H A Dohci-omap.c432 ohci->hc_control = OHCI_CTRL_RWC;
H A Dohci.h396 u32 hc_control; /* copy of hc control reg */ member in struct:ohci_hcd
H A Disp1362.h503 u32 hc_control; member in struct:isp1362_hcd
/drivers/usb/misc/
H A Dftdi-elan.c2298 u32 hc_control; local
2329 retval = ftdi_read_pcimem(ftdi, control, &hc_control);
2332 switch (hc_control & OHCI_CTRL_HCFS) {
2338 hc_control &= OHCI_CTRL_RWC;
2339 hc_control |= OHCI_USB_RESUME;
2343 hc_control &= OHCI_CTRL_RWC;
2344 hc_control |= OHCI_USB_RESET;
2348 retval = ftdi_write_pcimem(ftdi, control, hc_control);
2391 retval = ftdi_write_pcimem(ftdi, control, hc_control);
2432 hc_control
[all...]

Completed in 249 milliseconds