Home
last modified time | relevance | path

Searched refs:tmp2 (Results 1 – 25 of 40) sorted by relevance

12

/device/soc/esp/esp32/components/xtensa/include/
Dxt_instr_macros.h48 .macro SET_STACK new_sp tmp1 tmp2
50 movi \tmp2, ~(PS_WOE_MASK | PS_OWB_MASK | PS_CALLINC_MASK)
51 and \tmp1, \tmp1, \tmp2
65 movi \tmp2, (PS_WOE)
66 or \tmp1, \tmp1, \tmp2
73 uint32_t tmp1 = 0, tmp2 = 0; \
96 : "+r"(new_sp), "+r"(tmp1), "+r"(tmp2)); \
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/middleware/soc/bk7235/hal/
Ddma2d_hal.c77 uint32_t tmp2; in dma2d_hal_config() local
87 tmp2 = src_addr & DMA2D_OCOLR_RED_1; in dma2d_hal_config()
92 tmp = (tmp3 | tmp2 | tmp1| tmp4); in dma2d_hal_config()
95 tmp = (tmp3 | tmp2 | tmp4); in dma2d_hal_config()
98 tmp2 = (tmp2 >> 19U); in dma2d_hal_config()
101 tmp = ((tmp3 << 5U) | (tmp2 << 11U) | tmp4); in dma2d_hal_config()
105 tmp2 = (tmp2 >> 19U); in dma2d_hal_config()
108 tmp = ((tmp3 << 5U) | (tmp2 << 10U) | (tmp1 << 15U) | tmp4); in dma2d_hal_config()
112 tmp2 = (tmp2 >> 20U); in dma2d_hal_config()
115 tmp = ((tmp3 << 4U) | (tmp2 << 8U) | (tmp1 << 12U) | tmp4); in dma2d_hal_config()
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/stream_input/parser/demux/sw_demux/dvbcsa2/
Ddvbcsa_bs_stream.c35 dvbcsa_bs_word_t tmp0, tmp1, tmp2, tmp3; in dvbcsa_bs_stream_sbox1() local
39 tmp2 = BS_XOR (fa, BS_XOR (BS_AND (fb, fd), BS_OR (BS_AND (fa, fd), fc))); in dvbcsa_bs_stream_sbox1()
43 *sb = BS_XOR (tmp2, BS_AND (fe, tmp3)); in dvbcsa_bs_stream_sbox1()
52 dvbcsa_bs_word_t tmp0, tmp1, tmp2, tmp3; in dvbcsa_bs_stream_sbox2() local
56 tmp2 = BS_XOR (BS_AND (fb, fd), BS_OR (BS_AND (fa, fd), BS_XOR (fb, BS_NOT (fc)))); in dvbcsa_bs_stream_sbox2()
60 *sb = BS_XOR (tmp2, BS_AND (fe, tmp3)); in dvbcsa_bs_stream_sbox2()
69 dvbcsa_bs_word_t tmp0, tmp1, tmp2; in dvbcsa_bs_stream_sbox3() local
73 tmp2 = BS_XOR (fa, BS_XOR (BS_AND (BS_XOR (fb, fc), fd), fc)); in dvbcsa_bs_stream_sbox3()
76 *sb = BS_XOR (tmp2, fe); in dvbcsa_bs_stream_sbox3()
85 dvbcsa_bs_word_t tmp0, tmp1, tmp2; in dvbcsa_bs_stream_sbox4() local
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/core/crypto/
Daes-siv.c66 u8 tmp[AES_BLOCK_SIZE], tmp2[AES_BLOCK_SIZE]; in aes_s2v() local
89 tmp2); in aes_s2v()
94 xor(tmp, tmp2); in aes_s2v()
109 pad_block(tmp2, addr[i], len[i]); in aes_s2v()
110 xor(tmp, tmp2); in aes_s2v()
/device/soc/st/stm32f4xx/sdk/Drivers/STM32F4xx_HAL_Driver/Src/
Dstm32f4xx_hal_adc_ex.c150 uint32_t tmp1 = 0U, tmp2 = 0U; in HAL_ADCEx_InjectedStart() local
212 tmp2 = HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO); in HAL_ADCEx_InjectedStart()
213 if(tmp1 && tmp2) in HAL_ADCEx_InjectedStart()
222 tmp2 = HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO); in HAL_ADCEx_InjectedStart()
223 if((hadc->Instance == ADC1) && tmp1 && tmp2) in HAL_ADCEx_InjectedStart()
253 uint32_t tmp1 = 0U, tmp2 = 0U; in HAL_ADCEx_InjectedStart_IT() local
318 tmp2 = HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO); in HAL_ADCEx_InjectedStart_IT()
319 if(tmp1 && tmp2) in HAL_ADCEx_InjectedStart_IT()
328 tmp2 = HAL_IS_BIT_CLR(hadc->Instance->CR1, ADC_CR1_JAUTO); in HAL_ADCEx_InjectedStart_IT()
329 if((hadc->Instance == ADC1) && tmp1 && tmp2) in HAL_ADCEx_InjectedStart_IT()
Dstm32f4xx_hal_adc.c1202 uint32_t tmp1 = 0U, tmp2 = 0U; in HAL_ADC_IRQHandler() local
1210 tmp2 = __HAL_ADC_GET_IT_SOURCE(hadc, ADC_IT_EOC); in HAL_ADC_IRQHandler()
1212 if(tmp1 && tmp2) in HAL_ADC_IRQHandler()
1259 tmp2 = __HAL_ADC_GET_IT_SOURCE(hadc, ADC_IT_JEOC); in HAL_ADC_IRQHandler()
1261 if(tmp1 && tmp2) in HAL_ADC_IRQHandler()
1306 tmp2 = __HAL_ADC_GET_IT_SOURCE(hadc, ADC_IT_AWD); in HAL_ADC_IRQHandler()
1308 if(tmp1 && tmp2) in HAL_ADC_IRQHandler()
1328 tmp2 = __HAL_ADC_GET_IT_SOURCE(hadc, ADC_IT_OVR); in HAL_ADC_IRQHandler()
1330 if(tmp1 && tmp2) in HAL_ADC_IRQHandler()
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/mac/hmac/
Dhmac_cali_dpd.c586 hi1131_complex_stru vv1_32, vv0_32, xll_32, yll_32, dpd_lut_fixed, tmp1, tmp2, y_opt_32, sum; in hmac_rf_cali_dpd_corr_calc() local
614tmp2 = hmac_dpd_complex_multiply_const(ak_16[2], hmac_dpd_complex_pow(xll_32)); /* 2 元素索引 */ in hmac_rf_cali_dpd_corr_calc()
615tmp2 = complex_div_round_closest(tmp2, ((hi_s64)1 << 34)); /* 左移34位 */ in hmac_rf_cali_dpd_corr_calc()
616 vv0_32 = hmac_dpd_complex_add(tmp1, tmp2); in hmac_rf_cali_dpd_corr_calc()
/device/soc/hisilicon/hi3861v100/sdk_liteos/components/at/src/
Dat.c240 hi_char *tmp2 = NULL; in cmd_strtoaddr() local
250 tmp2 = (char*)strsep(&tmp1, ":"); in cmd_strtoaddr()
251 if (tmp2 == NULL) { in cmd_strtoaddr()
254 mac_addr[cnt] = (hi_uchar)strtoul(tmp2, &tmp3, 16); /* 16 */ in cmd_strtoaddr()
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/hal/phydm/halrf/rtl8822c/
Dhalrf_iqk_8822c.c174 u32 tmp = 0x0, tmp1 = 0x0, tmp2 =0x0; in _iqk_reload_rxcfir_8822c() local
188 tmp2 = tmp1 | iqk_info->rx_cfir_real[0][path][i]<< 8; in _iqk_reload_rxcfir_8822c()
189 tmp2 = (tmp2 | i << 2) + 2; in _iqk_reload_rxcfir_8822c()
190 odm_set_bb_reg(dm, 0x1bd8, MASKDWORD, tmp2); in _iqk_reload_rxcfir_8822c()
196 tmp2 = tmp1 | iqk_info->rx_cfir_imag[0][path][i]<< 8; in _iqk_reload_rxcfir_8822c()
197 tmp2 = (tmp2 | i << 2); in _iqk_reload_rxcfir_8822c()
198 odm_set_bb_reg(dm, 0x1bd8, MASKDWORD, tmp2); in _iqk_reload_rxcfir_8822c()
2479 u32 tmp1 = 0x0, tmp2 = 0x0, tmp3 = 0x0, data; in _iqk_fill_iqk_report_8822c() local
2484 tmp2 += ((iqk->iqk_fail_report[ch][i][RX_IQK] & 1) << (i + 4)); in _iqk_fill_iqk_report_8822c()
2489 odm_set_bb_reg(dm, R_0x1bf0, 0x0000ffff, tmp1 | tmp2 | tmp3); in _iqk_fill_iqk_report_8822c()
[all …]
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/
Ddrm_modes.c239 int tmp1, tmp2; in drm_cvt_mode() local
248 tmp2 = (vdisplay_rnd + 0x2 * vmargin + CVT_MIN_V_PORCH) * 0x2 + interlace; in drm_cvt_mode()
249 hperiod = tmp1 * 0x2 / (tmp2 * vfieldrate); in drm_cvt_mode()
299 int tmp1, tmp2; in drm_cvt_mode() local
302 tmp2 = vdisplay_rnd + 0x2 * vmargin; in drm_cvt_mode()
303 hperiod = tmp1 / (tmp2 * vfieldrate); in drm_cvt_mode()
397 unsigned int tmp1, tmp2; in drm_gtf_mode_complex() local
451 tmp2 = (vdisplay_rnd + 0x2 * top_margin + GTF_MIN_V_PORCH) * 0x2 + interlace; in drm_gtf_mode_complex()
452 hfreq_est = (tmp2 * 0x3e8 * vfieldrate_rqd) / tmp1; in drm_gtf_mode_complex()
/device/soc/hisilicon/hi3751v350/sdk_linux/source/msp/drv/hiproc/kernel/
Dhiproc.c129 hi_entry_list *tmp2 = HI_NULL; in del_list() local
132 tmp2 = tmp->next; in del_list()
134 tmp = tmp2; in del_list()
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/hi_proc/kernel/
Dhiproc.c130 hi_entry_list *tmp2 = HI_NULL; in del_list() local
133 tmp2 = tmp->next; in del_list()
135 tmp = tmp2; in del_list()
/device/board/hisilicon/hispark_taurus/uboot/secureboot_ohos/
Dsec_os.sh35 local tmp2=$[$[$1 & 0xff00] >> 8]
38 local val=$[$[$tmp1 << 24] | $[$tmp2 << 16] | $[$tmp3 << 8] | $tmp4]
/device/board/hisilicon/hispark_aries/uboot/secureboot_ohos/
Dsec_os.sh35 local tmp2=$[$[$1 & 0xff00] >> 8]
38 local val=$[$[$tmp1 << 24] | $[$tmp2 << 16] | $[$tmp3 << 8] | $tmp4]
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/vin/modules/sensor/
Ds5k5e9.c185 data_type explow, exphigh, tmp1, tmp2; in sensor_s_exp() local
204 sensor_read(sd, 0x0202, &tmp2); in sensor_s_exp()
205 tmp = ((tmp2 << 8) | tmp1); in sensor_s_exp()
/device/soc/winnermicro/wm800/board/src/bt/blehost/ext/tinycrypt/src/
Decc.c774 uECC_word_t tmp2[NUM_ECC_WORDS]; in EccPoint_compute_public_key() local
775 uECC_word_t *p2[2] = {tmp1, tmp2}; // 2:array element in EccPoint_compute_public_key()
779 carry = regularize_k(private_key, tmp1, tmp2, curve); in EccPoint_compute_public_key()
846 uECC_word_t tmp2[NUM_ECC_WORDS]; in uECC_valid_point() local
861 curve->x_side(tmp2, point, curve); /* tmp2 = x^3 + ax + b */ in uECC_valid_point()
864 if (uECC_vli_equal(tmp1, tmp2, num_words) != 0) { in uECC_valid_point()
/device/soc/esp/esp32/components/bootloader/subproject/components/micro-ecc/micro-ecc/
DuECC.c919 uECC_word_t tmp2[uECC_MAX_WORDS]; in EccPoint_compute_public_key() local
920 uECC_word_t *p2[2] = {tmp1, tmp2}; in EccPoint_compute_public_key()
925 carry = regularize_k(private_key, tmp1, tmp2, curve); in EccPoint_compute_public_key()
1120 uECC_word_t tmp2[uECC_MAX_WORDS]; in uECC_valid_point() local
1135 curve->x_side(tmp2, point, curve); /* tmp2 = x^3 + ax + b */ in uECC_valid_point()
1138 return (int)(uECC_vli_equal(tmp1, tmp2, num_words)); in uECC_valid_point()
1627 uECC_word_t tmp2[uECC_MAX_WORDS]; in uECC_point_mult() local
1628 uECC_word_t *p2[2] = {tmp1, tmp2}; in uECC_point_mult()
1629 uECC_word_t carry = regularize_k(scalar, tmp1, tmp2, curve); in uECC_point_mult()
/device/soc/winnermicro/wm800/board/include/arch/xt804/csi_dsp/
Dcsky_math.h424 int32_t tmp2; in mult_32x32_dext_31() local
427 :"=r" (tmp1), "=r" (x), "=r" (y), "=r" (tmp2): "1" (x), "2" (y)); in mult_32x32_dext_31()
428 return tmp2; in mult_32x32_dext_31()
434 int32_t tmp2; in mult_32x32_dext_30() local
437 :"=r" (tmp1), "=r" (x), "=r" (y), "=r" (tmp2): "1" (x), "2" (y)); in mult_32x32_dext_30()
438 return tmp2; in mult_32x32_dext_30()
444 int32_t tmp2; in mult_32x32_dext_4() local
447 :"=r" (tmp1), "=r" (x), "=r" (y), "=r" (tmp2): "1" (x), "2" (y)); in mult_32x32_dext_4()
448 return tmp2; in mult_32x32_dext_4()
454 int32_t tmp2; in mult_32x32_dext_33() local
[all …]
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/libcoap/include/coap2/
Dutlist.h957 #define CDL_FOREACH_SAFE(head,el,tmp1,tmp2) \ argument
958 CDL_FOREACH_SAFE2(head,el,tmp1,tmp2,prev,next)
960 #define CDL_FOREACH_SAFE2(head,el,tmp1,tmp2,prev,next) \ argument
962 (el) && ((tmp2) = (el)->next, 1); \
963 (el) = ((el) == (tmp1) ? NULL : (tmp2)))
/device/soc/st/common/platform/stm32mp1xx_hal/STM32MP1xx_HAL_Driver/Src/
Dstm32mp1xx_hal_ltdc.c1585 uint32_t tmp2; in LTDC_SetConfig() local
1604 tmp2 = (pLayerCfg->Alpha0 << 24U); in LTDC_SetConfig()
1606 LTDC_LAYER(hltdc, LayerIdx)->DCCR = (pLayerCfg->Backcolor.Blue | tmp | tmp1 | tmp2); in LTDC_SetConfig()
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/os_dep/linux/
Drtw_cfgvendor.c672 int type, tmp, tmp1, tmp2, k = 0; in rtw_cfgvendor_set_scan_cfg() local
722 nla_for_each_nested(iter2, iter1, tmp2) { in rtw_cfgvendor_set_scan_cfg()
763 int tmp, tmp1, tmp2, type, j = 0, dummy; in rtw_cfgvendor_hotlist_cfg() local
776 nla_for_each_attr(iter, data, len, tmp2) { in rtw_cfgvendor_hotlist_cfg()
866 int tmp, tmp1, tmp2, type, j = 0; in rtw_cfgvendor_significant_change_cfg() local
878 nla_for_each_attr(iter, data, len, tmp2) { in rtw_cfgvendor_significant_change_cfg()
/device/soc/esp/esp32/components/xtensa/include/xtensa/
Dxtensa_context.h135 STRUCT_FIELD (long, 4, XT_STK_TMP2, tmp2)
/device/board/hisilicon/hispark_aries/uboot/secureboot_release/
Dcreate_secure_boot.sh55 local tmp2=$[$[$1 & 0xff00] >> 8]
58 local val=$[$[$tmp1 << 24] | $[$tmp2 << 16] | $[$tmp3 << 8] | $tmp4]
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/hal/phydm/halrf/
Dhalrf.c61 u32 tmp, tmp2, val_integerd_b = 0, tindex, shiftcount = 0; in halrf_psd_log2base() local
82 tmp2 = 1; in halrf_psd_log2base()
84 tmp2 = tmp2 * 2; in halrf_psd_log2base()
86 tmp = (val * 100) / tmp2; in halrf_psd_log2base()
120 u32 tmp1, tmp2; in halrf_iqk_xym_read() local
141 tmp2 = odm_read_4byte(dm, 0x1b1c); in halrf_iqk_xym_read()
192 odm_write_4byte(dm, 0x1b1c, tmp2); in halrf_iqk_xym_read()
265 u32 tmp1, tmp2; in halrf_iqk_xym_dump() local
271 tmp2 = odm_read_4byte(dm, 0x1b1c); in halrf_iqk_xym_dump()
278 odm_write_4byte(dm, 0x1b1c, tmp2); in halrf_iqk_xym_dump()
/device/board/hisilicon/hispark_taurus/uboot/secureboot_release/
Dcreate_secure_boot.sh60 local tmp2=$[$[$1 & 0xff00] >> 8]
63 local val=$[$[$tmp1 << 24] | $[$tmp2 << 16] | $[$tmp3 << 8] | $tmp4]

12