Searched refs:ATTR_CFG_GET_FLD (Results 1 – 7 of 7) sorted by relevance
| /linux/drivers/perf/ |
| H A D | arm_spe_pmu.c | 372 reg |= FIELD_PREP(PMSCR_EL1_TS, ATTR_CFG_GET_FLD(attr, ts_enable)); in arm_spe_event_to_pmscr() 373 reg |= FIELD_PREP(PMSCR_EL1_PA, ATTR_CFG_GET_FLD(attr, pa_enable)); in arm_spe_event_to_pmscr() 374 reg |= FIELD_PREP(PMSCR_EL1_PCT, ATTR_CFG_GET_FLD(attr, pct_enable)); in arm_spe_event_to_pmscr() 415 reg |= FIELD_PREP(PMSIRR_EL1_RND, ATTR_CFG_GET_FLD(attr, jitter)); in arm_spe_event_to_pmsirr() 426 reg |= FIELD_PREP(PMSFCR_EL1_LD, ATTR_CFG_GET_FLD(attr, load_filter)); in arm_spe_event_to_pmsfcr() 427 reg |= FIELD_PREP(PMSFCR_EL1_LDm, ATTR_CFG_GET_FLD(attr, load_filter_mask)); in arm_spe_event_to_pmsfcr() 428 reg |= FIELD_PREP(PMSFCR_EL1_ST, ATTR_CFG_GET_FLD(attr, store_filter)); in arm_spe_event_to_pmsfcr() 429 reg |= FIELD_PREP(PMSFCR_EL1_STm, ATTR_CFG_GET_FLD(attr, store_filter_mask)); in arm_spe_event_to_pmsfcr() 430 reg |= FIELD_PREP(PMSFCR_EL1_B, ATTR_CFG_GET_FLD(attr, branch_filter)); in arm_spe_event_to_pmsfcr() 431 reg |= FIELD_PREP(PMSFCR_EL1_Bm, ATTR_CFG_GET_FLD(attr, branch_filter_mask)); in arm_spe_event_to_pmsfcr() [all …]
|
| H A D | arm_dmc620_pmu.c | 207 #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 D | arm_pmuv3.c | 333 return ATTR_CFG_GET_FLD(&event->attr, long); in armv8pmu_event_is_64bit() 338 return ATTR_CFG_GET_FLD(&event->attr, rdpmc); in armv8pmu_event_want_user_access() 343 return ATTR_CFG_GET_FLD(attr, threshold); in armv8pmu_event_get_threshold() 348 u8 th_compare = ATTR_CFG_GET_FLD(attr, threshold_compare); in armv8pmu_event_threshold_control() 349 u8 th_count = ATTR_CFG_GET_FLD(attr, threshold_count); in armv8pmu_event_threshold_control()
|
| /linux/drivers/hwtracing/coresight/ |
| H A D | coresight-etm4x-core.c | 785 if (ATTR_CFG_GET_FLD(attr, cycacc)) { in etm4_parse_event_config() 788 cc_threshold = ATTR_CFG_GET_FLD(attr, cc_threshold); in etm4_parse_event_config() 796 ts_level = max(ATTR_CFG_GET_FLD(attr, timestamp), in etm4_parse_event_config() 797 ATTR_CFG_GET_FLD(attr, deprecated_timestamp)); in etm4_parse_event_config() 803 if (ts_level != ATTR_CFG_GET_FLD(&max_timestamp, timestamp)) { in etm4_parse_event_config() 819 if (ATTR_CFG_GET_FLD(attr, contextid1) && in etm4_parse_event_config() 829 if (ATTR_CFG_GET_FLD(attr, contextid2)) { in etm4_parse_event_config() 840 if (ATTR_CFG_GET_FLD(attr, retstack) && drvdata->retstack) in etm4_parse_event_config() 848 cfg_hash = ATTR_CFG_GET_FLD(attr, configid); in etm4_parse_event_config() 850 preset = ATTR_CFG_GET_FLD(attr, preset); in etm4_parse_event_config() [all …]
|
| H A D | coresight-etm3x-core.c | 339 if (ATTR_CFG_GET_FLD(attr, cycacc)) in etm_parse_event_config() 342 ts_level = max(ATTR_CFG_GET_FLD(attr, timestamp), in etm_parse_event_config() 343 ATTR_CFG_GET_FLD(attr, deprecated_timestamp)); in etm_parse_event_config() 359 if (ATTR_CFG_GET_FLD(attr, retstack) && in etm_parse_event_config()
|
| H A D | coresight-etm-perf.c | 334 sink_hash = ATTR_CFG_GET_FLD(&event->attr, sinkid); in etm_setup_aux() 339 cfg_hash = ATTR_CFG_GET_FLD(&event->attr, configid); in etm_setup_aux()
|
| /linux/include/linux/perf/ |
| H A D | arm_pmu.h | 218 #define ATTR_CFG_GET_FLD(attr, name) \ macro
|