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);
938 unsigned long cfg_hash; in cscfg_config_sysfs_activate() local951 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() argument1008 err = _cscfg_activate_config(cfg_hash); in cscfg_activate_config()1022 void cscfg_deactivate_config(unsigned long cfg_hash) in cscfg_deactivate_config() argument1025 _cscfg_deactivate_config(cfg_hash); in cscfg_deactivate_config()[all …]
223 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() local330 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()
61 u32 cfg_hash; member
646 unsigned long cfg_hash; in etm4_parse_event_config() local726 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() local797 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()