Searched refs:power_context (Results 1 – 6 of 6) sorted by relevance
2330 struct smu_11_5_power_context *power_context = in vangogh_get_power_limit() local2331 smu->smu_power.power_context; in vangogh_get_power_limit()2359 power_context->current_fast_ppt_limit = in vangogh_get_power_limit()2360 power_context->default_fast_ppt_limit = ppt_limit / 1000; in vangogh_get_power_limit()2361 power_context->max_fast_ppt_limit = 30; in vangogh_get_power_limit()2371 struct smu_11_5_power_context *power_context = in vangogh_get_ppt_limit() local2372 smu->smu_power.power_context; in vangogh_get_ppt_limit()2374 if (!power_context) in vangogh_get_ppt_limit()2380 *ppt_limit = power_context->max_fast_ppt_limit; in vangogh_get_ppt_limit()2383 *ppt_limit = power_context->current_fast_ppt_limit; in vangogh_get_ppt_limit()[all …]
478 smu_power->power_context = kzalloc(size, GFP_KERNEL); in smu_v11_0_init_power()479 if (!smu_power->power_context) in smu_v11_0_init_power()490 kfree(smu_power->power_context); in smu_v11_0_fini_power()491 smu_power->power_context = NULL; in smu_v11_0_fini_power()
532 if (smu_power->power_context || smu_power->power_context_size != 0) in smu_v14_0_init_power()535 smu_power->power_context = kzalloc(sizeof(struct smu_14_0_dpm_context), in smu_v14_0_init_power()537 if (!smu_power->power_context) in smu_v14_0_init_power()548 if (!smu_power->power_context || smu_power->power_context_size == 0) in smu_v14_0_fini_power()551 kfree(smu_power->power_context); in smu_v14_0_fini_power()552 smu_power->power_context = NULL; in smu_v14_0_fini_power()
549 if (smu_power->power_context || smu_power->power_context_size != 0) in smu_v13_0_init_power()552 smu_power->power_context = kzalloc(sizeof(struct smu_13_0_power_context), in smu_v13_0_init_power()554 if (!smu_power->power_context) in smu_v13_0_init_power()565 if (!smu_power->power_context || smu_power->power_context_size == 0) in smu_v13_0_fini_power()568 kfree(smu_power->power_context); in smu_v13_0_fini_power()569 smu_power->power_context = NULL; in smu_v13_0_fini_power()
944 struct smu_13_0_power_context *power_context = smu_power->power_context; in smu_v13_0_6_get_throttler_status() local947 throttler_status = atomic_read(&power_context->throttle_status); in smu_v13_0_6_get_throttler_status()1535 struct smu_13_0_power_context *power_context = smu_power->power_context; in smu_v13_0_6_irq_process() local1568 &power_context->throttle_status, in smu_v13_0_6_irq_process()
409 void *power_context; member