Home
last modified time | relevance | path

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

/hal_nxp-latest/mcux/middleware/mcux-sdk-middleware-usb/output/source/device/class/
Dusb_device_audio.c175 if ((NULL != audioHandle->configStruct) && (NULL != audioHandle->configStruct->classCallback)) in USB_DeviceAudioInterruptIn()
180 error = audioHandle->configStruct->classCallback((class_handle_t)audioHandle, in USB_DeviceAudioInterruptIn()
214 if ((NULL != audioHandle->configStruct) && (NULL != audioHandle->configStruct->classCallback)) in USB_DeviceAudioIsochronousIn()
219 status = audioHandle->configStruct->classCallback((class_handle_t)audioHandle, in USB_DeviceAudioIsochronousIn()
254 if ((NULL != audioHandle->configStruct) && (NULL != audioHandle->configStruct->classCallback)) in USB_DeviceAudioIsochronousOut()
258 status = audioHandle->configStruct->classCallback((class_handle_t)audioHandle, in USB_DeviceAudioIsochronousOut()
593 (NULL != audioHandle->configStruct->classCallback)) in USB_DeviceAudioGetCurAudioFeatureUnit()
597 …status = audioHandle->configStruct->classCallback((class_handle_t)audioHandle, audioCommand, contr… in USB_DeviceAudioGetCurAudioFeatureUnit()
659 (NULL != audioHandle->configStruct->classCallback)) in USB_DeviceAudioSetCurAudioFeatureUnit()
663 …status = audioHandle->configStruct->classCallback((class_handle_t)audioHandle, audioCommand, contr… in USB_DeviceAudioSetCurAudioFeatureUnit()
[all …]
Dusb_device_msc_ufi.c352 if (mscHandle->configurationStruct->classCallback != NULL) in USB_DeviceMscUfiRequestSenseCommand()
357 if (kStatus_USB_Success != mscHandle->configurationStruct->classCallback( in USB_DeviceMscUfiRequestSenseCommand()
363 …(void)mscHandle->configurationStruct->classCallback((class_handle_t)mscHandle, kUSB_DeviceMscEvent… in USB_DeviceMscUfiRequestSenseCommand()
399 if (mscHandle->configurationStruct->classCallback != NULL) in USB_DeviceMscUfiInquiryCommand()
404 if (kStatus_USB_Success != mscHandle->configurationStruct->classCallback( in USB_DeviceMscUfiInquiryCommand()
410 …(void)mscHandle->configurationStruct->classCallback((class_handle_t)mscHandle, kUSB_DeviceMscEvent… in USB_DeviceMscUfiInquiryCommand()
554 if (mscHandle->configurationStruct->classCallback != NULL) in USB_DeviceMscUfiTestUnitReadyCommand()
559 if (kStatus_USB_Success != mscHandle->configurationStruct->classCallback( in USB_DeviceMscUfiTestUnitReadyCommand()
565 …(void)mscHandle->configurationStruct->classCallback((class_handle_t)mscHandle, kUSB_DeviceMscEvent… in USB_DeviceMscUfiTestUnitReadyCommand()
620 if (mscHandle->configurationStruct->classCallback != NULL) in USB_DeviceMscUfiModeSenseCommand()
[all …]
Dusb_device_ccid.c217 if (NULL != ccidHandle->configStruct->classCallback) in USB_DeviceCcidInterruptIn()
223 … if (kStatus_USB_Success != ccidHandle->configStruct->classCallback((class_handle_t)ccidHandle, in USB_DeviceCcidInterruptIn()
230 (void)ccidHandle->configStruct->classCallback((class_handle_t)ccidHandle, in USB_DeviceCcidInterruptIn()
237 if (NULL != ccidHandle->configStruct->classCallback) in USB_DeviceCcidInterruptIn()
243 … if (kStatus_USB_Success != ccidHandle->configStruct->classCallback((class_handle_t)ccidHandle, in USB_DeviceCcidInterruptIn()
250 (void)ccidHandle->configStruct->classCallback((class_handle_t)ccidHandle, in USB_DeviceCcidInterruptIn()
325 if (NULL != ccidHandle->configStruct->classCallback) in USB_DeviceCcidBulkIn()
331 … if (kStatus_USB_Success != ccidHandle->configStruct->classCallback((class_handle_t)ccidHandle, in USB_DeviceCcidBulkIn()
338 …(void)ccidHandle->configStruct->classCallback((class_handle_t)ccidHandle, kUSB_DeviceCcidEventResp… in USB_DeviceCcidBulkIn()
437 if (NULL != ccidHandle->configStruct->classCallback) in USB_DeviceCcidBulkOut()
[all …]
Dusb_device_video.c156 if ((NULL != videoHandle->configStruct) && (NULL != videoHandle->configStruct->classCallback)) in USB_DeviceVideoControlIn()
161 error = videoHandle->configStruct->classCallback((class_handle_t)videoHandle, in USB_DeviceVideoControlIn()
196 if ((NULL != videoHandle->configStruct) && (NULL != videoHandle->configStruct->classCallback)) in USB_DeviceVideoStreamIn()
201 error = videoHandle->configStruct->classCallback((class_handle_t)videoHandle, in USB_DeviceVideoStreamIn()
236 if ((NULL != videoHandle->configStruct) && (NULL != videoHandle->configStruct->classCallback)) in USB_DeviceVideoStreamOut()
241 error = videoHandle->configStruct->classCallback((class_handle_t)videoHandle, in USB_DeviceVideoStreamOut()
520 …mand) && (NULL != videoHandle->configStruct) && (NULL != videoHandle->configStruct->classCallback)) in USB_DeviceVideoVcPowerModeControl()
524 …status = videoHandle->configStruct->classCallback((class_handle_t)videoHandle, command, controlReq… in USB_DeviceVideoVcPowerModeControl()
815 …mand) && (NULL != videoHandle->configStruct) && (NULL != videoHandle->configStruct->classCallback)) in USB_DeviceVideoVsProbeRequest()
819 …status = videoHandle->configStruct->classCallback((class_handle_t)videoHandle, command, controlReq… in USB_DeviceVideoVsProbeRequest()
[all …]
Dusb_device_cdc_acm.c106 if ((NULL != cdcAcmHandle->configStruct) && (NULL != cdcAcmHandle->configStruct->classCallback)) in USB_DeviceCdcAcmInterruptIn()
110 error = cdcAcmHandle->configStruct->classCallback((class_handle_t)cdcAcmHandle, in USB_DeviceCdcAcmInterruptIn()
141 if ((NULL != cdcAcmHandle->configStruct) && (NULL != cdcAcmHandle->configStruct->classCallback)) in USB_DeviceCdcAcmBulkIn()
145 status = cdcAcmHandle->configStruct->classCallback((class_handle_t)cdcAcmHandle, in USB_DeviceCdcAcmBulkIn()
176 if ((NULL != cdcAcmHandle->configStruct) && (NULL != cdcAcmHandle->configStruct->classCallback)) in USB_DeviceCdcAcmBulkOut()
180 status = cdcAcmHandle->configStruct->classCallback((class_handle_t)cdcAcmHandle, in USB_DeviceCdcAcmBulkOut()
635 error = cdcAcmHandle->configStruct->classCallback( in USB_DeviceCdcAcmEvent()
646 error = cdcAcmHandle->configStruct->classCallback( in USB_DeviceCdcAcmEvent()
657 … error = cdcAcmHandle->configStruct->classCallback((class_handle_t)cdcAcmHandle, in USB_DeviceCdcAcmEvent()
668 … error = cdcAcmHandle->configStruct->classCallback((class_handle_t)cdcAcmHandle, in USB_DeviceCdcAcmEvent()
[all …]
Dusb_device_msc.c346 … if ((0U != mscHandle->dataInFlag) && (mscHandle->configurationStruct->classCallback != NULL) && in USB_DeviceMscBulkIn()
359 …if (kStatus_USB_Success != mscHandle->configurationStruct->classCallback((class_handle_t)mscHandle, in USB_DeviceMscBulkIn()
366 (void)mscHandle->configurationStruct->classCallback((class_handle_t)mscHandle, in USB_DeviceMscBulkIn()
419 if ((mscHandle->configurationStruct->classCallback != NULL)) in USB_DeviceMscBulkIn()
435 mscHandle->configurationStruct->classCallback((class_handle_t)mscHandle, in USB_DeviceMscBulkIn()
441 (void)mscHandle->configurationStruct->classCallback((class_handle_t)mscHandle, in USB_DeviceMscBulkIn()
519 … if ((0U != mscHandle->dataOutFlag) && (mscHandle->configurationStruct->classCallback != NULL) && in USB_DeviceMscBulkOut()
532 …if (kStatus_USB_Success != mscHandle->configurationStruct->classCallback((class_handle_t)mscHandle, in USB_DeviceMscBulkOut()
539 (void)mscHandle->configurationStruct->classCallback((class_handle_t)mscHandle, in USB_DeviceMscBulkOut()
570 if ((mscHandle->configurationStruct->classCallback != NULL)) in USB_DeviceMscBulkOut()
[all …]
Dusb_device_hid.c119 if ((NULL != hidHandle->configStruct) && (NULL != hidHandle->configStruct->classCallback)) in USB_DeviceHidInterruptIn()
124 …hidHandle->configStruct->classCallback((class_handle_t)hidHandle, kUSB_DeviceHidEventSendResponse,… in USB_DeviceHidInterruptIn()
158 if ((NULL != hidHandle->configStruct) && (NULL != hidHandle->configStruct->classCallback)) in USB_DeviceHidInterruptOut()
163 …hidHandle->configStruct->classCallback((class_handle_t)hidHandle, kUSB_DeviceHidEventRecvResponse,… in USB_DeviceHidInterruptOut()
533 … error = hidHandle->configStruct->classCallback((class_handle_t)hidHandle, in USB_DeviceHidEvent()
546 error = hidHandle->configStruct->classCallback( in USB_DeviceHidEvent()
560 error = hidHandle->configStruct->classCallback( in USB_DeviceHidEvent()
579 error = hidHandle->configStruct->classCallback( in USB_DeviceHidEvent()
590 … error = hidHandle->configStruct->classCallback((class_handle_t)hidHandle, in USB_DeviceHidEvent()
604 error = hidHandle->configStruct->classCallback( in USB_DeviceHidEvent()
[all …]
Dusb_device_phdc.c124 if ((NULL != phdcHandle->configStruct) && (NULL != phdcHandle->configStruct->classCallback)) in USB_DevicePhdcBulkInCallback()
128 status = phdcHandle->configStruct->classCallback((class_handle_t)phdcHandle, in USB_DevicePhdcBulkInCallback()
164 if ((NULL != phdcHandle->configStruct) && (NULL != phdcHandle->configStruct->classCallback)) in USB_DevicePhdcBulkOutCallback()
168 …status = phdcHandle->configStruct->classCallback((class_handle_t)phdcHandle, kUSB_DevicePhdcEventD… in USB_DevicePhdcBulkOutCallback()
204 if ((NULL != phdcHandle->configStruct) && (NULL != phdcHandle->configStruct->classCallback)) in USB_DevicePhdcInterruptInCallback()
208 status = phdcHandle->configStruct->classCallback((class_handle_t)phdcHandle, in USB_DevicePhdcInterruptInCallback()
568 error = phdcHandle->configStruct->classCallback( in USB_DevicePhdcEvent()
581 error = phdcHandle->configStruct->classCallback((class_handle_t)phdcHandle, in USB_DevicePhdcEvent()
595 error = phdcHandle->configStruct->classCallback((class_handle_t)phdcHandle, in USB_DevicePhdcEvent()
Dusb_device_printer.c93 if ((NULL != printerHandle->classConfig) && (NULL != printerHandle->classConfig->classCallback)) in USB_DevicePrinterBulkInCallback()
98 status = printerHandle->classConfig->classCallback((class_handle_t)printerHandle, in USB_DevicePrinterBulkInCallback()
132 if ((NULL != printerHandle->classConfig) && (NULL != printerHandle->classConfig->classCallback)) in USB_DevicePrinterBulkOutCallback()
136 status = printerHandle->classConfig->classCallback((class_handle_t)printerHandle, in USB_DevicePrinterBulkOutCallback()
560 status = printerHandle->classConfig->classCallback( in USB_DevicePrinterEvent()
575 status = printerHandle->classConfig->classCallback( in USB_DevicePrinterEvent()
600 status = printerHandle->classConfig->classCallback( in USB_DevicePrinterEvent()
Dusb_device_dfu.c194 …error = dfuHandle->configStruct->classCallback((class_handle_t)dfuHandle, dfuRequest, controlReque… in USB_DeviceDfuEvent()
Dusb_device_class.h143 …usb_device_class_callback_t classCallback; /*!< Class callback function to handle the device stat… member