Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/usb/host/
Dehci-pci.c227 u32 hcs_params = ehci_readl(ehci, in ehci_pci_setup() local
228 &ehci->caps->hcs_params); in ehci_pci_setup()
234 HCS_DEBUG_PORT(hcs_params), in ehci_pci_setup()
269 temp = HCS_N_CC(ehci->hcs_params) * HCS_N_PCC(ehci->hcs_params); in ehci_pci_setup()
271 if (temp && HCS_N_PORTS(ehci->hcs_params) > temp) { in ehci_pci_setup()
274 HCS_N_CC(ehci->hcs_params), in ehci_pci_setup()
275 HCS_N_PCC(ehci->hcs_params), in ehci_pci_setup()
276 HCS_N_PORTS(ehci->hcs_params)); in ehci_pci_setup()
281 temp |= (ehci->hcs_params & ~0xf); in ehci_pci_setup()
282 ehci->hcs_params = temp; in ehci_pci_setup()
Dehci-hub.c56 port = HCS_N_PORTS(ehci->hcs_params); in ehci_handover_companion_ports()
70 port = HCS_N_PORTS(ehci->hcs_params); in ehci_handover_companion_ports()
97 port = HCS_N_PORTS(ehci->hcs_params); in ehci_handover_companion_ports()
128 int i = HCS_N_PORTS(ehci->hcs_params); in ehci_port_change()
165 port = HCS_N_PORTS(ehci->hcs_params); in ehci_adjust_port_wakeup_flags()
177 port = HCS_N_PORTS(ehci->hcs_params); in ehci_adjust_port_wakeup_flags()
197 port = HCS_N_PORTS(ehci->hcs_params); in ehci_adjust_port_wakeup_flags()
256 port = HCS_N_PORTS(ehci->hcs_params); in ehci_bus_suspend()
318 port = HCS_N_PORTS(ehci->hcs_params); in ehci_bus_suspend()
425 i = HCS_N_PORTS(ehci->hcs_params); in ehci_bus_resume()
[all …]
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()
Doxu210hp-hcd.c100 u32 hcs_params; /* HCSPARAMS - offset 0x4 */ member
418 u32 hcs_params; /* cached register copy */ member
870 int ports = HCS_N_PORTS(oxu->hcs_params); in ehci_hub_descriptor()
886 if (HCS_PPC(oxu->hcs_params)) in ehci_hub_descriptor()
2772 int port = HCS_N_PORTS(oxu->hcs_params); in ehci_turn_off_all_ports()
2782 if (!HCS_PPC(oxu->hcs_params)) in ehci_port_power()
2786 for (port = HCS_N_PORTS(oxu->hcs_params); port > 0; ) in ehci_port_power()
2900 unsigned i = HCS_N_PORTS(oxu->hcs_params); in oxu210_hcd_irq()
3105 oxu->hcs_params = readl(&oxu->caps->hcs_params); in oxu_reset()
3498 ports = HCS_N_PORTS(oxu->hcs_params); in oxu_hub_status_data()
[all …]
Dfotg210.h92 __u32 hcs_params; /* cached register copy */ member
219 u32 hcs_params; /* HCSPARAMS - offset 0x4 */ member
Dehci-hcd.c319 int port = HCS_N_PORTS(ehci->hcs_params); in ehci_turn_off_all_ports()
667 ehci->hcs_params = ehci_readl(ehci, &ehci->caps->hcs_params); in ehci_setup()
765 unsigned i = HCS_N_PORTS (ehci->hcs_params); in ehci_irq()
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()
Dehci.h127 __u32 hcs_params; /* cached register copy */ member
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()
1441 int ports = HCS_N_PORTS(fotg210->hcs_params); in fotg210_hub_descriptor()
1465 int ports = HCS_N_PORTS(fotg210->hcs_params); in fotg210_hub_control()
5101 fotg210->hcs_params = fotg210_readl(fotg210, in fotg210_setup()
5102 &fotg210->caps->hcs_params); in fotg210_setup()
/Linux-v5.4/drivers/usb/isp1760/
Disp1760-hcd.h54 u32 hcs_params; member
Disp1760-hcd.c505 priv->hcs_params = reg_read32(hcd->regs, HC_HCSPARAMS); in isp1760_hc_setup()
1759 int ports = HCS_N_PORTS(priv->hcs_params); in isp1760_hub_descriptor()
1777 if (HCS_PPC(priv->hcs_params)) in isp1760_hub_descriptor()
1816 int ports = HCS_N_PORTS(priv->hcs_params); in isp1760_hub_control()
1879 if (HCS_PPC(priv->hcs_params)) in isp1760_hub_control()
2034 if (HCS_PPC(priv->hcs_params)) in isp1760_hub_control()
/Linux-v5.4/drivers/usb/early/
Dehci-dbgp.c758 u32 ctrl, portsc, hcs_params; in ehci_setup() local
771 hcs_params = readl(&ehci_caps->hcs_params); in ehci_setup()
772 debug_port = HCS_DEBUG_PORT(hcs_params); in ehci_setup()
774 n_ports = HCS_N_PORTS(hcs_params); in ehci_setup()
/Linux-v5.4/include/linux/usb/
Dehci_def.h40 u32 hcs_params; /* HCSPARAMS - offset 0x4 */ member
/Linux-v5.4/drivers/usb/chipidea/
Dhost.c38 int port = HCS_N_PORTS(ehci->hcs_params); in ehci_ci_portpower()
310 port = HCS_N_PORTS(ehci->hcs_params); in ci_ehci_bus_suspend()