Searched refs:rhport (Results 1 – 4 of 4) sorted by relevance
| /linux/drivers/usb/usbip/ |
| H A D | vhci_hcd.c | 158 int rhport = vdev->rhport; in rh_port_connect() local 162 usbip_dbg_vhci_rh("rh_port_connect %d\n", rhport); in rh_port_connect() 166 status = vhci_hcd->port_status[rhport]; in rh_port_connect() 181 vhci_hcd->port_status[rhport] = status; in rh_port_connect() 192 int rhport = vdev->rhport; in rh_port_disconnect() local 196 usbip_dbg_vhci_rh("rh_port_disconnect %d\n", rhport); in rh_port_disconnect() 200 status = vhci_hcd->port_status[rhport]; in rh_port_disconnect() 205 vhci_hcd->port_status[rhport] = status; in rh_port_disconnect() 234 int rhport; in vhci_hub_status() local 247 for (rhport = 0; rhport < VHCI_HC_PORTS; rhport++) { in vhci_hub_status() [all …]
|
| H A D | vhci.h | 32 __u32 rhport; member 171 return container_of((void *)(vdev - vdev->rhport), struct vhci_hcd, vdev); in vdev_to_vhci_hcd()
|
| /linux/tools/usb/usbip/src/ |
| H A D | usbip_attach.c | 39 static int record_connection(char *host, char *port, char *busid, int rhport) in record_connection() argument 61 snprintf(path, PATH_MAX, VHCI_STATE_PATH"/port%d", rhport); in record_connection() 178 int rhport; in attach_device() local 186 rhport = query_import_device(sockfd, busid); in attach_device() 187 if (rhport < 0) in attach_device() 192 rc = record_connection(host, usbip_port_string, busid, rhport); in attach_device()
|
| /linux/tools/usb/usbip/libsrc/ |
| H A D | vhci_driver.c | 187 static int read_record(int rhport, char *host, unsigned long host_len, in read_record() argument 202 snprintf(path, PATH_MAX, VHCI_STATE_PATH"/port%d", rhport); in read_record()
|