Home
last modified time | relevance | path

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

12345

/lk-master/arch/arm64/
A Dstart.S40 orr tmp, tmp, #(1<<12) /* Enable icache */
41 orr tmp, tmp, #(1<<2) /* Enable dcache/ucache */
69 add tmp, tmp, #1
149 orr tmp, tmp, size
179 lsl tmp, tmp, idx_shift
195 orr tmp, tmp, paddr
200 lsl tmp, tmp, idx_shift
243 lsl tmp, tmp, idx_shift
244 bic tmp, vaddr, tmp
258 add tmp, tmp, #1
[all …]
/lk-master/lib/fixed_point/include/lib/
A Dfixed_point.h27 uint64_t tmp; in fp_32_64_div_32_32() local
33 result->l32 = tmp; in fp_32_64_div_32_32()
35 result->l64 = tmp; in fp_32_64_div_32_32()
47 uint64_t tmp; in u64_mul_u32_fp32_64() local
55 res_0 += tmp >> 32; in u64_mul_u32_fp32_64()
94 uint64_t tmp; in u64_mul_u64_fp32_64() local
98 res_0 = tmp << 32; in u64_mul_u64_fp32_64()
100 res_0 += tmp; in u64_mul_u64_fp32_64()
102 res_0 += tmp; in u64_mul_u64_fp32_64()
104 res_0 += tmp >> 32; in u64_mul_u64_fp32_64()
[all …]
/lk-master/external/platform/stm32f7xx/STM32F7xx_HAL_Driver/Src/
A Dstm32f7xx_hal_dma2d.c183 uint32_t tmp = 0; in HAL_DMA2D_Init() local
208 tmp = hdma2d->Instance->CR; in HAL_DMA2D_Init()
214 tmp |= hdma2d->Init.Mode; in HAL_DMA2D_Init()
217 hdma2d->Instance->CR = tmp; in HAL_DMA2D_Init()
234 tmp = hdma2d->Instance->OOR; in HAL_DMA2D_Init()
243 hdma2d->Instance->OOR = tmp; in HAL_DMA2D_Init()
608 uint32_t tmp, tmp1; in HAL_DMA2D_PollForTransfer() local
810 uint32_t tmp = 0; in HAL_DMA2D_ConfigLayer() local
932 uint32_t tmp = 0, tmp1 = 0; in HAL_DMA2D_ConfigCLUT() local
1141 uint32_t tmp = 0; in DMA2D_SetConfig() local
[all …]
A Dstm32f7xx_hal_sd.c1353 uint32_t tmp = 0; in HAL_SD_Get_CardInfo() local
1910 uint32_t tmp = 0; in HAL_SD_GetCardStatus() local
1928 tmp = (sd_status[2] & 0xFF); in HAL_SD_GetCardStatus()
1932 tmp = (sd_status[3] & 0xFF); in HAL_SD_GetCardStatus()
1936 tmp = (sd_status[4] & 0xFF); in HAL_SD_GetCardStatus()
1940 tmp = (sd_status[5] & 0xFF); in HAL_SD_GetCardStatus()
1944 tmp = (sd_status[6] & 0xFF); in HAL_SD_GetCardStatus()
1948 tmp = (sd_status[7] & 0xFF); in HAL_SD_GetCardStatus()
1952 tmp = (sd_status[8] & 0xFF); in HAL_SD_GetCardStatus()
1956 tmp = (sd_status[9] & 0xFF); in HAL_SD_GetCardStatus()
[all …]
A Dstm32f7xx_hal_sdram.c339 uint32_t tmp = 0; in HAL_SDRAM_Write_8b() local
345 tmp = hsdram->State; in HAL_SDRAM_Write_8b()
349 } else if ((tmp == HAL_SDRAM_STATE_PRECHARGED) || (tmp == HAL_SDRAM_STATE_WRITE_PROTECTED)) { in HAL_SDRAM_Write_8b()
415 uint32_t tmp = 0; in HAL_SDRAM_Write_16b() local
421 tmp = hsdram->State; in HAL_SDRAM_Write_16b()
490 uint32_t tmp = 0; in HAL_SDRAM_Write_32b() local
496 tmp = hsdram->State; in HAL_SDRAM_Write_32b()
528 uint32_t tmp = 0; in HAL_SDRAM_Read_DMA() local
534 tmp = hsdram->State; in HAL_SDRAM_Read_DMA()
566 uint32_t tmp = 0; in HAL_SDRAM_Write_DMA() local
[all …]
A Dstm32f7xx_hal_dac_ex.c108 uint32_t tmp = 0; in HAL_DACEx_DualGetValue() local
110 tmp |= hdac->Instance->DOR1; in HAL_DACEx_DualGetValue()
112 tmp |= hdac->Instance->DOR2 << 16; in HAL_DACEx_DualGetValue()
115 return tmp; in HAL_DACEx_DualGetValue()
233 uint32_t data = 0, tmp = 0; in HAL_DACEx_DualSetValue() local
247 tmp = (uint32_t)hdac->Instance; in HAL_DACEx_DualSetValue()
248 tmp += DAC_DHR12RD_ALIGNMENT(Alignment); in HAL_DACEx_DualSetValue()
251 *(__IO uint32_t *)tmp = data; in HAL_DACEx_DualSetValue()
A Dstm32f7xx_hal_ltdc.c150 uint32_t tmp = 0, tmp1 = 0; in HAL_LTDC_Init() local
189 tmp = (hltdc->Init.HorizontalSync << 16); in HAL_LTDC_Init()
194 tmp = (hltdc->Init.AccumulatedHBP << 16); in HAL_LTDC_Init()
199 tmp = (hltdc->Init.AccumulatedActiveW << 16); in HAL_LTDC_Init()
204 tmp = (hltdc->Init.TotalWidth << 16); in HAL_LTDC_Init()
527 uint32_t tmp = 0; in HAL_LTDC_ConfigCLUT() local
1097 uint32_t tmp = 0; in LTDC_SetConfig() local
1135 tmp = 4; in LTDC_SetConfig()
1137 tmp = 3; in LTDC_SetConfig()
1142 tmp = 2; in LTDC_SetConfig()
[all …]
/lk-master/external/lib/mincrypt/
A Dsha.c46 uint32_t tmp = *p++ << 24; in SHA1_Transform() local
47 tmp |= *p++ << 16; in SHA1_Transform()
48 tmp |= *p++ << 8; in SHA1_Transform()
49 tmp |= *p++; in SHA1_Transform()
50 W[t] = tmp; in SHA1_Transform()
79 A = tmp; in SHA1_Transform()
138 SHA_update(ctx, &tmp, 1); in SHA_final()
143 *p++ = tmp >> 24; in SHA_final()
144 *p++ = tmp >> 16; in SHA_final()
145 *p++ = tmp >> 8; in SHA_final()
[all …]
A Dsha256.c66 uint32_t tmp = *p++ << 24; in SHA256_Transform() local
67 tmp |= *p++ << 16; in SHA256_Transform()
68 tmp |= *p++ << 8; in SHA256_Transform()
69 tmp |= *p++; in SHA256_Transform()
70 W[t] = tmp; in SHA256_Transform()
168 SHA256_update(ctx, &tmp, 1); in SHA256_final()
172 uint32_t tmp = ctx->state[i]; in SHA256_final() local
173 *p++ = tmp >> 24; in SHA256_final()
174 *p++ = tmp >> 16; in SHA256_final()
175 *p++ = tmp >> 8; in SHA256_final()
[all …]
/lk-master/external/lib/cksum/
A Dadler32.c31 unsigned long tmp = a >> 16; \
33 a += (tmp << 4) - tmp; \
47 z_off64_t tmp = a >> 32; \
49 a += (tmp << 8) - (tmp << 5) + tmp; \
50 tmp = a >> 16; \
52 a += (tmp << 4) - tmp; \
53 tmp = a >> 16; \
55 a += (tmp << 4) - tmp; \
/lk-master/external/platform/stm32f1xx/STM32F10x_StdPeriph_Driver/src/
A Dstm32f10x_dac.c343 __IO uint32_t tmp = 0; in DAC_SetChannel1Data() local
349 tmp = (uint32_t)DAC_BASE; in DAC_SetChannel1Data()
353 *(__IO uint32_t *) tmp = Data; in DAC_SetChannel1Data()
368 __IO uint32_t tmp = 0; in DAC_SetChannel2Data() local
374 tmp = (uint32_t)DAC_BASE; in DAC_SetChannel2Data()
378 *(__IO uint32_t *)tmp = Data; in DAC_SetChannel2Data()
397 uint32_t data = 0, tmp = 0; in DAC_SetDualChannelData() local
414 tmp = (uint32_t)DAC_BASE; in DAC_SetDualChannelData()
418 *(__IO uint32_t *)tmp = data; in DAC_SetDualChannelData()
431 __IO uint32_t tmp = 0; in DAC_GetDataOutputValue() local
[all …]
A Dstm32f10x_exti.c102 uint32_t tmp = 0; in EXTI_Init() local
110 tmp = (uint32_t)EXTI_BASE; in EXTI_Init()
118 tmp += EXTI_InitStruct->EXTI_Mode; in EXTI_Init()
120 *(__IO uint32_t *) tmp |= EXTI_InitStruct->EXTI_Line; in EXTI_Init()
135 tmp = (uint32_t)EXTI_BASE; in EXTI_Init()
136 tmp += EXTI_InitStruct->EXTI_Trigger; in EXTI_Init()
138 *(__IO uint32_t *) tmp |= EXTI_InitStruct->EXTI_Line; in EXTI_Init()
143 tmp += EXTI_InitStruct->EXTI_Mode; in EXTI_Init()
146 *(__IO uint32_t *) tmp &= ~EXTI_InitStruct->EXTI_Line; in EXTI_Init()
A Dstm32f10x_bkp.c223 __IO uint32_t tmp = 0; in BKP_WriteBackupRegister() local
228 tmp = (uint32_t)BKP_BASE; in BKP_WriteBackupRegister()
229 tmp += BKP_DR; in BKP_WriteBackupRegister()
231 *(__IO uint32_t *) tmp = Data; in BKP_WriteBackupRegister()
242 __IO uint32_t tmp = 0; in BKP_ReadBackupRegister() local
247 tmp = (uint32_t)BKP_BASE; in BKP_ReadBackupRegister()
248 tmp += BKP_DR; in BKP_ReadBackupRegister()
250 return (*(__IO uint16_t *) tmp); in BKP_ReadBackupRegister()
A Dstm32f10x_rcc.c922 switch (tmp) in RCC_GetClocksFreq()
1008 tmp = tmp >> 4; in RCC_GetClocksFreq()
1009 presc = APBAHBPrescTable[tmp]; in RCC_GetClocksFreq()
1014 tmp = tmp >> 8; in RCC_GetClocksFreq()
1015 presc = APBAHBPrescTable[tmp]; in RCC_GetClocksFreq()
1020 tmp = tmp >> 11; in RCC_GetClocksFreq()
1026 tmp = tmp >> 14; in RCC_GetClocksFreq()
1027 presc = ADCPrescTable[tmp]; in RCC_GetClocksFreq()
1327 uint32_t tmp = 0; in RCC_GetFlagStatus() local
1334 tmp = RCC_FLAG >> 5; in RCC_GetFlagStatus()
[all …]
A Dstm32f10x_rtc.c134 uint16_t tmp = 0; in RTC_GetCounter() local
135 tmp = RTC->CNTL; in RTC_GetCounter()
136 return (((uint32_t)RTC->CNTH << 16 ) | tmp) ; in RTC_GetCounter()
194 uint32_t tmp = 0x00; in RTC_GetDivider() local
195 tmp = ((uint32_t)RTC->DIVH & (uint32_t)0x000F) << 16; in RTC_GetDivider()
196 tmp |= RTC->DIVL; in RTC_GetDivider()
197 return tmp; in RTC_GetDivider()
A Dstm32f10x_spi.c221 uint32_t tmp = 0; in I2S_Init() local
267 tmp = I2S2_CLOCK_SRC; in I2S_Init()
272 tmp = I2S3_CLOCK_SRC; in I2S_Init()
278 if((RCC->CFGR2 & tmp) != 0) in I2S_Init()
284 if((tmp > 5) && (tmp < 15)) in I2S_Init()
287 tmp += 2; in I2S_Init()
291 if (tmp == 15) in I2S_Init()
294 tmp = 20; in I2S_Init()
332 tmp = tmp / 10; in I2S_Init()
335 i2sodd = (uint16_t)(tmp & (uint16_t)0x0001); in I2S_Init()
[all …]
/lk-master/external/platform/stm32f2xx/STM32F2xx_StdPeriph_Driver/src/
A Dstm32f2xx_dac.c373 __IO uint32_t tmp = 0; in DAC_SetChannel1Data() local
379 tmp = (uint32_t)DAC_BASE; in DAC_SetChannel1Data()
383 *(__IO uint32_t *) tmp = Data; in DAC_SetChannel1Data()
398 __IO uint32_t tmp = 0; in DAC_SetChannel2Data() local
404 tmp = (uint32_t)DAC_BASE; in DAC_SetChannel2Data()
408 *(__IO uint32_t *)tmp = Data; in DAC_SetChannel2Data()
426 uint32_t data = 0, tmp = 0; in DAC_SetDualChannelData() local
443 tmp = (uint32_t)DAC_BASE; in DAC_SetDualChannelData()
447 *(__IO uint32_t *)tmp = data; in DAC_SetDualChannelData()
460 __IO uint32_t tmp = 0; in DAC_GetDataOutputValue() local
[all …]
A Dstm32f2xx_exti.c127 uint32_t tmp = 0; in EXTI_Init() local
135 tmp = (uint32_t)EXTI_BASE; in EXTI_Init()
143 tmp += EXTI_InitStruct->EXTI_Mode; in EXTI_Init()
145 *(__IO uint32_t *) tmp |= EXTI_InitStruct->EXTI_Line; in EXTI_Init()
160 tmp = (uint32_t)EXTI_BASE; in EXTI_Init()
161 tmp += EXTI_InitStruct->EXTI_Trigger; in EXTI_Init()
163 *(__IO uint32_t *) tmp |= EXTI_InitStruct->EXTI_Line; in EXTI_Init()
168 tmp += EXTI_InitStruct->EXTI_Mode; in EXTI_Init()
171 *(__IO uint32_t *) tmp &= ~EXTI_InitStruct->EXTI_Line; in EXTI_Init()
A Dstm32f2xx_rcc.c867 tmp = RCC->CFGR & RCC_CFGR_SWS; in RCC_GetClocksFreq()
869 switch (tmp) in RCC_GetClocksFreq()
907 tmp = tmp >> 4; in RCC_GetClocksFreq()
908 presc = APBAHBPrescTable[tmp]; in RCC_GetClocksFreq()
914 tmp = tmp >> 10; in RCC_GetClocksFreq()
915 presc = APBAHBPrescTable[tmp]; in RCC_GetClocksFreq()
921 tmp = tmp >> 13; in RCC_GetClocksFreq()
922 presc = APBAHBPrescTable[tmp]; in RCC_GetClocksFreq()
1696 uint32_t tmp = 0; in RCC_GetFlagStatus() local
1704 tmp = RCC_FLAG >> 5; in RCC_GetFlagStatus()
[all …]
/lk-master/external/platform/stm32f4xx/STM32F4xx_StdPeriph_Driver/src/
A Dstm32f4xx_dac.c380 __IO uint32_t tmp = 0; in DAC_SetChannel1Data() local
386 tmp = (uint32_t)DAC_BASE; in DAC_SetChannel1Data()
390 *(__IO uint32_t *) tmp = Data; in DAC_SetChannel1Data()
405 __IO uint32_t tmp = 0; in DAC_SetChannel2Data() local
411 tmp = (uint32_t)DAC_BASE; in DAC_SetChannel2Data()
415 *(__IO uint32_t *)tmp = Data; in DAC_SetChannel2Data()
433 uint32_t data = 0, tmp = 0; in DAC_SetDualChannelData() local
450 tmp = (uint32_t)DAC_BASE; in DAC_SetDualChannelData()
454 *(__IO uint32_t *)tmp = data; in DAC_SetDualChannelData()
467 __IO uint32_t tmp = 0; in DAC_GetDataOutputValue() local
[all …]
A Dstm32f4xx_exti.c127 uint32_t tmp = 0; in EXTI_Init() local
135 tmp = (uint32_t)EXTI_BASE; in EXTI_Init()
143 tmp += EXTI_InitStruct->EXTI_Mode; in EXTI_Init()
145 *(__IO uint32_t *) tmp |= EXTI_InitStruct->EXTI_Line; in EXTI_Init()
160 tmp = (uint32_t)EXTI_BASE; in EXTI_Init()
161 tmp += EXTI_InitStruct->EXTI_Trigger; in EXTI_Init()
163 *(__IO uint32_t *) tmp |= EXTI_InitStruct->EXTI_Line; in EXTI_Init()
168 tmp += EXTI_InitStruct->EXTI_Mode; in EXTI_Init()
171 *(__IO uint32_t *) tmp &= ~EXTI_InitStruct->EXTI_Line; in EXTI_Init()
/lk-master/external/lib/fdt/include/
A Dlibfdt.h1288 fdt32_t tmp = cpu_to_fdt32(val); in fdt_setprop_inplace_u32() local
1289 return fdt_setprop_inplace(fdt, nodeoffset, name, &tmp, sizeof(tmp)); in fdt_setprop_inplace_u32()
1323 fdt64_t tmp = cpu_to_fdt64(val); in fdt_setprop_inplace_u64() local
1324 return fdt_setprop_inplace(fdt, nodeoffset, name, &tmp, sizeof(tmp)); in fdt_setprop_inplace_u64()
1438 fdt32_t tmp = cpu_to_fdt32(val); in fdt_property_u32() local
1439 return fdt_property(fdt, name, &tmp, sizeof(tmp)); in fdt_property_u32()
1444 return fdt_property(fdt, name, &tmp, sizeof(tmp)); in fdt_property_u64()
1650 return fdt_setprop(fdt, nodeoffset, name, &tmp, sizeof(tmp)); in fdt_setprop_u32()
1685 return fdt_setprop(fdt, nodeoffset, name, &tmp, sizeof(tmp)); in fdt_setprop_u64()
1822 return fdt_appendprop(fdt, nodeoffset, name, &tmp, sizeof(tmp)); in fdt_appendprop_u32()
[all …]
/lk-master/external/lib/lwip/netif/ppp/
A Dvj.c102 (f) = htonl(tmp); \
106 (f) = htonl(tmp); \
113 (f) = htons(tmp); \
117 (f) = htons(tmp); \
471 u32_t tmp; in vj_uncompress_tcp() local
518 th->ackno = htonl(tmp); in vj_uncompress_tcp()
520 th->seqno = htonl(tmp); in vj_uncompress_tcp()
527 th->seqno = htonl(tmp); in vj_uncompress_tcp()
582 tmp += *bp++; in vj_uncompress_tcp()
584 tmp = (tmp & 0xffff) + (tmp >> 16); in vj_uncompress_tcp()
[all …]
/lk-master/arch/arm64/include/arch/
A Dasm_macros.h39 .macro calloc_bootmem_aligned, new_ptr, new_ptr_end, tmp, size_shift, phys_offset=0
45 adrp \tmp, boot_alloc_end
46 ldr \new_ptr, [\tmp, #:lo12:boot_alloc_end]
59 str \new_ptr_end, [\tmp, #:lo12:boot_alloc_end]
68 mov \tmp, \new_ptr
70 stp xzr, xzr, [\tmp], #16
71 cmp \tmp, \new_ptr_end
/lk-master/external/platform/pico/rp2_common/hardware_xosc/
A Dxosc.c33 uint32_t tmp = xosc_hw->ctrl; in xosc_disable() local
34 tmp &= (~XOSC_CTRL_ENABLE_BITS); in xosc_disable()
35 tmp |= (XOSC_CTRL_ENABLE_VALUE_DISABLE << XOSC_CTRL_ENABLE_LSB); in xosc_disable()
36 xosc_hw->ctrl = tmp; in xosc_disable()

Completed in 65 milliseconds

12345