Searched refs:cfg_hash (Results 1 – 3 of 3) sorted by relevance
900 static int _cscfg_activate_config(unsigned long cfg_hash) in _cscfg_activate_config() argument909 if ((unsigned long)config_desc->event_ea->var == cfg_hash) { in _cscfg_activate_config()933 static void _cscfg_deactivate_config(unsigned long cfg_hash) in _cscfg_deactivate_config() argument938 if ((unsigned long)config_desc->event_ea->var == cfg_hash) { in _cscfg_deactivate_config()953 unsigned long cfg_hash; in cscfg_config_sysfs_activate() local958 cfg_hash = (unsigned long)config_desc->event_ea->var; in cscfg_config_sysfs_activate()966 err = _cscfg_activate_config(cfg_hash); in cscfg_config_sysfs_activate()968 cscfg_mgr->sysfs_active_config = cfg_hash; in cscfg_config_sysfs_activate()971 if (cscfg_mgr->sysfs_active_config == cfg_hash) { in cscfg_config_sysfs_activate()972 _cscfg_deactivate_config(cfg_hash); in cscfg_config_sysfs_activate()[all …]
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);
228 if (event_data->cfg_hash) in free_event_data()229 cscfg_deactivate_config(event_data->cfg_hash); in free_event_data()321 u32 sink_hash, cfg_hash; in etm_setup_aux() local339 cfg_hash = ATTR_CFG_GET_FLD(&event->attr, configid); in etm_setup_aux()340 if (cfg_hash) { in etm_setup_aux()341 if (cscfg_activate_config(cfg_hash)) in etm_setup_aux()343 event_data->cfg_hash = cfg_hash; in etm_setup_aux()