Home
last modified time | relevance | path

Searched refs:temp1 (Results 1 – 25 of 115) sorted by relevance

12345

/OK3568_Linux_fs/kernel/arch/ia64/include/asm/
H A Dmca_asm.h83 #define PHYSICAL_MODE_ENTER(temp1, temp2, start_addr, old_psr) \ argument
95 mov temp1 = ar.rnat; \
99 mov ar.rnat = temp1; \
100 mov temp1 = psr; \
109 dep temp1 = 0, temp1, 32, 32; \
111 dep temp1 = 0, temp1, PSR_IT, 1; \
113 dep temp1 = 0, temp1, PSR_DT, 1; \
115 dep temp1 = 0, temp1, PSR_RT, 1; \
117 dep temp1 = 0, temp1, PSR_I, 1; \
119 dep temp1 = 0, temp1, PSR_IC, 1; \
[all …]
/OK3568_Linux_fs/kernel/arch/ia64/kernel/
H A Dmca_asm.S412 #define temp1 r2 /* careful, it overlaps with input registers */ macro
464 add temp1=temp2, regs // struct ia64_sal_os_state on MCA or INIT stack
467 mov regs=temp1 // save the start of sos
468 st8 [temp1]=r1,16 // os_gp
471 st8 [temp1]=r9,16 // sal_proc
475 st8 [temp1]=r18 // proc_state_param
478 add temp1=SOS(SAL_RA), regs
481 st8 [temp1]=r12,16 // sal_ra
485 st8 [temp1]=r17,16 // pal_min_state
489 st8 [temp1]=r6,16 // prev_IA64_KR_CURRENT_STACK
[all …]
/OK3568_Linux_fs/u-boot/drivers/ddr/fsl/
H A Dlc_common_dimm_params.c82 unsigned int temp1, temp2; in compute_cas_latency() local
101 temp1 = 0xFF; in compute_cas_latency()
119 temp1 &= temp2; in compute_cas_latency()
129 while (temp1) { in compute_cas_latency()
131 temp2 = __ilog2(temp1); in compute_cas_latency()
180 temp1 &= ~(1 << temp2); in compute_cas_latency()
195 temp1 = 0; in compute_cas_latency()
197 temp1 = max(temp1, dimm_params[i].caslat_lowest_derated); in compute_cas_latency()
199 outpdimm->highest_common_derated_caslat = temp1; in compute_cas_latency()
200 debug("highest common dereated CAS latency = %u\n", temp1); in compute_cas_latency()
[all …]
/OK3568_Linux_fs/kernel/drivers/acpi/acpica/
H A Ddbtest.c390 union acpi_object *temp1 = NULL; in acpi_db_test_integer_type() local
405 status = acpi_db_read_from_object(node, ACPI_TYPE_INTEGER, &temp1); in acpi_db_test_integer_type()
412 ACPI_FORMAT_UINT64(temp1->integer.value)); in acpi_db_test_integer_type()
415 if (temp1->integer.value == value_to_write) { in acpi_db_test_integer_type()
442 write_value.integer.value = temp1->integer.value; in acpi_db_test_integer_type()
455 if (temp3->integer.value != temp1->integer.value) { in acpi_db_test_integer_type()
458 ACPI_FORMAT_UINT64(temp1->integer.value)); in acpi_db_test_integer_type()
462 if (temp1) { in acpi_db_test_integer_type()
463 acpi_os_free(temp1); in acpi_db_test_integer_type()
492 union acpi_object *temp1 = NULL; in acpi_db_test_buffer_type() local
[all …]
/OK3568_Linux_fs/u-boot/board/freescale/common/
H A Ddcu_sii9022a.c65 u16 temp1, temp2; in dcu_set_dvi_encoder() local
95 temp1 = PICOS2KHZ(videomode->pixclock) / 10; in dcu_set_dvi_encoder()
96 temp = (u8)(temp1 & 0xFF); in dcu_set_dvi_encoder()
98 temp = (u8)(temp1 >> 8); in dcu_set_dvi_encoder()
102 temp1 = videomode->hsync_len + videomode->left_margin + in dcu_set_dvi_encoder()
104 temp = (u8)(temp1 & 0xFF); in dcu_set_dvi_encoder()
106 temp = (u8)(temp1 >> 8); in dcu_set_dvi_encoder()
118 temp3 = temp1 * temp2; in dcu_set_dvi_encoder()
120 temp1 = (u16)temp3 * 100; in dcu_set_dvi_encoder()
121 temp = (u8)(temp1 & 0xFF); in dcu_set_dvi_encoder()
[all …]
/OK3568_Linux_fs/kernel/drivers/media/usb/dvb-usb/
H A Daf9005-fe.c64 u8 temp0, temp1; in af9005_read_word_agc() local
68 if ((ret = af9005_read_ofdm_register(d, reghi, &temp1))) in af9005_read_word_agc()
72 *value = ((u16) (temp1 & 0x03) << 8) + (u16) temp0; in af9005_read_word_agc()
75 *value = ((u16) (temp1 & 0x0C) << 6) + (u16) temp0; in af9005_read_word_agc()
78 *value = ((u16) (temp1 & 0x30) << 4) + (u16) temp0; in af9005_read_word_agc()
81 *value = ((u16) (temp1 & 0xC0) << 2) + (u16) temp0; in af9005_read_word_agc()
128 u8 temp, temp0, temp1, temp2; in af9005_get_post_vit_err_cw_count() local
155 &temp1); in af9005_get_post_vit_err_cw_count()
158 loc_abort_count = ((u16) temp1 << 8) + temp0; in af9005_get_post_vit_err_cw_count()
168 &temp1); in af9005_get_post_vit_err_cw_count()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/rockchip/
H A Drockchip_post_csc.c1280 struct rk_pq_csc_coef temp0, temp1; in csc_calc_adjust_output_coef() local
1336 csc_matrix_multiply(&temp1, &temp0, &saturation_matrix); in csc_calc_adjust_output_coef()
1337 csc_matrix_element_left_shift(&temp1, PQ_CSC_PARAM_HALF_FIX_BIT_WIDTH); in csc_calc_adjust_output_coef()
1338 csc_matrix_multiply(&temp0, &temp1, r2y_matrix); in csc_calc_adjust_output_coef()
1340 csc_matrix_multiply(&temp1, &temp0, &gain_matrix); in csc_calc_adjust_output_coef()
1341 csc_matrix_element_left_shift(&temp1, PQ_CSC_PARAM_HALF_FIX_BIT_WIDTH); in csc_calc_adjust_output_coef()
1342 csc_matrix_multiply(&temp0, &temp1, &contrast_matrix); in csc_calc_adjust_output_coef()
1363 csc_matrix_multiply(&temp1, &temp0, &saturation_matrix); in csc_calc_adjust_output_coef()
1364 csc_matrix_element_left_shift(&temp1, PQ_CSC_PARAM_HALF_FIX_BIT_WIDTH); in csc_calc_adjust_output_coef()
1365 csc_matrix_multiply(&temp0, &contrast_matrix, &temp1); in csc_calc_adjust_output_coef()
[all …]
/OK3568_Linux_fs/u-boot/drivers/video/drm/
H A Drockchip_post_csc.c1294 struct rk_pq_csc_coef temp0, temp1; in csc_calc_adjust_output_coef() local
1350 csc_matrix_multiply(&temp1, &temp0, &saturation_matrix); in csc_calc_adjust_output_coef()
1351 csc_matrix_element_left_shift(&temp1, PQ_CSC_PARAM_HALF_FIX_BIT_WIDTH); in csc_calc_adjust_output_coef()
1352 csc_matrix_multiply(&temp0, &temp1, r2y_matrix); in csc_calc_adjust_output_coef()
1354 csc_matrix_multiply(&temp1, &temp0, &gain_matrix); in csc_calc_adjust_output_coef()
1355 csc_matrix_element_left_shift(&temp1, PQ_CSC_PARAM_HALF_FIX_BIT_WIDTH); in csc_calc_adjust_output_coef()
1356 csc_matrix_multiply(&temp0, &temp1, &contrast_matrix); in csc_calc_adjust_output_coef()
1377 csc_matrix_multiply(&temp1, &temp0, &saturation_matrix); in csc_calc_adjust_output_coef()
1378 csc_matrix_element_left_shift(&temp1, PQ_CSC_PARAM_HALF_FIX_BIT_WIDTH); in csc_calc_adjust_output_coef()
1379 csc_matrix_multiply(&temp0, &contrast_matrix, &temp1); in csc_calc_adjust_output_coef()
[all …]
/OK3568_Linux_fs/external/security/librkcrypto/test/c_mode/
H A Dhash_sha256.c146 temp1 = h + S3(e) + F1(e,f,g) + K + x; \
148 d += temp1; h = temp1 + temp2; \
153 uint32_t temp1, temp2, W[64]; in mbedtls_sha256_process() local
170 temp1 = A[7]; A[7] = A[6]; A[6] = A[5]; A[5] = A[4]; A[4] = A[3]; in mbedtls_sha256_process()
171 A[3] = A[2]; A[2] = A[1]; A[1] = A[0]; A[0] = temp1; in mbedtls_sha256_process()
H A Dhash_sha512.c197 uint64_t temp1, temp2, W[80]; in mbedtls_sha512_process() local
214 temp1 = h + S3(e) + F1(e,f,g) + K + x; \ in mbedtls_sha512_process()
216 d += temp1; h = temp1 + temp2; \ in mbedtls_sha512_process()
/OK3568_Linux_fs/kernel/sound/pci/emu10k1/
H A Dmemory.c568 int page, nextofs, end_offset, temp, temp1; in snd_emu10k1_synth_bzero() local
578 temp1 = end_offset - offset; in snd_emu10k1_synth_bzero()
579 if (temp1 < temp) in snd_emu10k1_synth_bzero()
580 temp = temp1; in snd_emu10k1_synth_bzero()
598 int page, nextofs, end_offset, temp, temp1; in snd_emu10k1_synth_copy_from_user() local
608 temp1 = end_offset - offset; in snd_emu10k1_synth_copy_from_user()
609 if (temp1 < temp) in snd_emu10k1_synth_copy_from_user()
610 temp = temp1; in snd_emu10k1_synth_copy_from_user()
/OK3568_Linux_fs/kernel/arch/m68k/lib/
H A Dmemset.c39 size_t temp1; in memset() local
58 : "=a" (ls), "=d" (temp), "=&d" (temp1) in memset()
H A Dmemcpy.c50 size_t temp1; in memcpy() local
69 : "=a" (lfrom), "=a" (lto), "=d" (temp), "=&d" (temp1) in memcpy()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/hal/phydm/halrf/rtl8822c/
H A Dhalrf_8822c.c344 u32 iv[SN], qv[SN], im[SN], qm[SN], temp, temp1, temp2; in halrf_mode_8822c() local
534 u32 temp1, temp2, temp3; in halrf_dack_backup_8822c() local
536 temp1 = odm_get_bb_reg(dm, 0x1860, MASKDWORD); in halrf_dack_backup_8822c()
574 odm_set_bb_reg(dm, 0x1860, MASKDWORD, temp1); in halrf_dack_backup_8822c()
616 u32 temp1, temp2, temp3; in halrf_dack_restore_8822c() local
621 temp1 = odm_get_bb_reg(dm, 0x1860, MASKDWORD); in halrf_dack_restore_8822c()
796 odm_set_bb_reg(dm, 0x1860, MASKDWORD, temp1); in halrf_dack_restore_8822c()
827 u32 ic = 0, qc = 0, temp = 0, temp1 = 0, i = 0; in halrf_dac_cal_8822c() local
1036 temp1 = ((adc_ic_a + 0x10) & 0x3ff) | in halrf_dac_cal_8822c()
1038 odm_write_4byte(dm, 0x1868, temp1); in halrf_dac_cal_8822c()
[all …]
/OK3568_Linux_fs/kernel/drivers/w1/masters/
H A Dds2482.c450 int temp1; in ds2482_probe() local
476 temp1 = i2c_smbus_read_byte(client); in ds2482_probe()
477 if (temp1 != (DS2482_REG_STS_LL | DS2482_REG_STS_RST)) { in ds2482_probe()
479 "0x%02X - not a DS2482\n", temp1); in ds2482_probe()
/OK3568_Linux_fs/kernel/drivers/video/fbdev/sis/
H A Dinit.c1014 unsigned char cr5f, temp1, temp2; in SiS_GetSysFlags() local
1033 temp1 = SiS_GetReg(SiS_Pr->SiS_P3d4,0x5c) & 0xf8; in SiS_GetSysFlags()
1036 if((!temp1) || (temp2)) { in SiS_GetSysFlags()
1052 temp1 = SiS_GetReg(SiS_Pr->SiS_P3d4,0x5c) & 0xf8; in SiS_GetSysFlags()
1053 switch(temp1) { in SiS_GetSysFlags()
1689 unsigned short temp, temp1, temp2; in SiS_DoLowModeTest() local
1695 temp1 = SiS_GetReg(SiS_Pr->SiS_P3d4,0x00); in SiS_DoLowModeTest()
1698 SiS_SetReg(SiS_Pr->SiS_P3d4,0x00,temp1); in SiS_DoLowModeTest()
1746 unsigned short temp1 = 0, temp2 = 0; in SiS_CloseCRTC()
1750 temp1 = 0xa0; temp2 = 0x08; in SiS_CloseCRTC()
[all …]
H A Dinit301.c712 unsigned short temp1, temp2; in SiS_SaveCRT2Info() local
716 temp1 = (SiS_Pr->SiS_VBInfo & SetInSlaveMode) >> 8; in SiS_SaveCRT2Info()
718 SiS_SetRegANDOR(SiS_Pr->SiS_P3d4,0x31,temp2,temp1); in SiS_SaveCRT2Info()
730 unsigned short temp,temp1; in SiS_CR36BIOSWord23b() local
735 temp1 = SISGETROMW(0x23b); in SiS_CR36BIOSWord23b()
736 if(temp1 & temp) return true; in SiS_CR36BIOSWord23b()
746 unsigned short temp,temp1; in SiS_CR36BIOSWord23d() local
751 temp1 = SISGETROMW(0x23d); in SiS_CR36BIOSWord23d()
752 if(temp1 & temp) return true; in SiS_CR36BIOSWord23d()
1532 unsigned short temp, temp1, resinfo = 0, romindex = 0; in SiS_SetTVMode() local
[all …]
/OK3568_Linux_fs/kernel/drivers/hwmon/
H A Dsmm665.c471 SMM665_ATTR(temp1, input, SMM665_MISC16_ADC_DATA_INT_TEMP);
472 SMM665_ATTR(temp1, min, SMM665_MISC16_ADC_DATA_INT_TEMP);
473 SMM665_ATTR(temp1, max, SMM665_MISC16_ADC_DATA_INT_TEMP);
474 SMM665_ATTR(temp1, lcrit, SMM665_MISC16_ADC_DATA_INT_TEMP);
475 SMM665_ATTR(temp1, crit, SMM665_MISC16_ADC_DATA_INT_TEMP);
476 SMM665_ATTR(temp1, crit_alarm, SMM665_FAULT_TEMP);
/OK3568_Linux_fs/kernel/drivers/media/i2c/
H A Dov5640.c1263 u8 temp1, temp2; in ov5640_get_sysclk() local
1266 ret = ov5640_read_reg(sensor, OV5640_REG_SC_PLL_CTRL0, &temp1); in ov5640_get_sysclk()
1269 temp2 = temp1 & 0x0f; in ov5640_get_sysclk()
1273 ret = ov5640_read_reg(sensor, OV5640_REG_SC_PLL_CTRL1, &temp1); in ov5640_get_sysclk()
1276 sysdiv = temp1 >> 4; in ov5640_get_sysclk()
1280 ret = ov5640_read_reg(sensor, OV5640_REG_SC_PLL_CTRL2, &temp1); in ov5640_get_sysclk()
1283 multiplier = temp1; in ov5640_get_sysclk()
1285 ret = ov5640_read_reg(sensor, OV5640_REG_SC_PLL_CTRL3, &temp1); in ov5640_get_sysclk()
1288 prediv = temp1 & 0x0f; in ov5640_get_sysclk()
1289 pll_rdiv = ((temp1 >> 4) & 0x01) + 1; in ov5640_get_sysclk()
[all …]
/OK3568_Linux_fs/u-boot/lib/
H A Dsha512.c161 uint64_t temp1, temp2, W[80]; in sha512_process() local
178 temp1 = h + S3(e) + F1(e,f,g) + K + x; \ in sha512_process()
180 d += temp1; h = temp1 + temp2; \ in sha512_process()
H A Dsha256.c68 uint32_t temp1, temp2; in sha256_process_one() local
108 temp1 = h + S3(e) + F1(e,f,g) + K + x; \ in sha256_process_one()
110 d += temp1; h = temp1 + temp2; \ in sha256_process_one()
/OK3568_Linux_fs/kernel/drivers/usb/host/
H A Dehci-hub.c881 u32 temp, temp1, status; in ehci_hub_control() local
955 temp1 = ehci_readl(ehci, hostpc_reg); in ehci_hub_control()
956 ehci_writel(ehci, temp1 & ~HOSTPC_PHCD, in ehci_hub_control()
1118 temp1 = ehci_readl(ehci, hostpc_reg); in ehci_hub_control()
1119 status |= ehci_port_speed(ehci, temp1); in ehci_hub_control()
1200 temp1 = ehci_readl(ehci, hostpc_reg); in ehci_hub_control()
1201 ehci_writel(ehci, temp1 | HOSTPC_PHCD, in ehci_hub_control()
1203 temp1 = ehci_readl(ehci, hostpc_reg); in ehci_hub_control()
1205 wIndex, (temp1 & HOSTPC_PHCD) ? in ehci_hub_control()
/OK3568_Linux_fs/kernel/drivers/char/
H A Dnwflash.c297 int temp, temp1; in erase_block() local
383 if ((temp1 = *(volatile unsigned int *) pWritePtr) != 0xFFFFFFFF) { in erase_block()
385 pWritePtr, temp1); in erase_block()
/OK3568_Linux_fs/kernel/drivers/staging/rtl8192u/
H A Dr819xU_cmdpkt.c424 u16 temp1, temp2; in cmpk_handle_tx_rate_history() local
426 temp1 = ptemp[i] & 0x0000FFFF; in cmpk_handle_tx_rate_history()
428 ptemp[i] = (temp1 << 16) | temp2; in cmpk_handle_tx_rate_history()
/OK3568_Linux_fs/kernel/drivers/macintosh/
H A Dwindfarm_pm72.c309 s32 temp0, power0, temp1, power1, t_max = 0; in cpu_fans_tick_combined() local
329 err = read_one_cpu_vals(1, &temp1, &power1); in cpu_fans_tick_combined()
337 t_max = max(t_max, max(temp0, temp1)); in cpu_fans_tick_combined()
344 temp = max(temp0, temp1); in cpu_fans_tick_combined()

12345