Home
last modified time | relevance | path

Searched refs:hwcaps (Results 1 – 17 of 17) sorted by relevance

/external/cpu_features/src/
Dunix_features_aggregator.c36 const HardwareCapabilities hwcaps) { in IsHwCapsSet()
37 return IsSet(hwcaps_mask.hwcaps, hwcaps.hwcaps) || in IsHwCapsSet()
38 IsSet(hwcaps_mask.hwcaps2, hwcaps.hwcaps2); in IsHwCapsSet()
43 const HardwareCapabilities hwcaps, in CpuFeatures_OverrideFromHwCaps() argument
48 if (IsHwCapsSet(config->hwcaps_mask, hwcaps)) { in CpuFeatures_OverrideFromHwCaps()
Dhwcaps.c133 unsigned long hwcaps = GetElfHwcapFromGetauxval(type); in GetHardwareCapabilitiesFor() local
134 if (!hwcaps) { in GetHardwareCapabilitiesFor()
136 hwcaps = GetElfHwcapFromProcSelfAuxv(type); in GetHardwareCapabilitiesFor()
138 return hwcaps; in GetHardwareCapabilitiesFor()
143 capabilities.hwcaps = GetHardwareCapabilitiesFor(AT_HWCAP); in CpuFeatures_GetHardwareCapabilities()
/external/cpuinfo/src/arm/linux/
Dhwcap.c97 uint32_t hwcaps[2] = { 0, 0 }; in cpuinfo_arm_linux_hwcap_from_procfs()
118 hwcaps[0] = (uint32_t) elf_auxv.a_un.a_val; in cpuinfo_arm_linux_hwcap_from_procfs()
121 hwcaps[1] = (uint32_t) elf_auxv.a_un.a_val; in cpuinfo_arm_linux_hwcap_from_procfs()
134 *hwcap = hwcaps[0]; in cpuinfo_arm_linux_hwcap_from_procfs()
135 *hwcap2 = hwcaps[1]; in cpuinfo_arm_linux_hwcap_from_procfs()
/external/skqp/src/core/
DSkCpu.cpp81 uint32_t hwcaps = getauxval(AT_HWCAP); in read_cpu_features() local
82 if (hwcaps & kHWCAP_CRC32 ) { features |= SkCpu::CRC32; } in read_cpu_features()
83 if (hwcaps & kHWCAP_ASIMDHP) { features |= SkCpu::ASIMDHP; } in read_cpu_features()
98 uint32_t hwcaps = getauxval(AT_HWCAP); in read_cpu_features() local
99 if (hwcaps & kHWCAP_NEON ) { in read_cpu_features()
101 if (hwcaps & kHWCAP_VFPv4) { features |= SkCpu::NEON_FMA|SkCpu::VFP_FP16; } in read_cpu_features()
/external/skia/src/core/
DSkCpu.cpp83 uint32_t hwcaps = getauxval(AT_HWCAP); in read_cpu_features() local
84 if (hwcaps & kHWCAP_CRC32 ) { features |= SkCpu::CRC32; } in read_cpu_features()
85 if (hwcaps & kHWCAP_ASIMDHP) { features |= SkCpu::ASIMDHP; } in read_cpu_features()
128 uint32_t hwcaps = getauxval(AT_HWCAP); in read_cpu_features() local
129 if (hwcaps & kHWCAP_NEON ) { in read_cpu_features()
131 if (hwcaps & kHWCAP_VFPv4) { features |= SkCpu::NEON_FMA|SkCpu::VFP_FP16; } in read_cpu_features()
/external/cpu_features/test/
Dhwcaps_for_testing.cc27 void SetHardwareCapabilities(uint32_t hwcaps, uint32_t hwcaps2) { in SetHardwareCapabilities() argument
28 g_hardware_capabilities->hwcaps = hwcaps; in SetHardwareCapabilities()
Dunix_features_aggregator_test.cc72 capability.hwcaps = 0; // matches none in TEST_F()
84 capability.hwcaps = 0b0010; // matches b but not a in TEST_F()
Dhwcaps_for_testing.h22 void SetHardwareCapabilities(uint32_t hwcaps, uint32_t hwcaps2);
/external/v8/src/base/
Dcpu.cc620 uint32_t hwcaps = ReadELFHWCaps(); in CPU() local
621 if (hwcaps != 0) { in CPU()
622 has_idiva_ = (hwcaps & HWCAP_IDIVA) != 0; in CPU()
623 has_neon_ = (hwcaps & HWCAP_NEON) != 0; in CPU()
624 has_vfp_ = (hwcaps & HWCAP_VFP) != 0; in CPU()
625 has_vfp3_ = (hwcaps & (HWCAP_VFPv3 | HWCAP_VFPv3D16 | HWCAP_VFPv4)) != 0; in CPU()
626 has_vfp3_d32_ = (has_vfp3_ && ((hwcaps & HWCAP_VFPv3D16) == 0 || in CPU()
627 (hwcaps & HWCAP_VFPD32) != 0)); in CPU()
722 uint32_t hwcaps = ReadELFHWCaps(); in CPU() local
723 if (hwcaps != 0) { in CPU()
[all …]
/external/u-boot/drivers/mtd/spi/
Dspi-nor-tiny.c563 struct spi_nor_hwcaps hwcaps; member
585 params->hwcaps.mask = SNOR_HWCAPS_READ; in spi_nor_init_params()
591 params->hwcaps.mask |= SNOR_HWCAPS_READ_FAST; in spi_nor_init_params()
598 params->hwcaps.mask |= SNOR_HWCAPS_READ_1_1_4; in spi_nor_init_params()
645 const struct spi_nor_hwcaps *hwcaps) in spi_nor_setup() argument
654 shared_mask = hwcaps->mask & params->hwcaps.mask; in spi_nor_setup()
717 struct spi_nor_hwcaps hwcaps = { in spi_nor_scan() local
730 hwcaps.mask |= SNOR_HWCAPS_READ_1_1_4; in spi_nor_scan()
758 params.hwcaps.mask &= ~SNOR_HWCAPS_READ_FAST; in spi_nor_scan()
767 ret = spi_nor_setup(nor, info, &params, &hwcaps); in spi_nor_scan()
Dspi-nor-core.c1496 struct spi_nor_hwcaps hwcaps; member
1706 u32 hwcaps; member
1800 static int spi_nor_hwcaps_read2cmd(u32 hwcaps);
1899 params->hwcaps.mask &= ~rd->hwcaps; in spi_nor_parse_bfpt()
1903 params->hwcaps.mask |= rd->hwcaps; in spi_nor_parse_bfpt()
1904 cmd = spi_nor_hwcaps_read2cmd(rd->hwcaps); in spi_nor_parse_bfpt()
2104 params->hwcaps.mask |= SNOR_HWCAPS_READ; in spi_nor_init_params()
2110 params->hwcaps.mask |= SNOR_HWCAPS_READ_FAST; in spi_nor_init_params()
2117 params->hwcaps.mask |= SNOR_HWCAPS_READ_1_1_2; in spi_nor_init_params()
2124 params->hwcaps.mask |= SNOR_HWCAPS_READ_1_1_4; in spi_nor_init_params()
[all …]
/external/elfutils/backends/
Dsparc_attrs.c44 static const char *hwcaps[32] = in sparc_check_object_attribute() local
81 caps = hwcaps; in sparc_check_object_attribute()
/external/cpu_features/include/internal/
Dunix_features_aggregator.h56 const HardwareCapabilities hwcaps,
Dhwcaps.h123 unsigned long hwcaps; member
/external/cpu_features/
DCMakeLists.txt103 ${PROJECT_SOURCE_DIR}/include/internal/hwcaps.h
105 ${PROJECT_SOURCE_DIR}/src/hwcaps.c
DAndroid.bp36 "src/hwcaps.c",
/external/google-breakpad/src/client/linux/minidump_writer/
Dminidump_writer.cc925 uint32_t hwcaps; in WriteCPUInformation() member
1108 sys_info->cpu.arm_cpu_info.elf_hwcaps |= entry->hwcaps; in WriteCPUInformation()