Lines Matching defs:wa
497 bool arch_timer_check_dt_erratum(const struct arch_timer_erratum_workaround *wa,
502 return of_property_read_bool(np, wa->id);
506 bool arch_timer_check_local_cap_erratum(const struct arch_timer_erratum_workaround *wa,
509 return this_cpu_has_cap((uintptr_t)wa->id);
514 bool arch_timer_check_acpi_oem_erratum(const struct arch_timer_erratum_workaround *wa,
518 const struct ate_acpi_oem_info *info = wa->id;
553 void arch_timer_enable_workaround(const struct arch_timer_erratum_workaround *wa,
559 __this_cpu_write(timer_unstable_counter_workaround, wa);
562 per_cpu(timer_unstable_counter_workaround, i) = wa;
565 if (wa->read_cntvct_el0 || wa->read_cntpct_el0)
574 if (wa->read_cntvct_el0) {
577 } else if (wa->disable_compat_vdso && vdso_default != VDSO_CLOCKMODE_NONE) {
586 const struct arch_timer_erratum_workaround *wa, *__wa;
606 wa = arch_timer_iterate_errata(type, match_fn, arg);
607 if (!wa)
611 if (__wa && wa != __wa)
613 wa->desc, __wa->desc);
618 arch_timer_enable_workaround(wa, local);
620 local ? "local" : "global", wa->desc);