Searched refs:config_mask (Results 1 – 6 of 6) sorted by relevance
| /linux/drivers/gpu/drm/i915/ |
| H A D | i915_pmu.c | 113 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 D | perf_event.h | 627 u64 config_mask; member 636 .config_mask = (m), \ 749 u64 config_mask; member 862 u64 config_mask; member 1343 return event->attr.config & hybrid(event->pmu, config_mask); in x86_pmu_get_event_config() 1348 return !!(hybrid(pmu, config_mask) & in x86_pmu_has_rdpmc_user_disable()
|
| H A D | core.c | 183 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 D | sata_nv.c | 677 u32 current_reg, new_reg, config_mask; in nv_adma_sdev_configure() local 713 config_mask = NV_MCP_SATA_CFG_20_PORT1_EN | in nv_adma_sdev_configure() 716 config_mask = NV_MCP_SATA_CFG_20_PORT0_EN | in nv_adma_sdev_configure() 720 new_reg = current_reg | config_mask; in nv_adma_sdev_configure() 723 new_reg = current_reg & ~config_mask; in nv_adma_sdev_configure()
|
| /linux/arch/x86/events/intel/ |
| H A D | uncore_snbep.c | 107 .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 D | core.c | 5532 u64 mask = hybrid(dev_get_drvdata(dev), config_mask) & ARCH_PERFMON_EVENTSEL_UMASK2; in umask2_show() 5568 mask = hybrid(dev_get_drvdata(dev), config_mask); in evtsel_ext_is_visible() 5940 hybrid(pmu, config_mask) |= ARCH_PERFMON_EVENTSEL_UMASK2; in update_pmu_cap() 5942 hybrid(pmu, config_mask) |= ARCH_PERFMON_EVENTSEL_EQ; in update_pmu_cap() 5944 hybrid(pmu, config_mask) |= ARCH_PERFMON_EVENTSEL_RDPMC_USER_DISABLE; in update_pmu_cap() 7443 pmu->config_mask = X86_RAW_EVENT_MASK; in intel_pmu_init_hybrid() 7616 x86_pmu.config_mask = X86_RAW_EVENT_MASK; in intel_pmu_init()
|