Home
last modified time | relevance | path

Searched refs:config_mask (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/gpu/drm/i915/
H A Di915_pmu.c113 static __always_inline u32 config_mask(const u64 config) in config_mask() function
145 mask |= config_mask(__I915_PMU_ACTUAL_FREQUENCY(i)) | in frequency_enabled_mask()
146 config_mask(__I915_PMU_REQUESTED_FREQUENCY(i)); in frequency_enabled_mask()
455 (config_mask(__I915_PMU_ACTUAL_FREQUENCY(gt)) | in frequency_sampling_enabled()
456 config_mask(__I915_PMU_REQUESTED_FREQUENCY(gt))); in frequency_sampling_enabled()
476 if (pmu->enable & config_mask(__I915_PMU_ACTUAL_FREQUENCY(gt_id))) { in frequency_sample()
496 if (pmu->enable & config_mask(__I915_PMU_REQUESTED_FREQUENCY(gt_id))) { in frequency_sample()
/linux/arch/x86/events/
H A Dperf_event.h625 u64 config_mask;
634 .config_mask = (m), \
747 u64 config_mask;
860 u64 config_mask;
1341 return event->attr.config & hybrid(event->pmu, config_mask); in x86_pmu_get_event_config()
1346 return !!(hybrid(pmu, config_mask) & in x86_pmu_has_rdpmc_user_disable()
627 u64 config_mask; global() member
749 u64 config_mask; global() member
862 u64 config_mask; global() member
H A Dcore.c183 if (er->event != (config & er->config_mask)) in x86_pmu_extra_regs()
2181 if (!x86_pmu.config_mask) in init_hw_perf_events()
2182 x86_pmu.config_mask = X86_RAW_EVENT_MASK; in init_hw_perf_events()
/linux/drivers/ata/
H A Dsata_nv.c705 u32 current_reg, new_reg, config_mask; in nv_adma_sdev_configure()
741 config_mask = NV_MCP_SATA_CFG_20_PORT1_EN | in nv_adma_sdev_configure()
744 config_mask = NV_MCP_SATA_CFG_20_PORT0_EN | in nv_adma_sdev_configure()
748 new_reg = current_reg | config_mask; in nv_adma_sdev_configure()
751 new_reg = current_reg & ~config_mask; in nv_adma_sdev_configure()
677 u32 current_reg, new_reg, config_mask; nv_adma_sdev_configure() local
/linux/arch/x86/events/intel/
H A Duncore_snbep.c107 .config_mask = (m), \
1009 if (er->event != (event->hw.config & er->config_mask)) in snbep_cbox_hw_config()
1744 if (er->event != (event->hw.config & er->config_mask)) in ivbep_cbox_hw_config()
2172 if (er->event != (event->hw.config & er->config_mask)) in knl_cha_hw_config()
2727 if (er->event != (event->hw.config & er->config_mask)) in hswep_cbox_hw_config()
3568 if (er->event != (event->hw.config & er->config_mask)) in skx_cha_hw_config()
H A Dcore.c5785 u64 mask = hybrid(dev_get_drvdata(dev), config_mask) & ARCH_PERFMON_EVENTSEL_UMASK2; in __intel_pmu_check_dyn_constr()
5821 mask = hybrid(dev_get_drvdata(dev), config_mask);
6193 hybrid(pmu, config_mask) |= ARCH_PERFMON_EVENTSEL_UMASK2; in free_excl_cntrs()
6195 hybrid(pmu, config_mask) |= ARCH_PERFMON_EVENTSEL_EQ; in free_excl_cntrs()
6197 hybrid(pmu, config_mask) |= ARCH_PERFMON_EVENTSEL_RDPMC_USER_DISABLE; in free_excl_cntrs()
7696 pmu->config_mask = X86_RAW_EVENT_MASK; in intel_pmu_init()
7917 x86_pmu.config_mask = X86_RAW_EVENT_MASK; in intel_pmu_init()