/kernel/liteos_a/testsuites/kernel/sample/kernel_base/core/task/float/ |
H A D | It_smp_los_float_switch_002.c | 47 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() 96 UINT32 temp2; TaskF02() local [all...] |
H A D | It_smp_los_float_switch_003.c | 46 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...] |
H A D | It_smp_los_float_switch_001.c | 45 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...] |
H A D | It_smp_los_float_switch_006.c | 44 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...] |
H A D | It_smp_los_float_switch_007.c | 46 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...] |
H A D | It_smp_los_float_switch_004.c | 46 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...] |
H A D | It_smp_los_float_switch_005.c | 46 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/ |
H A D | mca_asm.h | 83 #define PHYSICAL_MODE_ENTER(temp1, temp2, start_addr, old_psr) \ 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; \ [all...] |
/kernel/linux/linux-6.6/arch/ia64/include/asm/ |
H A D | mca_asm.h | 83 #define PHYSICAL_MODE_ENTER(temp1, temp2, start_addr, old_psr) \ 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; \ [all...] |
/kernel/linux/linux-5.10/arch/ia64/kernel/ |
H A D | mca_asm.S | 413 #define temp2 r3 /* careful, it overlaps with input registers */ define 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] [all...] |
/kernel/linux/linux-6.6/arch/ia64/kernel/ |
H A D | mca_asm.S | 413 #define temp2 r3 /* careful, it overlaps with input registers */ define 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] [all...] |
/kernel/linux/linux-5.10/drivers/char/agp/ |
H A D | intel-agp.c | 118 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 265 u8 temp2; intel_845_configure() local 299 u16 temp2; intel_850_configure() local 327 u16 temp2; intel_860_configure() local 355 u16 temp2; intel_830mp_configure() local 383 u16 temp2; intel_7505_configure() local [all...] |
H A D | sworks-agp.c | 205 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()
|
/kernel/linux/linux-6.6/drivers/char/agp/ |
H A D | intel-agp.c | 118 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 265 u8 temp2; intel_845_configure() local 299 u16 temp2; intel_850_configure() local 327 u16 temp2; intel_860_configure() local 355 u16 temp2; intel_830mp_configure() local 383 u16 temp2; intel_7505_configure() local [all...] |
H A D | sworks-agp.c | 205 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() 451 u32 temp, temp2; in agp_serverworks_probe() local 487 pci_read_config_dword(pdev, SVWRKS_APSIZE + 4, &temp2); in agp_serverworks_probe() 488 if (temp2 != 0) { in agp_serverworks_probe() 500 serverworks_private.mm_addr_ofs + 4, &temp2); in agp_serverworks_probe() 501 if (temp2 != 0) { in agp_serverworks_probe()
|
/kernel/linux/linux-5.10/drivers/acpi/acpica/ |
H A D | dbtest.c | 391 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() 619 union acpi_object *temp2 = NULL; acpi_db_test_string_type() local [all...] |
/kernel/linux/linux-6.6/drivers/acpi/acpica/ |
H A D | dbtest.c | 391 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() 619 union acpi_object *temp2 = NULL; acpi_db_test_string_type() local [all...] |
/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb/ |
H A D | af9005-fe.c | 128 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 in af9005_fe_program_cfoe() 808 u8 temp, temp0 = 0, temp1 = 0, temp2 = 0; af9005_fe_init() local 1096 u8 temp, temp0, temp1, temp2; af9005_fe_set_frontend() local [all...] |
/kernel/linux/linux-6.6/drivers/media/usb/dvb-usb/ |
H A D | af9005-fe.c | 128 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 in af9005_fe_program_cfoe() 808 u8 temp, temp0 = 0, temp1 = 0, temp2 = 0; af9005_fe_init() local 1096 u8 temp, temp0, temp1, temp2; af9005_fe_set_frontend() local [all...] |
/kernel/linux/linux-5.10/arch/arm64/kernel/ |
H A D | armv8_deprecated.c | 98 #define __user_swpX_asm(data, addr, res, temp, temp2, B) \ 120 : "=&r" (res), "+r" (data), "=&r" (temp), "=&r" (temp2) \ 128 #define __user_swp_asm(data, addr, res, temp, temp2) \ 129 __user_swpX_asm(data, addr, res, temp, temp2, "") 130 #define __user_swpb_asm(data, addr, res, temp, temp2) \ 131 __user_swpX_asm(data, addr, res, temp, temp2, "b") 151 unsigned long temp, temp2; in emulate_swpX() local 154 __user_swpb_asm(*data, address, res, temp, temp2); in emulate_swpX() 156 __user_swp_asm(*data, address, res, temp, temp2); in emulate_swpX()
|
/kernel/linux/linux-6.6/arch/arm64/kernel/ |
H A D | armv8_deprecated.c | 98 #define __user_swpX_asm(data, addr, res, temp, temp2, B) \ 115 : "=&r" (res), "+r" (data), "=&r" (temp), "=&r" (temp2) \ 122 #define __user_swp_asm(data, addr, res, temp, temp2) \ 123 __user_swpX_asm(data, addr, res, temp, temp2, "") 124 #define __user_swpb_asm(data, addr, res, temp, temp2) \ 125 __user_swpX_asm(data, addr, res, temp, temp2, "b") 145 unsigned long temp, temp2; in emulate_swpX() local 148 __user_swpb_asm(*data, address, res, temp, temp2); in emulate_swpX() 150 __user_swp_asm(*data, address, res, temp, temp2); in emulate_swpX()
|
/kernel/linux/linux-5.10/arch/arm/include/asm/ |
H A D | edac.h | 19 unsigned int temp, temp2; in edac_atomic_scrub() local 31 : "=&r"(temp), "=&r"(temp2) in edac_atomic_scrub()
|
/kernel/linux/linux-6.6/arch/arm/include/asm/ |
H A D | edac.h | 19 unsigned int temp, temp2; in edac_atomic_scrub() local 31 : "=&r"(temp), "=&r"(temp2) in edac_atomic_scrub()
|
/kernel/linux/linux-5.10/arch/loongarch/include/asm/ |
H A D | stackframe.h | 42 .macro JUMP_VIRT_ADDR temp1 temp2 44 pcaddi \temp2, 0 variable 45 or \temp1, \temp1, \temp2 102 .macro set_saved_sp stackp temp temp2
|
/kernel/linux/linux-6.6/arch/loongarch/include/asm/ |
H A D | stackframe.h | 41 .macro JUMP_VIRT_ADDR temp1 temp2 43 pcaddi \temp2, 0 variable 44 or \temp1, \temp1, \temp2 101 .macro set_saved_sp stackp temp temp2
|