Home
last modified time | relevance | path

Searched refs:inPipe (Results 1 – 8 of 8) sorted by relevance

/hal_nxp-3.5.0/mcux/middleware/mcux-sdk-middleware-usb/host/class/
Dusb_host_printer.c181 … (USB_REQUEST_TYPE_DIR_IN | ((usb_host_pipe_t *)printerInstance->inPipe)->endpointAddress)) == in USB_HostPrinterInPipeCallback()
249 if (printerInstance->inPipe != NULL) in USB_HostPrinterOpenInterface()
251 status = USB_HostClosePipe(printerInstance->hostHandle, printerInstance->inPipe); in USB_HostPrinterOpenInterface()
259 printerInstance->inPipe = NULL; in USB_HostPrinterOpenInterface()
296 … status = USB_HostOpenPipe(printerInstance->hostHandle, &printerInstance->inPipe, &pipeInit); in USB_HostPrinterOpenInterface()
411 if (printerInstance->inPipe != NULL) in USB_HostPrinterSetInterface()
413 status = USB_HostCancelTransfer(printerInstance->hostHandle, printerInstance->inPipe, NULL); in USB_HostPrinterSetInterface()
494 if (printerInstance->inPipe != NULL) in USB_HostPrinterDeinit()
497 …USB_HostCancelTransfer(printerInstance->hostHandle, printerInstance->inPipe, NULL); /* cancel pipe… in USB_HostPrinterDeinit()
504 … status = USB_HostClosePipe(printerInstance->hostHandle, printerInstance->inPipe); /* close pipe */ in USB_HostPrinterDeinit()
[all …]
Dusb_host_hid.c184 … ((usb_host_pipe_t *)hidInstance->inPipe)->endpointAddress)) == kStatus_USB_Success) in USB_HostHidInPipeCallback()
248 if (hidInstance->inPipe != NULL) /* close interrupt in pipe if it is open */ in USB_HostHidOpenInterface()
250 status = USB_HostClosePipe(hidInstance->hostHandle, hidInstance->inPipe); in USB_HostHidOpenInterface()
258 hidInstance->inPipe = NULL; in USB_HostHidOpenInterface()
295 status = USB_HostOpenPipe(hidInstance->hostHandle, &hidInstance->inPipe, &pipeInit); in USB_HostHidOpenInterface()
407 if (hidInstance->inPipe != NULL) in USB_HostHidSetInterface()
409 status = USB_HostCancelTransfer(hidInstance->hostHandle, hidInstance->inPipe, NULL); in USB_HostHidSetInterface()
490 if (hidInstance->inPipe != NULL) in USB_HostHidDeinit()
492 …status = USB_HostCancelTransfer(hidInstance->hostHandle, hidInstance->inPipe, NULL); /* cancel pip… in USB_HostHidDeinit()
499 … status = USB_HostClosePipe(hidInstance->hostHandle, hidInstance->inPipe); /* close pipe */ in USB_HostHidDeinit()
[all …]
Dusb_host_msd.c307 if (msdInstance->inPipe != NULL) in USB_HostMsdMassResetCallback()
312 … (USB_REQUEST_TYPE_DIR_IN | ((usb_host_pipe_t *)msdInstance->inPipe)->endpointAddress)); in USB_HostMsdMassResetCallback()
405 … (USB_REQUEST_TYPE_DIR_IN | ((usb_host_pipe_t *)msdInstance->inPipe)->endpointAddress)) != in USB_HostMsdCswCallback()
505 … (USB_REQUEST_TYPE_DIR_OUT | ((usb_host_pipe_t *)msdInstance->inPipe)->endpointAddress)) != in USB_HostMsdCbwCallback()
590 … (direction | ((usb_host_pipe_t *)msdInstance->inPipe)->endpointAddress)) != in USB_HostMsdDataCallback()
674 … status = USB_HostRecv(msdInstance->hostHandle, msdInstance->inPipe, transfer); in USB_HostMsdProcessCommand()
695 … status = USB_HostRecv(msdInstance->hostHandle, msdInstance->inPipe, transfer); in USB_HostMsdProcessCommand()
794 if (msdInstance->inPipe != NULL) /* close bulk in pipe if the pipe is open */ in USB_HostMsdOpenInterface()
796 status = USB_HostClosePipe(msdInstance->hostHandle, msdInstance->inPipe); in USB_HostMsdOpenInterface()
803 msdInstance->inPipe = NULL; in USB_HostMsdOpenInterface()
[all …]
Dusb_host_cdc.c117 … ((usb_host_pipe_t *)cdcInstance->inPipe)->endpointAddress)) == kStatus_USB_Success) in USB_HostCdcDataInPipeCallback()
236 if (cdcInstance->inPipe != NULL) in USB_HostCdcOpenDataInterface()
238 status = USB_HostClosePipe(cdcInstance->hostHandle, cdcInstance->inPipe); in USB_HostCdcOpenDataInterface()
246 cdcInstance->inPipe = NULL; in USB_HostCdcOpenDataInterface()
288 … = USB_HostOpenPipe(cdcInstance->hostHandle, &cdcInstance->inPipe, &pipeInit); in USB_HostCdcOpenDataInterface()
629 if (cdcInstance->inPipe != NULL) in USB_HostCdcSetDataInterface()
631 status = USB_HostCancelTransfer(cdcInstance->hostHandle, cdcInstance->inPipe, NULL); in USB_HostCdcSetDataInterface()
742 if (cdcInstance->inPipe != NULL) in USB_HostCdcDeinit()
744 status = USB_HostCancelTransfer(cdcInstance->hostHandle, cdcInstance->inPipe, NULL); in USB_HostCdcDeinit()
751 status = USB_HostClosePipe(cdcInstance->hostHandle, cdcInstance->inPipe); in USB_HostCdcDeinit()
[all …]
Dusb_host_printer.h53 usb_host_pipe_handle inPipe; /*!< Printer bulk in pipe*/ member
Dusb_host_hid.h63 usb_host_pipe_handle inPipe; /*!< HID interrupt in pipe*/ member
Dusb_host_cdc.h218 usb_host_pipe_handle inPipe; /*!< CDC bulk in pipe*/ member
Dusb_host_msd.h137 usb_host_pipe_handle inPipe; /*!< MSD bulk in pipe*/ member