Home
last modified time | relevance | path

Searched refs:sc_noport (Results 1 – 8 of 8) sorted by relevance

/freebsd-9-stable/sys/mips/cavium/usb/
Doctusb.c814 for (x = 0; x != sc->sc_noport; x++) in octusb_interrupt_poll()
866 sc->sc_noport = cvmx_usb_get_num_ports(); in octusb_init()
869 if (sc->sc_noport > OCTUSB_MAX_PORTS) in octusb_init()
870 sc->sc_noport = OCTUSB_MAX_PORTS; in octusb_init()
885 for (x = 0; x != sc->sc_noport; x++) { in octusb_init()
906 for (x = 0; x != sc->sc_noport; x++) { in octusb_uninit()
1576 (index > sc->sc_noport) || in octusb_roothub_exec()
1622 sc->sc_hubd.bNbrPorts = sc->sc_noport; in octusb_roothub_exec()
1632 (index > sc->sc_noport) || in octusb_roothub_exec()
1679 (index > sc->sc_noport) || in octusb_roothub_exec()
Doctusb.h132 uint8_t sc_noport; /* number of ports */ member
/freebsd-9-stable/sys/dev/usb/controller/
Dohci.c286 sc->sc_noport = 0; in ohci_controller_init()
287 for (i = 0; (i < 10) && (sc->sc_noport == 0); i++) { in ohci_controller_init()
290 sc->sc_noport = OHCI_GET_NDP(OREAD4(sc, OHCI_RH_DESCRIPTOR_A)); in ohci_controller_init()
1610 m = (sc->sc_noport + 1); in ohci_root_intr()
2226 (index > sc->sc_noport)) { in ohci_roothub_exec()
2283 sc->sc_hub_desc.hubd.bNbrPorts = sc->sc_noport; in ohci_roothub_exec()
2292 for (l = 0; l < sc->sc_noport; l++) { in ohci_roothub_exec()
2299 8 + ((sc->sc_noport + 7) / 8); in ohci_roothub_exec()
2311 (index > sc->sc_noport)) { in ohci_roothub_exec()
2329 (index > sc->sc_noport)) { in ohci_roothub_exec()
Dxhci.c595 sc->sc_noport = XHCI_HCS1_N_PORTS(temp); in xhci_init()
597 if (sc->sc_noport == 0) { in xhci_init()
599 "of ports: %u\n", sc->sc_noport); in xhci_init()
603 sc->sc_noport = sc->sc_noport; in xhci_init()
2963 for (i = 1; i <= sc->sc_noport; i++) { in xhci_root_intr()
3356 (index > sc->sc_noport)) { in xhci_roothub_exec()
3429 sc->sc_hub_desc.hubd.bNbrPorts = sc->sc_noport; in xhci_roothub_exec()
3446 for (j = 1; j <= sc->sc_noport; j++) { in xhci_roothub_exec()
3466 (index > sc->sc_noport)) { in xhci_roothub_exec()
3539 (index > sc->sc_noport)) { in xhci_roothub_exec()
Dohci.h248 uint8_t sc_noport; member
Dehci.c332 sc->sc_noport = EHCI_HCS_N_PORTS(sparams); in ehci_init()
688 for (i = 1; i <= sc->sc_noport; i++) { in ehci_dump_regs()
2050 m = (sc->sc_noport + 1); in ehci_root_intr()
3235 (index > sc->sc_noport)) { in ehci_roothub_exec()
3303 sc->sc_hub_desc.hubd.bNbrPorts = sc->sc_noport; in ehci_roothub_exec()
3318 8 + ((sc->sc_noport + 7) / 8); in ehci_roothub_exec()
3329 (index > sc->sc_noport)) { in ehci_roothub_exec()
3379 (index > sc->sc_noport)) { in ehci_roothub_exec()
Dxhci.h497 uint8_t sc_noport; member
Dehci.h353 uint8_t sc_noport; member