Lines Matching defs:port
23 * hub port sta spd dev sockfd local_busid
38 static void port_show_vhci(char **out, int hub, int port, struct vhci_device *vdev)
42 port, vdev->ud.status);
45 port, vdev->ud.status);
62 /* Sysfs entry to show port status */
154 "hub port sta spd dev sockfd local_busid\n");
236 __u32 port = 0, pdev_nr = 0, rhport = 0;
241 if (kstrtoint(buf, 10, &port) < 0)
244 pdev_nr = port_to_pdev_nr(port);
245 rhport = port_to_rhport(port);
252 dev_err(dev, "port is not ready %u\n", port);
258 if ((port / VHCI_HC_PORTS) % 2)
302 * A remote device is virtually attached to the root-hub port of @rhport with
313 __u32 port = 0, pdev_nr = 0, rhport = 0, devid = 0, speed = 0;
324 * @rhport: port number of vhci_hcd
329 if (sscanf(buf, "%u %u %u %u", &port, &sockfd, &devid, &speed) != 4)
331 pdev_nr = port_to_pdev_nr(port);
332 rhport = port_to_rhport(port);
334 usbip_dbg_vhci_sysfs("port(%u) pdev(%d) rhport(%u)\n",
335 port, pdev_nr, rhport);
345 dev_err(dev, "port %d is not ready\n", port);
406 dev_err(dev, "port %d already used\n", rhport);
409 * if there's another free port.