Lines Matching refs:ports
283 up = hub->ports + port - 1;
338 up = udev->hub->ports + x;
373 * This function counts the number of active ports at the given speed.
395 up = hub->ports + x;
670 udev->hub->ports + portno - 1);
946 udev->hub->ports + portno - 1);
1087 up = hub->ports + x;
1337 /* get number of ports */
1346 /* check number of ports */
1348 DPRINTFN(0, "Invalid number of USB 2.0 ports,"
1361 DPRINTFN(0, "Number of ports changed\n");
1382 /* get number of ports */
1391 /* check number of ports */
1393 DPRINTFN(0, "Invalid number of USB 3.0 ports,"
1406 DPRINTFN(0, "Number of ports changed\n");
1413 /* default number of ports */
1425 hub = bsd_malloc(sizeof(hub[0]) + (sizeof(hub->ports[0]) * nports),
1446 /* if self powered hub, give ports maximum current */
1479 * For all ports
1483 * For all ports
1485 * For all ports
1502 struct usb_port *up = hub->ports + x;
1609 * Detach all devices on active ports.
1643 /* Detach all ports */
1645 child = usb_bus_port_get_device(bus, hub->ports + x);
1716 hub->ports + x);
2861 udev->hub->ports + x);