Searched refs:rhport (Results 1 - 7 of 7) sorted by relevance

/linux-master/drivers/usb/usbip/
H A Dvhci_hcd.c157 int rhport = vdev->rhport; local
161 usbip_dbg_vhci_rh("rh_port_connect %d\n", rhport);
165 status = vhci_hcd->port_status[rhport];
180 vhci_hcd->port_status[rhport] = status;
191 int rhport = vdev->rhport; local
195 usbip_dbg_vhci_rh("rh_port_disconnect %d\n", rhport);
199 status = vhci_hcd->port_status[rhport];
204 vhci_hcd->port_status[rhport]
233 int rhport; local
321 int rhport = -1; local
1175 int id, rhport; local
1229 int id, rhport; local
1423 int rhport; local
[all...]
H A Dvhci_sysfs.c180 static int vhci_port_disconnect(struct vhci_hcd *vhci_hcd, __u32 rhport) argument
182 struct vhci_device *vdev = &vhci_hcd->vdev[rhport];
216 static int valid_port(__u32 *pdev_nr, __u32 *rhport) argument
224 if (*rhport >= VHCI_HC_PORTS) {
225 pr_err("rhport %u\n", *rhport);
228 *rhport = array_index_nospec(*rhport, VHCI_HC_PORTS);
236 __u32 port = 0, pdev_nr = 0, rhport = 0; local
245 rhport
273 valid_args(__u32 *pdev_nr, __u32 *rhport, enum usb_device_speed speed) argument
313 __u32 port = 0, pdev_nr = 0, rhport = 0, devid = 0, speed = 0; local
[all...]
H A Dvhci.h32 __u32 rhport; member in struct:vhci_device
171 return container_of((void *)(vdev - vdev->rhport), struct vhci_hcd, vdev);
/linux-master/tools/usb/usbip/src/
H A Dusbip_attach.c39 static int record_connection(char *host, char *port, char *busid, int rhport) argument
61 snprintf(path, PATH_MAX, VHCI_STATE_PATH"/port%d", rhport);
178 int rhport; local
186 rhport = query_import_device(sockfd, busid);
187 if (rhport < 0)
192 rc = record_connection(host, usbip_port_string, busid, rhport);
/linux-master/tools/usb/usbip/libsrc/
H A Dvhci_driver.c187 static int read_record(int rhport, char *host, unsigned long host_len, argument
202 snprintf(path, PATH_MAX, VHCI_STATE_PATH"/port%d", rhport);
/linux-master/drivers/usb/host/
H A Disp1362-hcd.c1142 isp1362_hcd->rhport[0] = isp1362_read_reg32(isp1362_hcd, HCRHPORT1);
1143 isp1362_hcd->rhport[1] = isp1362_read_reg32(isp1362_hcd, HCRHPORT2);
1259 if (!((isp1362_hcd->rhport[0] | isp1362_hcd->rhport[1]) &
1520 u32 status = isp1362_hcd->rhport[i];
1615 tmp = isp1362_hcd->rhport[--wIndex];
1664 isp1362_hcd->rhport[wIndex] =
1678 isp1362_hcd->rhport[wIndex] =
1686 isp1362_hcd->rhport[wIndex] =
1713 isp1362_hcd->rhport[wInde
[all...]
H A Disp1362.h448 u32 rhport[MAX_ROOT_PORTS]; member in struct:isp1362_hcd

Completed in 148 milliseconds