Searched refs:vhci_hcd (Results 1 – 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/drivers/usb/usbip/ |
D | vhci_hcd.c | 39 static int vhci_start(struct usb_hcd *vhci_hcd); 155 struct vhci_hcd *vhci_hcd = vdev_to_vhci_hcd(vdev); in rh_port_connect() local 156 struct vhci *vhci = vhci_hcd->vhci; 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() 184 usb_hcd_poll_rh_status(vhci_hcd_to_hcd(vhci_hcd)); in rh_port_connect() 189 struct vhci_hcd *vhci_hcd = vdev_to_vhci_hcd(vdev); in rh_port_disconnect() local 190 struct vhci *vhci = vhci_hcd->vhci; 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() [all …]
|
D | vhci.h | 98 struct vhci_hcd *vhci_hcd_hs; 99 struct vhci_hcd *vhci_hcd_ss; 103 struct vhci_hcd { struct 149 static inline struct vhci_hcd *hcd_to_vhci_hcd(struct usb_hcd *hcd) in hcd_to_vhci_hcd() 151 return (struct vhci_hcd *) (hcd->hcd_priv); in hcd_to_vhci_hcd() 164 static inline struct usb_hcd *vhci_hcd_to_hcd(struct vhci_hcd *vhci_hcd) in vhci_hcd_to_hcd() argument 166 return container_of((void *) vhci_hcd, struct usb_hcd, hcd_priv); in vhci_hcd_to_hcd() 169 static inline struct vhci_hcd *vdev_to_vhci_hcd(struct vhci_device *vdev) in vdev_to_vhci_hcd() 171 return container_of((void *)(vdev - vdev->rhport), struct vhci_hcd, vdev); in vdev_to_vhci_hcd()
|
D | vhci_rx.c | 58 struct vhci_hcd *vhci_hcd = vdev_to_vhci_hcd(vdev); in vhci_recv_ret_submit() local 59 struct vhci *vhci = vhci_hcd->vhci; in vhci_recv_ret_submit() 71 atomic_read(&vhci_hcd->seqnum)); in vhci_recv_ret_submit() 104 usb_hcd_unlink_urb_from_ep(vhci_hcd_to_hcd(vhci_hcd), urb); in vhci_recv_ret_submit() 107 usb_hcd_giveback_urb(vhci_hcd_to_hcd(vhci_hcd), urb, urb->status); in vhci_recv_ret_submit() 140 struct vhci_hcd *vhci_hcd = vdev_to_vhci_hcd(vdev); in vhci_recv_ret_unlink() local 141 struct vhci *vhci = vhci_hcd->vhci; in vhci_recv_ret_unlink() 175 usb_hcd_unlink_urb_from_ep(vhci_hcd_to_hcd(vhci_hcd), urb); in vhci_recv_ret_unlink() 178 usb_hcd_giveback_urb(vhci_hcd_to_hcd(vhci_hcd), urb, urb->status); in vhci_recv_ret_unlink()
|
D | vhci_sysfs.c | 68 struct vhci_hcd *vhci_hcd; in status_show_vhci() local 79 vhci_hcd = hcd_to_vhci_hcd(hcd); in status_show_vhci() 80 vhci = vhci_hcd->vhci; in status_show_vhci() 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() 183 struct vhci *vhci = vhci_hcd->vhci; in vhci_port_disconnect() 238 struct vhci_hcd *vhci_hcd; in detach_store() local 259 vhci_hcd = hcd_to_vhci_hcd(hcd)->vhci->vhci_hcd_ss; in detach_store() 261 vhci_hcd = hcd_to_vhci_hcd(hcd)->vhci->vhci_hcd_hs; in detach_store() 263 ret = vhci_port_disconnect(vhci_hcd, rhport); in detach_store() [all …]
|
D | Makefile | 8 vhci-hcd-y := vhci_sysfs.o vhci_tx.o vhci_rx.o vhci_hcd.o
|
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/usb/usbip/ |
D | usbip_test.sh | 57 if /sbin/modprobe -q vhci_hcd; then
|