Home
last modified time | relevance | path

Searched refs:caps0 (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/tools/perf/arch/x86/tests/
H A Dintel-pt-test.c390 static int compare_caps(int cpu, struct pt_caps *caps, struct pt_caps *caps0) in compare_caps() argument
412 reg0 = m & caps0->subleaf[i].reg[j]; in compare_caps()
423 reg0 = m & caps0->subleaf[1].eax; in compare_caps()
440 struct pt_caps caps0; in test__intel_pt_hybrid_compat() local
449 if (get_pt_caps(0, &caps0)) in test__intel_pt_hybrid_compat()
452 for (cpu = 1, last_caps = caps0; cpu < max_cpu; cpu++) { in test__intel_pt_hybrid_compat()
463 if (compare_caps(cpu, &caps, &caps0)) in test__intel_pt_hybrid_compat()
/openbmc/linux/drivers/mmc/host/
H A Dsdhci-of-at91.c172 unsigned int caps0, caps1; in sdhci_at91_set_clks_presets() local
178 caps0 = readl(host->ioaddr + SDHCI_CAPABILITIES); in sdhci_at91_set_clks_presets()
190 caps0 &= ~SDHCI_CLOCK_V3_BASE_MASK; in sdhci_at91_set_clks_presets()
191 caps0 |= FIELD_PREP(SDHCI_CLOCK_V3_BASE_MASK, clk_base); in sdhci_at91_set_clks_presets()
196 writel(caps0, host->ioaddr + SDHCI_CAPABILITIES); in sdhci_at91_set_clks_presets()