Home
last modified time | relevance | path

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

/linux-6.15/drivers/perf/
H A Darm_spe_pmu.c293 reg |= FIELD_PREP(PMSCR_EL1_TS, ATTR_CFG_GET_FLD(attr, ts_enable)); in arm_spe_event_to_pmscr()
294 reg |= FIELD_PREP(PMSCR_EL1_PA, ATTR_CFG_GET_FLD(attr, pa_enable)); in arm_spe_event_to_pmscr()
295 reg |= FIELD_PREP(PMSCR_EL1_PCT, ATTR_CFG_GET_FLD(attr, pct_enable)); in arm_spe_event_to_pmscr()
332 reg |= FIELD_PREP(PMSIRR_EL1_RND, ATTR_CFG_GET_FLD(attr, jitter)); in arm_spe_event_to_pmsirr()
350 if (ATTR_CFG_GET_FLD(attr, event_filter)) in arm_spe_event_to_pmsfcr()
353 if (ATTR_CFG_GET_FLD(attr, inv_event_filter)) in arm_spe_event_to_pmsfcr()
356 if (ATTR_CFG_GET_FLD(attr, min_latency)) in arm_spe_event_to_pmsfcr()
365 return ATTR_CFG_GET_FLD(attr, event_filter); in arm_spe_event_to_pmsevfr()
371 return ATTR_CFG_GET_FLD(attr, inv_event_filter); in arm_spe_event_to_pmsnevfr()
514 if (ATTR_CFG_GET_FLD(&event->attr, discard)) { in arm_spe_perf_aux_output_begin()
[all …]
H A 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()
604 reg = ATTR_CFG_GET_FLD(attr, mask); in dmc620_pmu_add()
610 reg = ATTR_CFG_GET_FLD(attr, match); in dmc620_pmu_add()
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-6.15/include/linux/perf/
H A Darm_pmu.h211 #define ATTR_CFG_GET_FLD(attr, name) \ macro