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()
393 struct dbs_governor *gov = dbs_governor_of(policy); in cpufreq_dbs_governor_init() local
402 policy_dbs = alloc_policy_dbs_info(policy, gov); in cpufreq_dbs_governor_init()
409 dbs_data = gov->gdbs_data; in cpufreq_dbs_governor_init()
430 ret = gov->init(dbs_data); in cpufreq_dbs_governor_init()
444 gov->gdbs_data = dbs_data; in cpufreq_dbs_governor_init()
449 gov->kobj_type.sysfs_ops = &governor_sysfs_ops; in cpufreq_dbs_governor_init()
450 ret = kobject_init_and_add(&dbs_data->attr_set.kobj, &gov->kobj_type, in cpufreq_dbs_governor_init()
452 "%s", gov->gov.name); in cpufreq_dbs_governor_init()
464 gov->gdbs_data = NULL; in cpufreq_dbs_governor_init()
465 gov->exit(dbs_data); in cpufreq_dbs_governor_init()
469 free_policy_dbs_info(policy_dbs, gov); in cpufreq_dbs_governor_init()
479 struct dbs_governor *gov = dbs_governor_of(policy); in cpufreq_dbs_governor_exit() local
493 gov->gdbs_data = NULL; in cpufreq_dbs_governor_exit()
495 gov->exit(dbs_data); in cpufreq_dbs_governor_exit()
499 free_policy_dbs_info(policy_dbs, gov); in cpufreq_dbs_governor_exit()
507 struct dbs_governor *gov = dbs_governor_of(policy); in cpufreq_dbs_governor_start() local
536 gov->start(policy); in cpufreq_dbs_governor_start()