| /bsp/n32/libraries/N32G4FR_Firmware_Library/n32g4fr_std_periph_driver/src/ |
| A D | n32g4fr_gpio.c | 697 tmp2 = AFIO->RMP_CFG; in GPIO_ConfigPinRemap() 698 tmp2 &= 0xFFFFFFFE; in GPIO_ConfigPinRemap() 708 tmp2 = AFIO->RMP_CFG; in GPIO_ConfigPinRemap() 709 tmp2 |= 0x00000001; in GPIO_ConfigPinRemap() 715 tmp2 = AFIO->RMP_CFG; in GPIO_ConfigPinRemap() 716 tmp2 &= 0xFFFFFFFE; in GPIO_ConfigPinRemap() 748 tmp2 = AFIO->RMP_CFG; in GPIO_ConfigPinRemap() 749 tmp2 &= 0xFFFFFFF7; in GPIO_ConfigPinRemap() 759 tmp2 = AFIO->RMP_CFG; in GPIO_ConfigPinRemap() 760 tmp2 |= 0x00000008; in GPIO_ConfigPinRemap() [all …]
|
| /bsp/n32/libraries/N32WB452_Firmware_Library/n32wb452_std_periph_driver/src/ |
| A D | n32wb452_gpio.c | 689 tmp2 = AFIO->RMP_CFG; in GPIO_ConfigPinRemap() 690 tmp2 &= 0xFFFFFFFE; in GPIO_ConfigPinRemap() 700 tmp2 = AFIO->RMP_CFG; in GPIO_ConfigPinRemap() 701 tmp2 |= 0x00000001; in GPIO_ConfigPinRemap() 707 tmp2 = AFIO->RMP_CFG; in GPIO_ConfigPinRemap() 708 tmp2 &= 0xFFFFFFFE; in GPIO_ConfigPinRemap() 740 tmp2 = AFIO->RMP_CFG; in GPIO_ConfigPinRemap() 741 tmp2 &= 0xFFFFFFF7; in GPIO_ConfigPinRemap() 751 tmp2 = AFIO->RMP_CFG; in GPIO_ConfigPinRemap() 752 tmp2 |= 0x00000008; in GPIO_ConfigPinRemap() [all …]
|
| /bsp/n32/libraries/N32G45x_Firmware_Library/n32g45x_std_periph_driver/src/ |
| A D | n32g45x_gpio.c | 707 tmp2 = AFIO->RMP_CFG; in GPIO_ConfigPinRemap() 708 tmp2 &= 0xFFFFFFFE; in GPIO_ConfigPinRemap() 718 tmp2 = AFIO->RMP_CFG; in GPIO_ConfigPinRemap() 719 tmp2 |= 0x00000001; in GPIO_ConfigPinRemap() 725 tmp2 = AFIO->RMP_CFG; in GPIO_ConfigPinRemap() 726 tmp2 &= 0xFFFFFFFE; in GPIO_ConfigPinRemap() 758 tmp2 = AFIO->RMP_CFG; in GPIO_ConfigPinRemap() 759 tmp2 &= 0xFFFFFFF7; in GPIO_ConfigPinRemap() 769 tmp2 = AFIO->RMP_CFG; in GPIO_ConfigPinRemap() 770 tmp2 |= 0x00000008; in GPIO_ConfigPinRemap() [all …]
|
| /bsp/n32g452xx/Libraries/N32_Std_Driver/n32g45x_std_periph_driver/src/ |
| A D | n32g45x_gpio.c | 714 tmp2 = AFIO->RMP_CFG; in GPIO_ConfigPinRemap() 715 tmp2 &= 0xFFFFFFFE; in GPIO_ConfigPinRemap() 725 tmp2 = AFIO->RMP_CFG; in GPIO_ConfigPinRemap() 726 tmp2 |= 0x00000001; in GPIO_ConfigPinRemap() 732 tmp2 = AFIO->RMP_CFG; in GPIO_ConfigPinRemap() 733 tmp2 &= 0xFFFFFFFE; in GPIO_ConfigPinRemap() 765 tmp2 = AFIO->RMP_CFG; in GPIO_ConfigPinRemap() 766 tmp2 &= 0xFFFFFFF7; in GPIO_ConfigPinRemap() 776 tmp2 = AFIO->RMP_CFG; in GPIO_ConfigPinRemap() 777 tmp2 |= 0x00000008; in GPIO_ConfigPinRemap() [all …]
|
| /bsp/stm32/libraries/STM32L1xx_HAL/STM32L1xx_HAL_Driver/Src/ |
| A D | stm32l1xx_hal_flash_ex.c | 646 uint32_t tmp2 = 0U; in HAL_FLASHEx_OB_SelectPCROP() local 668 OB->RDP = tmp2; in HAL_FLASHEx_OB_SelectPCROP() 689 uint32_t tmp2 = 0U; in HAL_FLASHEx_OB_DeSelectPCROP() local 711 OB->RDP = tmp2; in HAL_FLASHEx_OB_DeSelectPCROP() 998 OB->RDP = tmp2; in FLASH_OB_RDPConfig() 1255 OB->WRP23 = tmp2; in FLASH_OB_WRPConfigWRP1OrPCROP1() 1266 OB->WRP23 = tmp2; in FLASH_OB_WRPConfigWRP1OrPCROP1() 1301 OB->WRP67 = tmp2; in FLASH_OB_WRPConfigWRP2OrPCROP2() 1312 OB->WRP67 = tmp2; in FLASH_OB_WRPConfigWRP2OrPCROP2() 1347 OB->WRP1011 = tmp2; in FLASH_OB_WRPConfigWRP3() [all …]
|
| A D | stm32l1xx_hal_i2c.c | 3406 FlagStatus tmp2; in HAL_I2C_IsDeviceReady() local 3456 tmp2 = __HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_AF); in HAL_I2C_IsDeviceReady() 3457 while ((hi2c->State != HAL_I2C_STATE_TIMEOUT) && (tmp1 == RESET) && (tmp2 == RESET)) in HAL_I2C_IsDeviceReady() 3464 tmp2 = __HAL_I2C_GET_FLAG(hi2c, I2C_FLAG_AF); in HAL_I2C_IsDeviceReady() 4934 uint32_t tmp2; in HAL_I2C_ER_IRQHandler() local 4964 tmp2 = hi2c->XferCount; in HAL_I2C_ER_IRQHandler() 4967 if ((tmp1 == HAL_I2C_MODE_SLAVE) && (tmp2 == 0U) && \ in HAL_I2C_ER_IRQHandler()
|
| /bsp/at91/at91sam9260/drivers/ |
| A D | at91_nand.c | 89 uint8_t idx, reg1, reg2, reg3, tmp1, tmp2; in nand_calculate_ecc() local 120 tmp2 = (reg3 & 0x08) << 4; /* B3 -> B7 */ in nand_calculate_ecc() 121 tmp2 |= (reg2 & 0x08) << 3; /* B3 -> B6 */ in nand_calculate_ecc() 122 tmp2 |= (reg3 & 0x04) << 3; /* B2 -> B5 */ in nand_calculate_ecc() 123 tmp2 |= (reg2 & 0x04) << 2; /* B2 -> B4 */ in nand_calculate_ecc() 124 tmp2 |= (reg3 & 0x02) << 2; /* B1 -> B3 */ in nand_calculate_ecc() 125 tmp2 |= (reg2 & 0x02) << 1; /* B1 -> B2 */ in nand_calculate_ecc() 126 tmp2 |= (reg3 & 0x01) << 1; /* B0 -> B1 */ in nand_calculate_ecc() 127 tmp2 |= (reg2 & 0x01) << 0; /* B7 -> B0 */ in nand_calculate_ecc() 131 ecc_code[0] = ~tmp2; in nand_calculate_ecc() [all …]
|
| /bsp/bouffalo_lab/libraries/bl_mcu_sdk/drivers/soc/bl602/std/src/ |
| A D | bl602_ef_cfg.c | 160 uint32_t tmp1 = 0xffffffff, tmp2 = 0xffffffff; in bflb_efuse_is_mac_address_slot_empty() local 165 bflb_ef_ctrl_read_direct(NULL, EF_DATA_EF_WIFI_MAC_HIGH_OFFSET, &tmp2, 1, reload); in bflb_efuse_is_mac_address_slot_empty() 168 bflb_ef_ctrl_read_direct(NULL, EF_DATA_EF_KEY_SLOT_5_W1_OFFSET, &tmp2, 1, reload); in bflb_efuse_is_mac_address_slot_empty() 171 bflb_ef_ctrl_read_direct(NULL, EF_DATA_EF_DBG_PWD_HIGH_OFFSET, &tmp2, 1, reload); in bflb_efuse_is_mac_address_slot_empty() 175 part2Empty = (bflb_ef_ctrl_is_all_bits_zero(tmp2, 0, 22)); in bflb_efuse_is_mac_address_slot_empty()
|
| /bsp/bouffalo_lab/libraries/bl_mcu_sdk/drivers/soc/bl702/std/src/ |
| A D | bl702_ef_cfg.c | 157 uint32_t tmp1 = 0xffffffff, tmp2 = 0xffffffff; in bflb_efuse_is_mac_address_slot_empty() local 162 bflb_ef_ctrl_read_direct(NULL, EF_DATA_EF_WIFI_MAC_HIGH_OFFSET, &tmp2, 1, reload); in bflb_efuse_is_mac_address_slot_empty() 165 bflb_ef_ctrl_read_direct(NULL, EF_DATA_EF_KEY_SLOT_5_W1_OFFSET, &tmp2, 1, reload); in bflb_efuse_is_mac_address_slot_empty() 168 bflb_ef_ctrl_read_direct(NULL, EF_DATA_EF_DBG_PWD_HIGH_OFFSET, &tmp2, 1, reload); in bflb_efuse_is_mac_address_slot_empty() 172 part2Empty = (bflb_ef_ctrl_is_all_bits_zero(tmp2, 0, 22)); in bflb_efuse_is_mac_address_slot_empty()
|
| /bsp/bouffalo_lab/libraries/bl_mcu_sdk/drivers/soc/bl808/std/src/ |
| A D | bl808_ef_cfg.c | 179 uint32_t tmp1 = 0xffffffff, tmp2 = 0xffffffff; in bflb_efuse_is_mac_address_slot_empty() local 184 bflb_ef_ctrl_read_direct(NULL, EF_DATA_0_EF_WIFI_MAC_HIGH_OFFSET, &tmp2, 1, reload); in bflb_efuse_is_mac_address_slot_empty() 187 bflb_ef_ctrl_read_direct(NULL, EF_DATA_0_EF_SW_USAGE_3_OFFSET, &tmp2, 1, reload); in bflb_efuse_is_mac_address_slot_empty() 190 bflb_ef_ctrl_read_direct(NULL, EF_DATA_0_EF_KEY_SLOT_11_W2_OFFSET, &tmp2, 1, reload); in bflb_efuse_is_mac_address_slot_empty() 194 part2Empty = (bflb_ef_ctrl_is_all_bits_zero(tmp2, 0, 22)); in bflb_efuse_is_mac_address_slot_empty()
|
| /bsp/apm32/libraries/APM32E10x_Library/APM32E10x_StdPeriphDriver/src/ |
| A D | apm32e10x_dac.c | 70 uint32_t tmp1 = 0, tmp2 = 0; in DAC_Config() local 76 tmp2 = ((uint32_t)dacConfig->trigger | \ in DAC_Config() 80 tmp1 |= tmp2 << channel; in DAC_Config()
|
| /bsp/apm32/libraries/APM32F10x_Library/APM32F10x_StdPeriphDriver/src/ |
| A D | apm32f10x_dac.c | 69 uint32_t tmp1 = 0, tmp2 = 0; in DAC_Config() local 75 tmp2 = ((uint32_t)dacConfig->trigger | \ in DAC_Config() 80 tmp1 |= tmp2 << channel; in DAC_Config()
|
| /bsp/bouffalo_lab/libraries/bl_mcu_sdk/drivers/soc/bl616/std/src/ |
| A D | bl616_ef_cfg.c | 329 uint32_t tmp1 = 0xffffffff, tmp2 = 0xffffffff; in bflb_efuse_is_mac_address_slot_empty() local 334 bflb_ef_ctrl_read_direct(NULL, EF_DATA_EF_WIFI_MAC_HIGH_OFFSET, &tmp2, 1, reload); in bflb_efuse_is_mac_address_slot_empty() 337 bflb_ef_ctrl_read_direct(NULL, EF_DATA_EF_SW_USAGE_3_OFFSET, &tmp2, 1, reload); in bflb_efuse_is_mac_address_slot_empty() 340 bflb_ef_ctrl_read_direct(NULL, EF_DATA_EF_KEY_SLOT_11_W2_OFFSET, &tmp2, 1, reload); in bflb_efuse_is_mac_address_slot_empty() 344 part2Empty = (bflb_ef_ctrl_is_all_bits_zero(tmp2, 0, 22)); in bflb_efuse_is_mac_address_slot_empty()
|
| /bsp/Vango/v85xxp/Libraries/VangoV85xxP_standard_peripheral/Source/ |
| A D | lib_uart.c | 336 uint32_t tmp1, tmp2, tmp3; in UART_GetConfigINFO() local 343 tmp2 = UARTx->BAUDDIV; in UART_GetConfigINFO() 360 ConfigInfo->Baudrate = pclk / tmp2; in UART_GetConfigINFO()
|
| /bsp/apm32/libraries/APM32F0xx_Library/APM32F0xx_StdPeriphDriver/src/ |
| A D | apm32f0xx_dac.c | 98 uint32_t tmp1 = 0, tmp2 = 0; in DAC_Config() local 104 tmp2 = ((uint32_t)dacConfig->trigger | \ in DAC_Config() 109 tmp1 |= tmp2 << channel; in DAC_Config()
|
| /bsp/bouffalo_lab/libraries/bl_mcu_sdk/drivers/lhal/src/ |
| A D | bflb_mjpeg.c | 472 uint16_t tmp2; in bflb_mjpeg_fill_quantize_table() local 481 tmp2 = 2048 / input_yy[16 * j + i + 8]; in bflb_mjpeg_fill_quantize_table() 488 tmp2++; in bflb_mjpeg_fill_quantize_table() 491 putreg32(tmp1 | tmp2 << 16, reg_base + MJPEG_Q_PARAM_00_OFFSET + (i * 4 + j) * 4); in bflb_mjpeg_fill_quantize_table() 498 tmp2 = 2048 / input_uv[16 * j + i + 8]; in bflb_mjpeg_fill_quantize_table() 505 tmp2++; in bflb_mjpeg_fill_quantize_table() 508 putreg32(tmp1 | tmp2 << 16, reg_base + MJPEG_Q_PARAM_40_OFFSET + (i * 4 + j) * 4); in bflb_mjpeg_fill_quantize_table()
|
| /bsp/Vango/v85xx/Libraries/VangoV85xx_standard_peripheral/Source/ |
| A D | lib_uart.c | 342 uint32_t tmp1, tmp2, tmp3; in UART_GetConfigINFO() local 349 tmp2 = UARTx->BAUDDIV; in UART_GetConfigINFO() 366 ConfigInfo->Baudrate = pclk / tmp2; in UART_GetConfigINFO()
|
| /bsp/bouffalo_lab/libraries/bl_mcu_sdk/drivers/lhal/include/arch/risc-v/t-head/csi_dsp/include/ |
| A D | csi_instance.h | 1773 int32_t tmp2; in mult_32x32_dext_31() local 1776 :"=r" (tmp1), "=r" (x), "=r" (y), "=r" (tmp2): "1" (x), "2" (y)); in mult_32x32_dext_31() 1777 return tmp2; in mult_32x32_dext_31() 1783 int32_t tmp2; in mult_32x32_dext_30() local 1786 :"=r" (tmp1), "=r" (x), "=r" (y), "=r" (tmp2): "1" (x), "2" (y)); in mult_32x32_dext_30() 1787 return tmp2; in mult_32x32_dext_30() 1793 int32_t tmp2; in mult_32x32_dext_4() local 1796 :"=r" (tmp1), "=r" (x), "=r" (y), "=r" (tmp2): "1" (x), "2" (y)); in mult_32x32_dext_4() 1797 return tmp2; in mult_32x32_dext_4() 1803 int32_t tmp2; in mult_32x32_dext_33() local [all …]
|
| /bsp/acm32/acm32f4xx-nucleo/libraries/HAL_Driver/Src/ |
| A D | HAL_DAC.c | 280 uint32_t tmp1 = 0U, tmp2 = 0U; in HAL_DAC_Start() local 286 tmp2 = hdac->Instance->CR & DAC_CR_TSEL1; in HAL_DAC_Start() 288 if((tmp1 == DAC_CR_TEN1) && (tmp2 == DAC_CR_TSEL1)) in HAL_DAC_Start() 298 tmp2 = hdac->Instance->CR & DAC_CR_TSEL2; in HAL_DAC_Start() 300 if((tmp1 == DAC_CR_TEN2) && (tmp2 == DAC_CR_TSEL2)) in HAL_DAC_Start()
|
| /bsp/stm32/stm32mp157a-st-ev1/board/ports/ |
| A D | mfxstm32l152.c | 810 uint32_t tmp2 = 0; in mfxstm32l152_IO_ReadPin() local 819 tmp2 = (uint32_t) MFX_IO_Read(DeviceAddr, MFXSTM32L152_REG_ADR_GPIO_STATE2); in mfxstm32l152_IO_ReadPin() 826 tmp3 = tmp1 + (tmp2 << 8) + (tmp3 << 16); in mfxstm32l152_IO_ReadPin() 893 uint16_t tmp2 = 0; in mfxstm32l152_IO_ITStatus() local 902 tmp2 = (uint16_t) MFX_IO_Read(DeviceAddr, MFXSTM32L152_REG_ADR_IRQ_GPI_PENDING2); in mfxstm32l152_IO_ITStatus() 909 tmp3 = tmp1 + (tmp2 << 8) + (tmp3 << 16); in mfxstm32l152_IO_ITStatus()
|
| /bsp/essemi/es32f0654/libraries/ES32F065x_ALD_StdPeriph_Driver/Source/ |
| A D | ald_i2c.c | 1839 uint32_t tmp2 = 0; in ald_i2c_is_device_ready() local 2106 uint32_t tmp2 = 0; in ald_i2c_er_irq_handler() local 2110 tmp2 = ald_i2c_get_it_status(hperh, I2C_IT_ERR); in ald_i2c_er_irq_handler() 2113 if ((tmp1 == SET) && (tmp2 == SET)) { in ald_i2c_er_irq_handler() 2120 tmp2 = ald_i2c_get_it_status(hperh, I2C_IT_ERR); in ald_i2c_er_irq_handler() 2123 if ((tmp1 == SET) && (tmp2 == SET)) { in ald_i2c_er_irq_handler() 2129 tmp2 = ald_i2c_get_it_status(hperh, I2C_IT_ERR); in ald_i2c_er_irq_handler() 2132 if ((tmp1 == SET) && (tmp2 == SET)) { in ald_i2c_er_irq_handler() 2134 tmp2 = hperh->xfer_count; in ald_i2c_er_irq_handler() 2148 tmp2 = ald_i2c_get_it_status(hperh, I2C_IT_ERR); in ald_i2c_er_irq_handler() [all …]
|
| /bsp/allwinner/libraries/sunxi-hal/hal/source/disp2/disp/lcd/ |
| A D | VVX07H005A10.c | 309 __u8 tmp2[12]={0x00,0xFF,0x01,0x5A,0x01,0x5A,0x01,0x5A,0x01,0x70,0x01,0x70}; in tft7201280_init_s() local 333 dsi_dcs_wr_longpara(sel,0xB4,tmp2,12); in tft7201280_init_s()
|
| /bsp/allwinner/libraries/sunxi-hal/hal/source/disp2/disp/de/lowlevel_v2x/ |
| A D | de_rtmx.c | 1627 unsigned long long tmp2 = update_speed_ability * vsu_outh; in de_rtmx_get_coarse_fac() local 1629 tmp2 = tmp2 / 100; in de_rtmx_get_coarse_fac() 1630 tmpyvn = tmp == 0 ? 0 : (unsigned int)tmp2; in de_rtmx_get_coarse_fac()
|