vhci_hcd 98 drivers/usb/usbip/vhci.h struct vhci_hcd *vhci_hcd_hs; vhci_hcd 99 drivers/usb/usbip/vhci.h struct vhci_hcd *vhci_hcd_ss; vhci_hcd 149 drivers/usb/usbip/vhci.h static inline struct vhci_hcd *hcd_to_vhci_hcd(struct usb_hcd *hcd) vhci_hcd 151 drivers/usb/usbip/vhci.h return (struct vhci_hcd *) (hcd->hcd_priv); vhci_hcd 164 drivers/usb/usbip/vhci.h static inline struct usb_hcd *vhci_hcd_to_hcd(struct vhci_hcd *vhci_hcd) vhci_hcd 166 drivers/usb/usbip/vhci.h return container_of((void *) vhci_hcd, struct usb_hcd, hcd_priv); vhci_hcd 169 drivers/usb/usbip/vhci.h static inline struct vhci_hcd *vdev_to_vhci_hcd(struct vhci_device *vdev) vhci_hcd 171 drivers/usb/usbip/vhci.h return container_of((void *)(vdev - vdev->rhport), struct vhci_hcd, vdev); vhci_hcd 39 drivers/usb/usbip/vhci_hcd.c static int vhci_start(struct usb_hcd *vhci_hcd); vhci_hcd 155 drivers/usb/usbip/vhci_hcd.c struct vhci_hcd *vhci_hcd = vdev_to_vhci_hcd(vdev); vhci_hcd 156 drivers/usb/usbip/vhci_hcd.c struct vhci *vhci = vhci_hcd->vhci; vhci_hcd 165 drivers/usb/usbip/vhci_hcd.c status = vhci_hcd->port_status[rhport]; vhci_hcd 180 drivers/usb/usbip/vhci_hcd.c vhci_hcd->port_status[rhport] = status; vhci_hcd 184 drivers/usb/usbip/vhci_hcd.c usb_hcd_poll_rh_status(vhci_hcd_to_hcd(vhci_hcd)); vhci_hcd 189 drivers/usb/usbip/vhci_hcd.c struct vhci_hcd *vhci_hcd = vdev_to_vhci_hcd(vdev); vhci_hcd 190 drivers/usb/usbip/vhci_hcd.c struct vhci *vhci = vhci_hcd->vhci; vhci_hcd 199 drivers/usb/usbip/vhci_hcd.c status = vhci_hcd->port_status[rhport]; vhci_hcd 204 drivers/usb/usbip/vhci_hcd.c vhci_hcd->port_status[rhport] = status; vhci_hcd 207 drivers/usb/usbip/vhci_hcd.c usb_hcd_poll_rh_status(vhci_hcd_to_hcd(vhci_hcd)); vhci_hcd 230 drivers/usb/usbip/vhci_hcd.c struct vhci_hcd *vhci_hcd = hcd_to_vhci_hcd(hcd); vhci_hcd 231 drivers/usb/usbip/vhci_hcd.c struct vhci *vhci = vhci_hcd->vhci; vhci_hcd 247 drivers/usb/usbip/vhci_hcd.c if ((vhci_hcd->port_status[rhport] & PORT_C_MASK)) { vhci_hcd 318 drivers/usb/usbip/vhci_hcd.c struct vhci_hcd *vhci_hcd; vhci_hcd 352 drivers/usb/usbip/vhci_hcd.c vhci_hcd = hcd_to_vhci_hcd(hcd); vhci_hcd 353 drivers/usb/usbip/vhci_hcd.c vhci = vhci_hcd->vhci; vhci_hcd 360 drivers/usb/usbip/vhci_hcd.c memcpy(prev_port_status, vhci_hcd->port_status, vhci_hcd 382 drivers/usb/usbip/vhci_hcd.c if (vhci_hcd->port_status[rhport] & USB_PORT_STAT_SUSPEND) { vhci_hcd 384 drivers/usb/usbip/vhci_hcd.c vhci_hcd->resuming = 1; vhci_hcd 385 drivers/usb/usbip/vhci_hcd.c vhci_hcd->re_timeout = jiffies + msecs_to_jiffies(20); vhci_hcd 392 drivers/usb/usbip/vhci_hcd.c vhci_hcd->port_status[rhport] &= ~USB_SS_PORT_STAT_POWER; vhci_hcd 394 drivers/usb/usbip/vhci_hcd.c vhci_hcd->port_status[rhport] &= ~USB_PORT_STAT_POWER; vhci_hcd 399 drivers/usb/usbip/vhci_hcd.c vhci_hcd->port_status[rhport] &= ~(1 << wValue); vhci_hcd 443 drivers/usb/usbip/vhci_hcd.c if (vhci_hcd->resuming && time_after(jiffies, vhci_hcd->re_timeout)) { vhci_hcd 444 drivers/usb/usbip/vhci_hcd.c vhci_hcd->port_status[rhport] |= (1 << USB_PORT_FEAT_C_SUSPEND); vhci_hcd 445 drivers/usb/usbip/vhci_hcd.c vhci_hcd->port_status[rhport] &= ~(1 << USB_PORT_FEAT_SUSPEND); vhci_hcd 446 drivers/usb/usbip/vhci_hcd.c vhci_hcd->resuming = 0; vhci_hcd 447 drivers/usb/usbip/vhci_hcd.c vhci_hcd->re_timeout = 0; vhci_hcd 450 drivers/usb/usbip/vhci_hcd.c if ((vhci_hcd->port_status[rhport] & (1 << USB_PORT_FEAT_RESET)) != vhci_hcd 451 drivers/usb/usbip/vhci_hcd.c 0 && time_after(jiffies, vhci_hcd->re_timeout)) { vhci_hcd 452 drivers/usb/usbip/vhci_hcd.c vhci_hcd->port_status[rhport] |= (1 << USB_PORT_FEAT_C_RESET); vhci_hcd 453 drivers/usb/usbip/vhci_hcd.c vhci_hcd->port_status[rhport] &= ~(1 << USB_PORT_FEAT_RESET); vhci_hcd 454 drivers/usb/usbip/vhci_hcd.c vhci_hcd->re_timeout = 0; vhci_hcd 456 drivers/usb/usbip/vhci_hcd.c if (vhci_hcd->vdev[rhport].ud.status == vhci_hcd 461 drivers/usb/usbip/vhci_hcd.c vhci_hcd->vdev[rhport].ud.status); vhci_hcd 462 drivers/usb/usbip/vhci_hcd.c vhci_hcd->port_status[rhport] |= vhci_hcd 467 drivers/usb/usbip/vhci_hcd.c switch (vhci_hcd->vdev[rhport].speed) { vhci_hcd 469 drivers/usb/usbip/vhci_hcd.c vhci_hcd->port_status[rhport] |= vhci_hcd 473 drivers/usb/usbip/vhci_hcd.c vhci_hcd->port_status[rhport] |= vhci_hcd 482 drivers/usb/usbip/vhci_hcd.c ((__le16 *) buf)[0] = cpu_to_le16(vhci_hcd->port_status[rhport]); vhci_hcd 484 drivers/usb/usbip/vhci_hcd.c cpu_to_le16(vhci_hcd->port_status[rhport] >> 16); vhci_hcd 537 drivers/usb/usbip/vhci_hcd.c vhci_hcd->port_status[rhport] |= USB_PORT_STAT_SUSPEND; vhci_hcd 547 drivers/usb/usbip/vhci_hcd.c vhci_hcd->port_status[rhport] |= USB_SS_PORT_STAT_POWER; vhci_hcd 549 drivers/usb/usbip/vhci_hcd.c vhci_hcd->port_status[rhport] |= USB_PORT_STAT_POWER; vhci_hcd 574 drivers/usb/usbip/vhci_hcd.c vhci_hcd->port_status[rhport] = 0; vhci_hcd 575 drivers/usb/usbip/vhci_hcd.c vhci_hcd->port_status[rhport] = vhci_hcd 579 drivers/usb/usbip/vhci_hcd.c } else if (vhci_hcd->port_status[rhport] & USB_PORT_STAT_ENABLE) { vhci_hcd 580 drivers/usb/usbip/vhci_hcd.c vhci_hcd->port_status[rhport] &= ~(USB_PORT_STAT_ENABLE vhci_hcd 586 drivers/usb/usbip/vhci_hcd.c vhci_hcd->re_timeout = jiffies + msecs_to_jiffies(50); vhci_hcd 597 drivers/usb/usbip/vhci_hcd.c if ((vhci_hcd->port_status[rhport] & vhci_hcd 599 drivers/usb/usbip/vhci_hcd.c vhci_hcd->port_status[rhport] |= (1 << wValue); vhci_hcd 602 drivers/usb/usbip/vhci_hcd.c if ((vhci_hcd->port_status[rhport] & vhci_hcd 604 drivers/usb/usbip/vhci_hcd.c vhci_hcd->port_status[rhport] |= (1 << wValue); vhci_hcd 639 drivers/usb/usbip/vhci_hcd.c vhci_hcd->port_status[rhport], vhci_hcd 648 drivers/usb/usbip/vhci_hcd.c (vhci_hcd->port_status[rhport] & PORT_C_MASK) != 0) { vhci_hcd 658 drivers/usb/usbip/vhci_hcd.c struct vhci_hcd *vhci_hcd = vdev_to_vhci_hcd(vdev); vhci_hcd 669 drivers/usb/usbip/vhci_hcd.c priv->seqnum = atomic_inc_return(&vhci_hcd->seqnum); vhci_hcd 686 drivers/usb/usbip/vhci_hcd.c struct vhci_hcd *vhci_hcd = hcd_to_vhci_hcd(hcd); vhci_hcd 687 drivers/usb/usbip/vhci_hcd.c struct vhci *vhci = vhci_hcd->vhci; vhci_hcd 698 drivers/usb/usbip/vhci_hcd.c vdev = &vhci_hcd->vdev[portnum-1]; vhci_hcd 854 drivers/usb/usbip/vhci_hcd.c struct vhci_hcd *vhci_hcd = hcd_to_vhci_hcd(hcd); vhci_hcd 855 drivers/usb/usbip/vhci_hcd.c struct vhci *vhci = vhci_hcd->vhci; vhci_hcd 919 drivers/usb/usbip/vhci_hcd.c unlink->seqnum = atomic_inc_return(&vhci_hcd->seqnum); vhci_hcd 941 drivers/usb/usbip/vhci_hcd.c struct vhci_hcd *vhci_hcd = vdev_to_vhci_hcd(vdev); vhci_hcd 942 drivers/usb/usbip/vhci_hcd.c struct usb_hcd *hcd = vhci_hcd_to_hcd(vhci_hcd); vhci_hcd 943 drivers/usb/usbip/vhci_hcd.c struct vhci *vhci = vhci_hcd->vhci; vhci_hcd 1161 drivers/usb/usbip/vhci_hcd.c struct vhci_hcd *vhci_hcd = hcd_to_vhci_hcd(hcd); vhci_hcd 1168 drivers/usb/usbip/vhci_hcd.c spin_lock_init(&vhci_hcd->vhci->lock); vhci_hcd 1173 drivers/usb/usbip/vhci_hcd.c struct vhci_device *vdev = &vhci_hcd->vdev[rhport]; vhci_hcd 1179 drivers/usb/usbip/vhci_hcd.c atomic_set(&vhci_hcd->seqnum, 0); vhci_hcd 1215 drivers/usb/usbip/vhci_hcd.c struct vhci_hcd *vhci_hcd = hcd_to_vhci_hcd(hcd); vhci_hcd 1229 drivers/usb/usbip/vhci_hcd.c struct vhci_device *vdev = &vhci_hcd->vdev[rhport]; vhci_hcd 1304 drivers/usb/usbip/vhci_hcd.c .hcd_priv_size = sizeof(struct vhci_hcd), vhci_hcd 58 drivers/usb/usbip/vhci_rx.c struct vhci_hcd *vhci_hcd = vdev_to_vhci_hcd(vdev); vhci_hcd 59 drivers/usb/usbip/vhci_rx.c struct vhci *vhci = vhci_hcd->vhci; vhci_hcd 71 drivers/usb/usbip/vhci_rx.c atomic_read(&vhci_hcd->seqnum)); vhci_hcd 104 drivers/usb/usbip/vhci_rx.c usb_hcd_unlink_urb_from_ep(vhci_hcd_to_hcd(vhci_hcd), urb); vhci_hcd 107 drivers/usb/usbip/vhci_rx.c usb_hcd_giveback_urb(vhci_hcd_to_hcd(vhci_hcd), urb, urb->status); vhci_hcd 140 drivers/usb/usbip/vhci_rx.c struct vhci_hcd *vhci_hcd = vdev_to_vhci_hcd(vdev); vhci_hcd 141 drivers/usb/usbip/vhci_rx.c struct vhci *vhci = vhci_hcd->vhci; vhci_hcd 175 drivers/usb/usbip/vhci_rx.c usb_hcd_unlink_urb_from_ep(vhci_hcd_to_hcd(vhci_hcd), urb); vhci_hcd 178 drivers/usb/usbip/vhci_rx.c usb_hcd_giveback_urb(vhci_hcd_to_hcd(vhci_hcd), urb, urb->status); vhci_hcd 68 drivers/usb/usbip/vhci_sysfs.c struct vhci_hcd *vhci_hcd; vhci_hcd 79 drivers/usb/usbip/vhci_sysfs.c vhci_hcd = hcd_to_vhci_hcd(hcd); vhci_hcd 80 drivers/usb/usbip/vhci_sysfs.c vhci = vhci_hcd->vhci; vhci_hcd 180 drivers/usb/usbip/vhci_sysfs.c static int vhci_port_disconnect(struct vhci_hcd *vhci_hcd, __u32 rhport) vhci_hcd 182 drivers/usb/usbip/vhci_sysfs.c struct vhci_device *vdev = &vhci_hcd->vdev[rhport]; vhci_hcd 183 drivers/usb/usbip/vhci_sysfs.c struct vhci *vhci = vhci_hcd->vhci; vhci_hcd 233 drivers/usb/usbip/vhci_sysfs.c struct vhci_hcd *vhci_hcd; vhci_hcd 254 drivers/usb/usbip/vhci_sysfs.c vhci_hcd = hcd_to_vhci_hcd(hcd)->vhci->vhci_hcd_ss; vhci_hcd 256 drivers/usb/usbip/vhci_sysfs.c vhci_hcd = hcd_to_vhci_hcd(hcd)->vhci->vhci_hcd_hs; vhci_hcd 258 drivers/usb/usbip/vhci_sysfs.c ret = vhci_port_disconnect(vhci_hcd, rhport); vhci_hcd 310 drivers/usb/usbip/vhci_sysfs.c struct vhci_hcd *vhci_hcd; vhci_hcd 342 drivers/usb/usbip/vhci_sysfs.c vhci_hcd = hcd_to_vhci_hcd(hcd); vhci_hcd 343 drivers/usb/usbip/vhci_sysfs.c vhci = vhci_hcd->vhci;