Home
last modified time | relevance | path

Searched refs:phdcInstance (Results 1 – 2 of 2) sorted by relevance

/hal_nxp-3.5.0/mcux/middleware/mcux-sdk-middleware-usb/host/class/
Dusb_host_phdc.c92 usb_host_phdc_instance_t *phdcInstance = (usb_host_phdc_instance_t *)param; in USB_HostPhdcClearInHaltCallback() local
94 phdcInstance->controlTransfer = NULL; in USB_HostPhdcClearInHaltCallback()
96 phdcInstance->numberTransferBulkIn = 0U; in USB_HostPhdcClearInHaltCallback()
97 if (phdcInstance->inCallbackFn != NULL) in USB_HostPhdcClearInHaltCallback()
100 phdcInstance->inCallbackFn(phdcInstance->inCallbackParam, phdcInstance->stallDataBuffer, in USB_HostPhdcClearInHaltCallback()
101 phdcInstance->stallDataLength, kStatus_USB_TransferStall); in USB_HostPhdcClearInHaltCallback()
103 (void)USB_HostFreeTransfer(phdcInstance->hostHandle, transfer); in USB_HostPhdcClearInHaltCallback()
108 usb_host_phdc_instance_t *phdcInstance = (usb_host_phdc_instance_t *)param; in USB_HostPhdcClearOutHaltCallback() local
110 phdcInstance->controlTransfer = NULL; in USB_HostPhdcClearOutHaltCallback()
111 if (phdcInstance->outCallbackFn != NULL) in USB_HostPhdcClearOutHaltCallback()
[all …]
Dusb_host_printer.c610 usb_host_printer_instance_t *phdcInstance = (usb_host_printer_instance_t *)classHandle; in USB_HostPrinterGetPacketsize() local
620 return phdcInstance->inPacketSize; in USB_HostPrinterGetPacketsize()
624 return phdcInstance->outPacketSize; in USB_HostPrinterGetPacketsize()