Lines Matching defs:wa
524 bool arch_timer_check_dt_erratum(const struct arch_timer_erratum_workaround *wa,
529 return of_property_read_bool(np, wa->id);
533 bool arch_timer_check_local_cap_erratum(const struct arch_timer_erratum_workaround *wa,
536 return this_cpu_has_cap((uintptr_t)wa->id);
541 bool arch_timer_check_acpi_oem_erratum(const struct arch_timer_erratum_workaround *wa,
545 const struct ate_acpi_oem_info *info = wa->id;
580 void arch_timer_enable_workaround(const struct arch_timer_erratum_workaround *wa,
586 __this_cpu_write(timer_unstable_counter_workaround, wa);
589 per_cpu(timer_unstable_counter_workaround, i) = wa;
592 if (wa->read_cntvct_el0 || wa->read_cntpct_el0)
601 if (wa->read_cntvct_el0) {
604 } else if (wa->disable_compat_vdso && vdso_default != VDSO_CLOCKMODE_NONE) {
613 const struct arch_timer_erratum_workaround *wa, *__wa;
633 wa = arch_timer_iterate_errata(type, match_fn, arg);
634 if (!wa)
638 if (__wa && wa != __wa)
640 wa->desc, __wa->desc);
645 arch_timer_enable_workaround(wa, local);
647 local ? "local" : "global", wa->desc);