Lines Matching refs:gov
236 struct dbs_governor *gov; in dbs_work_handler() local
240 gov = dbs_governor_of(policy); in dbs_work_handler()
247 gov_update_sample_delay(policy_dbs, gov->gov_dbs_update(policy)); in dbs_work_handler()
350 struct dbs_governor *gov) in alloc_policy_dbs_info() argument
356 policy_dbs = gov->alloc(); in alloc_policy_dbs_info()
376 struct dbs_governor *gov) in free_policy_dbs_info() argument
388 gov->free(policy_dbs); in free_policy_dbs_info()
394 struct dbs_governor *gov = dbs_data->gov; in cpufreq_dbs_data_release() local
396 gov->exit(dbs_data); in cpufreq_dbs_data_release()
402 struct dbs_governor *gov = dbs_governor_of(policy); in cpufreq_dbs_governor_init() local
411 policy_dbs = alloc_policy_dbs_info(policy, gov); in cpufreq_dbs_governor_init()
418 dbs_data = gov->gdbs_data; in cpufreq_dbs_governor_init()
437 dbs_data->gov = gov; in cpufreq_dbs_governor_init()
440 ret = gov->init(dbs_data); in cpufreq_dbs_governor_init()
454 gov->gdbs_data = dbs_data; in cpufreq_dbs_governor_init()
459 gov->kobj_type.sysfs_ops = &governor_sysfs_ops; in cpufreq_dbs_governor_init()
460 gov->kobj_type.release = cpufreq_dbs_data_release; in cpufreq_dbs_governor_init()
461 ret = kobject_init_and_add(&dbs_data->attr_set.kobj, &gov->kobj_type, in cpufreq_dbs_governor_init()
463 "%s", gov->gov.name); in cpufreq_dbs_governor_init()
475 gov->gdbs_data = NULL; in cpufreq_dbs_governor_init()
476 gov->exit(dbs_data); in cpufreq_dbs_governor_init()
482 free_policy_dbs_info(policy_dbs, gov); in cpufreq_dbs_governor_init()
492 struct dbs_governor *gov = dbs_governor_of(policy); in cpufreq_dbs_governor_exit() local
505 gov->gdbs_data = NULL; in cpufreq_dbs_governor_exit()
507 free_policy_dbs_info(policy_dbs, gov); in cpufreq_dbs_governor_exit()
515 struct dbs_governor *gov = dbs_governor_of(policy); in cpufreq_dbs_governor_start() local
544 gov->start(policy); in cpufreq_dbs_governor_start()