Searched refs:cfg_hash (Results 1 – 5 of 5) sorted by relevance
119 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);
879 static int _cscfg_activate_config(unsigned long cfg_hash) in _cscfg_activate_config() argument888 if ((unsigned long)config_desc->event_ea->var == cfg_hash) { in _cscfg_activate_config()917 static void _cscfg_deactivate_config(unsigned long cfg_hash) in _cscfg_deactivate_config() argument922 if ((unsigned long)config_desc->event_ea->var == cfg_hash) { in _cscfg_deactivate_config()938 unsigned long cfg_hash; in cscfg_config_sysfs_activate() local943 cfg_hash = (unsigned long)config_desc->event_ea->var; in cscfg_config_sysfs_activate()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()[all …]
225 if (event_data->cfg_hash) in free_event_data()226 cscfg_deactivate_config(event_data->cfg_hash); in free_event_data()318 u32 id, cfg_hash; in etm_setup_aux() local338 cfg_hash = (u32)((event->attr.config2 & GENMASK_ULL(63, 32)) >> 32); in etm_setup_aux()339 if (cfg_hash) { in etm_setup_aux()340 if (cscfg_activate_config(cfg_hash)) in etm_setup_aux()342 event_data->cfg_hash = cfg_hash; in etm_setup_aux()
61 u32 cfg_hash; member
646 unsigned long cfg_hash; in etm4_parse_event_config() local731 cfg_hash = (u32)(attr->config2 >> 32); in etm4_parse_event_config()733 ret = cscfg_csdev_enable_active_config(csdev, cfg_hash, preset); in etm4_parse_event_config()799 unsigned long cfg_hash; in etm4_enable_sysfs() local803 cscfg_config_sysfs_get_active_cfg(&cfg_hash, &preset); in etm4_enable_sysfs()804 if (cfg_hash) { in etm4_enable_sysfs()805 ret = cscfg_csdev_enable_active_config(csdev, cfg_hash, preset); in etm4_enable_sysfs()