Lines Matching defs:pipe

482 	Pipe *pipe = transfer->TransferPipe();
483 if ((pipe->Type() & USB_OBJECT_ISO_PIPE) != 0)
485 if ((pipe->Type() & USB_OBJECT_CONTROL_PIPE) != 0)
494 Pipe *pipe = transfer->TransferPipe();
537 xhci_endpoint *endpoint = (xhci_endpoint *)pipe->ControllerCookie();
538 uint8 id = XHCI_ENDPOINT_ID(pipe);
556 Pipe *pipe = transfer->TransferPipe();
557 uint8 id = XHCI_ENDPOINT_ID(pipe);
560 bool directionIn = (pipe->Direction() == Pipe::In);
587 xhci_endpoint *endpoint = (xhci_endpoint *)pipe->ControllerCookie();
600 XHCI::CancelQueuedTransfers(Pipe *pipe, bool force)
607 XHCI::NotifyPipeChange(Pipe *pipe, usb_change change)
609 TRACE("pipe change %d for pipe %p (%d)\n", change, pipe,
610 pipe->EndpointAddress());
613 _InsertEndpointForPipe(pipe);
616 _RemoveEndpointForPipe(pipe);
621 // pipe policy settings here
1074 // Create a temporary pipe with the new address
1075 ControlPipe pipe(parent);
1076 pipe.SetControllerCookie(&device->endpoints[0]);
1077 pipe.InitCommon(device->address + 1, 0, speed, Pipe::Default, 8, 0, hubAddress,
1088 pipe.SendRequest(
1137 XHCI::_InsertEndpointForPipe(Pipe *pipe)
1139 if (pipe->ControllerCookie() != NULL
1140 || pipe->Parent()->Type() != USB_OBJECT_DEVICE) {
1141 // default pipe is already referenced
1145 Device* usbDevice = (Device *)pipe->Parent();
1155 uint8 id = XHCI_ENDPOINT_ID(pipe) - 1;
1195 if ((pipe->Type() & USB_OBJECT_INTERRUPT_PIPE) != 0)
1197 if ((pipe->Type() & USB_OBJECT_BULK_PIPE) != 0)
1199 if ((pipe->Type() & USB_OBJECT_ISO_PIPE) != 0)
1201 type |= (pipe->Direction() == Pipe::In) ? (1 << 2) : 0;
1206 device->endpoints[id].trb_addr, pipe->Interval(),
1207 1, 1, 0, pipe->MaxPacketSize(), pipe->MaxPacketSize(),
1224 pipe->SetControllerCookie(&device->endpoints[id]);
1226 TRACE("_InsertEndpointForPipe for pipe %p at id %d\n", pipe, id);
1233 XHCI::_RemoveEndpointForPipe(Pipe *pipe)
1235 if (pipe->Parent()->Type() != USB_OBJECT_DEVICE)
1237 //Device* device = (Device *)pipe->Parent();