Lines Matching defs:pipe

674 	TRACE_ERROR("tried to submit transfer for unknown pipe type %" B_PRIu32 "\n",
681 OHCI::CancelQueuedTransfers(Pipe *pipe, bool force)
694 if (current->transfer && current->transfer->TransferPipe() == pipe) {
708 if (pipe->Type() & USB_OBJECT_ISO_PIPE) {
755 while (fProcessingPipe == pipe)
765 OHCI::NotifyPipeChange(Pipe *pipe, usb_change change)
767 TRACE("pipe change %d for pipe %p\n", change, pipe);
768 if (pipe->DeviceAddress() == fRootHubAddress) {
775 return _InsertEndpointForPipe(pipe);
778 return _RemoveEndpointForPipe(pipe);
781 TRACE("pipe policy changing unhandled!\n");
785 TRACE_ERROR("unknown pipe change!\n");
1247 // store the currently processing pipe here so we can wait
1248 // in cancel if we are processing something on the target pipe
1417 // store the currently processing pipe here so we can wait
1418 // in cancel if we are processing something on the target pipe
1544 Pipe *pipe = transfer->TransferPipe();
1545 bool directionIn = (pipe->Direction() == Pipe::In);
1558 firstDescriptor->flags |= pipe->DataToggle() ? OHCI_TD_TOGGLE_1
1573 = (ohci_endpoint_descriptor *)pipe->ControllerCookie();
1580 if (it->transfer && it->transfer->TransferPipe() == pipe && it->transfer->IsFragmented()) {
1602 if (pipe->Type() & USB_OBJECT_BULK_PIPE) {
1614 Pipe *pipe = transfer->TransferPipe();
1615 bool directionIn = (pipe->Direction() == Pipe::In);
1634 if (pipe->Direction() == Pipe::Out)
1640 = (ohci_endpoint_descriptor *)pipe->ControllerCookie();
1832 OHCI::_InsertEndpointForPipe(Pipe *pipe)
1835 pipe->DeviceAddress(), pipe->EndpointAddress());
1846 flags |= OHCI_ENDPOINT_SET_DEVICE_ADDRESS(pipe->DeviceAddress())
1847 | OHCI_ENDPOINT_SET_ENDPOINT_NUMBER(pipe->EndpointAddress());
1850 switch (pipe->Direction()) {
1870 switch (pipe->Speed()) {
1886 flags |= OHCI_ENDPOINT_SET_MAX_PACKET_SIZE(pipe->MaxPacketSize());
1890 uint32 type = pipe->Type();
1897 head = _FindInterruptEndpoint(pipe->Interval());
1901 TRACE_ERROR("unknown pipe type\n");
1910 if (pipe->Type() & USB_OBJECT_ISO_PIPE) {
1936 pipe->SetControllerCookie((void *)endpoint);
1948 OHCI::_RemoveEndpointForPipe(Pipe *pipe)
1951 pipe->DeviceAddress(), pipe->EndpointAddress());
1954 = (ohci_endpoint_descriptor *)pipe->ControllerCookie();
2150 Pipe *pipe = transfer->TransferPipe();
2165 if (packetSize > pipe->MaxPacketSize()) {
2167 " than pipe MaxPacketSize %ld.", packetSize, pipe->MaxPacketSize());