Lines Matching refs:Urb
23 PURB Urb; in USBSTOR_GetEndpointStatus() local
30 Urb = (PURB)AllocateItem(NonPagedPool, sizeof(struct _URB_CONTROL_VENDOR_OR_CLASS_REQUEST)); in USBSTOR_GetEndpointStatus()
31 if (!Urb) in USBSTOR_GetEndpointStatus()
43 …UsbBuildGetStatusRequest(Urb, URB_FUNCTION_GET_STATUS_FROM_ENDPOINT, bEndpointAddress & 0x0F, Valu… in USBSTOR_GetEndpointStatus()
48 DPRINT1("Sending Request DeviceObject %p, Urb %p\n", DeviceObject, Urb); in USBSTOR_GetEndpointStatus()
49 Status = USBSTOR_SyncUrbRequest(DeviceObject, Urb); in USBSTOR_GetEndpointStatus()
54 FreeItem(Urb); in USBSTOR_GetEndpointStatus()
69 PURB Urb; in USBSTOR_ResetPipeWithHandle() local
76 Urb = (PURB)AllocateItem(NonPagedPool, sizeof(struct _URB_PIPE_REQUEST)); in USBSTOR_ResetPipeWithHandle()
77 if (!Urb) in USBSTOR_ResetPipeWithHandle()
89 Urb->UrbPipeRequest.Hdr.Length = sizeof(struct _URB_PIPE_REQUEST); in USBSTOR_ResetPipeWithHandle()
90 Urb->UrbPipeRequest.Hdr.Function = URB_FUNCTION_SYNC_RESET_PIPE_AND_CLEAR_STALL; in USBSTOR_ResetPipeWithHandle()
91 Urb->UrbPipeRequest.PipeHandle = PipeHandle; in USBSTOR_ResetPipeWithHandle()
96 DPRINT1("Sending Request DeviceObject %p, Urb %p\n", DeviceObject, Urb); in USBSTOR_ResetPipeWithHandle()
97 Status = USBSTOR_SyncUrbRequest(DeviceObject, Urb); in USBSTOR_ResetPipeWithHandle()
102 FreeItem(Urb); in USBSTOR_ResetPipeWithHandle()