Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/middleware/mcux-sdk-middleware-usb/host/class/
Dusb_host_printer.c52 static usb_status_t USB_HostPrinterOpenInterface(usb_host_printer_instance_t *printerInstance);
78 static usb_status_t USB_HostPrinterControl(usb_host_printer_instance_t *printerInstance,
104 usb_host_printer_instance_t *printerInstance = (usb_host_printer_instance_t *)param; in USB_HostPrinterClearInHaltCallback() local
106 if (printerInstance->inCallbackFn != NULL) in USB_HostPrinterClearInHaltCallback()
109printerInstance->inCallbackFn(printerInstance->outCallbackParam, printerInstance->stallDataBuffer, in USB_HostPrinterClearInHaltCallback()
110 printerInstance->stallDataLength, kStatus_USB_TransferStall); in USB_HostPrinterClearInHaltCallback()
112 (void)USB_HostFreeTransfer(printerInstance->hostHandle, transfer); in USB_HostPrinterClearInHaltCallback()
117 usb_host_printer_instance_t *printerInstance = (usb_host_printer_instance_t *)param; in USB_HostPrinterClearOutHaltCallback() local
119 if (printerInstance->outCallbackFn != NULL) in USB_HostPrinterClearOutHaltCallback()
122printerInstance->outCallbackFn(printerInstance->outCallbackParam, printerInstance->stallDataBuffer, in USB_HostPrinterClearOutHaltCallback()
[all …]