Lines Matching defs:pipe

830 	Pipe *pipe = transfer->TransferPipe();
831 if (pipe->DeviceAddress() == fRootHubAddress)
834 TRACE("submit transfer called for device %d\n", pipe->DeviceAddress());
835 if (pipe->Type() & USB_OBJECT_CONTROL_PIPE)
840 if (pipe->Type() & USB_OBJECT_ISO_PIPE)
844 if (pipe->Type() & USB_OBJECT_ISO_PIPE)
856 if (pipe->Type() & USB_OBJECT_INTERRUPT_PIPE)
861 bool directionIn = (pipe->Direction() == Pipe::In);
985 UHCI::CancelQueuedTransfers(Pipe *pipe, bool force)
987 if (pipe->Type() & USB_OBJECT_ISO_PIPE)
988 return CancelQueuedIsochronousTransfers(pipe, force);
1001 if (current->transfer && current->transfer->TransferPipe() == pipe) {
1039 while (fProcessingPipe == pipe)
1049 UHCI::CancelQueuedIsochronousTransfers(Pipe *pipe, bool force)
1054 if (current->transfer->TransferPipe() == pipe) {
1080 Pipe *pipe = transfer->TransferPipe();
1084 uhci_td *setupDescriptor = CreateDescriptor(pipe, TD_TOKEN_SETUP,
1087 uhci_td *statusDescriptor = CreateDescriptor(pipe,
1110 status_t result = CreateDescriptorChain(pipe, &dataDescriptor,
1133 if (pipe->Speed() == USB_SPEED_LOWSPEED)
1256 Pipe *pipe = transfer->TransferPipe();
1257 bool directionIn = (pipe->Direction() == Pipe::In);
1264 if (packetSize > pipe->MaxPacketSize()) {
1265 TRACE_ERROR("isochronous packetSize is bigger than pipe MaxPacketSize\n");
1288 isoRequest[i] = CreateDescriptor(pipe,
1303 isoRequest[isochronousData->packet_count - 1] = CreateDescriptor(pipe,
1597 // store the currently processing pipe here so we can wait
1598 // in cancel if we are processing something on the target pipe
2084 Pipe *pipe = transfer->TransferPipe();
2085 bool directionIn = (pipe->Direction() == Pipe::In);
2089 status_t result = CreateDescriptorChain(pipe, &firstDescriptor,
2145 UHCI::CreateDescriptor(Pipe *pipe, uint8 direction, size_t bufferSize)
2158 if (pipe->Type() & USB_OBJECT_ISO_PIPE)
2165 if (pipe->Speed() == USB_SPEED_LOWSPEED)
2174 result->token |= (pipe->EndpointAddress() << TD_TOKEN_ENDPTADDR_SHIFT)
2175 | (pipe->DeviceAddress() << 8) | direction;
2198 UHCI::CreateDescriptorChain(Pipe *pipe, uhci_td **_firstDescriptor,
2201 size_t packetSize = pipe->MaxPacketSize();
2206 bool dataToggle = pipe->DataToggle();
2210 uhci_td *descriptor = CreateDescriptor(pipe, direction,