Searched refs:rhport (Results 1 – 6 of 6) sorted by relevance
/drivers/staging/usbip/ |
D | vhci_hcd.c | 122 void rh_port_connect(int rhport, enum usb_device_speed speed) in rh_port_connect() argument 124 usbip_dbg_vhci_rh("rh_port_connect %d\n", rhport); in rh_port_connect() 128 the_controller->port_status[rhport] |= USB_PORT_STAT_CONNECTION in rh_port_connect() 133 the_controller->port_status[rhport] |= USB_PORT_STAT_HIGH_SPEED; in rh_port_connect() 136 the_controller->port_status[rhport] |= USB_PORT_STAT_LOW_SPEED; in rh_port_connect() 147 static void rh_port_disconnect(int rhport) in rh_port_disconnect() argument 149 usbip_dbg_vhci_rh("rh_port_disconnect %d\n", rhport); in rh_port_disconnect() 153 the_controller->port_status[rhport] &= ~USB_PORT_STAT_CONNECTION; in rh_port_disconnect() 154 the_controller->port_status[rhport] |= in rh_port_disconnect() 183 int rhport; in vhci_hub_status() local [all …]
|
D | vhci_sysfs.c | 80 static int vhci_port_disconnect(__u32 rhport) in vhci_port_disconnect() argument 89 vdev = port_to_vdev(rhport); in vhci_port_disconnect() 115 __u32 rhport = 0; in store_detach() local 117 sscanf(buf, "%u", &rhport); in store_detach() 120 if (rhport >= VHCI_NPORTS) { in store_detach() 121 dev_err(dev, "invalid port %u\n", rhport); in store_detach() 125 err = vhci_port_disconnect(rhport); in store_detach() 136 static int valid_args(__u32 rhport, enum usb_device_speed speed) in valid_args() argument 139 if (rhport >= VHCI_NPORTS) { in valid_args() 140 pr_err("port %u\n", rhport); in valid_args() [all …]
|
D | vhci.h | 36 __u32 rhport; member 100 void rh_port_connect(int rhport, enum usb_device_speed speed);
|
/drivers/staging/usbip/userspace/src/ |
D | usbip_attach.c | 48 static int record_connection(char *host, char *port, char *busid, int rhport) in record_connection() argument 69 snprintf(path, PATH_MAX, VHCI_STATE_PATH"/port%d", rhport); in record_connection() 176 int rhport; in attach_device() local 184 rhport = query_import_device(sockfd, busid); in attach_device() 185 if (rhport < 0) { in attach_device() 192 rc = record_connection(host, USBIP_PORT_STRING, busid, rhport); in attach_device()
|
/drivers/usb/host/ |
D | isp1362-hcd.c | 1146 isp1362_hcd->rhport[0] = isp1362_read_reg32(isp1362_hcd, HCRHPORT1); in isp1362_irq() 1147 isp1362_hcd->rhport[1] = isp1362_read_reg32(isp1362_hcd, HCRHPORT2); in isp1362_irq() 1263 if (!((isp1362_hcd->rhport[0] | isp1362_hcd->rhport[1]) & in isp1362_urb_enqueue() 1524 u32 status = isp1362_hcd->rhport[i]; in isp1362_hub_status_data() 1614 tmp = isp1362_hcd->rhport[--wIndex]; in isp1362_hub_control() 1663 isp1362_hcd->rhport[wIndex] = in isp1362_hub_control() 1677 isp1362_hcd->rhport[wIndex] = in isp1362_hub_control() 1685 isp1362_hcd->rhport[wIndex] = in isp1362_hub_control() 1712 isp1362_hcd->rhport[wIndex] = isp1362_read_reg32(isp1362_hcd, in isp1362_hub_control()
|
D | isp1362.h | 499 u32 rhport[MAX_ROOT_PORTS]; member
|