Home
last modified time | relevance | path

Searched refs:hcs_params (Results 1 – 13 of 13) sorted by relevance

/linux-6.3-rc2/drivers/usb/host/
A Dehci-pci.c246 u32 hcs_params = ehci_readl(ehci, in ehci_pci_setup() local
247 &ehci->caps->hcs_params); in ehci_pci_setup()
253 HCS_DEBUG_PORT(hcs_params), in ehci_pci_setup()
288 temp = HCS_N_CC(ehci->hcs_params) * HCS_N_PCC(ehci->hcs_params); in ehci_pci_setup()
290 if (temp && HCS_N_PORTS(ehci->hcs_params) > temp) { in ehci_pci_setup()
293 HCS_N_CC(ehci->hcs_params), in ehci_pci_setup()
294 HCS_N_PCC(ehci->hcs_params), in ehci_pci_setup()
295 HCS_N_PORTS(ehci->hcs_params)); in ehci_pci_setup()
300 temp |= (ehci->hcs_params & ~0xf); in ehci_pci_setup()
301 ehci->hcs_params = temp; in ehci_pci_setup()
A Dehci-hub.c55 port = HCS_N_PORTS(ehci->hcs_params); in ehci_handover_companion_ports()
69 port = HCS_N_PORTS(ehci->hcs_params); in ehci_handover_companion_ports()
96 port = HCS_N_PORTS(ehci->hcs_params); in ehci_handover_companion_ports()
176 port = HCS_N_PORTS(ehci->hcs_params); in ehci_adjust_port_wakeup_flags()
427 i = HCS_N_PORTS(ehci->hcs_params); in ehci_bus_resume()
445 i = HCS_N_PORTS(ehci->hcs_params); in ehci_bus_resume()
464 i = HCS_N_PORTS (ehci->hcs_params); in ehci_bus_resume()
488 i = HCS_N_PORTS (ehci->hcs_params); in ehci_bus_resume()
717 if (HCS_PPC (ehci->hcs_params)) in ehci_hub_descriptor()
836 if (HCS_PPC(ehci->hcs_params)) { in ehci_hub_control()
[all …]
A Dehci-sysfs.c20 nports = HCS_N_PORTS(ehci->hcs_params); in companion_show()
52 if (portnum <= 0 || portnum > HCS_N_PORTS(ehci->hcs_params)) in companion_store()
A Doxu210hp-hcd.c869 int ports = HCS_N_PORTS(oxu->hcs_params); in ehci_hub_descriptor()
885 if (HCS_PPC(oxu->hcs_params)) in ehci_hub_descriptor()
2771 int port = HCS_N_PORTS(oxu->hcs_params); in ehci_turn_off_all_ports()
2781 if (!HCS_PPC(oxu->hcs_params)) in ehci_port_power()
3108 oxu->hcs_params = readl(&oxu->caps->hcs_params); in oxu_reset()
3501 ports = HCS_N_PORTS(oxu->hcs_params); in oxu_hub_status_data()
3631 if (HCS_PPC(oxu->hcs_params)) in oxu_hub_control()
3802 if (HCS_PPC(oxu->hcs_params)) in oxu_hub_control()
3868 port = HCS_N_PORTS(oxu->hcs_params); in oxu_bus_suspend()
3969 i = HCS_N_PORTS(oxu->hcs_params); in oxu_bus_resume()
[all …]
A Dehci-hcd.c321 int port = HCS_N_PORTS(ehci->hcs_params); in ehci_turn_off_all_ports()
690 ehci->hcs_params = ehci_readl(ehci, &ehci->caps->hcs_params); in ehci_setup()
791 unsigned i = HCS_N_PORTS (ehci->hcs_params); in ehci_irq()
A Dehci-dbg.c17 u32 params = ehci_readl(ehci, &ehci->caps->hcs_params); in dbg_hcs_params()
836 i = ehci_readl(ehci, &ehci->caps->hcs_params); in fill_registers_buffer()
870 for (i = 1; i <= HCS_N_PORTS(ehci->hcs_params); i++) { in fill_registers_buffer()
877 if (i == HCS_DEBUG_PORT(ehci->hcs_params) && ehci->debug) { in fill_registers_buffer()
A Dehci-brcm.c61 int ports = HCS_N_PORTS(ehci->hcs_params); in ehci_brcm_hub_control()
A Dehci.h127 __u32 hcs_params; /* cached register copy */ member
/linux-6.3-rc2/drivers/usb/early/
A Dehci-dbgp.c753 u32 ctrl, portsc, hcs_params; in ehci_setup() local
766 hcs_params = readl(&ehci_caps->hcs_params); in ehci_setup()
767 debug_port = HCS_DEBUG_PORT(hcs_params); in ehci_setup()
769 n_ports = HCS_N_PORTS(hcs_params); in ehci_setup()
/linux-6.3-rc2/drivers/usb/chipidea/
A Dhost.c45 int port = HCS_N_PORTS(ehci->hcs_params); in ehci_ci_portpower()
250 unsigned int ports = HCS_N_PORTS(ehci->hcs_params); in ci_ehci_hub_control()
342 port = HCS_N_PORTS(ehci->hcs_params); in ci_ehci_bus_suspend()
/linux-6.3-rc2/include/linux/usb/
A Dehci_def.h26 u32 hcs_params; /* HCSPARAMS - offset 0x4 */ member
/linux-6.3-rc2/drivers/usb/fotg210/
A Dfotg210-hcd.h92 __u32 hcs_params; /* cached register copy */ member
217 u32 hcs_params; /* HCSPARAMS - offset 0x4 */ member
A Dfotg210-hcd.c95 u32 params = fotg210_readl(fotg210, &fotg210->caps->hcs_params); in dbg_hcs_params()
682 i = fotg210_readl(fotg210, &fotg210->caps->hcs_params); in fill_registers_buffer()
1439 int ports = HCS_N_PORTS(fotg210->hcs_params); in fotg210_hub_descriptor()
1463 int ports = HCS_N_PORTS(fotg210->hcs_params); in fotg210_hub_control()
5094 fotg210->hcs_params = fotg210_readl(fotg210, in fotg210_setup()
5095 &fotg210->caps->hcs_params); in fotg210_setup()

Completed in 71 milliseconds