/external/cpu_features/src/ |
D | unix_features_aggregator.c | 36 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()
|
D | hwcaps.c | 133 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/ |
D | hwcap.c | 97 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/ |
D | SkCpu.cpp | 81 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/ |
D | SkCpu.cpp | 83 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/ |
D | hwcaps_for_testing.cc | 27 void SetHardwareCapabilities(uint32_t hwcaps, uint32_t hwcaps2) { in SetHardwareCapabilities() argument 28 g_hardware_capabilities->hwcaps = hwcaps; in SetHardwareCapabilities()
|
D | unix_features_aggregator_test.cc | 72 capability.hwcaps = 0; // matches none in TEST_F() 84 capability.hwcaps = 0b0010; // matches b but not a in TEST_F()
|
D | hwcaps_for_testing.h | 22 void SetHardwareCapabilities(uint32_t hwcaps, uint32_t hwcaps2);
|
/external/v8/src/base/ |
D | cpu.cc | 620 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/ |
D | spi-nor-tiny.c | 563 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, ¶ms, &hwcaps); in spi_nor_scan()
|
D | spi-nor-core.c | 1496 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/ |
D | sparc_attrs.c | 44 static const char *hwcaps[32] = in sparc_check_object_attribute() local 81 caps = hwcaps; in sparc_check_object_attribute()
|
/external/cpu_features/include/internal/ |
D | unix_features_aggregator.h | 56 const HardwareCapabilities hwcaps,
|
D | hwcaps.h | 123 unsigned long hwcaps; member
|
/external/cpu_features/ |
D | CMakeLists.txt | 103 ${PROJECT_SOURCE_DIR}/include/internal/hwcaps.h 105 ${PROJECT_SOURCE_DIR}/src/hwcaps.c
|
D | Android.bp | 36 "src/hwcaps.c",
|
/external/google-breakpad/src/client/linux/minidump_writer/ |
D | minidump_writer.cc | 925 uint32_t hwcaps; in WriteCPUInformation() member 1108 sys_info->cpu.arm_cpu_info.elf_hwcaps |= entry->hwcaps; in WriteCPUInformation()
|