Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/perf/
Darm_spe_pmu.c225 #define ATTR_CFG_GET_FLD(attr, name) \ macro
306 reg |= FIELD_PREP(PMSCR_EL1_TS, ATTR_CFG_GET_FLD(attr, ts_enable)); in arm_spe_event_to_pmscr()
307 reg |= FIELD_PREP(PMSCR_EL1_PA, ATTR_CFG_GET_FLD(attr, pa_enable)); in arm_spe_event_to_pmscr()
308 reg |= FIELD_PREP(PMSCR_EL1_PCT, ATTR_CFG_GET_FLD(attr, pct_enable)); in arm_spe_event_to_pmscr()
345 reg |= FIELD_PREP(PMSIRR_EL1_RND, ATTR_CFG_GET_FLD(attr, jitter)); in arm_spe_event_to_pmsirr()
356 reg |= FIELD_PREP(PMSFCR_EL1_LD, ATTR_CFG_GET_FLD(attr, load_filter)); in arm_spe_event_to_pmsfcr()
357 reg |= FIELD_PREP(PMSFCR_EL1_ST, ATTR_CFG_GET_FLD(attr, store_filter)); in arm_spe_event_to_pmsfcr()
358 reg |= FIELD_PREP(PMSFCR_EL1_B, ATTR_CFG_GET_FLD(attr, branch_filter)); in arm_spe_event_to_pmsfcr()
363 if (ATTR_CFG_GET_FLD(attr, event_filter)) in arm_spe_event_to_pmsfcr()
366 if (ATTR_CFG_GET_FLD(attr, inv_event_filter)) in arm_spe_event_to_pmsfcr()
[all …]
Darm_dmc620_pmu.c207 #define ATTR_CFG_GET_FLD(attr, name) \ macro
284 ATTR_CFG_GET_FLD(attr, invert)); in dmc620_event_to_counter_control()
286 ATTR_CFG_GET_FLD(attr, event)); in dmc620_event_to_counter_control()
288 ATTR_CFG_GET_FLD(attr, incr)); in dmc620_event_to_counter_control()
298 if (ATTR_CFG_GET_FLD(&event->attr, clkdiv2)) { in dmc620_get_event_idx()
601 reg = ATTR_CFG_GET_FLD(attr, mask); in dmc620_pmu_add()
607 reg = ATTR_CFG_GET_FLD(attr, match); in dmc620_pmu_add()