Home
last modified time | relevance | path

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

1234

/openbmc/linux/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 …]
/openbmc/linux/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 …]
/openbmc/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 …]
/openbmc/linux/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 …]
/openbmc/u-boot/board/freescale/common/
H A Ddcu_sii9022a.c64 u16 temp1, temp2; in dcu_set_dvi_encoder() local
94 temp1 = PICOS2KHZ(videomode->pixclock) / 10; in dcu_set_dvi_encoder()
95 temp = (u8)(temp1 & 0xFF); in dcu_set_dvi_encoder()
97 temp = (u8)(temp1 >> 8); in dcu_set_dvi_encoder()
101 temp1 = videomode->hsync_len + videomode->left_margin + in dcu_set_dvi_encoder()
103 temp = (u8)(temp1 & 0xFF); in dcu_set_dvi_encoder()
105 temp = (u8)(temp1 >> 8); in dcu_set_dvi_encoder()
117 temp3 = temp1 * temp2; in dcu_set_dvi_encoder()
119 temp1 = (u16)temp3 * 100; in dcu_set_dvi_encoder()
120 temp = (u8)(temp1 & 0xFF); in dcu_set_dvi_encoder()
[all …]
/openbmc/linux/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 …]
/openbmc/qemu/target/riscv/insn_trans/
H A Dtrans_rvm.c.inc178 TCGv temp1, temp2, zero, one, mone, min;
180 temp1 = tcg_temp_new();
191 tcg_gen_setcond_tl(TCG_COND_EQ, temp1, source1, min);
193 tcg_gen_and_tl(temp1, temp1, temp2);
194 tcg_gen_movcond_tl(TCG_COND_NE, temp2, temp1, zero, one, source2);
197 * If div by zero, set temp1 to -1 and temp2 to 1 to
200 tcg_gen_movcond_tl(TCG_COND_EQ, temp1, source2, zero, mone, source1);
203 tcg_gen_div_tl(ret, temp1, temp2);
221 TCGv temp1, temp2, zero, one, max;
223 temp1 = tcg_temp_new();
[all …]
/openbmc/linux/arch/parisc/kernel/
H A Dunaligned.c111 unsigned long val = 0, temp1; in emulate_ldh() local
125 : "+r" (val), "+r" (ret), "=&r" (temp1) in emulate_ldh()
139 unsigned long val = 0, temp1, temp2; in emulate_ldw() local
157 : "+r" (val), "+r" (ret), "=&r" (temp1), "=&r" (temp2) in emulate_ldw()
172 unsigned long shift, temp1; in emulate_ldd() local
195 : "+r" (val), "+r" (ret), "+r" (saddr), "=&r" (shift), "=&r" (temp1) in emulate_ldd()
213 : "+r" (val), "+r" (ret), "+r" (saddr), "=&r" (shift), "=&r" (temp1) in emulate_ldd()
229 unsigned long val = regs->gr[frreg], temp1; in emulate_sth() local
246 : "+r" (ret), "=&r" (temp1) in emulate_sth()
/openbmc/linux/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()
/openbmc/linux/sound/pci/emu10k1/
H A Dmemory.c573 int page, nextofs, end_offset, temp, temp1; in snd_emu10k1_synth_bzero() local
583 temp1 = end_offset - offset; in snd_emu10k1_synth_bzero()
584 if (temp1 < temp) in snd_emu10k1_synth_bzero()
585 temp = temp1; in snd_emu10k1_synth_bzero()
603 int page, nextofs, end_offset, temp, temp1; in snd_emu10k1_synth_copy_from_user() local
613 temp1 = end_offset - offset; in snd_emu10k1_synth_copy_from_user()
614 if (temp1 < temp) in snd_emu10k1_synth_copy_from_user()
615 temp = temp1; in snd_emu10k1_synth_copy_from_user()
/openbmc/linux/drivers/w1/masters/
H A Dds2482.c446 int temp1; in ds2482_probe() local
473 temp1 = i2c_smbus_read_byte(client); in ds2482_probe()
474 if (temp1 != (DS2482_REG_STS_LL | DS2482_REG_STS_RST)) { in ds2482_probe()
476 "0x%02X - not a DS2482\n", temp1); in ds2482_probe()
/openbmc/linux/arch/loongarch/include/asm/
H A Dstackframe.h41 .macro JUMP_VIRT_ADDR temp1 temp2
42 li.d \temp1, CACHE_BASE
44 bstrins.d \temp1, \temp2, (DMW_PABITS - 1), 0
45 jirl zero, \temp1, 0xc
/openbmc/linux/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.c711 unsigned short temp1, temp2; in SiS_SaveCRT2Info() local
715 temp1 = (SiS_Pr->SiS_VBInfo & SetInSlaveMode) >> 8; in SiS_SaveCRT2Info()
717 SiS_SetRegANDOR(SiS_Pr->SiS_P3d4,0x31,temp2,temp1); in SiS_SaveCRT2Info()
729 unsigned short temp,temp1; in SiS_CR36BIOSWord23b() local
734 temp1 = SISGETROMW(0x23b); in SiS_CR36BIOSWord23b()
735 if(temp1 & temp) return true; in SiS_CR36BIOSWord23b()
745 unsigned short temp,temp1; in SiS_CR36BIOSWord23d() local
750 temp1 = SISGETROMW(0x23d); in SiS_CR36BIOSWord23d()
751 if(temp1 & temp) return true; in SiS_CR36BIOSWord23d()
1531 unsigned short temp, temp1, resinfo = 0, romindex = 0; in SiS_SetTVMode() local
[all …]
/openbmc/linux/drivers/usb/host/
H A Dehci-hub.c743 u32 temp, temp1, status; in ehci_hub_control() local
818 temp1 = ehci_readl(ehci, hostpc_reg); in ehci_hub_control()
819 ehci_writel(ehci, temp1 & ~HOSTPC_PHCD, in ehci_hub_control()
988 temp1 = ehci_readl(ehci, hostpc_reg); in ehci_hub_control()
989 status |= ehci_port_speed(ehci, temp1); in ehci_hub_control()
1070 temp1 = ehci_readl(ehci, hostpc_reg); in ehci_hub_control()
1071 ehci_writel(ehci, temp1 | HOSTPC_PHCD, in ehci_hub_control()
1073 temp1 = ehci_readl(ehci, hostpc_reg); in ehci_hub_control()
1075 wIndex, (temp1 & HOSTPC_PHCD) ? in ehci_hub_control()
/openbmc/linux/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()
/openbmc/openbmc/meta-quanta/meta-q71l/recipes-phosphor/sensors/phosphor-hwmon/obmc/hwmon/ahb/apb@1e780000/bus@1e78a000/i2c@80/
H A Dtmp75@4f.conf1 LABEL_temp1=temp1
/openbmc/linux/drivers/staging/rtl8192u/
H A Dr819xU_cmdpkt.c384 u16 temp1, temp2; in cmpk_handle_tx_rate_history() local
386 temp1 = ptemp[i] & 0x0000FFFF; in cmpk_handle_tx_rate_history()
388 ptemp[i] = (temp1 << 16) | temp2; in cmpk_handle_tx_rate_history()
/openbmc/u-boot/cmd/aspeed/
H A Ddptest.c828 char temp0 = 0, temp1 = 0; in Apply_HPD_Auto_Test() local
991 temp1 = (AUX_Data[0] & 0x30); in Apply_HPD_Auto_Test()
1012 switch (temp1) { in Apply_HPD_Auto_Test()
1025 DBG(DBG_ERR, "HP_I TP 0x206 other swing1 val %x!\n", temp1); in Apply_HPD_Auto_Test()
1034 temp1 = (AUX_Data[0] & 0xC0); in Apply_HPD_Auto_Test()
1055 switch (temp1) { in Apply_HPD_Auto_Test()
1068 DBG(DBG_ERR, "HP_I TP 0x206 other Pre-emphasis1 val %x!\n", temp1); in Apply_HPD_Auto_Test()
/openbmc/linux/drivers/media/i2c/
H A Dov5640.c1865 u8 temp1, temp2; in ov5640_get_sysclk() local
1868 ret = ov5640_read_reg(sensor, OV5640_REG_SC_PLL_CTRL0, &temp1); in ov5640_get_sysclk()
1871 temp2 = temp1 & 0x0f; in ov5640_get_sysclk()
1875 ret = ov5640_read_reg(sensor, OV5640_REG_SC_PLL_CTRL1, &temp1); in ov5640_get_sysclk()
1878 sysdiv = temp1 >> 4; in ov5640_get_sysclk()
1882 ret = ov5640_read_reg(sensor, OV5640_REG_SC_PLL_CTRL2, &temp1); in ov5640_get_sysclk()
1885 multiplier = temp1; in ov5640_get_sysclk()
1887 ret = ov5640_read_reg(sensor, OV5640_REG_SC_PLL_CTRL3, &temp1); in ov5640_get_sysclk()
1890 prediv = temp1 & 0x0f; in ov5640_get_sysclk()
1891 pll_rdiv = ((temp1 >> 4) & 0x01) + 1; in ov5640_get_sysclk()
[all …]
/openbmc/linux/Documentation/hwmon/
H A Dmax31760.rst74 …nels_temp Temperature source for auto fan control. 1: temp1, 2: temp2, 3: max(temp1, temp2)
/openbmc/u-boot/lib/
H A Dsha256.c60 uint32_t temp1, temp2; in sha256_process() local
100 temp1 = h + S3(e) + F1(e,f,g) + K + x; \ in sha256_process()
102 d += temp1; h = temp1 + temp2; \ in sha256_process()
/openbmc/linux/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()
/openbmc/phosphor-pid-control/test/
H A Dpid_json_unittest.cpp206 "name": "temp1", in TEST()
208 "inputs": ["temp1"], in TEST()

1234