Lines Matching refs:Urb

382                           IN PURB Urb,  in USBPORT_FindUrbInIrpTable()  argument
391 Urb, in USBPORT_FindUrbInIrpTable()
406 if (urbIn == Urb) in USBPORT_FindUrbInIrpTable()
482 PURB Urb; in USBPORT_CancelPendingTransferIrp() local
494 Urb = URB_FROM_IRP(Irp); in USBPORT_CancelPendingTransferIrp()
495 Transfer = Urb->UrbControlTransfer.hca.Reserved8[0]; in USBPORT_CancelPendingTransferIrp()
524 USBPORT_CompleteTransfer(Transfer->Urb, USBD_STATUS_CANCELED); in USBPORT_CancelPendingTransferIrp()
535 PURB Urb; in USBPORT_CancelActiveTransferIrp() local
561 Urb = URB_FROM_IRP(irp); in USBPORT_CancelActiveTransferIrp()
562 Transfer = Urb->UrbControlTransfer.hca.Reserved8[0]; in USBPORT_CancelActiveTransferIrp()
567 Urb, in USBPORT_CancelActiveTransferIrp()
613 PURB Urb; in USBPORT_FlushAbortList() local
697 Urb = URB_FROM_IRP(Irp); in USBPORT_FlushAbortList()
699 DeviceHandle = Urb->UrbHeader.UsbdDeviceHandle; in USBPORT_FlushAbortList()
702 Status = USBPORT_USBDStatusToNtStatus(Urb, USBD_STATUS_SUCCESS); in USBPORT_FlushAbortList()
757 USBPORT_CompleteTransfer(Transfer->Urb, USBD_STATUS_DEVICE_GONE); in USBPORT_FlushCancelList()
763 USBPORT_CompleteTransfer(Transfer->Urb, in USBPORT_FlushCancelList()
768 USBPORT_CompleteTransfer(Transfer->Urb, in USBPORT_FlushCancelList()
793 PURB Urb; in USBPORT_FlushPendingTransfers() local
903 Urb = Transfer->Urb; in USBPORT_FlushPendingTransfers()
931 USBPORT_CompleteTransfer(Transfer->Urb, USBD_STATUS_CANCELED); in USBPORT_FlushPendingTransfers()
935 USBPORT_FindUrbInIrpTable(FdoExtension->ActiveIrpTable, Urb, Irp); in USBPORT_FlushPendingTransfers()
939 IsMapTransfer = USBPORT_QueueActiveUrbToEndpoint(Endpoint, Urb); in USBPORT_FlushPendingTransfers()
972 IN PURB Urb) in USBPORT_QueuePendingUrbToEndpoint() argument
978 Urb); in USBPORT_QueuePendingUrbToEndpoint()
980 Transfer = Urb->UrbControlTransfer.hca.Reserved8[0]; in USBPORT_QueuePendingUrbToEndpoint()
983 Urb->UrbHeader.Status = USBD_STATUS_PENDING; in USBPORT_QueuePendingUrbToEndpoint()
989 IN PURB Urb) in USBPORT_QueueActiveUrbToEndpoint() argument
999 Urb); in USBPORT_QueueActiveUrbToEndpoint()
1001 Transfer = Urb->UrbControlTransfer.hca.Reserved8[0]; in USBPORT_QueueActiveUrbToEndpoint()
1038 DeviceHandle = Transfer->Urb->UrbHeader.UsbdDeviceHandle; in USBPORT_QueueActiveUrbToEndpoint()
1051 PURB Urb; in USBPORT_QueuePendingTransferIrp() local
1059 Urb = URB_FROM_IRP(Irp); in USBPORT_QueuePendingTransferIrp()
1061 Transfer = Urb->UrbControlTransfer.hca.Reserved8[0]; in USBPORT_QueuePendingTransferIrp()
1074 USBPORT_CompleteTransfer(Urb, USBD_STATUS_CANCELED); in USBPORT_QueuePendingTransferIrp()
1079 USBPORT_QueuePendingUrbToEndpoint(Endpoint, Urb); in USBPORT_QueuePendingTransferIrp()
1085 USBPORT_QueueTransferUrb(IN PURB Urb) in USBPORT_QueueTransferUrb() argument
1093 DPRINT_CORE("USBPORT_QueueTransferUrb: Urb - %p\n", Urb); in USBPORT_QueueTransferUrb()
1095 if (Urb->UrbControlTransfer.TransferFlags & USBD_DEFAULT_PIPE_TRANSFER) in USBPORT_QueueTransferUrb()
1096 Urb->UrbHeader.Function = URB_FUNCTION_CONTROL_TRANSFER; in USBPORT_QueueTransferUrb()
1098 Transfer = Urb->UrbControlTransfer.hca.Reserved8[0]; in USBPORT_QueueTransferUrb()
1104 Parameters->TransferBufferLength = Urb->UrbControlTransfer.TransferBufferLength; in USBPORT_QueueTransferUrb()
1105 Parameters->TransferFlags = Urb->UrbControlTransfer.TransferFlags; in USBPORT_QueueTransferUrb()
1107 Transfer->TransferBufferMDL = Urb->UrbControlTransfer.TransferBufferMDL; in USBPORT_QueueTransferUrb()
1109 if (Urb->UrbControlTransfer.TransferFlags & USBD_TRANSFER_DIRECTION_IN) in USBPORT_QueueTransferUrb()
1121 Urb->UrbControlTransfer.SetupPacket, in USBPORT_QueueTransferUrb()
1126 Urb->UrbControlTransfer.TransferBufferLength); in USBPORT_QueueTransferUrb()
1128 Urb->UrbControlTransfer.TransferBufferLength = 0; in USBPORT_QueueTransferUrb()
1138 USBPORT_QueuePendingUrbToEndpoint(Endpoint, Urb); in USBPORT_QueueTransferUrb()
1141 DeviceHandle = Urb->UrbHeader.UsbdDeviceHandle; in USBPORT_QueueTransferUrb()
1147 Urb->UrbControlTransfer.TransferBufferLength); in USBPORT_QueueTransferUrb()
1149 if (Urb->UrbControlTransfer.TransferBufferLength) in USBPORT_QueueTransferUrb()
1156 Buffer = Urb->UrbControlTransfer.TransferBuffer; in USBPORT_QueueTransferUrb()
1157 BufferLength = Urb->UrbControlTransfer.TransferBufferLength; in USBPORT_QueueTransferUrb()