Lines Matching refs:hwcap
55 static int get_auxval(uint32_t *hwcap) in get_auxval() argument
61 *hwcap = ret; in get_auxval()
68 static int get_hwcap(uint32_t *hwcap) in get_hwcap() argument
79 *hwcap = auxv.a_val; in get_hwcap()
89 static int get_cpuinfo(uint32_t *hwcap) in get_cpuinfo() argument
97 *hwcap = 0; in get_cpuinfo()
101 *hwcap |= HWCAP_EDSP; in get_cpuinfo()
103 *hwcap |= HWCAP_TLS; in get_cpuinfo()
105 *hwcap |= HWCAP_THUMBEE; in get_cpuinfo()
107 *hwcap |= HWCAP_VFP; in get_cpuinfo()
109 *hwcap |= HWCAP_VFPv3; in get_cpuinfo()
111 *hwcap |= HWCAP_NEON; in get_cpuinfo()
113 *hwcap |= HWCAP_VFP | HWCAP_VFPv3; in get_cpuinfo()
124 uint32_t hwcap; in ff_get_cpu_flags_arm() local
126 if (get_auxval(&hwcap) < 0) in ff_get_cpu_flags_arm()
127 if (get_hwcap(&hwcap) < 0) in ff_get_cpu_flags_arm()
128 if (get_cpuinfo(&hwcap) < 0) in ff_get_cpu_flags_arm()
132 if (hwcap & HWCAP_ ## cap) \ in ff_get_cpu_flags_arm()