Lines Matching defs:pipe

653 	Pipe *pipe = transfer->TransferPipe();
654 if (pipe->Type() & USB_OBJECT_ISO_PIPE)
663 status_t result = InitQueueHead(queueHead, pipe);
672 if (pipe->Type() & USB_OBJECT_CONTROL_PIPE) {
698 if (pipe->Type() & USB_OBJECT_INTERRUPT_PIPE)
699 result = LinkInterruptQueueHead(queueHead, pipe);
716 Pipe *pipe = transfer->TransferPipe();
717 bool directionIn = (pipe->Direction() == Pipe::In);
726 if (packetSize > pipe->MaxPacketSize()) {
727 TRACE_ERROR("isochronous packetSize is bigger than pipe MaxPacketSize\n");
751 pipe->MaxPacketSize(), packetSize, restSize);
827 itd->buffer_phy[0] |= (pipe->EndpointAddress() << EHCI_ITD_ENDPOINT_SHIFT)
828 | (pipe->DeviceAddress() << EHCI_ITD_ADDRESS_SHIFT);
829 itd->buffer_phy[1] |= (pipe->MaxPacketSize() & EHCI_ITD_MAXPACKETSIZE_MASK)
832 ((((pipe->MaxPacketSize() >> EHCI_ITD_MAXPACKETSIZE_LENGTH) + 1)
891 EHCI::NotifyPipeChange(Pipe *pipe, usb_change change)
893 TRACE("pipe change %d for pipe %p\n", change, pipe);
898 // for all transfers to/from this pipe
904 // pipe policy settings here
1355 EHCI::CancelQueuedTransfers(Pipe *pipe, bool force)
1357 if (pipe->Type() & USB_OBJECT_ISO_PIPE)
1358 return CancelQueuedIsochronousTransfers(pipe, force);
1371 if (current->transfer && current->transfer->TransferPipe() == pipe) {
1410 while (fProcessingPipe == pipe)
1420 EHCI::CancelQueuedIsochronousTransfers(Pipe *pipe, bool force)
1425 if (current->transfer->TransferPipe() == pipe) {
1585 // store the currently processing pipe here so we can wait
1586 // in cancel if we are processing something on the target pipe
1870 EHCI::InitQueueHead(ehci_qh *queueHead, Pipe *pipe)
1872 switch (pipe->Speed()) {
1883 TRACE_ERROR("unknown pipe speed\n");
1888 | (pipe->MaxPacketSize() << EHCI_QH_CHARS_MPL_SHIFT)
1889 | (pipe->EndpointAddress() << EHCI_QH_CHARS_EPT_SHIFT)
1890 | (pipe->DeviceAddress() << EHCI_QH_CHARS_DEV_SHIFT)
1894 if (pipe->Speed() != USB_SPEED_HIGHSPEED) {
1895 if (pipe->Type() & USB_OBJECT_CONTROL_PIPE)
1898 queueHead->endpoint_caps |= (pipe->HubPort() << EHCI_QH_CAPS_PORT_SHIFT)
1899 | (pipe->HubAddress() << EHCI_QH_CAPS_HUB_SHIFT);
1938 EHCI::LinkInterruptQueueHead(ehci_qh *queueHead, Pipe *pipe)
1943 uint8 interval = pipe->Interval();
1944 if (pipe->Speed() == USB_SPEED_HIGHSPEED) {
2016 Pipe *pipe = transfer->TransferPipe();
2043 status_t result = CreateDescriptorChain(pipe, &dataDescriptor,
2079 Pipe *pipe = transfer->TransferPipe();
2080 bool directionIn = (pipe->Direction() == Pipe::In);
2085 status_t result = CreateDescriptorChain(pipe, &firstDescriptor,
2161 EHCI::CreateDescriptorChain(Pipe *pipe, ehci_qtd **_firstDescriptor,
2168 bool dataToggle = pipe->DataToggle();