Lines Matching refs:hwcap
51 static int get_hwcap(uint32_t *hwcap)
62 *hwcap = auxv.a_val;
72 static int get_cpuinfo(uint32_t *hwcap)
80 *hwcap = 0;
84 *hwcap |= HWCAP_EDSP;
86 *hwcap |= HWCAP_TLS;
88 *hwcap |= HWCAP_THUMBEE;
90 *hwcap |= HWCAP_VFP;
92 *hwcap |= HWCAP_VFPv3;
94 *hwcap |= HWCAP_NEON;
96 *hwcap |= HWCAP_VFP | HWCAP_VFPv3;
107 uint32_t hwcap;
109 if (get_hwcap(&hwcap) < 0)
110 if (get_cpuinfo(&hwcap) < 0)
114 if (hwcap & HWCAP_ ## cap) \