Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/usb/host/
Dehci-pci.c240 u32 hcs_params = ehci_readl(ehci, in ehci_pci_setup() local
241 &ehci->caps->hcs_params); in ehci_pci_setup()
247 HCS_DEBUG_PORT(hcs_params), in ehci_pci_setup()
283 temp = HCS_N_CC(ehci->hcs_params) * HCS_N_PCC(ehci->hcs_params); in ehci_pci_setup()
285 if (temp && HCS_N_PORTS(ehci->hcs_params) > temp) { in ehci_pci_setup()
288 HCS_N_CC(ehci->hcs_params), in ehci_pci_setup()
289 HCS_N_PCC(ehci->hcs_params), in ehci_pci_setup()
290 HCS_N_PORTS(ehci->hcs_params)); in ehci_pci_setup()
295 temp |= (ehci->hcs_params & ~0xf); in ehci_pci_setup()
296 ehci->hcs_params = temp; in ehci_pci_setup()
Dehci-hub.c67 port = HCS_N_PORTS(ehci->hcs_params); in ehci_handover_companion_ports()
81 port = HCS_N_PORTS(ehci->hcs_params); in ehci_handover_companion_ports()
108 port = HCS_N_PORTS(ehci->hcs_params); in ehci_handover_companion_ports()
139 int i = HCS_N_PORTS(ehci->hcs_params); in ehci_port_change()
176 port = HCS_N_PORTS(ehci->hcs_params); in ehci_adjust_port_wakeup_flags()
188 port = HCS_N_PORTS(ehci->hcs_params); in ehci_adjust_port_wakeup_flags()
208 port = HCS_N_PORTS(ehci->hcs_params); in ehci_adjust_port_wakeup_flags()
266 port = HCS_N_PORTS(ehci->hcs_params); in ehci_bus_suspend()
320 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-tilegx.c142 ehci->hcs_params = readl(&ehci->caps->hcs_params); in ehci_hcd_tilegx_drv_probe()
Dehci-sysfs.c33 nports = HCS_N_PORTS(ehci->hcs_params); in show_companion()
65 if (portnum <= 0 || portnum > HCS_N_PORTS(ehci->hcs_params)) in store_companion()
Doxu210hp.h69 u32 hcs_params; /* HCSPARAMS - offset 0x4 */ member
388 __u32 hcs_params; /* cached register copy */ member
Doxu210hp-hcd.c445 int ports = HCS_N_PORTS(oxu->hcs_params); in ehci_hub_descriptor()
461 if (HCS_PPC(oxu->hcs_params)) in ehci_hub_descriptor()
2359 int port = HCS_N_PORTS(oxu->hcs_params); in ehci_turn_off_all_ports()
2369 if (!HCS_PPC(oxu->hcs_params)) in ehci_port_power()
2373 for (port = HCS_N_PORTS(oxu->hcs_params); port > 0; ) in ehci_port_power()
2487 unsigned i = HCS_N_PORTS(oxu->hcs_params); in oxu210_hcd_irq()
2696 oxu->hcs_params = readl(&oxu->caps->hcs_params); in oxu_reset()
3095 ports = HCS_N_PORTS(oxu->hcs_params); in oxu_hub_status_data()
3162 int ports = HCS_N_PORTS(oxu->hcs_params); in oxu_hub_control()
3225 if (HCS_PPC(oxu->hcs_params)) in oxu_hub_control()
[all …]
Dfotg210.h91 __u32 hcs_params; /* cached register copy */ member
209 u32 hcs_params; /* HCSPARAMS - offset 0x4 */ member
Dfusbh200.h91 __u32 hcs_params; /* cached register copy */ member
204 u32 hcs_params; /* HCSPARAMS - offset 0x4 */ member
Dehci-hcd.c331 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()
763 unsigned i = HCS_N_PORTS (ehci->hcs_params); in ehci_irq()
Dehci-dbg.c29 u32 params = ehci_readl(ehci, &ehci->caps->hcs_params); in dbg_hcs_params()
859 i = ehci_readl(ehci, &ehci->caps->hcs_params); in fill_registers_buffer()
893 for (i = 1; i <= HCS_N_PORTS (ehci->hcs_params); i++) { in fill_registers_buffer()
900 if (i == HCS_DEBUG_PORT(ehci->hcs_params) && ehci->debug) { in fill_registers_buffer()
Dehci.h139 __u32 hcs_params; /* cached register copy */ member
Dfusbh200-hcd.c112 u32 params = fusbh200_readl(fusbh200, &fusbh200->caps->hcs_params); in dbg_hcs_params()
680 i = fusbh200_readl(fusbh200, &fusbh200->caps->hcs_params); in fill_registers_buffer()
1467 int ports = HCS_N_PORTS (fusbh200->hcs_params); in fusbh200_hub_descriptor()
1498 int ports = HCS_N_PORTS (fusbh200->hcs_params); in fusbh200_hub_control()
5248 fusbh200->hcs_params = fusbh200_readl(fusbh200, &fusbh200->caps->hcs_params); in fusbh200_setup()
Dfotg210-hcd.c113 u32 params = fotg210_readl(fotg210, &fotg210->caps->hcs_params); in dbg_hcs_params()
707 i = fotg210_readl(fotg210, &fotg210->caps->hcs_params); in fill_registers_buffer()
1509 int ports = HCS_N_PORTS(fotg210->hcs_params); in fotg210_hub_descriptor()
1540 int ports = HCS_N_PORTS(fotg210->hcs_params); in fotg210_hub_control()
5331 fotg210->hcs_params = fotg210_readl(fotg210, in fotg210_setup()
5332 &fotg210->caps->hcs_params); in fotg210_setup()
/linux-4.1.27/drivers/usb/chipidea/
Dhost.c48 int port = HCS_N_PORTS(ehci->hcs_params); in ehci_ci_portpower()
193 port = HCS_N_PORTS(ehci->hcs_params); in ci_ehci_bus_suspend()
/linux-4.1.27/drivers/usb/isp1760/
Disp1760-hcd.h53 u32 hcs_params; member
Disp1760-hcd.c506 priv->hcs_params = reg_read32(hcd->regs, HC_HCSPARAMS); in isp1760_hc_setup()
1758 int ports = HCS_N_PORTS(priv->hcs_params); in isp1760_hub_descriptor()
1776 if (HCS_PPC(priv->hcs_params)) in isp1760_hub_descriptor()
1815 int ports = HCS_N_PORTS(priv->hcs_params); in isp1760_hub_control()
1879 if (HCS_PPC(priv->hcs_params)) in isp1760_hub_control()
2035 if (HCS_PPC(priv->hcs_params)) in isp1760_hub_control()
/linux-4.1.27/drivers/usb/early/
Dehci-dbgp.c759 u32 ctrl, portsc, hcs_params; in ehci_setup() local
772 hcs_params = readl(&ehci_caps->hcs_params); in ehci_setup()
773 debug_port = HCS_DEBUG_PORT(hcs_params); in ehci_setup()
775 n_ports = HCS_N_PORTS(hcs_params); in ehci_setup()
/linux-4.1.27/include/linux/usb/
Dehci_def.h39 u32 hcs_params; /* HCSPARAMS - offset 0x4 */ member