Lines Matching refs:port
52 int port, status, speed, devid; in parse_status() local
59 hub, &port, &status, &speed, in parse_status()
68 hub, port, status, speed, devid); in parse_status()
72 idev = &vhci_driver->idev[port]; in parse_status()
80 idev->port = port; in parse_status()
188 char *port, unsigned long port_len, char *busid) in read_record() argument
230 if (sscanf(buffer, "%s %s %s\n", host, port, busid) != 3) { in read_record()
351 return vhci_driver->idev[i].port; in usbip_vhci_get_free_port()
357 int usbip_vhci_attach_device2(uint8_t port, int sockfd, uint32_t devid, in usbip_vhci_attach_device2() argument
366 port, sockfd, devid, speed); in usbip_vhci_attach_device2()
380 dbg("attached port: %d", port); in usbip_vhci_attach_device2()
391 int usbip_vhci_attach_device(uint8_t port, int sockfd, uint8_t busnum, in usbip_vhci_attach_device() argument
396 return usbip_vhci_attach_device2(port, sockfd, devid, speed); in usbip_vhci_attach_device()
399 int usbip_vhci_detach_device(uint8_t port) in usbip_vhci_detach_device() argument
407 snprintf(buff, sizeof(buff), "%u", port); in usbip_vhci_detach_device()
421 dbg("detached port: %d", port); in usbip_vhci_detach_device()
438 ret = read_record(idev->port, host, sizeof(host), serv, sizeof(serv), in usbip_vhci_imported_device_dump()
445 printf("Port %02d: <%s> at %s\n", idev->port, in usbip_vhci_imported_device_dump()