Searched refs:power_context (Results 1 – 4 of 4) sorted by relevance
2078 struct smu_11_5_power_context *power_context = in vangogh_get_power_limit() local2079 smu->smu_power.power_context; in vangogh_get_power_limit()2105 power_context->current_fast_ppt_limit = in vangogh_get_power_limit()2107 power_context->max_fast_ppt_limit = 30; in vangogh_get_power_limit()2117 struct smu_11_5_power_context *power_context = in vangogh_get_ppt_limit() local2118 smu->smu_power.power_context; in vangogh_get_ppt_limit()2120 if (!power_context) in vangogh_get_ppt_limit()2126 *ppt_limit = power_context->max_fast_ppt_limit; in vangogh_get_ppt_limit()2146 struct smu_11_5_power_context *power_context = in vangogh_set_power_limit() local2147 smu->smu_power.power_context; in vangogh_set_power_limit()[all …]
503 smu_power->power_context = kzalloc(size, GFP_KERNEL); in smu_v11_0_init_power()504 if (!smu_power->power_context) in smu_v11_0_init_power()515 kfree(smu_power->power_context); in smu_v11_0_fini_power()516 smu_power->power_context = NULL; in smu_v11_0_fini_power()
459 if (smu_power->power_context || smu_power->power_context_size != 0) in smu_v13_0_init_power()462 smu_power->power_context = kzalloc(sizeof(struct smu_13_0_dpm_context), in smu_v13_0_init_power()464 if (!smu_power->power_context) in smu_v13_0_init_power()475 if (!smu_power->power_context || smu_power->power_context_size == 0) in smu_v13_0_fini_power()478 kfree(smu_power->power_context); in smu_v13_0_fini_power()479 smu_power->power_context = NULL; in smu_v13_0_fini_power()
388 void *power_context; member
Completed in 18 milliseconds