Home
last modified time | relevance | path

Searched refs:tmp1 (Results 1 – 25 of 49) sorted by relevance

12

/bsp/stm32/libraries/STM32L1xx_HAL/STM32L1xx_HAL_Driver/Src/
A Dstm32l1xx_hal_flash_ex.c645 uint16_t tmp1 = 0U; in HAL_FLASHEx_OB_SelectPCROP() local
688 uint16_t tmp1 = 0U; in HAL_FLASHEx_OB_DeSelectPCROP() local
1035 tmp |= (OB_BOR | tmp1); in FLASH_OB_BORConfig()
1252 OB->WRP01 = tmp1; in FLASH_OB_WRPConfigWRP1OrPCROP1()
1263 OB->WRP01 = tmp1; in FLASH_OB_WRPConfigWRP1OrPCROP1()
1298 OB->WRP45 = tmp1; in FLASH_OB_WRPConfigWRP2OrPCROP2()
1309 OB->WRP45 = tmp1; in FLASH_OB_WRPConfigWRP2OrPCROP2()
1344 OB->WRP89 = tmp1; in FLASH_OB_WRPConfigWRP3()
1355 OB->WRP89 = tmp1; in FLASH_OB_WRPConfigWRP3()
1389 OB->WRP1213 = tmp1; in FLASH_OB_WRPConfigWRP4()
[all …]
/bsp/apm32/libraries/APM32E10x_Library/APM32E10x_StdPeriphDriver/src/
A Dapm32e10x_dac.c70 uint32_t tmp1 = 0, tmp2 = 0; in DAC_Config() local
72 tmp1 = DAC->CTRL; in DAC_Config()
74 tmp1 &= ~(((uint32_t)0x00000FFE) << channel); in DAC_Config()
80 tmp1 |= tmp2 << channel; in DAC_Config()
82 DAC->CTRL = tmp1; in DAC_Config()
/bsp/apm32/libraries/APM32F10x_Library/APM32F10x_StdPeriphDriver/src/
A Dapm32f10x_dac.c69 uint32_t tmp1 = 0, tmp2 = 0; in DAC_Config() local
71 tmp1 = DAC->CTRL; in DAC_Config()
73 tmp1 &= ~(((uint32_t)0x00000FFE) << channel); in DAC_Config()
80 tmp1 |= tmp2 << channel; in DAC_Config()
82 DAC->CTRL = tmp1; in DAC_Config()
/bsp/at91/at91sam9260/drivers/
A Dat91_nand.c89 uint8_t idx, reg1, reg2, reg3, tmp1, tmp2; in nand_calculate_ecc() local
111 tmp1 = (reg3 & 0x80) >> 0; /* B7 -> B7 */ in nand_calculate_ecc()
112 tmp1 |= (reg2 & 0x80) >> 1; /* B7 -> B6 */ in nand_calculate_ecc()
113 tmp1 |= (reg3 & 0x40) >> 1; /* B6 -> B5 */ in nand_calculate_ecc()
114 tmp1 |= (reg2 & 0x40) >> 2; /* B6 -> B4 */ in nand_calculate_ecc()
115 tmp1 |= (reg3 & 0x20) >> 2; /* B5 -> B3 */ in nand_calculate_ecc()
116 tmp1 |= (reg2 & 0x20) >> 3; /* B5 -> B2 */ in nand_calculate_ecc()
117 tmp1 |= (reg3 & 0x10) >> 3; /* B4 -> B1 */ in nand_calculate_ecc()
118 tmp1 |= (reg2 & 0x10) >> 4; /* B4 -> B0 */ in nand_calculate_ecc()
132 ecc_code[1] = ~tmp1; in nand_calculate_ecc()
[all …]
/bsp/apm32/libraries/APM32F0xx_Library/APM32F0xx_StdPeriphDriver/src/
A Dapm32f0xx_dac.c98 uint32_t tmp1 = 0, tmp2 = 0; in DAC_Config() local
100 tmp1 = DAC->CTRL; in DAC_Config()
102 tmp1 &= ~(((uint32_t)0x00000FFE) << channel); in DAC_Config()
109 tmp1 |= tmp2 << channel; in DAC_Config()
111 DAC->CTRL = tmp1; in DAC_Config()
/bsp/Vango/v85xxp/Libraries/VangoV85xxP_standard_peripheral/Source/
A Dlib_uart.c336 uint32_t tmp1, tmp2, tmp3; in UART_GetConfigINFO() local
342 tmp1 = UARTx->CTRL; in UART_GetConfigINFO()
348 if (tmp1 & UART_CTRL_TXEN_Msk) in UART_GetConfigINFO()
354 if (tmp1 & UART_CTRL_RXEN_Msk) in UART_GetConfigINFO()
/bsp/bouffalo_lab/libraries/bl_mcu_sdk/drivers/soc/bl602/std/src/
A Dbl602_ef_cfg.c160 uint32_t tmp1 = 0xffffffff, tmp2 = 0xffffffff; in bflb_efuse_is_mac_address_slot_empty() local
164 bflb_ef_ctrl_read_direct(NULL, EF_DATA_EF_WIFI_MAC_LOW_OFFSET, &tmp1, 1, reload); in bflb_efuse_is_mac_address_slot_empty()
167 bflb_ef_ctrl_read_direct(NULL, EF_DATA_EF_KEY_SLOT_5_W0_OFFSET, &tmp1, 1, reload); in bflb_efuse_is_mac_address_slot_empty()
170 bflb_ef_ctrl_read_direct(NULL, EF_DATA_EF_DBG_PWD_LOW_OFFSET, &tmp1, 1, reload); in bflb_efuse_is_mac_address_slot_empty()
174 part1Empty = (bflb_ef_ctrl_is_all_bits_zero(tmp1, 0, 32)); in bflb_efuse_is_mac_address_slot_empty()
/bsp/bouffalo_lab/libraries/bl_mcu_sdk/drivers/soc/bl702/std/src/
A Dbl702_ef_cfg.c157 uint32_t tmp1 = 0xffffffff, tmp2 = 0xffffffff; in bflb_efuse_is_mac_address_slot_empty() local
161 bflb_ef_ctrl_read_direct(NULL, EF_DATA_EF_WIFI_MAC_LOW_OFFSET, &tmp1, 1, reload); in bflb_efuse_is_mac_address_slot_empty()
164 bflb_ef_ctrl_read_direct(NULL, EF_DATA_EF_KEY_SLOT_5_W0_OFFSET, &tmp1, 1, reload); in bflb_efuse_is_mac_address_slot_empty()
167 bflb_ef_ctrl_read_direct(NULL, EF_DATA_EF_DBG_PWD_LOW_OFFSET, &tmp1, 1, reload); in bflb_efuse_is_mac_address_slot_empty()
171 part1Empty = (bflb_ef_ctrl_is_all_bits_zero(tmp1, 0, 32)); in bflb_efuse_is_mac_address_slot_empty()
/bsp/Vango/v85xx/Libraries/VangoV85xx_standard_peripheral/Source/
A Dlib_uart.c342 uint32_t tmp1, tmp2, tmp3; in UART_GetConfigINFO() local
348 tmp1 = UARTx->CTRL; in UART_GetConfigINFO()
354 if (tmp1 & UART_CTRL_TXEN) in UART_GetConfigINFO()
360 if (tmp1 & UART_CTRL_RXEN) in UART_GetConfigINFO()
/bsp/essemi/es32f369x/libraries/ES32F36xx_ALD_StdPeriph_Driver/Source/
A Dald_rtc.c744 uint32_t tmp0, tmp1; in ald_rtc_get_time_stamp() local
752 tmp1 = RTC->TSDATE; in ald_rtc_get_time_stamp()
758 ts_date->day = bcd_to_dec(tmp1 & 0x3F); in ald_rtc_get_time_stamp()
759 ts_date->month = bcd_to_dec((tmp1 >> 8) & 0x1F); in ald_rtc_get_time_stamp()
760 ts_date->year = bcd_to_dec((tmp1 >> 16) & 0xFF); in ald_rtc_get_time_stamp()
761 ts_date->week = bcd_to_dec((tmp1 >> 24) & 0x7); in ald_rtc_get_time_stamp()
767 ts_date->day = tmp1 & 0x3F; in ald_rtc_get_time_stamp()
768 ts_date->month = (tmp1 >> 8) & 0x1F; in ald_rtc_get_time_stamp()
769 ts_date->year = (tmp1 >> 16) & 0xFF; in ald_rtc_get_time_stamp()
770 ts_date->week = (tmp1 >> 24) & 0x7; in ald_rtc_get_time_stamp()
/bsp/essemi/es32f0654/libraries/ES32F065x_ALD_StdPeriph_Driver/Source/
A Dald_rtc.c744 uint32_t tmp0, tmp1; in ald_rtc_get_time_stamp() local
752 tmp1 = RTC->TSDATE; in ald_rtc_get_time_stamp()
758 ts_date->day = bcd_to_dec(tmp1 & 0x3F); in ald_rtc_get_time_stamp()
759 ts_date->month = bcd_to_dec((tmp1 >> 8) & 0x1F); in ald_rtc_get_time_stamp()
760 ts_date->year = bcd_to_dec((tmp1 >> 16) & 0xFF); in ald_rtc_get_time_stamp()
761 ts_date->week = bcd_to_dec((tmp1 >> 24) & 0x7); in ald_rtc_get_time_stamp()
767 ts_date->day = tmp1 & 0x3F; in ald_rtc_get_time_stamp()
768 ts_date->month = (tmp1 >> 8) & 0x1F; in ald_rtc_get_time_stamp()
769 ts_date->year = (tmp1 >> 16) & 0xFF; in ald_rtc_get_time_stamp()
770 ts_date->week = (tmp1 >> 24) & 0x7; in ald_rtc_get_time_stamp()
A Dald_i2c.c1838 uint32_t tmp1 = 0; in ald_i2c_is_device_ready() local
2105 uint32_t tmp1 = 0; in ald_i2c_er_irq_handler() local
2113 if ((tmp1 == SET) && (tmp2 == SET)) { in ald_i2c_er_irq_handler()
2123 if ((tmp1 == SET) && (tmp2 == SET)) { in ald_i2c_er_irq_handler()
2133 tmp1 = hperh->mode; in ald_i2c_er_irq_handler()
2860 uint32_t tmp1 = 0; in i2c_configure_speed() local
2864 if ((tmp1 & I2C_CKCFG_CLKSET) < 4 ) in i2c_configure_speed()
2867 return tmp1; in i2c_configure_speed()
2870 tmp1 = I2C_CKCFG_CLKMOD; in i2c_configure_speed()
2881 if ((tmp1 & I2C_CKCFG_CLKSET) < 1 ) in i2c_configure_speed()
[all …]
/bsp/bouffalo_lab/libraries/bl_mcu_sdk/drivers/soc/bl808/std/src/
A Dbl808_ef_cfg.c179 uint32_t tmp1 = 0xffffffff, tmp2 = 0xffffffff; in bflb_efuse_is_mac_address_slot_empty() local
183 bflb_ef_ctrl_read_direct(NULL, EF_DATA_0_EF_WIFI_MAC_LOW_OFFSET, &tmp1, 1, reload); in bflb_efuse_is_mac_address_slot_empty()
186 bflb_ef_ctrl_read_direct(NULL, EF_DATA_0_EF_SW_USAGE_2_OFFSET, &tmp1, 1, reload); in bflb_efuse_is_mac_address_slot_empty()
189 bflb_ef_ctrl_read_direct(NULL, EF_DATA_0_EF_KEY_SLOT_11_W1_OFFSET, &tmp1, 1, reload); in bflb_efuse_is_mac_address_slot_empty()
193 part1Empty = (bflb_ef_ctrl_is_all_bits_zero(tmp1, 0, 32)); in bflb_efuse_is_mac_address_slot_empty()
/bsp/bouffalo_lab/libraries/bl_mcu_sdk/drivers/soc/bl616/std/src/
A Dbl616_ef_cfg.c329 uint32_t tmp1 = 0xffffffff, tmp2 = 0xffffffff; in bflb_efuse_is_mac_address_slot_empty() local
333 bflb_ef_ctrl_read_direct(NULL, EF_DATA_EF_WIFI_MAC_LOW_OFFSET, &tmp1, 1, reload); in bflb_efuse_is_mac_address_slot_empty()
336 bflb_ef_ctrl_read_direct(NULL, EF_DATA_EF_SW_USAGE_2_OFFSET, &tmp1, 1, reload); in bflb_efuse_is_mac_address_slot_empty()
339 bflb_ef_ctrl_read_direct(NULL, EF_DATA_EF_KEY_SLOT_11_W1_OFFSET, &tmp1, 1, reload); in bflb_efuse_is_mac_address_slot_empty()
343 part1Empty = (bflb_ef_ctrl_is_all_bits_zero(tmp1, 0, 32)); in bflb_efuse_is_mac_address_slot_empty()
/bsp/bouffalo_lab/libraries/bl_mcu_sdk/drivers/lhal/src/
A Dbflb_mjpeg.c471 uint16_t tmp1; in bflb_mjpeg_fill_quantize_table() local
480 tmp1 = 2048 / input_yy[16 * j + i]; in bflb_mjpeg_fill_quantize_table()
484 tmp1++; 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()
497 tmp1 = 2048 / input_uv[16 * j + i]; in bflb_mjpeg_fill_quantize_table()
501 tmp1++; 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/ht32/libraries/HT32_STD_1xxxx_FWLib/library/HT32F1xxxx_Driver/src/
A Dht32f1xxxx_ckcu.c753 u32 tmp1 = HT_CKCU->GCIR; in CKCU_IntConfig() local
761 tmp1 |= CKCU_INT; in CKCU_IntConfig()
765 tmp1 &= ~CKCU_INT; in CKCU_IntConfig()
770 tmp1 &= ~0x0000007F; in CKCU_IntConfig()
772 tmp1 &= ~0x0000007D; in CKCU_IntConfig()
774 HT_CKCU->GCIR = tmp1; in CKCU_IntConfig()
/bsp/wch/risc-v/Libraries/CH32V10x_StdPeriph_Driver/StdPeriph_Driver/src/
A Dch32v10x_gpio.c469 uint32_t tmp = 0x00, tmp1 = 0x00, tmpreg = 0x00, tmpmask = 0x00; in GPIO_PinRemapConfig() local
490 tmp1 = ((uint32_t)0x03) << tmpmask; in GPIO_PinRemapConfig()
491 tmpreg &= ~tmp1; in GPIO_PinRemapConfig()
/bsp/bouffalo_lab/libraries/bl_mcu_sdk/drivers/lhal/include/arch/risc-v/t-head/csi_dsp/include/
A Dcsi_instance.h1772 int64_t tmp1; in mult_32x32_dext_31() local
1776 :"=r" (tmp1), "=r" (x), "=r" (y), "=r" (tmp2): "1" (x), "2" (y)); in mult_32x32_dext_31()
1782 int64_t tmp1; in mult_32x32_dext_30() local
1786 :"=r" (tmp1), "=r" (x), "=r" (y), "=r" (tmp2): "1" (x), "2" (y)); in mult_32x32_dext_30()
1792 int64_t tmp1; in mult_32x32_dext_4() local
1796 :"=r" (tmp1), "=r" (x), "=r" (y), "=r" (tmp2): "1" (x), "2" (y)); in mult_32x32_dext_4()
1802 int64_t tmp1; in mult_32x32_dext_33() local
1806 :"=r" (tmp1), "=r" (x), "=r" (y), "=r" (tmp2): "1" (x), "2" (y)); in mult_32x32_dext_33()
1812 int32_t tmp1; in dext_31() local
1815 :"=r" (tmp1), "=r" (x) : "1" (x)); in dext_31()
[all …]
/bsp/wch/arm/Libraries/CH32F20x_StdPeriph_Driver/StdPeriph_Driver/src/
A Dch32f20x_gpio.c403 uint32_t tmp = 0x00, tmp1 = 0x00, tmpreg = 0x00, tmpmask = 0x00; in GPIO_PinRemapConfig() local
424 tmp1 = ((uint32_t)0x03) << tmpmask; in GPIO_PinRemapConfig()
425 tmpreg &= ~tmp1; in GPIO_PinRemapConfig()
/bsp/wch/arm/Libraries/CH32F10x_StdPeriph_Driver/StdPeriph_Driver/src/
A Dch32f10x_gpio.c413 uint32_t tmp = 0x00, tmp1 = 0x00, tmpreg = 0x00, tmpmask = 0x00; in GPIO_PinRemapConfig() local
434 tmp1 = ((uint32_t)0x03) << tmpmask; in GPIO_PinRemapConfig()
435 tmpreg &= ~tmp1; in GPIO_PinRemapConfig()
/bsp/n32/libraries/N32G4FR_Firmware_Library/n32g4fr_std_periph_driver/src/
A Dn32g4fr_gpio.c618 uint32_t tmp = 0x00, tmp1 = 0x00, tmpregister = 0x00, tmpmask = 0x00, tmp2 = 0x00; in GPIO_ConfigPinRemap() local
657 tmp1 = (((uint32_t)0x03) << tmpmask) << 16; in GPIO_ConfigPinRemap()
661 tmp1 = ((uint32_t)0x03) << tmpmask; in GPIO_ConfigPinRemap()
663 tmpregister &= ~tmp1; in GPIO_ConfigPinRemap()
/bsp/n32/libraries/N32WB452_Firmware_Library/n32wb452_std_periph_driver/src/
A Dn32wb452_gpio.c610 uint32_t tmp = 0x00, tmp1 = 0x00, tmpregister = 0x00, tmpmask = 0x00, tmp2 = 0x00; in GPIO_ConfigPinRemap() local
649 tmp1 = (((uint32_t)0x03) << tmpmask) << 16; in GPIO_ConfigPinRemap()
653 tmp1 = ((uint32_t)0x03) << tmpmask; in GPIO_ConfigPinRemap()
655 tmpregister &= ~tmp1; in GPIO_ConfigPinRemap()
/bsp/mm32l3xx/Libraries/MM32L3xx/HAL_lib/src/
A DHAL_gpio.c509 uint32_t tmp = 0x00, tmp1 = 0x00, tmpreg = 0x00, tmpmask = 0x00; in GPIO_PinRemapConfig() local
524 tmp1 = ((uint32_t)0x03) << tmpmask; in GPIO_PinRemapConfig()
525 tmpreg &= ~tmp1; in GPIO_PinRemapConfig()
/bsp/mm32f103x/Libraries/MM32F103/HAL_lib/src/
A DHAL_gpio.c509 uint32_t tmp = 0x00, tmp1 = 0x00, tmpreg = 0x00, tmpmask = 0x00; in GPIO_PinRemapConfig() local
524 tmp1 = ((uint32_t)0x03) << tmpmask; in GPIO_PinRemapConfig()
525 tmpreg &= ~tmp1; in GPIO_PinRemapConfig()
/bsp/ht32/libraries/HT32_STD_5xxxx_FWLib/library/HT32F5xxxx_Driver/src/
A Dht32f5xxxx_ckcu.c807 u32 tmp1 = HT_CKCU->GCIR; in CKCU_IntConfig() local
815 tmp1 |= CKCU_INT; in CKCU_IntConfig()
819 tmp1 &= ~CKCU_INT; in CKCU_IntConfig()
823 tmp1 &= ~0x00000001; in CKCU_IntConfig()
824 HT_CKCU->GCIR = tmp1; in CKCU_IntConfig()

Completed in 61 milliseconds

12