Home
last modified time | relevance | path

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

/linux/drivers/hwmon/
H A Dlm95234.c429 u8 config_mask, model_mask; in lm95234_detect() local
445 config_mask = 0xbf; in lm95234_detect()
452 config_mask = 0xbc; in lm95234_detect()
465 if (val & config_mask) in lm95234_detect()
/linux/drivers/gpu/drm/i915/
H A Di915_pmu.c114 static u32 config_mask(const u64 config) in config_mask() function
146 mask |= config_mask(__I915_PMU_ACTUAL_FREQUENCY(i)) | in frequency_enabled_mask()
147 config_mask(__I915_PMU_REQUESTED_FREQUENCY(i)); in frequency_enabled_mask()
456 (config_mask(__I915_PMU_ACTUAL_FREQUENCY(gt)) | in frequency_sampling_enabled()
457 config_mask(__I915_PMU_REQUESTED_FREQUENCY(gt))); in frequency_sampling_enabled()
477 if (pmu->enable & config_mask(__I915_PMU_ACTUAL_FREQUENCY(gt_id))) { in frequency_sample()
497 if (pmu->enable & config_mask(__I915_PMU_REQUESTED_FREQUENCY(gt_id))) { in frequency_sample()
/linux/drivers/ata/
H A Dsata_nv.c677 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/
H A Dcore.c172 if (er->event != (config & er->config_mask)) in x86_pmu_extra_regs()
2103 if (!x86_pmu.config_mask) in init_hw_perf_events()
2104 x86_pmu.config_mask = X86_RAW_EVENT_MASK; in init_hw_perf_events()
/linux/arch/x86/events/intel/
H A Dcore.c4786 u64 mask = hybrid(dev_get_drvdata(dev), config_mask) & ARCH_PERFMON_EVENTSEL_UMASK2; in umask2_show()
4822 mask = hybrid(dev_get_drvdata(dev), config_mask); in evtsel_ext_is_visible()
4994 pmu->config_mask |= ARCH_PERFMON_EVENTSEL_UMASK2; in update_pmu_cap()
4996 pmu->config_mask |= ARCH_PERFMON_EVENTSEL_EQ; in update_pmu_cap()
6441 pmu->config_mask = X86_RAW_EVENT_MASK; in intel_pmu_init_hybrid()
H A Duncore_nhmex.c780 if (er->event != (event->hw.config & er->config_mask)) in nhmex_mbox_hw_config()