Searched refs:hcs_params (Results 1 – 15 of 15) sorted by relevance
/drivers/usb/host/ |
D | ehci-pci.c | 247 u32 hcs_params = ehci_readl(ehci, in ehci_pci_setup() local 248 &ehci->caps->hcs_params); in ehci_pci_setup() 254 HCS_DEBUG_PORT(hcs_params), in ehci_pci_setup() 290 temp = HCS_N_CC(ehci->hcs_params) * HCS_N_PCC(ehci->hcs_params); in ehci_pci_setup() 292 if (temp && HCS_N_PORTS(ehci->hcs_params) > temp) { in ehci_pci_setup() 295 HCS_N_CC(ehci->hcs_params), in ehci_pci_setup() 296 HCS_N_PCC(ehci->hcs_params), in ehci_pci_setup() 297 HCS_N_PORTS(ehci->hcs_params)); in ehci_pci_setup() 302 temp |= (ehci->hcs_params & ~0xf); in ehci_pci_setup() 303 ehci->hcs_params = temp; in ehci_pci_setup()
|
D | ehci-hub.c | 66 port = HCS_N_PORTS(ehci->hcs_params); in ehci_handover_companion_ports() 80 port = HCS_N_PORTS(ehci->hcs_params); in ehci_handover_companion_ports() 107 port = HCS_N_PORTS(ehci->hcs_params); in ehci_handover_companion_ports() 138 int i = HCS_N_PORTS(ehci->hcs_params); in ehci_port_change() 175 port = HCS_N_PORTS(ehci->hcs_params); in ehci_adjust_port_wakeup_flags() 187 port = HCS_N_PORTS(ehci->hcs_params); in ehci_adjust_port_wakeup_flags() 207 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 …]
|
D | ehci-sysfs.c | 33 nports = HCS_N_PORTS(ehci->hcs_params); in show_companion() 65 if (portnum <= 0 || portnum > HCS_N_PORTS(ehci->hcs_params)) in store_companion()
|
D | ehci-tilegx.c | 142 ehci->hcs_params = readl(&ehci->caps->hcs_params); in ehci_hcd_tilegx_drv_probe()
|
D | oxu210hp.h | 69 u32 hcs_params; /* HCSPARAMS - offset 0x4 */ member 388 __u32 hcs_params; /* cached register copy */ member
|
D | oxu210hp-hcd.c | 445 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() 2695 oxu->hcs_params = readl(&oxu->caps->hcs_params); in oxu_reset() 3090 ports = HCS_N_PORTS(oxu->hcs_params); in oxu_hub_status_data() 3157 int ports = HCS_N_PORTS(oxu->hcs_params); in oxu_hub_control() 3220 if (HCS_PPC(oxu->hcs_params)) in oxu_hub_control() [all …]
|
D | fotg210.h | 91 __u32 hcs_params; /* cached register copy */ member 215 u32 hcs_params; /* HCSPARAMS - offset 0x4 */ member
|
D | ehci-hcd.c | 333 int port = HCS_N_PORTS(ehci->hcs_params); in ehci_turn_off_all_ports() 681 ehci->hcs_params = ehci_readl(ehci, &ehci->caps->hcs_params); in ehci_setup() 777 unsigned i = HCS_N_PORTS (ehci->hcs_params); in ehci_irq()
|
D | ehci-dbg.c | 29 u32 params = ehci_readl(ehci, &ehci->caps->hcs_params); in dbg_hcs_params() 860 i = ehci_readl(ehci, &ehci->caps->hcs_params); in fill_registers_buffer() 894 for (i = 1; i <= HCS_N_PORTS (ehci->hcs_params); i++) { in fill_registers_buffer() 901 if (i == HCS_DEBUG_PORT(ehci->hcs_params) && ehci->debug) { in fill_registers_buffer()
|
D | ehci.h | 139 __u32 hcs_params; /* cached register copy */ member
|
D | fotg210-hcd.c | 106 u32 params = fotg210_readl(fotg210, &fotg210->caps->hcs_params); in dbg_hcs_params() 693 i = fotg210_readl(fotg210, &fotg210->caps->hcs_params); in fill_registers_buffer() 1465 int ports = HCS_N_PORTS(fotg210->hcs_params); in fotg210_hub_descriptor() 1489 int ports = HCS_N_PORTS(fotg210->hcs_params); in fotg210_hub_control() 5139 fotg210->hcs_params = fotg210_readl(fotg210, in fotg210_setup() 5140 &fotg210->caps->hcs_params); in fotg210_setup()
|
/drivers/usb/chipidea/ |
D | host.c | 50 int port = HCS_N_PORTS(ehci->hcs_params); in ehci_ci_portpower() 215 port = HCS_N_PORTS(ehci->hcs_params); in ci_ehci_bus_suspend()
|
/drivers/usb/early/ |
D | ehci-dbgp.c | 759 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()
|
/drivers/usb/isp1760/ |
D | isp1760-hcd.h | 53 u32 hcs_params; member
|
D | isp1760-hcd.c | 506 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()
|