Home
last modified time | relevance | path

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

/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
/linux/arch/arm/mach-imx/
H A Dmmdc.c261 unsigned long counter_mask = 0; in mmdc_pmu_group_is_valid() local
263 set_bit(leader->attr.config, &counter_mask); in mmdc_pmu_group_is_valid()
266 if (!mmdc_pmu_group_event_is_valid(event, pmu, &counter_mask)) in mmdc_pmu_group_is_valid()
271 if (!mmdc_pmu_group_event_is_valid(sibling, pmu, &counter_mask)) in mmdc_pmu_group_is_valid()
/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()
909 smmu_pmu->counter_mask = GENMASK_ULL(reg_size, 0); in smmu_pmu_probe()
/linux/drivers/perf/arm_cspmu/
H A Darm_cspmu.c127 static inline u64 counter_mask(const struct arm_cspmu *cspmu) in counter_mask() function
748 u64 val = counter_mask(cspmu) >> 1ULL; in arm_cspmu_set_event_period()
793 delta = (now - prev) & counter_mask(cspmu); in arm_cspmu_event_update()
/linux/arch/x86/events/intel/
H A Dcore.c5893 #define counter_mask(_gp, _fixed) ((_gp) | ((u64)(_fixed) << INTEL_PMC_IDX_FIXED)) macro
5918 cntrs_mask = counter_mask(eax, ebx); in update_pmu_cap()
5925 hybrid(pmu, acr_cntr_mask64) = counter_mask(eax, ebx); in update_pmu_cap()
5927 hybrid(pmu, acr_cause_mask64) = counter_mask(ecx, edx); in update_pmu_cap()
5938 pebs_mask = counter_mask(eax, ecx); in update_pmu_cap()
5939 pdists_mask = counter_mask(ebx, edx); in update_pmu_cap()