Searched refs:rhport (Results 1 – 7 of 7) sorted by relevance
/Linux-v6.6/drivers/usb/usbip/ |
D | vhci_hcd.c | 157 int rhport = vdev->rhport; in rh_port_connect() local 161 usbip_dbg_vhci_rh("rh_port_connect %d\n", rhport); in rh_port_connect() 165 status = vhci_hcd->port_status[rhport]; in rh_port_connect() 180 vhci_hcd->port_status[rhport] = status; in rh_port_connect() 191 int rhport = vdev->rhport; in rh_port_disconnect() local 195 usbip_dbg_vhci_rh("rh_port_disconnect %d\n", rhport); in rh_port_disconnect() 199 status = vhci_hcd->port_status[rhport]; in rh_port_disconnect() 204 vhci_hcd->port_status[rhport] = status; in rh_port_disconnect() 233 int rhport; in vhci_hub_status() local 246 for (rhport = 0; rhport < VHCI_HC_PORTS; rhport++) { in vhci_hub_status() [all …]
|
D | vhci_sysfs.c | 180 static int vhci_port_disconnect(struct vhci_hcd *vhci_hcd, __u32 rhport) in vhci_port_disconnect() argument 182 struct vhci_device *vdev = &vhci_hcd->vdev[rhport]; in vhci_port_disconnect() 216 static int valid_port(__u32 *pdev_nr, __u32 *rhport) in valid_port() argument 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() 256 usbip_dbg_vhci_sysfs("rhport %d\n", rhport); in detach_store() [all …]
|
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-v6.6/tools/usb/usbip/src/ |
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-v6.6/tools/usb/usbip/libsrc/ |
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-v6.6/drivers/usb/host/ |
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()
|
D | isp1362.h | 448 u32 rhport[MAX_ROOT_PORTS]; member
|