/kernel/linux/linux-5.10/drivers/usb/host/ |
H A D | ehci-pci.c | 242 u32 hcs_params = ehci_readl(ehci, in ehci_pci_setup() local 243 &ehci->caps->hcs_params); in ehci_pci_setup() 249 HCS_DEBUG_PORT(hcs_params), in ehci_pci_setup() 284 temp = HCS_N_CC(ehci->hcs_params) * HCS_N_PCC(ehci->hcs_params); in ehci_pci_setup() 286 if (temp && HCS_N_PORTS(ehci->hcs_params) > temp) { in ehci_pci_setup() 289 HCS_N_CC(ehci->hcs_params), in ehci_pci_setup() 290 HCS_N_PCC(ehci->hcs_params), in ehci_pci_setup() 291 HCS_N_PORTS(ehci->hcs_params)); in ehci_pci_setup() 296 temp |= (ehci->hcs_params in ehci_pci_setup() [all...] |
H A D | ehci-hub.c | 55 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() 127 int i = HCS_N_PORTS(ehci->hcs_params); in ehci_port_change() 164 port = HCS_N_PORTS(ehci->hcs_params); in ehci_adjust_port_wakeup_flags() 176 port = HCS_N_PORTS(ehci->hcs_params); in ehci_adjust_port_wakeup_flags() 196 port = HCS_N_PORTS(ehci->hcs_params); in ehci_adjust_port_wakeup_flags() 255 port = HCS_N_PORTS(ehci->hcs_params); in ehci_bus_suspend() 317 port = HCS_N_PORTS(ehci->hcs_params); in ehci_bus_suspend() 427 i = HCS_N_PORTS(ehci->hcs_params); in ehci_bus_resume() [all...] |
H A D | ehci-sysfs.c | 20 nports = HCS_N_PORTS(ehci->hcs_params); in companion_show() 52 if (portnum <= 0 || portnum > HCS_N_PORTS(ehci->hcs_params)) in companion_store()
|
H A D | oxu210hp-hcd.c | 101 u32 hcs_params; /* HCSPARAMS - offset 0x4 */ member 419 u32 hcs_params; /* cached register copy */ member 869 int ports = HCS_N_PORTS(oxu->hcs_params); in ehci_hub_descriptor() 885 if (HCS_PPC(oxu->hcs_params)) in ehci_hub_descriptor() 2770 int port = HCS_N_PORTS(oxu->hcs_params); in ehci_turn_off_all_ports() 2780 if (!HCS_PPC(oxu->hcs_params)) in ehci_port_power() 2784 for (port = HCS_N_PORTS(oxu->hcs_params); port > 0; ) { in ehci_port_power() 2902 unsigned i = HCS_N_PORTS(oxu->hcs_params); in oxu210_hcd_irq() 3107 oxu->hcs_params = readl(&oxu->caps->hcs_params); in oxu_reset() [all...] |
H A D | fotg210.h | 92 __u32 hcs_params; /* cached register copy */ member 219 u32 hcs_params; /* HCSPARAMS - offset 0x4 */ member
|
H A D | ehci-brcm.c | 61 int ports = HCS_N_PORTS(ehci->hcs_params); in ehci_brcm_hub_control()
|
H A D | ehci-hcd.c | 320 int port = HCS_N_PORTS(ehci->hcs_params); in ehci_turn_off_all_ports() 689 ehci->hcs_params = ehci_readl(ehci, &ehci->caps->hcs_params); in ehci_setup() 797 unsigned i = HCS_N_PORTS (ehci->hcs_params); in ehci_irq()
|
H A D | ehci-dbg.c | 17 u32 params = ehci_readl(ehci, &ehci->caps->hcs_params); in dbg_hcs_params() 20 "%s hcs_params 0x%x dbg=%d%s cc=%d pcc=%d%s%s ports=%d\n", 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()
|
H A D | ehci.h | 127 __u32 hcs_params; /* cached register copy */ member
|
/kernel/linux/linux-6.6/drivers/usb/host/ |
H A D | ehci-pci.c | 246 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 in ehci_pci_setup() [all...] |
H A D | ehci-hub.c | 55 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() 127 int i = HCS_N_PORTS(ehci->hcs_params); in ehci_port_change() 164 port = HCS_N_PORTS(ehci->hcs_params); in ehci_adjust_port_wakeup_flags() 176 port = HCS_N_PORTS(ehci->hcs_params); in ehci_adjust_port_wakeup_flags() 196 port = HCS_N_PORTS(ehci->hcs_params); in ehci_adjust_port_wakeup_flags() 255 port = HCS_N_PORTS(ehci->hcs_params); in ehci_bus_suspend() 317 port = HCS_N_PORTS(ehci->hcs_params); in ehci_bus_suspend() 427 i = HCS_N_PORTS(ehci->hcs_params); in ehci_bus_resume() [all...] |
H A D | ehci-sysfs.c | 20 nports = HCS_N_PORTS(ehci->hcs_params); in companion_show() 52 if (portnum <= 0 || portnum > HCS_N_PORTS(ehci->hcs_params)) in companion_store()
|
H A D | oxu210hp-hcd.c | 101 u32 hcs_params; /* HCSPARAMS - offset 0x4 */ member 419 u32 hcs_params; /* cached register copy */ member 869 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() 2785 for (port = HCS_N_PORTS(oxu->hcs_params); port > 0; ) { in ehci_port_power() 2903 unsigned i = HCS_N_PORTS(oxu->hcs_params); in oxu210_hcd_irq() 3108 oxu->hcs_params = readl(&oxu->caps->hcs_params); in oxu_reset() [all...] |
H A D | ehci-brcm.c | 61 int ports = HCS_N_PORTS(ehci->hcs_params); in ehci_brcm_hub_control()
|
H A D | ehci-dbg.c | 17 u32 params = ehci_readl(ehci, &ehci->caps->hcs_params); in dbg_hcs_params() 20 "%s hcs_params 0x%x dbg=%d%s cc=%d pcc=%d%s%s ports=%d\n", 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()
|
H A D | ehci-hcd.c | 321 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() 795 unsigned i = HCS_N_PORTS (ehci->hcs_params); in ehci_irq()
|
/kernel/linux/linux-5.10/drivers/usb/isp1760/ |
H A D | isp1760-hcd.h | 54 u32 hcs_params; member
|
H A D | isp1760-hcd.c | 503 priv->hcs_params = reg_read32(hcd->regs, HC_HCSPARAMS); in isp1760_hc_setup() 1755 int ports = HCS_N_PORTS(priv->hcs_params); in isp1760_hub_descriptor() 1773 if (HCS_PPC(priv->hcs_params)) in isp1760_hub_descriptor() 1812 int ports = HCS_N_PORTS(priv->hcs_params); in isp1760_hub_control() 1875 if (HCS_PPC(priv->hcs_params)) in isp1760_hub_control() 2030 if (HCS_PPC(priv->hcs_params)) in isp1760_hub_control()
|
/kernel/linux/linux-5.10/drivers/usb/early/ |
H A D | ehci-dbgp.c | 753 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()
|
/kernel/linux/linux-6.6/drivers/usb/early/ |
H A D | ehci-dbgp.c | 753 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()
|
/kernel/linux/linux-5.10/drivers/usb/chipidea/ |
H A D | host.c | 39 int port = HCS_N_PORTS(ehci->hcs_params); in ehci_ci_portpower() 236 unsigned int ports = HCS_N_PORTS(ehci->hcs_params); in ci_ehci_hub_control() 320 port = HCS_N_PORTS(ehci->hcs_params); in ci_ehci_bus_suspend()
|
/kernel/linux/linux-6.6/drivers/usb/chipidea/ |
H A D | host.c | 44 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()
|
/kernel/linux/linux-6.6/drivers/usb/fotg210/ |
H A D | fotg210-hcd.h | 92 __u32 hcs_params; /* cached register copy */ member 217 u32 hcs_params; /* HCSPARAMS - offset 0x4 */ member
|
/kernel/linux/linux-5.10/include/linux/usb/ |
H A D | ehci_def.h | 40 u32 hcs_params; /* HCSPARAMS - offset 0x4 */ member
|
/kernel/linux/linux-6.6/include/linux/usb/ |
H A D | ehci_def.h | 26 u32 hcs_params; /* HCSPARAMS - offset 0x4 */ member
|