Home
last modified time | relevance | path

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

/hal_nxp-2.7.6/mcux/drivers/imxrt6xx/
Dfsl_casper.c644 int j, tmp; in MultprecModulo() local
715 tmp = (int32_t)(uint32_t)(q_hat << 16); /* quotient upper part */ in MultprecModulo()
745 q_hat |= (unsigned)tmp; /* other half of the quotient */ in MultprecModulo()
1696 uint64_t *b64, *c64, *m64, *tmp; in CASPER_montsub() local
1703 tmp = (uint64_t *)(uintptr_t)&CASPER_MEM[0]; in CASPER_montsub()
1705 CASPER_MEMCPY(tmp, A, N_wordlen * sizeof(uint32_t)); in CASPER_montsub()
1710 …rypto_mul(Accel_IterOpcodeResaddr(N_wordlen / 2U - 1U, (uint32_t)kCASPER_OpSub64, CA_MK_OFF(tmp))); in CASPER_montsub()
1713 …borrow = (int32_t)((GET_WORD(&((uint32_t *)(uintptr_t)tmp)[N_wordlen - 1U])) > GET_WORD(&A[N_wordl… in CASPER_montsub()
1714 CASPER_MEMCPY(c64, tmp, N_wordlen * sizeof(uint32_t)); in CASPER_montsub()
1721 casper_select(C, (uint32_t *)(uintptr_t)tmp, C, borrow, (int16_t)(uint16_t)N_wordlen); in CASPER_montsub()
[all …]
Dfsl_ostimer.c270 uint64_t tmp = count; in OSTIMER_SetMatchRawValue() local
280 base->MATCH_L = (uint32_t)tmp; in OSTIMER_SetMatchRawValue()
281 base->MATCH_H = (uint32_t)(tmp >> 32U); in OSTIMER_SetMatchRawValue()
303 if ((decValueTimer >= OSTIMER_GrayToDecimal(tmp)) && in OSTIMER_SetMatchRawValue()
334 uint64_t tmp = OSTIMER_DecimalToGray(count); in OSTIMER_SetMatchValue() local
336 return OSTIMER_SetMatchRawValue(base, tmp, cb); in OSTIMER_SetMatchValue()
350 uint64_t tmp = 0U; in OSTIMER_GetCurrentTimerValue() local
352 tmp = OSTIMER_GetCurrentTimerRawValue(base); in OSTIMER_GetCurrentTimerValue()
354 return OSTIMER_GrayToDecimal(tmp); in OSTIMER_GetCurrentTimerValue()
368 uint64_t tmp = 0U; in OSTIMER_GetCaptureValue() local
[all …]
Dfsl_ostimer.h151 uint64_t tmp = 0U; in OSTIMER_GetCurrentTimerRawValue() local
153 tmp = base->EVTIMERL; in OSTIMER_GetCurrentTimerRawValue()
154 tmp |= (uint64_t)(base->EVTIMERH) << 32U; in OSTIMER_GetCurrentTimerRawValue()
156 return tmp; in OSTIMER_GetCurrentTimerRawValue()
181 uint64_t tmp = 0U; in OSTIMER_GetCaptureRawValue() local
183 tmp = base->CAPTURE_L; in OSTIMER_GetCaptureRawValue()
184 tmp |= (uint64_t)(base->CAPTURE_H) << 32U; in OSTIMER_GetCaptureRawValue()
186 return tmp; in OSTIMER_GetCaptureRawValue()
Dfsl_powerquad_cmsis.c115 float tmp; in arm_cos_f32() local
117 PQ_CosF32(&x, &tmp); in arm_cos_f32()
118 return tmp; in arm_cos_f32()
139 float tmp; in arm_sin_f32() local
141 PQ_SinF32(&x, &tmp); in arm_sin_f32()
142 return tmp; in arm_sin_f32()
1416 float tmp[1024]; in arm_mat_inverse_f32() local
1432 PQ_MatrixInversion(POWERQUAD, length, src->pData, tmp, dst->pData); in arm_mat_inverse_f32()
/hal_nxp-2.7.6/mcux/drivers/lpc/
Dfsl_casper.c644 int j, tmp; in MultprecModulo() local
715 tmp = (int32_t)(uint32_t)(q_hat << 16); /* quotient upper part */ in MultprecModulo()
745 q_hat |= (unsigned)tmp; /* other half of the quotient */ in MultprecModulo()
1696 uint64_t *b64, *c64, *m64, *tmp; in CASPER_montsub() local
1703 tmp = (uint64_t *)(uintptr_t)&CASPER_MEM[0]; in CASPER_montsub()
1705 CASPER_MEMCPY(tmp, A, N_wordlen * sizeof(uint32_t)); in CASPER_montsub()
1710 …rypto_mul(Accel_IterOpcodeResaddr(N_wordlen / 2U - 1U, (uint32_t)kCASPER_OpSub64, CA_MK_OFF(tmp))); in CASPER_montsub()
1713 …borrow = (int32_t)((GET_WORD(&((uint32_t *)(uintptr_t)tmp)[N_wordlen - 1U])) > GET_WORD(&A[N_wordl… in CASPER_montsub()
1714 CASPER_MEMCPY(c64, tmp, N_wordlen * sizeof(uint32_t)); in CASPER_montsub()
1721 casper_select(C, (uint32_t *)(uintptr_t)tmp, C, borrow, (int16_t)(uint16_t)N_wordlen); in CASPER_montsub()
[all …]
Dfsl_ostimer.c270 uint64_t tmp = count; in OSTIMER_SetMatchRawValue() local
280 base->MATCH_L = (uint32_t)tmp; in OSTIMER_SetMatchRawValue()
281 base->MATCH_H = (uint32_t)(tmp >> 32U); in OSTIMER_SetMatchRawValue()
303 if ((decValueTimer >= OSTIMER_GrayToDecimal(tmp)) && in OSTIMER_SetMatchRawValue()
334 uint64_t tmp = OSTIMER_DecimalToGray(count); in OSTIMER_SetMatchValue() local
336 return OSTIMER_SetMatchRawValue(base, tmp, cb); in OSTIMER_SetMatchValue()
350 uint64_t tmp = 0U; in OSTIMER_GetCurrentTimerValue() local
352 tmp = OSTIMER_GetCurrentTimerRawValue(base); in OSTIMER_GetCurrentTimerValue()
354 return OSTIMER_GrayToDecimal(tmp); in OSTIMER_GetCurrentTimerValue()
368 uint64_t tmp = 0U; in OSTIMER_GetCaptureValue() local
[all …]
Dfsl_ostimer.h151 uint64_t tmp = 0U; in OSTIMER_GetCurrentTimerRawValue() local
153 tmp = base->EVTIMERL; in OSTIMER_GetCurrentTimerRawValue()
154 tmp |= (uint64_t)(base->EVTIMERH) << 32U; in OSTIMER_GetCurrentTimerRawValue()
156 return tmp; in OSTIMER_GetCurrentTimerRawValue()
181 uint64_t tmp = 0U; in OSTIMER_GetCaptureRawValue() local
183 tmp = base->CAPTURE_L; in OSTIMER_GetCaptureRawValue()
184 tmp |= (uint64_t)(base->CAPTURE_H) << 32U; in OSTIMER_GetCaptureRawValue()
186 return tmp; in OSTIMER_GetCaptureRawValue()
Dfsl_powerquad_cmsis.c115 float tmp; in arm_cos_f32() local
117 PQ_CosF32(&x, &tmp); in arm_cos_f32()
118 return tmp; in arm_cos_f32()
139 float tmp; in arm_sin_f32() local
141 PQ_SinF32(&x, &tmp); in arm_sin_f32()
142 return tmp; in arm_sin_f32()
1416 float tmp[1024]; in arm_mat_inverse_f32() local
1432 PQ_MatrixInversion(POWERQUAD, length, src->pData, tmp, dst->pData); in arm_mat_inverse_f32()
/hal_nxp-2.7.6/mcux/drivers/imx/
Dfsl_snvs_hp.c340 uint32_t tmp = 0; in SNVS_HP_RTC_GetSeconds() local
345 seconds = tmp; in SNVS_HP_RTC_GetSeconds()
346 tmp = (base->HPRTCMR << 17U); in SNVS_HP_RTC_GetSeconds()
347 tmp |= (base->HPRTCLR >> 15U); in SNVS_HP_RTC_GetSeconds()
348 } while (tmp != seconds); in SNVS_HP_RTC_GetSeconds()
367 uint32_t tmp = base->HPCR; in SNVS_HP_RTC_SetDatetime() local
385 if ((tmp & SNVS_HPCR_RTC_EN_MASK) != 0U) in SNVS_HP_RTC_SetDatetime()
426 uint32_t tmp = base->HPCR; in SNVS_HP_RTC_SetAlarm() local
454 base->HPCR = tmp; in SNVS_HP_RTC_SetAlarm()
486 uint32_t tmp = base->HPCR; in SNVS_HP_RTC_TimeSynchronize() local
[all …]
Dfsl_mipi_dsi.c964 uint32_t tmp; in DSI_ReadApbRxPayload() local
968 tmp = base->apb->PKT_RX_PAYLOAD; in DSI_ReadApbRxPayload()
969 payload[0] = (uint8_t)(tmp & 0xFFU); in DSI_ReadApbRxPayload()
970 payload[1] = (uint8_t)((tmp >> 8U) & 0xFFU); in DSI_ReadApbRxPayload()
971 payload[2] = (uint8_t)((tmp >> 16U) & 0xFFU); in DSI_ReadApbRxPayload()
972 payload[3] = (uint8_t)((tmp >> 24U) & 0xFFU); in DSI_ReadApbRxPayload()
979 tmp = base->apb->PKT_RX_PAYLOAD; in DSI_ReadApbRxPayload()
983 payload[i] = (uint8_t)(tmp & 0xFFU); in DSI_ReadApbRxPayload()
984 tmp >>= 8U; in DSI_ReadApbRxPayload()
Dfsl_snvs_lp.c349 uint32_t tmp = 0; in SNVS_LP_SRTC_GetSeconds() local
354 seconds = tmp; in SNVS_LP_SRTC_GetSeconds()
355 tmp = (base->LPSRTCMR << 17U); in SNVS_LP_SRTC_GetSeconds()
356 tmp |= (base->LPSRTCLR >> 15U); in SNVS_LP_SRTC_GetSeconds()
357 } while (tmp != seconds); in SNVS_LP_SRTC_GetSeconds()
376 uint32_t tmp = base->LPCR; in SNVS_LP_SRTC_SetDatetime() local
394 if ((tmp & SNVS_LPCR_SRTC_ENV_MASK) != 0U) in SNVS_LP_SRTC_SetDatetime()
439 uint32_t tmp = base->LPCR; in SNVS_LP_SRTC_SetAlarm() local
466 base->LPCR = tmp; in SNVS_LP_SRTC_SetAlarm()
/hal_nxp-2.7.6/mcux/drivers/kinetis/
Dfsl_rcm.h195 uint32_t tmp = base->VERID; in RCM_GetVersionId() local
197 versionId->feature = (uint16_t)(tmp & 0x0000FFFFUL); in RCM_GetVersionId()
198 versionId->minor = (uint8_t)((tmp & 0x00FF0000UL) >> 16U); in RCM_GetVersionId()
199 versionId->major = (uint8_t)((tmp & 0x000000FFUL) >> 24U); in RCM_GetVersionId()
/hal_nxp-2.7.6/mcux/devices/LPC54114/
Dfsl_clock.h509 uint32_t tmp; in CLOCK_SetFLASHAccessCycles() local
511 tmp = SYSCON->FLASHCFG & ~(SYSCON_FLASHCFG_FLASHTIM_MASK); in CLOCK_SetFLASHAccessCycles()
514 SYSCON->FLASHCFG = tmp | ((uint32_t)clks << SYSCON_FLASHCFG_FLASHTIM_SHIFT); in CLOCK_SetFLASHAccessCycles()
Dfsl_clock.c1038 uint32_t tmp; in FindGreatestCommonDivisor() local
1042 tmp = n; in FindGreatestCommonDivisor()
1044 m = tmp; in FindGreatestCommonDivisor()
/hal_nxp-2.7.6/mcux/devices/LPC55S28/
Dfsl_clock.c1172 uint32_t tmp; in FindGreatestCommonDivisor() local
1176 tmp = n; in FindGreatestCommonDivisor()
1178 m = tmp; in FindGreatestCommonDivisor()
/hal_nxp-2.7.6/mcux/devices/LPC55S69/
Dfsl_clock.c1172 uint32_t tmp; in FindGreatestCommonDivisor() local
1176 tmp = n; in FindGreatestCommonDivisor()
1178 m = tmp; in FindGreatestCommonDivisor()
/hal_nxp-2.7.6/mcux/devices/LPC55S16/
Dfsl_clock.c1182 uint32_t tmp; in FindGreatestCommonDivisor() local
1186 tmp = n; in FindGreatestCommonDivisor()
1188 m = tmp; in FindGreatestCommonDivisor()