/hal_nxp-latest/mcux/mcux-sdk/CMSIS/NN/Source/PoolingFunctions/ |
D | arm_avgpool_s8.c | 39 const int32_t count, in scale_q31_to_q7_and_clamp() argument 43 const int half_count = count / 2; in scale_q31_to_q7_and_clamp() 47 sum = sum / count; in scale_q31_to_q7_and_clamp() 128 int32_t count = 0; in arm_avgpool_s8() local 156 count++; in arm_avgpool_s8() 161 if (count == 0) in arm_avgpool_s8() 166 … sumV1[0] = sumV1[0] > 0 ? (sumV1[0] + count / 2) / count : (sumV1[0] - count / 2) / count; in arm_avgpool_s8() 167 … sumV1[1] = sumV1[1] > 0 ? (sumV1[1] + count / 2) / count : (sumV1[1] - count / 2) / count; in arm_avgpool_s8() 168 … sumV1[2] = sumV1[2] > 0 ? (sumV1[2] + count / 2) / count : (sumV1[2] - count / 2) / count; in arm_avgpool_s8() 169 … sumV1[3] = sumV1[3] > 0 ? (sumV1[3] + count / 2) / count : (sumV1[3] - count / 2) / count; in arm_avgpool_s8() [all …]
|
/hal_nxp-latest/mcux/middleware/mcux-sdk-middleware-usb/output/source/device/class/ |
D | usb_device_cdc_acm.c | 52 uint32_t count; local 53 for (count = 0U; count < (uint32_t)USB_DEVICE_CONFIG_CDC_ACM; count++) 55 if (NULL == g_cdcAcmHandle[count].handle) 57 *handle = &g_cdcAcmHandle[count]; 200 uint32_t count; in USB_DeviceCdcAcmEndpointsInit() local 217 for (count = 0U; count < interfaceList->count; count++) in USB_DeviceCdcAcmEndpointsInit() 219 if (USB_DEVICE_CONFIG_CDC_COMM_CLASS_CODE == interfaceList->interfaces[count].classCode) in USB_DeviceCdcAcmEndpointsInit() 221 for (index = 0U; index < interfaceList->interfaces[count].count; index++) in USB_DeviceCdcAcmEndpointsInit() 223 … if (interfaceList->interfaces[count].interface[index].alternateSetting == cdcAcmHandle->alternate) in USB_DeviceCdcAcmEndpointsInit() 225 interface = &interfaceList->interfaces[count].interface[index]; in USB_DeviceCdcAcmEndpointsInit() [all …]
|
D | usb_device_audio.c | 107 uint32_t count; local 111 for (count = 0; count < USB_DEVICE_CONFIG_AUDIO; count++) 113 if (NULL == s_UsbDeviceAudioHandle[count].handle) 115 *handle = &s_UsbDeviceAudioHandle[count]; 279 uint8_t count; in USB_DeviceAudioStreamEndpointsInit() local 303 for (count = 0U; count < interfaceList->count; count++) in USB_DeviceAudioStreamEndpointsInit() 305 if ((USB_DEVICE_CONFIG_AUDIO_CLASS_CODE == interfaceList->interfaces[count].classCode) && in USB_DeviceAudioStreamEndpointsInit() 306 (USB_DEVICE_AUDIO_STREAM_SUBCLASS == interfaceList->interfaces[count].subclassCode)) in USB_DeviceAudioStreamEndpointsInit() 308 for (index = 0; index < interfaceList->interfaces[count].count; index++) in USB_DeviceAudioStreamEndpointsInit() 310 …if (interfaceList->interfaces[count].interface[index].alternateSetting == audioHandle->streamAlter… in USB_DeviceAudioStreamEndpointsInit() [all …]
|
D | usb_device_class.c | 147 uint32_t count; in USB_DeviceClassAllocateHandle() local 152 for (count = 0U; count < USB_DEVICE_CONFIG_NUM; count++) in USB_DeviceClassAllocateHandle() 154 if ((NULL != s_UsbDeviceCommonClassStruct[count].handle) && in USB_DeviceClassAllocateHandle() 155 (controllerId == s_UsbDeviceCommonClassStruct[count].controllerId)) in USB_DeviceClassAllocateHandle() 162 for (count = 0U; count < USB_DEVICE_CONFIG_NUM; count++) in USB_DeviceClassAllocateHandle() 164 if (NULL == s_UsbDeviceCommonClassStruct[count].handle) in USB_DeviceClassAllocateHandle() 166 s_UsbDeviceCommonClassStruct[count].controllerId = controllerId; in USB_DeviceClassAllocateHandle() 167 s_UsbDeviceCommonClassStruct[count].setupBuffer = s_UsbDeviceSetupBuffer[count]; in USB_DeviceClassAllocateHandle() 168 *handle = &s_UsbDeviceCommonClassStruct[count]; in USB_DeviceClassAllocateHandle() 190 uint32_t count = 0U; in USB_DeviceClassFreeHandle() local [all …]
|
D | usb_device_video.c | 88 uint32_t count; local 92 for (count = 0U; count < USB_DEVICE_CONFIG_VIDEO; count++) 94 if (NULL == s_UsbDeviceVideoHandle[count].handle) 96 *handle = &s_UsbDeviceVideoHandle[count]; 283 for (uint32_t count = 0U; count < interfaceList->count; count++) in USB_DeviceVideoStreamEndpointsInit() local 285 if ((USB_DEVICE_VIDEO_CC_VIDEO == interfaceList->interfaces[count].classCode) && in USB_DeviceVideoStreamEndpointsInit() 286 (USB_DEVICE_VIDEO_SC_VIDEOSTREAMING == interfaceList->interfaces[count].subclassCode)) in USB_DeviceVideoStreamEndpointsInit() 288 for (uint32_t index = 0U; index < interfaceList->interfaces[count].count; index++) in USB_DeviceVideoStreamEndpointsInit() 290 …if (interfaceList->interfaces[count].interface[index].alternateSetting == videoHandle->streamAlter… in USB_DeviceVideoStreamEndpointsInit() 292 interface = &interfaceList->interfaces[count].interface[index]; in USB_DeviceVideoStreamEndpointsInit() [all …]
|
D | usb_device_hid.c | 60 uint32_t count; local 61 for (count = 0U; count < USB_DEVICE_CONFIG_HID; count++) 63 if (NULL == s_UsbDeviceHidHandle[count].handle) 65 *handle = &s_UsbDeviceHidHandle[count]; 184 uint32_t count; in USB_DeviceHidEndpointsInit() local 206 for (count = 0U; count < interfaceList->count; count++) in USB_DeviceHidEndpointsInit() 208 if (USB_DEVICE_CONFIG_HID_CLASS_CODE == interfaceList->interfaces[count].classCode) in USB_DeviceHidEndpointsInit() 210 for (index = 0U; index < interfaceList->interfaces[count].count; index++) in USB_DeviceHidEndpointsInit() 212 … if (interfaceList->interfaces[count].interface[index].alternateSetting == hidHandle->alternate) in USB_DeviceHidEndpointsInit() 214 interface = &interfaceList->interfaces[count].interface[index]; in USB_DeviceHidEndpointsInit() [all …]
|
D | usb_device_phdc.c | 65 uint32_t count; local 66 for (count = 0; count < USB_DEVICE_CONFIG_PHDC; count++) 68 if (NULL == g_phdcHandle[count].handle) 70 *handle = &g_phdcHandle[count]; 240 for (uint32_t count = 0U; count < interfaceList->count; count++) in USB_DevicePhdcEndpointsInit() local 242 if (USB_DEVICE_CONFIG_PHDC_CLASS_CODE == interfaceList->interfaces[count].classCode) in USB_DevicePhdcEndpointsInit() 244 for (uint32_t index = 0U; index < interfaceList->interfaces[count].count; index++) in USB_DevicePhdcEndpointsInit() 246 … if (interfaceList->interfaces[count].interface[index].alternateSetting == phdcHandle->alternate) in USB_DevicePhdcEndpointsInit() 248 interface = &interfaceList->interfaces[count].interface[index]; in USB_DevicePhdcEndpointsInit() 252 phdcHandle->interfaceNumber = interfaceList->interfaces[count].interfaceNumber; in USB_DevicePhdcEndpointsInit() [all …]
|
D | usb_device_ccid.c | 67 uint32_t count; local 68 for (count = 0U; count < USB_DEVICE_CONFIG_CCID; count++) 70 if (NULL == s_UsbDeviceCcidHandle[count].handle) 72 *handle = &s_UsbDeviceCcidHandle[count]; 587 for (uint32_t count = 0U; count < interfaceList->count; count++) in USB_DeviceCcidEndpointsInit() local 589 if ((USB_DEVICE_CCID_CLASS_CODE == interfaceList->interfaces[count].classCode) && in USB_DeviceCcidEndpointsInit() 590 (USB_DEVICE_CCID_SUBCLASS_CODE == interfaceList->interfaces[count].subclassCode) && in USB_DeviceCcidEndpointsInit() 591 (USB_DEVICE_CCID_PROTOCOL_CODE == interfaceList->interfaces[count].protocolCode)) in USB_DeviceCcidEndpointsInit() 593 for (uint32_t index = 0U; index < interfaceList->interfaces[count].count; index++) in USB_DeviceCcidEndpointsInit() 595 … if (interfaceList->interfaces[count].interface[index].alternateSetting == ccidHandle->alternate) in USB_DeviceCcidEndpointsInit() [all …]
|
/hal_nxp-latest/mcux/mcux-sdk/CMSIS/DSP/PrivateInclude/ |
D | arm_vec_filtering.h | 38 #define MVE_INTR_CORR_QUAD_INC_X_FIXED_SIZE_F32(acc0, acc1, acc2, acc3, pX, pY, count)\ argument 50 k = count >> 2; \ 69 k = count % 0x4U; \ 92 #define MVE_INTR_CORR_SINGLE_F32(acc, pX, pY, count) \ argument 101 k = count >> 2; \ 114 k = count % 0x4U; \ 127 #define MVE_INTR_CORR_DUAL_INC_X_DEC_SIZE_F32(acc0, acc1, pX, pY, count)\ argument 137 k = (count-1) >> 2; \ 154 k = (count-1) % 0x4U; \ 171 #define MVE_INTR_CORR_DUAL_INC_X_FIXED_SIZE_F32(acc0, acc1, pX, pY, count)\ argument [all …]
|
/hal_nxp-latest/mcux/mcux-sdk/CMSIS/DSP/Source/FilteringFunctions/ |
D | arm_correlate_f16.c | 102 #define MVE_INTR_CORR_DUAL_DEC_Y_INC_SIZE_F16(acc0, acc1, pX, pY, count) … argument 112 … k = count >> 3; \ 123 … k = count % 0x8U; \ 141 #define MVE_INTR_CORR_SINGLE_F16(acc, pX, pY, count) … argument 150 … k = count >> 3; \ 161 … k = count % 0x8U; \ 173 #define MVE_INTR_CORR_QUAD_INC_X_FIXED_SIZE_F16(acc0, acc1, acc2, acc3, pX, pY, count) … argument 185 … k = count >> 3; \ 202 … k = count % 0x8U; \ 223 #define MVE_INTR_CORR_DUAL_INC_X_FIXED_SIZE_F16(acc0, acc1, pX, pY, count) … argument [all …]
|
D | arm_conv_q31.c | 114 uint32_t count = i + 1; in arm_conv_q31() local 120 MVE_INTR_CONV_DUAL_INC_Y_INC_SIZE_Q31(acc0, acc1, pX, pY, count); in arm_conv_q31() 128 uint32_t count = i + 1; in arm_conv_q31() local 133 MVE_INTR_CONV_SINGLE_Q31(acc, pX, pY, count); in arm_conv_q31() 141 uint32_t count = srcBLen; in arm_conv_q31() local 154 MVE_INTR_CONV_QUAD_INC_X_FIXED_SIZE_Q31(acc0, acc1, acc2, acc3, pX, pY, count); in arm_conv_q31() 165 uint32_t count = srcBLen; in arm_conv_q31() local 176 MVE_INTR_CONV_DUAL_INC_X_FIXED_SIZE_Q31(acc0, acc1, pX, pY, count); in arm_conv_q31() 184 uint32_t count = srcBLen; in arm_conv_q31() local 190 MVE_INTR_CONV_SINGLE_Q31(acc, pX, pY, count); in arm_conv_q31() [all …]
|
D | arm_conv_q15.c | 115 uint32_t count = i + 1; in arm_conv_q15() local 122 MVE_INTR_CONV_DUAL_INC_Y_INC_SIZE_Q15(acc0, acc1, pX, pY, count); in arm_conv_q15() 129 uint32_t count = i + 1; in arm_conv_q15() local 135 MVE_INTR_CONV_SINGLE_Q15(acc, pX, pY, count); in arm_conv_q15() 142 uint32_t count = srcBLen; in arm_conv_q15() local 155 MVE_INTR_CONV_QUAD_INC_X_FIXED_SIZE_Q15(acc0, acc1, acc2, acc3, pX, pY, count); in arm_conv_q15() 165 uint32_t count = srcBLen; in arm_conv_q15() local 176 MVE_INTR_CONV_DUAL_INC_X_FIXED_SIZE_Q15(acc0, acc1, pX, pY, count); in arm_conv_q15() 184 uint32_t count = srcBLen; in arm_conv_q15() local 190 MVE_INTR_CONV_SINGLE_Q15(acc, pX, pY, count); in arm_conv_q15() [all …]
|
D | arm_correlate_q31.c | 135 uint32_t count = i + 1; in arm_correlate_q31() local 144 MVE_INTR_CORR_DUAL_DEC_Y_INC_SIZE_Q31(acc0, acc1, pX, pY, count); in arm_correlate_q31() 154 uint32_t count = i + 1; in arm_correlate_q31() local 159 MVE_INTR_CORR_SINGLE_Q31(acc, pX, pY, count); in arm_correlate_q31() 226 uint32_t count = (i + 1); in arm_correlate_q31() local 235 MVE_INTR_CORR_DUAL_INC_X_DEC_SIZE_Q31(acc0, acc1, pX, pY, count); in arm_correlate_q31() 246 uint32_t count = (i + 1); in arm_correlate_q31() local 251 MVE_INTR_CORR_SINGLE_Q31(acc, pX, pY, count); in arm_correlate_q31() 278 uint32_t j, k, count, blkCnt; /* Loop counters */ in arm_correlate_q31() local 367 count = 1U; in arm_correlate_q31() [all …]
|
D | arm_conv_q7.c | 111 uint32_t count = i + 1; in arm_conv_q7() local 118 MVE_INTR_CONV_DUAL_INC_Y_INC_SIZE_Q7(acc0, acc1, pX, pY, count); in arm_conv_q7() 125 uint32_t count = i + 1; in arm_conv_q7() local 131 MVE_INTR_CONV_SINGLE_Q7(acc, pX, pY, count); in arm_conv_q7() 138 uint32_t count = srcBLen; in arm_conv_q7() local 151 MVE_INTR_CONV_QUAD_INC_X_FIXED_SIZE_Q7(acc0, acc1, acc2, acc3, pX, pY, count); in arm_conv_q7() 160 uint32_t count = srcBLen; in arm_conv_q7() local 171 MVE_INTR_CONV_DUAL_INC_X_FIXED_SIZE_Q7(acc0, acc1, pX, pY, count); in arm_conv_q7() 178 uint32_t count = srcBLen; in arm_conv_q7() local 184 MVE_INTR_CONV_SINGLE_Q7(acc, pX, pY, count); in arm_conv_q7() [all …]
|
D | arm_conv_f32.c | 151 uint32_t count = i + 1; in arm_conv_f32() local 162 MVE_INTR_CONV_DUAL_INC_Y_INC_SIZE_F32(acc0, acc1, pX, pY, count); in arm_conv_f32() 171 uint32_t count = i + 1; in arm_conv_f32() local 176 MVE_INTR_CONV_SINGLE_F32(acc, pX, pY, count); in arm_conv_f32() 184 uint32_t count = srcBLen; in arm_conv_f32() local 195 MVE_INTR_CONV_DUAL_INC_X_FIXED_SIZE_F32(acc0, acc1, pX, pY, count); in arm_conv_f32() 202 uint32_t count = srcBLen; in arm_conv_f32() local 207 MVE_INTR_CONV_SINGLE_F32(acc, pX, pY, count); in arm_conv_f32() 215 int32_t count = i; in arm_conv_f32() local 226 MVE_INTR_CONV_DUAL_INC_X_DEC_SIZE_F32(acc0, acc1, pX, pY, count); in arm_conv_f32() [all …]
|
D | arm_correlate_f32.c | 168 uint32_t count = i + 1; in arm_correlate_f32() local 179 MVE_INTR_CORR_DUAL_DEC_Y_INC_SIZE_F32(acc0, acc1, pX, pY, count); in arm_correlate_f32() 189 uint32_t count = i + 1; in arm_correlate_f32() local 194 MVE_INTR_CORR_SINGLE_F32(acc, pX, pY, count); in arm_correlate_f32() 265 uint32_t count = (i + 1); in arm_correlate_f32() local 276 MVE_INTR_CORR_DUAL_INC_X_DEC_SIZE_F32(acc0, acc1, pX, pY, count); in arm_correlate_f32() 287 uint32_t count = (i + 1); in arm_correlate_f32() local 292 MVE_INTR_CORR_SINGLE_F32(acc, pX, pY, count); in arm_correlate_f32() 319 uint32_t j, k, count, blkCnt; /* Loop counters */ in arm_correlate_f32() local 410 count = 1U; in arm_correlate_f32() [all …]
|
D | arm_conv_partial_fast_q15.c | 73 uint32_t j, k, count, blkCnt, check; in arm_conv_partial_fast_q15() local 147 count = 1U + firstIndex; in arm_conv_partial_fast_q15() 165 while ((count < 4U) && (blockSize1 > 0)) in arm_conv_partial_fast_q15() 172 k = count; in arm_conv_partial_fast_q15() 191 count++; in arm_conv_partial_fast_q15() 209 k = count >> 2U; in arm_conv_partial_fast_q15() 231 k = count % 0x4U; in arm_conv_partial_fast_q15() 250 count++; in arm_conv_partial_fast_q15() 282 count = 0U; in arm_conv_partial_fast_q15() 459 count += 4U; in arm_conv_partial_fast_q15() [all …]
|
/hal_nxp-latest/mcux/mcux-sdk/drivers/common/ |
D | fsl_common_arm.c | 149 __ASM static void DelayLoop(uint32_t count) in DelayLoop() argument 158 static void DelayLoop(uint32_t count) in DelayLoop() argument 160 __ASM volatile(" MOV X0, %0" : : "r"(count)); in DelayLoop() 175 static void DelayLoop(uint32_t count) in DelayLoop() argument 177 __ASM volatile(" MOV R0, %0" : : "r"(count)); in DelayLoop() 207 uint64_t count; in SDK_DelayAtLeastUs() local 211 count = USEC_TO_COUNT(delayTime_us, coreClock_Hz); in SDK_DelayAtLeastUs() 213 assert(count <= UINT32_MAX); in SDK_DelayAtLeastUs() 219 count += MSDK_GetCpuCycleCount(); in SDK_DelayAtLeastUs() 221 if (count > UINT32_MAX) in SDK_DelayAtLeastUs() [all …]
|
/hal_nxp-latest/mcux/mcux-sdk/utilities/debug_console/str/ |
D | fsl_str.c | 254 int32_t *count) in PrintOutputdifFobpu() argument 262 cb(buf, count, schar, 1); in PrintOutputdifFobpu() 265 cb(buf, count, '0', (int)field_width - (int)vlen); in PrintOutputdifFobpu() 272 cb(buf, count, ' ', (int)field_width - (int)vlen); in PrintOutputdifFobpu() 275 cb(buf, count, schar, 1); in PrintOutputdifFobpu() 283 cb(buf, count, schar, 1); in PrintOutputdifFobpu() 286 cb(buf, count, ' ', (int)field_width - (int)vlen); in PrintOutputdifFobpu() 290 cb(buf, count, *vstrp--, 1); in PrintOutputdifFobpu() 295 cb(buf, count, ' ', (int)field_width - (int)vlen); in PrintOutputdifFobpu() 307 int32_t *count) in PrintOutputxX() argument [all …]
|
/hal_nxp-latest/mcux/mcux-sdk/devices/MIMX8DX5/scfw_api/main/ |
D | ipc_imx8qx.c | 86 uint8_t count = 0; in sc_ipc_read() local 100 count++; in sc_ipc_read() 110 while (count < msg->size) in sc_ipc_read() 113 while ((base->SR & (1UL << (MU_SR_RFn_SHIFT + 3U - count % MU_RR_COUNT))) == 0U) in sc_ipc_read() 116 msg->DATA.u32[count - 1U] = base->RR[count % MU_RR_COUNT]; in sc_ipc_read() 117 count++; in sc_ipc_read() 128 uint8_t count = 0; in sc_ipc_write() local 147 count++; in sc_ipc_write() 150 while (count < msg->size) in sc_ipc_write() 153 while ((base->SR & (1UL << (MU_SR_TEn_SHIFT + 3U - count % MU_TR_COUNT))) == 0U) in sc_ipc_write() [all …]
|
/hal_nxp-latest/mcux/mcux-sdk/devices/MIMX8QM6/scfw_api/main/ |
D | ipc_imx8qm.c | 90 uint8_t count = 0; in sc_ipc_read() local 104 count++; in sc_ipc_read() 114 while (count < msg->size) in sc_ipc_read() 117 while ((base->SR & (1UL << (MU_SR_RFn_SHIFT + 3U - count % MU_RR_COUNT))) == 0U) in sc_ipc_read() 120 msg->DATA.u32[count - 1U] = base->RR[count % MU_RR_COUNT]; in sc_ipc_read() 121 count++; in sc_ipc_read() 132 uint8_t count = 0; in sc_ipc_write() local 151 count++; in sc_ipc_write() 154 while (count < msg->size) in sc_ipc_write() 157 while ((base->SR & (1UL << (MU_SR_TEn_SHIFT + 3U - count % MU_TR_COUNT))) == 0U) in sc_ipc_write() [all …]
|
/hal_nxp-latest/mcux/mcux-sdk/devices/MIMX8DX4/scfw_api/main/ |
D | ipc_imx8qx.c | 86 uint8_t count = 0; in sc_ipc_read() local 100 count++; in sc_ipc_read() 110 while (count < msg->size) in sc_ipc_read() 113 while ((base->SR & (1UL << (MU_SR_RFn_SHIFT + 3U - count % MU_RR_COUNT))) == 0U) in sc_ipc_read() 116 msg->DATA.u32[count - 1U] = base->RR[count % MU_RR_COUNT]; in sc_ipc_read() 117 count++; in sc_ipc_read() 128 uint8_t count = 0; in sc_ipc_write() local 147 count++; in sc_ipc_write() 150 while (count < msg->size) in sc_ipc_write() 153 while ((base->SR & (1UL << (MU_SR_TEn_SHIFT + 3U - count % MU_TR_COUNT))) == 0U) in sc_ipc_write() [all …]
|
/hal_nxp-latest/mcux/mcux-sdk/devices/MIMX8QX5/scfw_api/main/ |
D | ipc_imx8qx.c | 86 uint8_t count = 0; in sc_ipc_read() local 100 count++; in sc_ipc_read() 110 while (count < msg->size) in sc_ipc_read() 113 while ((base->SR & (1UL << (MU_SR_RFn_SHIFT + 3U - count % MU_RR_COUNT))) == 0U) in sc_ipc_read() 116 msg->DATA.u32[count - 1U] = base->RR[count % MU_RR_COUNT]; in sc_ipc_read() 117 count++; in sc_ipc_read() 128 uint8_t count = 0; in sc_ipc_write() local 147 count++; in sc_ipc_write() 150 while (count < msg->size) in sc_ipc_write() 153 while ((base->SR & (1UL << (MU_SR_TEn_SHIFT + 3U - count % MU_TR_COUNT))) == 0U) in sc_ipc_write() [all …]
|
/hal_nxp-latest/mcux/mcux-sdk/devices/MIMX8DX3/scfw_api/main/ |
D | ipc_imx8qx.c | 86 uint8_t count = 0; in sc_ipc_read() local 100 count++; in sc_ipc_read() 110 while (count < msg->size) in sc_ipc_read() 113 while ((base->SR & (1UL << (MU_SR_RFn_SHIFT + 3U - count % MU_RR_COUNT))) == 0U) in sc_ipc_read() 116 msg->DATA.u32[count - 1U] = base->RR[count % MU_RR_COUNT]; in sc_ipc_read() 117 count++; in sc_ipc_read() 128 uint8_t count = 0; in sc_ipc_write() local 147 count++; in sc_ipc_write() 150 while (count < msg->size) in sc_ipc_write() 153 while ((base->SR & (1UL << (MU_SR_TEn_SHIFT + 3U - count % MU_TR_COUNT))) == 0U) in sc_ipc_write() [all …]
|
/hal_nxp-latest/mcux/mcux-sdk/devices/MIMX8QX4/scfw_api/main/ |
D | ipc_imx8qx.c | 86 uint8_t count = 0; in sc_ipc_read() local 100 count++; in sc_ipc_read() 110 while (count < msg->size) in sc_ipc_read() 113 while ((base->SR & (1UL << (MU_SR_RFn_SHIFT + 3U - count % MU_RR_COUNT))) == 0U) in sc_ipc_read() 116 msg->DATA.u32[count - 1U] = base->RR[count % MU_RR_COUNT]; in sc_ipc_read() 117 count++; in sc_ipc_read() 128 uint8_t count = 0; in sc_ipc_write() local 147 count++; in sc_ipc_write() 150 while (count < msg->size) in sc_ipc_write() 153 while ((base->SR & (1UL << (MU_SR_TEn_SHIFT + 3U - count % MU_TR_COUNT))) == 0U) in sc_ipc_write() [all …]
|