/lk-master/arch/mips/ |
A D | arch.c | 27 temp &= ~(1<<8); // IM0 in arch_early_init() 28 temp &= ~(1<<9); // IM1 in arch_early_init() 29 temp &= ~(1<<10); // IM2 in arch_early_init() 30 temp &= ~(1<<11); // IM3 in arch_early_init() 31 temp &= ~(1<<12); // IM4 in arch_early_init() 32 temp &= ~(1<<13); // IM5 in arch_early_init() 33 temp &= ~(1<<14); // IM6 in arch_early_init() 34 temp &= ~(1<<15); // IM7 in arch_early_init() 35 temp &= ~(1<<16); // IM8 in arch_early_init() 48 temp &= ~(0b1111 << 5); in arch_early_init() [all …]
|
/lk-master/arch/arm/include/arch/ |
A D | arch_atomic.h | 18 int temp; in atomic_add() local 23 temp = *ptr; in atomic_add() 27 return temp; in atomic_add() 31 int temp; in atomic_and() local 36 temp = *ptr; in atomic_and() 40 return temp; in atomic_and() 44 int temp; in atomic_or() local 49 temp = *ptr; in atomic_or() 53 return temp; in atomic_or() 57 int temp; in atomic_swap() local [all …]
|
/lk-master/external/platform/stm32f7xx/STM32F7xx_HAL_Driver/Src/ |
A D | stm32f7xx_hal_gpio.c | 192 uint32_t temp = 0x00; in HAL_GPIO_Init() local 222 temp = GPIOx->MODER; in HAL_GPIO_Init() 225 GPIOx->MODER = temp; in HAL_GPIO_Init() 246 temp = GPIOx->PUPDR; in HAL_GPIO_Init() 249 GPIOx->PUPDR = temp; in HAL_GPIO_Init() 263 temp = EXTI->IMR; in HAL_GPIO_Init() 268 EXTI->IMR = temp; in HAL_GPIO_Init() 270 temp = EXTI->EMR; in HAL_GPIO_Init() 275 EXTI->EMR = temp; in HAL_GPIO_Init() 278 temp = EXTI->RTSR; in HAL_GPIO_Init() [all …]
|
A D | stm32f7xx_hal_crc.c | 280 uint32_t temp = 0; /* CRC output (read from hcrc->Instance->DR register) */ in HAL_CRC_Accumulate() local 294 temp = hcrc->Instance->DR; in HAL_CRC_Accumulate() 298 temp = CRC_Handle_8(hcrc, (uint8_t*)pBuffer, BufferLength); in HAL_CRC_Accumulate() 302 temp = CRC_Handle_16(hcrc, (uint16_t*)pBuffer, BufferLength); in HAL_CRC_Accumulate() 315 return temp; in HAL_CRC_Accumulate() 331 uint32_t temp = 0; /* CRC output (read from hcrc->Instance->DR register) */ in HAL_CRC_Calculate() local 349 temp = hcrc->Instance->DR; in HAL_CRC_Calculate() 354 temp = CRC_Handle_8(hcrc, (uint8_t*)pBuffer, BufferLength); in HAL_CRC_Calculate() 359 temp = CRC_Handle_16(hcrc, (uint16_t*)pBuffer, BufferLength); in HAL_CRC_Calculate() 372 return temp; in HAL_CRC_Calculate()
|
A D | stm32f7xx_hal_flash.c | 304 uint32_t temp = 0; in HAL_FLASH_IRQHandler() local 325 temp = pFlash.Sector; in HAL_FLASH_IRQHandler() 327 HAL_FLASH_EndOfOperationCallback(temp); in HAL_FLASH_IRQHandler() 333 temp = ++pFlash.Sector; in HAL_FLASH_IRQHandler() 334 FLASH_Erase_Sector(temp, pFlash.VoltageForErase); in HAL_FLASH_IRQHandler() 338 pFlash.Sector = temp = 0xFFFFFFFF; in HAL_FLASH_IRQHandler() 340 HAL_FLASH_EndOfOperationCallback(temp); in HAL_FLASH_IRQHandler() 380 temp = pFlash.Sector; in HAL_FLASH_IRQHandler() 386 temp = 0; in HAL_FLASH_IRQHandler() 391 temp = pFlash.Address; in HAL_FLASH_IRQHandler() [all …]
|
A D | stm32f7xx_hal_pcd.c | 307 uint32_t fifoemptymsk = 0, temp = 0; in HAL_PCD_IRQHandler() local 503 temp = USBx->GRXSTSP; in HAL_PCD_IRQHandler() 504 ep = &hpcd->OUT_ep[temp & USB_OTG_GRXSTSP_EPNUM]; in HAL_PCD_IRQHandler() 506 if (((temp & USB_OTG_GRXSTSP_PKTSTS) >> 17) == STS_DATA_UPDT) { in HAL_PCD_IRQHandler() 507 if ((temp & USB_OTG_GRXSTSP_BCNT) != 0) { in HAL_PCD_IRQHandler() 509 ep->xfer_buff += (temp & USB_OTG_GRXSTSP_BCNT) >> 4; in HAL_PCD_IRQHandler() 510 ep->xfer_count += (temp & USB_OTG_GRXSTSP_BCNT) >> 4; in HAL_PCD_IRQHandler() 514 ep->xfer_count += (temp & USB_OTG_GRXSTSP_BCNT) >> 4; in HAL_PCD_IRQHandler() 545 temp = hpcd->Instance->GOTGINT; in HAL_PCD_IRQHandler() 547 if ((temp & USB_OTG_GOTGINT_SEDET) == USB_OTG_GOTGINT_SEDET) { in HAL_PCD_IRQHandler() [all …]
|
A D | stm32f7xx_hal_cec.c | 323 uint8_t temp = 0; in HAL_CEC_Transmit() local 351 … temp = ((uint32_t)hcec->Init.InitiatorAddress << CEC_INITIATOR_LSB_POS) | DestinationAddress; in HAL_CEC_Transmit() 352 hcec->Instance->TXDR = temp; in HAL_CEC_Transmit() 456 uint32_t temp; in HAL_CEC_Receive() local 489 temp = (uint32_t) (hcec->Instance->ISR); in HAL_CEC_Receive() 492 hcec->ErrorCode = temp; in HAL_CEC_Receive() 504 temp = (uint32_t) (hcec->Instance->ISR); in HAL_CEC_Receive() 506 if ((temp & CEC_ISR_RXEND) != 0) { in HAL_CEC_Receive() 549 uint8_t temp = 0; in HAL_CEC_Transmit_IT() local 598 … temp = ((uint32_t)hcec->Init.InitiatorAddress << CEC_INITIATOR_LSB_POS) | DestinationAddress; in HAL_CEC_Transmit_IT() [all …]
|
/lk-master/external/platform/stm32f0xx/STM32F0xx_HAL_Driver/ |
A D | stm32f0xx_hal_gpio.c | 190 uint32_t temp = 0x00U; in HAL_GPIO_Init() local 222 temp = GPIOx->MODER; in HAL_GPIO_Init() 225 GPIOx->MODER = temp; in HAL_GPIO_Init() 247 temp = GPIOx->PUPDR; in HAL_GPIO_Init() 250 GPIOx->PUPDR = temp; in HAL_GPIO_Init() 265 temp = EXTI->IMR; in HAL_GPIO_Init() 271 EXTI->IMR = temp; in HAL_GPIO_Init() 273 temp = EXTI->EMR; in HAL_GPIO_Init() 279 EXTI->EMR = temp; in HAL_GPIO_Init() 282 temp = EXTI->RTSR; in HAL_GPIO_Init() [all …]
|
A D | stm32f0xx_hal_crc.c | 299 uint32_t temp = 0U; /* CRC output (read from hcrc->Instance->DR register) */ in HAL_CRC_Accumulate() local 315 temp = hcrc->Instance->DR; in HAL_CRC_Accumulate() 319 temp = CRC_Handle_8(hcrc, (uint8_t*)pBuffer, BufferLength); in HAL_CRC_Accumulate() 323 temp = CRC_Handle_16(hcrc, (uint16_t*)pBuffer, BufferLength); in HAL_CRC_Accumulate() 337 return temp; in HAL_CRC_Accumulate() 359 uint32_t temp = 0U; /* CRC output (read from hcrc->Instance->DR register) */ in HAL_CRC_Calculate() local 379 temp = hcrc->Instance->DR; in HAL_CRC_Calculate() 384 temp = CRC_Handle_8(hcrc, (uint8_t*)pBuffer, BufferLength); in HAL_CRC_Calculate() 389 temp = CRC_Handle_16(hcrc, (uint16_t*)pBuffer, BufferLength); in HAL_CRC_Calculate() 403 return temp; in HAL_CRC_Calculate()
|
/lk-master/external/platform/lpc15xx/lpcopen/lpc_chip_15xx/src/ |
A D | adc_15xx.c | 49 uint32_t temp; in Chip_ADC_SetIntBits() local 53 temp = pADC->INTEN & 0x07FFFFFF; in Chip_ADC_SetIntBits() 55 pADC->INTEN = temp | intMask; in Chip_ADC_SetIntBits() 61 uint32_t temp; in Chip_ADC_ClearIntBits() local 65 temp = pADC->INTEN & 0x07FFFFFF; in Chip_ADC_ClearIntBits() 67 pADC->INTEN = temp & ~intMask; in Chip_ADC_ClearIntBits() 73 uint32_t temp; in Chip_ADC_SetTHRSELBits() local 79 pADC->CHAN_THRSEL = temp | mask; in Chip_ADC_SetTHRSELBits() 85 uint32_t temp; in Chip_ADC_ClearTHRSELBits() local 174 uint32_t temp; in Chip_ADC_SetSequencerBits() local [all …]
|
A D | dma_15xx.c | 73 uint32_t temp; in Chip_DMA_SetTranBits() local 77 temp = pDMA->DMACH[ch].XFERCFG & ~0xFC000CC0; in Chip_DMA_SetTranBits() 79 pDMA->DMACH[ch].XFERCFG = temp | mask; in Chip_DMA_SetTranBits() 85 uint32_t temp; in Chip_DMA_ClearTranBits() local 89 temp = pDMA->DMACH[ch].XFERCFG & ~0xFC000CC0; in Chip_DMA_ClearTranBits() 91 pDMA->DMACH[ch].XFERCFG = temp & ~mask; in Chip_DMA_ClearTranBits()
|
A D | swm_15xx.c | 56 uint32_t temp; in Chip_SWM_MovablePinAssign() local 59 temp = LPC_SWM->PINASSIGN[regIndex] & (~(0xFF << pinshift)); in Chip_SWM_MovablePinAssign() 60 LPC_SWM->PINASSIGN[regIndex] = temp | (pin << pinshift); in Chip_SWM_MovablePinAssign()
|
/lk-master/external/platform/stm32f0xx/STM32F0xx_HAL_Driver/inc/ |
A D | stm32f0xx_ll_rtc.h | 1146 register uint32_t temp = 0U; in LL_RTC_TIME_GetHour() local 1184 register uint32_t temp = 0U; in LL_RTC_TIME_GetMinute() local 1222 register uint32_t temp = 0U; in LL_RTC_TIME_GetSecond() local 1251 register uint32_t temp = 0U; in LL_RTC_TIME_Config() local 1279 register uint32_t temp = 0U; in LL_RTC_TIME_Get() local 1418 register uint32_t temp = 0U; in LL_RTC_DATE_GetYear() local 1514 register uint32_t temp = 0U; in LL_RTC_DATE_GetMonth() local 1547 register uint32_t temp = 0U; in LL_RTC_DATE_GetDay() local 1590 register uint32_t temp = 0U; in LL_RTC_DATE_Config() local 1618 register uint32_t temp = 0U; in LL_RTC_DATE_Get() local [all …]
|
/lk-master/tools/ |
A D | network.c | 18 struct addrinfo *info, *temp; in lookup_hostname() local 32 for (temp = info; temp; temp = temp->ai_next) { in lookup_hostname() 36 if (temp->ai_family == AF_INET && temp->ai_protocol == IPPROTO_TCP) { in lookup_hostname() 37 struct sockaddr_in *sa = (struct sockaddr_in *)temp->ai_addr; in lookup_hostname()
|
/lk-master/external/platform/stm32f4xx/STM32F4xx_StdPeriph_Driver/src/ |
A D | stm32f4xx_ltdc.c | 731 temp = 4; in LTDC_LayerPosition() 735 temp = 3; in LTDC_LayerPosition() 746 temp = 1; in LTDC_LayerPosition() 813 temp = 4; in LTDC_LayerSize() 817 temp = 3; in LTDC_LayerSize() 828 temp = 1; in LTDC_LayerSize() 871 temp = 4; in LTDC_LayerPixelFormat() 875 temp = 3; in LTDC_LayerPixelFormat() 886 temp = 1; in LTDC_LayerPixelFormat() 894 temp = 4; in LTDC_LayerPixelFormat() [all …]
|
A D | stm32f4xx_dcmi.c | 145 uint32_t temp = 0x0; in DCMI_Init() local 161 temp = DCMI->CR; in DCMI_Init() 163 temp &= ~((uint32_t)DCMI_CR_CM | DCMI_CR_ESS | DCMI_CR_PCKPOL | in DCMI_Init() 168 temp |= ((uint32_t)DCMI_InitStruct->DCMI_CaptureMode | in DCMI_Init() 176 DCMI->CR = temp; in DCMI_Init()
|
/lk-master/arch/microblaze/include/arch/ |
A D | arch_ops.h | 16 uint32_t temp; in arch_enable_ints() local 25 : "=r" (temp)); in arch_enable_ints() 29 uint32_t temp; in arch_disable_ints() local 38 : "=r" (temp)); in arch_disable_ints()
|
A D | microblaze.h | 11 uint32_t temp; in mb_read_msr() local 13 "mfs %0, rmsr;" : "=r" (temp)); in mb_read_msr() 15 return temp; in mb_read_msr()
|
/lk-master/external/lib/aes/ |
A D | aes_core.c | 731 u32 temp; in AES_set_encrypt_key() local 753 temp = rk[3]; in AES_set_encrypt_key() 773 temp = rk[ 5]; in AES_set_encrypt_key() 795 temp = rk[ 7]; in AES_set_encrypt_key() 808 temp = rk[11]; in AES_set_encrypt_key() 813 (Te4[(temp ) & 0xff] & 0x000000ff); in AES_set_encrypt_key() 832 u32 temp; in AES_set_decrypt_key() local 843 temp = rk[i ]; rk[i ] = rk[j ]; rk[j ] = temp; in AES_set_decrypt_key() 844 temp = rk[i + 1]; rk[i + 1] = rk[j + 1]; rk[j + 1] = temp; in AES_set_decrypt_key() 845 temp = rk[i + 2]; rk[i + 2] = rk[j + 2]; rk[j + 2] = temp; in AES_set_decrypt_key() [all …]
|
/lk-master/external/platform/lpc15xx/lpcopen/periph_temp/example/src/ |
A D | temp.c | 45 static uint32_t temp[TEMPSAMPLES]; variable 82 return temp[TEMPSAMPLES - 1]; in tempGetSample() 122 temp[tempSampleIdx] = Chip_ADC_GetDataReg(LPC_ADC0, 0); in ADC0A_IRQHandler() 199 ADC_DR_RESULT(temp[0])); in main()
|
/lk-master/lib/fs/ext2/ |
A D | io.c | 186 uint8_t temp[EXT2_BLOCK_SIZE(ext2->sb)]; in ext2_read_inode() local 191 memset(temp, 0, EXT2_BLOCK_SIZE(ext2->sb)); in ext2_read_inode() 193 ext2_read_block(ext2, temp, phys_block); in ext2_read_inode() 199 memcpy(buf, temp + block_offset, tocopy); in ext2_read_inode() 227 uint8_t temp[EXT2_BLOCK_SIZE(ext2->sb)]; in ext2_read_inode() local 232 memset(temp, 0, EXT2_BLOCK_SIZE(ext2->sb)); in ext2_read_inode() 234 ext2_read_block(ext2, temp, phys_block); in ext2_read_inode() 238 memcpy(buf, temp, len); in ext2_read_inode()
|
/lk-master/lib/bio/ |
A D | bio.c | 47 err = bio_read_block(dev, temp, block, 1); in bio_default_read() 58 memcpy(buf, temp + block_offset, tocopy); in bio_default_read() 84 memcpy(buf, temp, dev->block_size); in bio_default_read() 110 err = bio_read_block(dev, temp, block, 1); in bio_default_read() 119 memcpy(buf, temp, len); in bio_default_read() 143 err = bio_read_block(dev, temp, block, 1); in bio_default_write() 154 memcpy(temp + block_offset, buf, tocopy); in bio_default_write() 157 err = bio_write_block(dev, temp, block, 1); in bio_default_write() 183 memcpy(temp, buf, dev->block_size); in bio_default_write() 219 err = bio_read_block(dev, temp, block, 1); in bio_default_write() [all …]
|
/lk-master/external/platform/stm32f2xx/STM32F2xx_StdPeriph_Driver/src/ |
A D | stm32f2xx_dcmi.c | 147 uint32_t temp = 0x0; in DCMI_Init() local 163 temp = DCMI->CR; in DCMI_Init() 165 temp &= ~((uint32_t)DCMI_CR_CM | DCMI_CR_ESS | DCMI_CR_PCKPOL | in DCMI_Init() 170 temp |= ((uint32_t)DCMI_InitStruct->DCMI_CaptureMode | in DCMI_Init() 178 DCMI->CR = temp; in DCMI_Init()
|
/lk-master/external/platform/lpc15xx/lpcopen/lpc_chip_15xx/inc/ |
A D | gpiogroup_15xx.h | 91 uint32_t temp; in Chip_GPIOGP_ClearIntStatus() local 93 temp = pGPIOGPINT[group].CTRL; in Chip_GPIOGP_ClearIntStatus() 94 pGPIOGPINT[group].CTRL = temp | GPIOGR_INT; in Chip_GPIOGP_ClearIntStatus()
|
A D | dac_15xx.h | 252 uint32_t temp; in Chip_DAC_ConfigDMAConverterControl() local 254 temp = pDAC->CTRL & ~(DAC_CTRL_UNUSED | DAC_DACCTRL_MASK); in Chip_DAC_ConfigDMAConverterControl() 255 pDAC->CTRL = temp | dacFlags; in Chip_DAC_ConfigDMAConverterControl()
|