Home
last modified time | relevance | path

Searched refs:counter_mask (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/drivers/thermal/ti-soc-thermal/
H A Domap5-thermal-data.c36 .counter_mask = OMAP5430_COUNTER_MASK,
72 .counter_mask = OMAP5430_COUNTER_MASK,
109 .counter_mask = OMAP5430_COUNTER_MASK,
H A Dti-bandgap.c345 time = (time & tsr->counter_mask) >> in ti_bandgap_read_counter()
346 __ffs(tsr->counter_mask); in ti_bandgap_read_counter()
481 RMW_BITS(bgp, id, bgap_counter, counter_mask, interval); in ti_bandgap_write_counter()
969 RMW_BITS(bgp, i, bgap_counter, counter_mask, 1); in ti_bandgap_probe()
1003 RMW_BITS(bgp, i, bgap_counter, counter_mask, in ti_bandgap_probe()
H A Domap4-thermal-data.c103 .counter_mask = OMAP4460_COUNTER_MASK,
H A Dti-bandgap.h118 u32 counter_mask; member
/openbmc/linux/arch/arm/mach-imx/
H A Dmmdc.c260 unsigned long counter_mask = 0; in mmdc_pmu_group_is_valid() local
262 set_bit(leader->attr.config, &counter_mask); in mmdc_pmu_group_is_valid()
265 if (!mmdc_pmu_group_event_is_valid(event, pmu, &counter_mask)) in mmdc_pmu_group_is_valid()
270 if (!mmdc_pmu_group_event_is_valid(sibling, pmu, &counter_mask)) in mmdc_pmu_group_is_valid()
/openbmc/linux/drivers/perf/
H A Darm_smmuv3_pmu.c134 u64 counter_mask; member
204 if (smmu_pmu->counter_mask & BIT(32)) in smmu_pmu_counter_set_value()
214 if (smmu_pmu->counter_mask & BIT(32)) in smmu_pmu_counter_get_value()
268 delta &= smmu_pmu->counter_mask; in smmu_pmu_event_update()
295 new = smmu_pmu->counter_mask >> 1; in smmu_pmu_set_period()
908 smmu_pmu->counter_mask = GENMASK_ULL(reg_size, 0); in smmu_pmu_probe()
/openbmc/linux/arch/x86/kvm/vmx/
H A Dpmu_intel.c493 u64 counter_mask; in intel_pmu_refresh() local
541 counter_mask = ~(((1ull << pmu->nr_arch_gp_counters) - 1) | in intel_pmu_refresh()
543 pmu->global_ctrl_mask = counter_mask; in intel_pmu_refresh()
582 pmu->pebs_enable_mask = counter_mask; in intel_pmu_refresh()
/openbmc/linux/drivers/perf/arm_cspmu/
H A Darm_cspmu.c172 static inline u64 counter_mask(const struct arm_cspmu *cspmu) in counter_mask() function
738 u64 val = counter_mask(cspmu) >> 1ULL; in arm_cspmu_set_event_period()
783 delta = (now - prev) & counter_mask(cspmu); in arm_cspmu_event_update()