Home
last modified time | relevance | path

Searched refs:cfg_hash (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/hwtracing/coresight/
H A Dcoresight-syscfg.h119 int cscfg_activate_config(unsigned long cfg_hash);
120 void cscfg_deactivate_config(unsigned long cfg_hash);
123 unsigned long cfg_hash, int preset);
125 void cscfg_config_sysfs_get_active_cfg(unsigned long *cfg_hash, int *preset);
H A Dcoresight-syscfg.c938 unsigned long cfg_hash; in cscfg_config_sysfs_activate() local
951 err = _cscfg_activate_config(cfg_hash); in cscfg_config_sysfs_activate()
953 cscfg_mgr->sysfs_active_config = cfg_hash; in cscfg_config_sysfs_activate()
956 if (cscfg_mgr->sysfs_active_config == cfg_hash) { in cscfg_config_sysfs_activate()
957 _cscfg_deactivate_config(cfg_hash); in cscfg_config_sysfs_activate()
984 *cfg_hash = cscfg_mgr->sysfs_active_config; in cscfg_config_sysfs_get_active_cfg()
1003 int cscfg_activate_config(unsigned long cfg_hash) in cscfg_activate_config() argument
1008 err = _cscfg_activate_config(cfg_hash); in cscfg_activate_config()
1022 void cscfg_deactivate_config(unsigned long cfg_hash) in cscfg_deactivate_config() argument
1025 _cscfg_deactivate_config(cfg_hash); in cscfg_deactivate_config()
[all …]
H A Dcoresight-etm-perf.c223 if (event_data->cfg_hash) in free_event_data()
224 cscfg_deactivate_config(event_data->cfg_hash); in free_event_data()
307 u32 id, cfg_hash; in etm_setup_aux() local
330 cfg_hash = (u32)((event->attr.config2 & GENMASK_ULL(63, 32)) >> 32); in etm_setup_aux()
331 if (cfg_hash) { in etm_setup_aux()
332 if (cscfg_activate_config(cfg_hash)) in etm_setup_aux()
334 event_data->cfg_hash = cfg_hash; in etm_setup_aux()
H A Dcoresight-etm-perf.h61 u32 cfg_hash; member
H A Dcoresight-etm4x-core.c646 unsigned long cfg_hash; in etm4_parse_event_config() local
726 cfg_hash = (u32)(attr->config2 >> 32); in etm4_parse_event_config()
728 ret = cscfg_csdev_enable_active_config(csdev, cfg_hash, preset); in etm4_parse_event_config()
793 unsigned long cfg_hash; in etm4_enable_sysfs() local
797 cscfg_config_sysfs_get_active_cfg(&cfg_hash, &preset); in etm4_enable_sysfs()
798 if (cfg_hash) { in etm4_enable_sysfs()
799 ret = cscfg_csdev_enable_active_config(csdev, cfg_hash, preset); in etm4_enable_sysfs()