Lines Matching defs:pipe

909 	Pipe *pipe = transfer->TransferPipe();
910 status_t result = InitQueueHead(transferData.queue_head, pipe);
916 if ((pipe->Type() & USB_OBJECT_CONTROL_PIPE) != 0) {
929 if ((pipe->Type() & USB_OBJECT_INTERRUPT_PIPE) != 0)
930 LinkPeriodicDebugQueueHead(transferData.queue_head, pipe);
954 EHCI::LinkPeriodicDebugQueueHead(ehci_qh *queueHead, Pipe *pipe)
956 if (pipe->Speed() == USB_SPEED_HIGHSPEED)
1092 Pipe *pipe = transfer->TransferPipe();
1093 if ((pipe->Type() & USB_OBJECT_ISO_PIPE) != 0)
1106 result = InitQueueHead(queueHead, pipe);
1115 if ((pipe->Type() & USB_OBJECT_CONTROL_PIPE) != 0) {
1142 if ((pipe->Type() & USB_OBJECT_INTERRUPT_PIPE) != 0)
1143 result = LinkInterruptQueueHead(queueHead, pipe);
1160 Pipe *pipe = transfer->TransferPipe();
1161 bool directionIn = (pipe->Direction() == Pipe::In);
1170 if (packetSize > pipe->MaxPacketSize()) {
1172 "isochronous packetSize is bigger than pipe MaxPacketSize\n");
1200 isochronousData->packet_count, pipe->MaxPacketSize(), packetSize,
1280 |= (pipe->EndpointAddress() << EHCI_ITD_ENDPOINT_SHIFT)
1281 | (pipe->DeviceAddress() << EHCI_ITD_ADDRESS_SHIFT);
1283 |= (pipe->MaxPacketSize() & EHCI_ITD_MAXPACKETSIZE_MASK)
1286 |= ((((pipe->MaxPacketSize() >> EHCI_ITD_MAXPACKETSIZE_LENGTH) + 1)
1346 EHCI::NotifyPipeChange(Pipe *pipe, usb_change change)
1348 TRACE("pipe change %d for pipe %p\n", change, pipe);
1353 // for all transfers to/from this pipe
1359 // pipe policy settings here
1740 EHCI::CancelQueuedTransfers(Pipe *pipe, bool force)
1742 if ((pipe->Type() & USB_OBJECT_ISO_PIPE) != 0)
1743 return CancelQueuedIsochronousTransfers(pipe, force);
1756 if (current->transfer && current->transfer->TransferPipe() == pipe) {
1795 while (fProcessingPipe == pipe)
1805 EHCI::CancelQueuedIsochronousTransfers(Pipe *pipe, bool force)
1810 if (current->transfer->TransferPipe() == pipe) {
1993 // store the currently processing pipe here so we can wait
1994 // in cancel if we are processing something on the target pipe
2283 EHCI::InitQueueHead(ehci_qh *queueHead, Pipe *pipe)
2285 switch (pipe->Speed()) {
2296 TRACE_ERROR("unknown pipe speed\n");
2301 | (pipe->MaxPacketSize() << EHCI_QH_CHARS_MPL_SHIFT)
2302 | (pipe->EndpointAddress() << EHCI_QH_CHARS_EPT_SHIFT)
2303 | (pipe->DeviceAddress() << EHCI_QH_CHARS_DEV_SHIFT)
2307 if (pipe->Speed() != USB_SPEED_HIGHSPEED) {
2308 if ((pipe->Type() & USB_OBJECT_CONTROL_PIPE) != 0)
2311 queueHead->endpoint_caps |= (pipe->HubPort() << EHCI_QH_CAPS_PORT_SHIFT)
2312 | (pipe->HubAddress() << EHCI_QH_CAPS_HUB_SHIFT);
2352 EHCI::LinkInterruptQueueHead(ehci_qh *queueHead, Pipe *pipe)
2354 uint8 interval = pipe->Interval();
2355 if (pipe->Speed() == USB_SPEED_HIGHSPEED) {
2364 if (pipe->Speed() == USB_SPEED_LOWSPEED) {
2435 Pipe *pipe = transfer->TransferPipe();
2462 status_t result = CreateDescriptorChain(pipe, &dataDescriptor,
2506 Pipe *pipe = transfer->TransferPipe();
2507 bool directionIn = (pipe->Direction() == Pipe::In);
2512 status_t result = CreateDescriptorChain(pipe, &firstDescriptor,
2596 EHCI::CreateDescriptorChain(Pipe *pipe, ehci_qtd **_firstDescriptor,
2603 bool dataToggle = pipe->DataToggle();