Home
last modified time | relevance | path

Searched refs:temp2 (Results 1 – 25 of 66) sorted by relevance

123

/kernel/liteos_a/testsuites/kernel/sample/kernel_base/core/task/float/
DIt_smp_los_float_switch_002.c47 UINT32 temp2; in TaskF01() local
55 temp2 = 0xff; in TaskF01()
56 while (temp2--) { in TaskF01()
57 d = a * b + c + temp2; in TaskF01()
58 f = a * c + b + temp2; in TaskF01()
59 e = a + b * c + temp2; in TaskF01()
62 if (d != 153230.406250 + temp2) { in TaskF01()
63 dprintf("Error:d = %f----temp = 0x%x----\n", d, temp2); in TaskF01()
67 } else if (f != 124432.390625 + temp2) { in TaskF01()
68 dprintf("Error:f = %f----temp = 0x%x----\n", f, temp2); in TaskF01()
[all …]
DIt_smp_los_float_switch_001.c45 UINT32 temp2; in TaskF01() local
53 temp2 = 0xffff; in TaskF01()
54 while (temp2--) { in TaskF01()
55 d = a * b + c + temp2; in TaskF01()
56 f = a * c + b + temp2; in TaskF01()
57 e = a + b * c + temp2; in TaskF01()
59 if (d != 153230.406250 + temp2) { in TaskF01()
60 dprintf("Error:d = %f----temp = 0x%x----\n", d, temp2); in TaskF01()
64 } else if (f != 124432.390625 + temp2) { in TaskF01()
65 dprintf("Error:f = %f----temp = 0x%x----\n", f, temp2); in TaskF01()
[all …]
DIt_smp_los_float_switch_003.c46 UINT32 temp2; in TaskF01() local
54 temp2 = 0xffff; in TaskF01()
55 while (temp2--) { in TaskF01()
56 d = a * b + c + temp2; in TaskF01()
57 f = a * c + b + temp2; in TaskF01()
58 e = a + b * c + temp2; in TaskF01()
61 if (d != 153230.406250 + temp2) { in TaskF01()
62 dprintf("Error:d = %f----temp = 0x%x----\n", d, temp2); in TaskF01()
66 } else if (f != 124432.390625 + temp2) { in TaskF01()
67 dprintf("Error:f = %f----temp = 0x%x----\n", f, temp2); in TaskF01()
[all …]
DIt_smp_los_float_switch_007.c46 UINT32 temp2 = 0xf; in HwiF01() local
53 while (temp2--) { in HwiF01()
54 d = a * b + c + temp2; in HwiF01()
55 f = a * c + b + temp2; in HwiF01()
56 e = a + b * c + temp2; in HwiF01()
59 if (d != 153230.406250 + temp2) { in HwiF01()
60 dprintf("Error:d = %f----temp = 0x%x----\n", d, temp2); in HwiF01()
64 } else if (f != 124432.390625 + temp2) { in HwiF01()
65 dprintf("Error:f = %f----temp = 0x%x----\n", f, temp2); in HwiF01()
69 } else if (e != (1233323.875000 + temp2)) { in HwiF01()
[all …]
DIt_smp_los_float_switch_006.c44 UINT32 temp2 = 0xf; in HwiF01() local
51 while (temp2--) { in HwiF01()
52 d = a * b + c + temp2; in HwiF01()
53 f = a * c + b + temp2; in HwiF01()
54 e = a + b * c + temp2; in HwiF01()
57 if (d != 153230.406250 + temp2) { in HwiF01()
58 dprintf("Error:d = %f----temp = 0x%x----\n", d, temp2); in HwiF01()
62 } else if (f != 124432.390625 + temp2) { in HwiF01()
63 dprintf("Error:f = %f----temp = 0x%x----\n", f, temp2); in HwiF01()
67 } else if (e != (1233323.875000 + temp2)) { in HwiF01()
[all …]
DIt_smp_los_float_switch_005.c46 UINT32 temp2; in TaskF01() local
54 temp2 = 0xffff; in TaskF01()
55 while (temp2--) { in TaskF01()
56 d = a * b + c + temp2; in TaskF01()
57 f = a * c + b + temp2; in TaskF01()
58 e = a + b * c + temp2; in TaskF01()
61 if (d != 153230.406250 + temp2) { in TaskF01()
62 dprintf("Error:d = %f----temp = 0x%x----\n", d, temp2); in TaskF01()
66 } else if (f != 124432.390625 + temp2) { in TaskF01()
67 dprintf("Error:f = %f----temp = 0x%x----\n", f, temp2); in TaskF01()
[all …]
DIt_smp_los_float_switch_004.c46 UINT32 temp2; in TaskF01() local
54 temp2 = 0xffff; in TaskF01()
55 while (temp2--) { in TaskF01()
56 d = a * b + c + temp2; in TaskF01()
57 f = a * c + b + temp2; in TaskF01()
58 e = a + b * c + temp2; in TaskF01()
61 if (d != 153230.406250 + temp2) { in TaskF01()
62 dprintf("Error:d = %f----temp = 0x%x----\n", d, temp2); in TaskF01()
66 } else if (f != 124432.390625 + temp2) { in TaskF01()
67 dprintf("Error:f = %f----temp = 0x%x----\n", f, temp2); in TaskF01()
[all …]
/kernel/linux/linux-5.10/arch/ia64/include/asm/
Dmca_asm.h83 #define PHYSICAL_MODE_ENTER(temp1, temp2, start_addr, old_psr) \ argument
91 mov temp2 = ar.bspstore; \
93 DATA_VA_TO_PA(temp2); \
97 mov ar.bspstore = temp2; \
101 mov temp2 = psr; \
104 dep temp2 = 0, temp2, PSR_IC, 2; \
106 mov psr.l = temp2; \
125 LOAD_PHYSICAL(p0, temp2, start_addr); \
127 mov cr.iip = temp2; \
163 #define VIRTUAL_MODE_ENTER(temp1, temp2, start_addr, old_psr) \ argument
[all …]
/kernel/linux/linux-5.10/arch/ia64/kernel/
Dmca_asm.S413 #define temp2 r3 /* careful, it overlaps with input registers */ macro
462 GET_IA64_MCA_DATA(temp2)
464 add temp1=temp2, regs // struct ia64_sal_os_state on MCA or INIT stack
465 add temp2=temp2, ms // struct ia64_sal_os_state+8 on MCA or INIT stack
469 st8 [temp2]=r8,16 // pal_proc
472 st8 [temp2]=r11,16 // rv_rc
476 st8 [temp2]=r19 // monarch
479 add temp2=SOS(SAL_GP), regs
482 st8 [temp2]=r10,16 // sal_gp
486 st8 [temp2]=r6,16 // prev_IA64_KR_CURRENT
[all …]
/kernel/linux/linux-5.10/drivers/char/agp/
Dintel-agp.c118 u16 temp2; in intel_configure() local
137 pci_read_config_word(agp_bridge->dev, INTEL_NBXCFG, &temp2); in intel_configure()
139 (temp2 & ~(1 << 10)) | (1 << 9)); in intel_configure()
148 u8 temp2; in intel_815_configure() local
178 pci_read_config_byte(agp_bridge->dev, INTEL_815_APCONT, &temp2); in intel_815_configure()
179 pci_write_config_byte(agp_bridge->dev, INTEL_815_APCONT, temp2 | (1 << 1)); in intel_815_configure()
207 u8 temp2; in intel_820_configure() local
228 pci_read_config_byte(agp_bridge->dev, INTEL_I820_RDCR, &temp2); in intel_820_configure()
229 pci_write_config_byte(agp_bridge->dev, INTEL_I820_RDCR, temp2 | (1 << 1)); in intel_820_configure()
237 u16 temp2; in intel_840_configure() local
[all …]
Dsworks-agp.c205 u32 temp2; in serverworks_fetch_size() local
212 pci_read_config_dword(agp_bridge->dev,serverworks_private.gart_addr_ofs,&temp2); in serverworks_fetch_size()
214 temp2 &= SVWRKS_SIZE_MASK; in serverworks_fetch_size()
217 if (temp2 == values[i].size_value) { in serverworks_fetch_size()
454 u32 temp, temp2; in agp_serverworks_probe() local
490 pci_read_config_dword(pdev, SVWRKS_APSIZE + 4, &temp2); in agp_serverworks_probe()
491 if (temp2 != 0) { in agp_serverworks_probe()
503 serverworks_private.mm_addr_ofs + 4, &temp2); in agp_serverworks_probe()
504 if (temp2 != 0) { in agp_serverworks_probe()
Defficeon-agp.c131 u16 temp2; in efficeon_configure() local
150 pci_read_config_word(agp_bridge->dev, INTEL_NBXCFG, &temp2); in efficeon_configure()
152 (temp2 & ~(1 << 10)) | (1 << 9) | (1 << 11)); in efficeon_configure()
/kernel/linux/linux-5.10/drivers/acpi/acpica/
Ddbtest.c391 union acpi_object *temp2 = NULL; in acpi_db_test_integer_type() local
429 status = acpi_db_read_from_object(node, ACPI_TYPE_INTEGER, &temp2); in acpi_db_test_integer_type()
434 if (temp2->integer.value != value_to_write) { in acpi_db_test_integer_type()
436 ACPI_FORMAT_UINT64(temp2->integer.value), in acpi_db_test_integer_type()
465 if (temp2) { in acpi_db_test_integer_type()
466 acpi_os_free(temp2); in acpi_db_test_integer_type()
493 union acpi_object *temp2 = NULL; in acpi_db_test_buffer_type() local
556 status = acpi_db_read_from_object(node, ACPI_TYPE_BUFFER, &temp2); in acpi_db_test_buffer_type()
561 if (memcmp(temp2->buffer.pointer, buffer, byte_length)) { in acpi_db_test_buffer_type()
591 if (temp2) { in acpi_db_test_buffer_type()
[all …]
/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb/
Daf9005-fe.c128 u8 temp, temp0, temp1, temp2; in af9005_get_post_vit_err_cw_count() local
173 &temp2); in af9005_get_post_vit_err_cw_count()
176 err_count = ((u32) temp2 << 16) + ((u32) temp1 << 8) + temp0; in af9005_get_post_vit_err_cw_count()
228 u8 temp, temp0, temp1, temp2; in af9005_get_pre_vit_err_bit_count() local
254 &temp2); in af9005_get_pre_vit_err_bit_count()
257 *pre_err_count = ((u32) temp2 << 16) + ((u32) temp1 << 8) + temp0; in af9005_get_pre_vit_err_bit_count()
532 u8 temp0, temp1, temp2, temp3, buf[4]; in af9005_fe_program_cfoe() local
579 temp2 = (u8) ((NS_coeff1_2048Nu & 0x00FF0000) >> 16); in af9005_fe_program_cfoe()
584 buf[1] = temp2; in af9005_fe_program_cfoe()
614 temp2 = (u8) ((NS_coeff2_2k & 0x003FC000) >> 14); in af9005_fe_program_cfoe()
[all …]
/kernel/linux/linux-5.10/arch/arm64/kernel/
Darmv8_deprecated.c279 #define __user_swpX_asm(data, addr, res, temp, temp2, B) \ argument
301 : "=&r" (res), "+r" (data), "=&r" (temp), "=&r" (temp2) \
309 #define __user_swp_asm(data, addr, res, temp, temp2) \ argument
310 __user_swpX_asm(data, addr, res, temp, temp2, "")
311 #define __user_swpb_asm(data, addr, res, temp, temp2) \ argument
312 __user_swpX_asm(data, addr, res, temp, temp2, "b")
332 unsigned long temp, temp2; in emulate_swpX() local
335 __user_swpb_asm(*data, address, res, temp, temp2); in emulate_swpX()
337 __user_swp_asm(*data, address, res, temp, temp2); in emulate_swpX()
/kernel/linux/linux-5.10/arch/arm/include/asm/
Dedac.h19 unsigned int temp, temp2; in edac_atomic_scrub() local
31 : "=&r"(temp), "=&r"(temp2) in edac_atomic_scrub()
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/
Dnxt200x.c822 u16 temp = 0, temp2; in nxt200x_read_snr() local
833 temp2 = 0x7FFF - temp; in nxt200x_read_snr()
836 if (temp2 > 0x7F00) in nxt200x_read_snr()
837 snrdb = 1000*24 + ( 1000*(30-24) * ( temp2 - 0x7F00 ) / ( 0x7FFF - 0x7F00 ) ); in nxt200x_read_snr()
838 else if (temp2 > 0x7EC0) in nxt200x_read_snr()
839 snrdb = 1000*18 + ( 1000*(24-18) * ( temp2 - 0x7EC0 ) / ( 0x7F00 - 0x7EC0 ) ); in nxt200x_read_snr()
840 else if (temp2 > 0x7C00) in nxt200x_read_snr()
841 snrdb = 1000*12 + ( 1000*(18-12) * ( temp2 - 0x7C00 ) / ( 0x7EC0 - 0x7C00 ) ); in nxt200x_read_snr()
843 snrdb = 1000*0 + ( 1000*(12-0) * ( temp2 - 0 ) / ( 0x7C00 - 0 ) ); in nxt200x_read_snr()
/kernel/linux/linux-5.10/drivers/video/fbdev/sis/
Dinit.c1014 unsigned char cr5f, temp1, temp2; in SiS_GetSysFlags() local
1035 temp2 = SiS_GetReg(SiS_Pr->SiS_P3d4,0x5c) & 0xf8; in SiS_GetSysFlags()
1036 if((!temp1) || (temp2)) { in SiS_GetSysFlags()
1689 unsigned short temp, temp1, temp2; in SiS_DoLowModeTest() local
1697 temp2 = SiS_GetReg(SiS_Pr->SiS_P3d4,0x00); in SiS_DoLowModeTest()
1702 if(temp2 == 0x55) return false; in SiS_DoLowModeTest()
1705 if(temp2 != 0x55) return true; in SiS_DoLowModeTest()
1746 unsigned short temp1 = 0, temp2 = 0; in SiS_CloseCRTC()
1750 temp1 = 0xa0; temp2 = 0x08; in SiS_CloseCRTC()
1753 SiS_SetRegANDOR(SiS_Pr->SiS_P3d4,0x56,0xe7,temp2); in SiS_CloseCRTC()
[all …]
/kernel/linux/linux-5.10/sound/pci/ice1712/
Dphase.c690 int temp, temp2; in phase28_deemp_put() local
692 temp2 = temp; in phase28_deemp_put()
697 if (temp != temp2) { in phase28_deemp_put()
727 int temp, temp2; in phase28_oversampling_put() local
731 temp2 = temp; in phase28_oversampling_put()
738 if (temp != temp2) { in phase28_oversampling_put()
/kernel/linux/linux-5.10/drivers/staging/rtl8192u/
Dr819xU_cmdpkt.c424 u16 temp1, temp2; in cmpk_handle_tx_rate_history() local
427 temp2 = ptemp[i] >> 16; in cmpk_handle_tx_rate_history()
428 ptemp[i] = (temp1 << 16) | temp2; in cmpk_handle_tx_rate_history()
/kernel/linux/linux-5.10/Documentation/hwmon/
Dw83795.rst58 7/ 8 VDSEN15/TR2/TD2 22h in18/temp2
114 4/ 5 VDSEN15/TR2/TD2 22h in18/temp2
Dvt1211.rst51 temp2), 1 dedicated voltage (in5) and 2 fans. Additionally, the chip
69 Reading 3 temp2 Internal thermal diode
125 All temperature channels except temp2 are external. Temp2 is the VT1211
126 internal thermal diode and the driver does all the scaling for temp2 and
Dw83l786ng.rst36 degC for temp1 and temp2.
/kernel/linux/linux-5.10/drivers/pci/hotplug/
Dcpqphp_nvram.c132 u8 temp1, temp2, temp3, temp4, temp5, temp6; in check_for_compaq_ROM() local
136 temp2 = readb(rom_start + 0xffea + 1); in check_for_compaq_ROM()
142 (temp2 == 'O') && in check_for_compaq_ROM()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/modules/color/
Dcolor_gamma.c868 struct fixed31_32 temp2; in hermite_spline_eetf() local
901 temp2 = dc_fixpt_mul(three, t2); in hermite_spline_eetf()
905 dc_fixpt_sub(temp1, temp2))); in hermite_spline_eetf()
909 dc_fixpt_sub(temp2, temp1))); in hermite_spline_eetf()
912 temp2 = dc_fixpt_sub(dc_fixpt_one, ks); in hermite_spline_eetf()
915 E2 = dc_fixpt_add(E2, dc_fixpt_mul(temp2, in hermite_spline_eetf()
921 temp2 = dc_fixpt_mul(temp1, temp1); in hermite_spline_eetf()
922 temp2 = dc_fixpt_mul(temp2, temp2); in hermite_spline_eetf()
925 E3 = dc_fixpt_add(E2, dc_fixpt_mul(min_lum_pq, temp2)); in hermite_spline_eetf()

123