Searched refs:counter_mask (Results 1 – 8 of 8) sorted by relevance
/openbmc/linux/drivers/thermal/ti-soc-thermal/ |
H A D | omap5-thermal-data.c | 36 .counter_mask = OMAP5430_COUNTER_MASK, 72 .counter_mask = OMAP5430_COUNTER_MASK, 109 .counter_mask = OMAP5430_COUNTER_MASK,
|
H A D | ti-bandgap.c | 345 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 D | omap4-thermal-data.c | 103 .counter_mask = OMAP4460_COUNTER_MASK,
|
H A D | ti-bandgap.h | 118 u32 counter_mask; member
|
/openbmc/linux/arch/arm/mach-imx/ |
H A D | mmdc.c | 260 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 D | arm_smmuv3_pmu.c | 134 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 D | pmu_intel.c | 493 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 D | arm_cspmu.c | 172 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()
|