Lines Matching refs:ports
291 up = hub->ports + port - 1;
346 up = udev->hub->ports + x;
381 * This function counts the number of active ports at the given speed.
403 up = hub->ports + x;
615 udev->hub->ports + portno - 1);
885 udev->hub->ports + portno - 1);
1032 up = hub->ports + x;
1269 /* get number of ports */
1278 /* check number of ports */
1280 DPRINTFN(0, "Invalid number of USB 2.0 ports,"
1293 DPRINTFN(0, "Number of ports changed\n");
1314 /* get number of ports */
1323 /* check number of ports */
1325 DPRINTFN(0, "Invalid number of USB 3.0 ports,"
1338 DPRINTFN(0, "Number of ports changed\n");
1345 /* default number of ports */
1360 hub = malloc(sizeof(hub[0]) + (sizeof(hub->ports[0]) * nports),
1381 /* if self powered hub, give ports maximum current */
1432 * For all ports
1436 * For all ports
1438 * For all ports
1455 struct usb_port *up = hub->ports + x;
1539 * Detach all devices on active ports.
1556 /* Detach all ports */
1558 child = usb_bus_port_get_device(bus, hub->ports + x);
1623 hub->ports + x);
2772 udev->hub->ports + x);