Home
last modified time | relevance | path

Searched refs:HCS_N_PORTS (Results 1 – 16 of 16) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/usb/host/
H 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()
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 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()
H A Dehci-pci.c286 if (temp && HCS_N_PORTS(ehci->hcs_params) > temp) { in ehci_pci_setup()
291 HCS_N_PORTS(ehci->hcs_params)); in ehci_pci_setup()
H A Doxu210hp-hcd.c108 #define HCS_N_PORTS(p) (((p)>>0)&0xf) /* bits 3:0, ports on HC */ macro
869 int ports = HCS_N_PORTS(oxu->hcs_params); in ehci_hub_descriptor()
2770 int port = HCS_N_PORTS(oxu->hcs_params); in ehci_turn_off_all_ports()
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()
3500 ports = HCS_N_PORTS(oxu->hcs_params); in oxu_hub_status_data()
3567 int ports = HCS_N_PORTS(oxu->hcs_params); in oxu_hub_control()
3867 port = HCS_N_PORTS(oxu->hcs_params); in oxu_bus_suspend()
3968 i = HCS_N_PORTS(oxu->hcs_params); in oxu_bus_resume()
3979 i = HCS_N_PORTS(oxu->hcs_params); in oxu_bus_resume()
H A Dehci-brcm.c61 int ports = HCS_N_PORTS(ehci->hcs_params); in ehci_brcm_hub_control()
H A Dehci-dbg.c28 HCS_N_PORTS(params)); in dbg_hcs_params()
35 for (i = 0; i < HCS_N_PORTS(params); i++) { in dbg_hcs_params()
870 for (i = 1; i <= HCS_N_PORTS(ehci->hcs_params); i++) { in fill_registers_buffer()
H A Dfotg210.h220 #define HCS_N_PORTS(p) (((p)>>0)&0xf) /* bits 3:0, ports on HC */ macro
H A Dehci-hcd.c320 int port = HCS_N_PORTS(ehci->hcs_params); in ehci_turn_off_all_ports()
799 unsigned i = HCS_N_PORTS (ehci->hcs_params); in ehci_irq()
H A Dfotg210-hcd.c99 HCS_N_PORTS(params)); in dbg_hcs_params()
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()
/OK3568_Linux_fs/kernel/drivers/usb/chipidea/
H A Dhost.c39 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()
/OK3568_Linux_fs/kernel/include/linux/usb/
H A Dehci_def.h47 #define HCS_N_PORTS(p) (((p)>>0)&0xf) /* bits 3:0, ports on HC */ macro
/OK3568_Linux_fs/kernel/drivers/usb/isp1760/
H A Disp1760-regs.h28 #define HCS_N_PORTS(p) (((p) >> 0) & 0xf) /* bits 3:0, ports on HC */ macro
H A Disp1760-hcd.c1755 int ports = HCS_N_PORTS(priv->hcs_params); in isp1760_hub_descriptor()
1812 int ports = HCS_N_PORTS(priv->hcs_params); in isp1760_hub_control()
/OK3568_Linux_fs/u-boot/drivers/usb/host/
H A Dehci.h28 #define HCS_N_PORTS(p) (((p) >> 0) & 0xf) macro
H A Dehci-hcd.c151 int max_ports = HCS_N_PORTS(ehci_readl(&ctrl->hccr->cr_hcsparams)); in ehci_get_portsc_register()
211 int max_ports = HCS_N_PORTS(ehci_readl(&ctrl->hccr->cr_hcsparams)); in ehci_shutdown()
1045 descriptor.hub.bNbrPorts = HCS_N_PORTS(reg); in ehci_common_init()
/OK3568_Linux_fs/kernel/drivers/usb/early/
H A Dehci-dbgp.c769 n_ports = HCS_N_PORTS(hcs_params); in ehci_setup()