Searched refs:hc_control (Results 1 – 13 of 13) sorted by relevance
/linux-5.19.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() 117 ohci->hc_control |= OHCI_CTRL_RWE; in ohci_rh_suspend() [all …]
|
D | ohci-hcd.c | 410 ohci->hc_control = ohci_readl (ohci, &ohci->regs->control); in ohci_usb_reset() 411 ohci->hc_control &= OHCI_CTRL_RWC; in ohci_usb_reset() 412 ohci_writel (ohci, ohci->hc_control, &ohci->regs->control); in ohci_usb_reset() 504 ohci->hc_control |= OHCI_CTRL_RWC; in ohci_init() 569 if ((ohci->hc_control & OHCI_CTRL_RWC) != 0) in ohci_run() 572 switch (ohci->hc_control & OHCI_CTRL_HCFS) { in ohci_run() 578 ohci->hc_control &= OHCI_CTRL_RWC; in ohci_run() 579 ohci->hc_control |= OHCI_USB_RESUME; in ohci_run() 584 ohci->hc_control &= OHCI_CTRL_RWC; in ohci_run() 585 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 | 788 u32 hc_control; in set_ohci_hcfs() local 790 hc_control = (readl_be(ehci->ohci_hcctrl_reg) & ~OHCI_CTRL_HCFS); in set_ohci_hcfs() 792 hc_control |= OHCI_USB_OPER; in set_ohci_hcfs() 794 hc_control |= OHCI_USB_SUSPEND; in set_ohci_hcfs() 796 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-omap.c | 148 ohci->hc_control = OHCI_CTRL_RWC; in ohci_omap_reset()
|
D | ohci-platform.c | 142 ohci->hc_control = OHCI_CTRL_RWC; in ohci_platform_probe()
|
D | ohci.h | 404 u32 hc_control; /* copy of hc control reg */ member
|
D | ohci-at91.c | 250 ohci->hc_control = OHCI_CTRL_RWC; in usb_hcd_at91_probe()
|
D | isp1362.h | 452 u32 hc_control; member
|
/linux-5.19.10/drivers/usb/misc/ |
D | ftdi-elan.c | 2192 u32 hc_control; in ftdi_elan_check_controller() local 2223 retval = ftdi_read_pcimem(ftdi, control, &hc_control); in ftdi_elan_check_controller() 2226 switch (hc_control & OHCI_CTRL_HCFS) { in ftdi_elan_check_controller() 2232 hc_control &= OHCI_CTRL_RWC; in ftdi_elan_check_controller() 2233 hc_control |= OHCI_USB_RESUME; in ftdi_elan_check_controller() 2237 hc_control &= OHCI_CTRL_RWC; in ftdi_elan_check_controller() 2238 hc_control |= OHCI_USB_RESET; in ftdi_elan_check_controller() 2242 retval = ftdi_write_pcimem(ftdi, control, hc_control); in ftdi_elan_check_controller() 2284 retval = ftdi_write_pcimem(ftdi, control, hc_control); in ftdi_elan_check_controller() 2325 hc_control &= OHCI_CTRL_RWC; in ftdi_elan_check_controller() [all …]
|