Lines Matching refs:cfg_hash
879 static int _cscfg_activate_config(unsigned long cfg_hash) in _cscfg_activate_config() argument
888 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() argument
922 if ((unsigned long)config_desc->event_ea->var == cfg_hash) { in _cscfg_deactivate_config()
938 unsigned long cfg_hash; in cscfg_config_sysfs_activate() local
943 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()
980 void cscfg_config_sysfs_get_active_cfg(unsigned long *cfg_hash, int *preset) in cscfg_config_sysfs_get_active_cfg() argument
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()
1047 unsigned long cfg_hash, int preset) in cscfg_csdev_enable_active_config() argument
1066 ((unsigned long)config_desc->event_ea->var == cfg_hash)) { in cscfg_csdev_enable_active_config()