Searched refs:rhport (Results 1 – 7 of 7) sorted by relevance
/linux/drivers/usb/usbip/ |
A D | vhci_hcd.c | 157 int rhport = vdev->rhport; in rh_port_connect() local 191 int rhport = vdev->rhport; in rh_port_disconnect() local 233 int rhport; in vhci_hub_status() local 246 for (rhport = 0; rhport < VHCI_HC_PORTS; rhport++) { in vhci_hub_status() 251 buf[(rhport + 1) / 8] |= 1 << (rhport + 1) % 8; in vhci_hub_status() 468 rhport, in vhci_hub_control() 1184 for (rhport = 0; rhport < VHCI_HC_PORTS; rhport++) { in vhci_start() 1188 vdev->rhport = rhport; in vhci_start() 1240 for (rhport = 0; rhport < VHCI_HC_PORTS; rhport++) { in vhci_stop() 1424 int rhport; in vhci_hcd_suspend() local [all …]
|
A D | vhci_sysfs.c | 224 if (*rhport >= VHCI_HC_PORTS) { in valid_port() 225 pr_err("rhport %u\n", *rhport); in valid_port() 228 *rhport = array_index_nospec(*rhport, VHCI_HC_PORTS); in valid_port() 236 __u32 port = 0, pdev_nr = 0, rhport = 0; in detach_store() local 245 rhport = port_to_rhport(port); in detach_store() 247 if (!valid_port(&pdev_nr, &rhport)) in detach_store() 276 if (!valid_port(pdev_nr, rhport)) { in valid_args() 332 rhport = port_to_rhport(port); in attach_store() 335 port, pdev_nr, rhport); in attach_store() 353 vdev = &vhci->vhci_hcd_ss->vdev[rhport]; in attach_store() [all …]
|
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/ |
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/ |
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()
|
/linux/drivers/usb/host/ |
A D | isp1362-hcd.c | 1142 isp1362_hcd->rhport[0] = isp1362_read_reg32(isp1362_hcd, HCRHPORT1); in isp1362_irq() 1143 isp1362_hcd->rhport[1] = isp1362_read_reg32(isp1362_hcd, HCRHPORT2); in isp1362_irq() 1259 if (!((isp1362_hcd->rhport[0] | isp1362_hcd->rhport[1]) & in isp1362_urb_enqueue() 1520 u32 status = isp1362_hcd->rhport[i]; in isp1362_hub_status_data() 1615 tmp = isp1362_hcd->rhport[--wIndex]; in isp1362_hub_control() 1664 isp1362_hcd->rhport[wIndex] = in isp1362_hub_control() 1678 isp1362_hcd->rhport[wIndex] = in isp1362_hub_control() 1686 isp1362_hcd->rhport[wIndex] = in isp1362_hub_control() 1713 isp1362_hcd->rhport[wIndex] = isp1362_read_reg32(isp1362_hcd, in isp1362_hub_control()
|
A D | isp1362.h | 448 u32 rhport[MAX_ROOT_PORTS]; member
|
Completed in 21 milliseconds