Searched refs:hc_control (Results 1 – 13 of 13) sorted by relevance
/kernel/linux/linux-5.10/drivers/usb/host/ |
D | ohci-hub.c | 53 ohci->hc_control = ohci_readl (ohci, &ohci->regs->control); in ohci_rh_suspend() 54 switch (ohci->hc_control & OHCI_CTRL_HCFS) { in ohci_rh_suspend() 57 ohci->hc_control &= ~OHCI_CTRL_HCFS; in ohci_rh_suspend() 58 ohci->hc_control |= OHCI_USB_RESET; in ohci_rh_suspend() 59 ohci_writel (ohci, ohci->hc_control, &ohci->regs->control); in ohci_rh_suspend() 76 if (!autostop && (ohci->hc_control & OHCI_SCHED_ENABLES)) { in ohci_rh_suspend() 77 ohci->hc_control &= ~OHCI_SCHED_ENABLES; in ohci_rh_suspend() 78 ohci_writel (ohci, ohci->hc_control, &ohci->regs->control); in ohci_rh_suspend() 79 ohci->hc_control = ohci_readl (ohci, &ohci->regs->control); in ohci_rh_suspend() 114 ohci->hc_control |= OHCI_CTRL_RWE; in ohci_rh_suspend() [all …]
|
D | ohci-hcd.c | 412 ohci->hc_control = ohci_readl (ohci, &ohci->regs->control); in ohci_usb_reset() 413 ohci->hc_control &= OHCI_CTRL_RWC; in ohci_usb_reset() 414 ohci_writel (ohci, ohci->hc_control, &ohci->regs->control); in ohci_usb_reset() 506 ohci->hc_control |= OHCI_CTRL_RWC; in ohci_init() 571 if ((ohci->hc_control & OHCI_CTRL_RWC) != 0) in ohci_run() 574 switch (ohci->hc_control & OHCI_CTRL_HCFS) { in ohci_run() 580 ohci->hc_control &= OHCI_CTRL_RWC; in ohci_run() 581 ohci->hc_control |= OHCI_USB_RESUME; in ohci_run() 586 ohci->hc_control &= OHCI_CTRL_RWC; in ohci_run() 587 ohci->hc_control |= OHCI_USB_RESET; in ohci_run() [all …]
|
D | ohci-q.c | 81 ohci->hc_control &= ~(OHCI_CTRL_PLE|OHCI_CTRL_IE); in finish_urb() 82 ohci_writel (ohci, ohci->hc_control, &ohci->regs->control); in finish_urb() 205 WARN_ON (ohci->hc_control & OHCI_CTRL_CLE); in ed_schedule() 216 ohci->hc_control |= OHCI_CTRL_CLE; in ed_schedule() 218 ohci_writel (ohci, ohci->hc_control, in ed_schedule() 226 WARN_ON (ohci->hc_control & OHCI_CTRL_BLE); in ed_schedule() 236 ohci->hc_control |= OHCI_CTRL_BLE; in ed_schedule() 238 ohci_writel (ohci, ohci->hc_control, in ed_schedule() 338 ohci->hc_control &= ~OHCI_CTRL_CLE; in ed_deschedule() 339 ohci_writel (ohci, ohci->hc_control, in ed_deschedule() [all …]
|
D | ehci.h | 786 u32 hc_control; in set_ohci_hcfs() local 788 hc_control = (readl_be(ehci->ohci_hcctrl_reg) & ~OHCI_CTRL_HCFS); in set_ohci_hcfs() 790 hc_control |= OHCI_USB_OPER; in set_ohci_hcfs() 792 hc_control |= OHCI_USB_SUSPEND; in set_ohci_hcfs() 794 writel_be(hc_control, ehci->ohci_hcctrl_reg); in set_ohci_hcfs()
|
D | isp1362-hcd.c | 1744 isp1362_hcd->hc_control = isp1362_read_reg32(isp1362_hcd, HCCONTROL); in isp1362_bus_suspend() 1745 switch (isp1362_hcd->hc_control & OHCI_CTRL_HCFS) { in isp1362_bus_suspend() 1748 isp1362_hcd->hc_control &= ~OHCI_CTRL_HCFS; in isp1362_bus_suspend() 1749 isp1362_hcd->hc_control |= OHCI_USB_RESET; in isp1362_bus_suspend() 1750 isp1362_write_reg32(isp1362_hcd, HCCONTROL, isp1362_hcd->hc_control); in isp1362_bus_suspend() 1804 isp1362_hcd->hc_control = OHCI_USB_SUSPEND; in isp1362_bus_suspend() 1806 isp1362_write_reg32(isp1362_hcd, HCCONTROL, isp1362_hcd->hc_control); in isp1362_bus_suspend() 1810 isp1362_hcd->hc_control = isp1362_read_reg32(isp1362_hcd, HCCONTROL); in isp1362_bus_suspend() 1811 if ((isp1362_hcd->hc_control & OHCI_CTRL_HCFS) != OHCI_USB_SUSPEND) { in isp1362_bus_suspend() 1813 isp1362_hcd->hc_control); in isp1362_bus_suspend() [all …]
|
D | u132-hcd.c | 189 u32 hc_control; member 434 retval = u132_read_pcimem(u132, control, &u132->hc_control); in read_roothub_info() 1608 retval = u132_read_pcimem(u132, control, &u132->hc_control); in u132_run() 1612 "= %08X\n", hcfs2string(u132->hc_control & OHCI_CTRL_HCFS), in u132_run() 1613 u132->hc_control); in u132_run() 1614 switch (u132->hc_control & OHCI_CTRL_HCFS) { in u132_run() 1620 u132->hc_control &= OHCI_CTRL_RWC; in u132_run() 1621 u132->hc_control |= OHCI_USB_RESUME; in u132_run() 1625 u132->hc_control &= OHCI_CTRL_RWC; in u132_run() 1626 u132->hc_control |= OHCI_USB_RESET; in u132_run() [all …]
|
D | ohci-pci.c | 262 ohci->hc_control |= OHCI_CTRL_RWC; in ohci_pci_reset()
|
D | ohci-platform.c | 142 ohci->hc_control = OHCI_CTRL_RWC; in ohci_platform_probe()
|
D | ohci-omap.c | 242 ohci->hc_control = OHCI_CTRL_RWC; in ohci_omap_reset()
|
D | ohci.h | 404 u32 hc_control; /* copy of hc control reg */ member
|
D | ohci-at91.c | 228 ohci->hc_control = OHCI_CTRL_RWC; in usb_hcd_at91_probe()
|
D | isp1362.h | 453 u32 hc_control; member
|
/kernel/linux/linux-5.10/drivers/usb/misc/ |
D | ftdi-elan.c | 2198 u32 hc_control; in ftdi_elan_check_controller() local 2229 retval = ftdi_read_pcimem(ftdi, control, &hc_control); in ftdi_elan_check_controller() 2232 switch (hc_control & OHCI_CTRL_HCFS) { in ftdi_elan_check_controller() 2238 hc_control &= OHCI_CTRL_RWC; in ftdi_elan_check_controller() 2239 hc_control |= OHCI_USB_RESUME; in ftdi_elan_check_controller() 2243 hc_control &= OHCI_CTRL_RWC; in ftdi_elan_check_controller() 2244 hc_control |= OHCI_USB_RESET; in ftdi_elan_check_controller() 2248 retval = ftdi_write_pcimem(ftdi, control, hc_control); in ftdi_elan_check_controller() 2290 retval = ftdi_write_pcimem(ftdi, control, hc_control); in ftdi_elan_check_controller() 2331 hc_control &= OHCI_CTRL_RWC; in ftdi_elan_check_controller() [all …]
|