Home
last modified time | relevance | path

Searched refs:ATTR_CFG_GET_FLD (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/perf/
H A Darm_spe_pmu.c284 reg |= FIELD_PREP(PMSCR_EL1_TS, ATTR_CFG_GET_FLD(attr, ts_enable)); in arm_spe_event_to_pmscr()
285 reg |= FIELD_PREP(PMSCR_EL1_PA, ATTR_CFG_GET_FLD(attr, pa_enable)); in arm_spe_event_to_pmscr()
286 reg |= FIELD_PREP(PMSCR_EL1_PCT, ATTR_CFG_GET_FLD(attr, pct_enable)); in arm_spe_event_to_pmscr()
323 reg |= FIELD_PREP(PMSIRR_EL1_RND, ATTR_CFG_GET_FLD(attr, jitter)); in arm_spe_event_to_pmsirr()
334 reg |= FIELD_PREP(PMSFCR_EL1_LD, ATTR_CFG_GET_FLD(attr, load_filter)); in arm_spe_event_to_pmsfcr()
335 reg |= FIELD_PREP(PMSFCR_EL1_ST, ATTR_CFG_GET_FLD(attr, store_filter)); in arm_spe_event_to_pmsfcr()
336 reg |= FIELD_PREP(PMSFCR_EL1_B, ATTR_CFG_GET_FLD(attr, branch_filter)); in arm_spe_event_to_pmsfcr()
341 if (ATTR_CFG_GET_FLD(attr, event_filter)) in arm_spe_event_to_pmsfcr()
344 if (ATTR_CFG_GET_FLD(attr, inv_event_filter)) in arm_spe_event_to_pmsfcr()
347 if (ATTR_CFG_GET_FLD(attr, min_latency)) in arm_spe_event_to_pmsfcr()
[all …]
H A Darm_pmuv3.c331 return ATTR_CFG_GET_FLD(&event->attr, long); in armv8pmu_event_is_64bit()
336 return ATTR_CFG_GET_FLD(&event->attr, rdpmc); in armv8pmu_event_want_user_access()
341 return ATTR_CFG_GET_FLD(attr, threshold); in armv8pmu_event_get_threshold()
346 u8 th_compare = ATTR_CFG_GET_FLD(attr, threshold_compare); in armv8pmu_event_threshold_control()
347 u8 th_count = ATTR_CFG_GET_FLD(attr, threshold_count); in armv8pmu_event_threshold_control()
/linux/include/linux/perf/
H A Darm_pmu.h206 #define ATTR_CFG_GET_FLD(attr, name) \ macro