Home
last modified time | relevance | path

Searched refs:smu_power (Results 1 – 7 of 7) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu14/
Dsmu_v14_0.c530 struct smu_power_context *smu_power = &smu->smu_power; in smu_v14_0_init_power() local
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()
539 smu_power->power_context_size = sizeof(struct smu_14_0_dpm_context); in smu_v14_0_init_power()
546 struct smu_power_context *smu_power = &smu->smu_power; in smu_v14_0_fini_power() local
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()
553 smu_power->power_context_size = 0; in smu_v14_0_fini_power()
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/
Damdgpu_smu.c238 struct smu_power_context *smu_power = &smu->smu_power; in smu_dpm_set_vcn_enable() local
239 struct smu_power_gate *power_gate = &smu_power->power_gate; in smu_dpm_set_vcn_enable()
264 struct smu_power_context *smu_power = &smu->smu_power; in smu_dpm_set_jpeg_enable() local
265 struct smu_power_gate *power_gate = &smu_power->power_gate; in smu_dpm_set_jpeg_enable()
287 struct smu_power_context *smu_power = &smu->smu_power; in smu_dpm_set_vpe_enable() local
288 struct smu_power_gate *power_gate = &smu_power->power_gate; in smu_dpm_set_vpe_enable()
307 struct smu_power_context *smu_power = &smu->smu_power; in smu_dpm_set_umsch_mm_enable() local
308 struct smu_power_gate *power_gate = &smu_power->power_gate; in smu_dpm_set_umsch_mm_enable()
776 struct smu_power_context *smu_power = &smu->smu_power; in smu_set_default_dpm_table() local
777 struct smu_power_gate *power_gate = &smu_power->power_gate; in smu_set_default_dpm_table()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu13/
Dsmu_v13_0.c547 struct smu_power_context *smu_power = &smu->smu_power; in smu_v13_0_init_power() local
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()
556 smu_power->power_context_size = sizeof(struct smu_13_0_power_context); in smu_v13_0_init_power()
563 struct smu_power_context *smu_power = &smu->smu_power; in smu_v13_0_fini_power() local
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()
570 smu_power->power_context_size = 0; in smu_v13_0_fini_power()
Dsmu_v13_0_6_ppt.c943 struct smu_power_context *smu_power = &smu->smu_power; in smu_v13_0_6_get_throttler_status() local
944 struct smu_13_0_power_context *power_context = smu_power->power_context; in smu_v13_0_6_get_throttler_status()
1534 struct smu_power_context *smu_power = &smu->smu_power; in smu_v13_0_6_irq_process() local
1535 struct smu_13_0_power_context *power_context = smu_power->power_context; in smu_v13_0_6_irq_process()
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/smu11/
Dsmu_v11_0.c472 struct smu_power_context *smu_power = &smu->smu_power; in smu_v11_0_init_power() local
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()
481 smu_power->power_context_size = size; in smu_v11_0_init_power()
488 struct smu_power_context *smu_power = &smu->smu_power; in smu_v11_0_fini_power() local
490 kfree(smu_power->power_context); in smu_v11_0_fini_power()
491 smu_power->power_context = NULL; in smu_v11_0_fini_power()
492 smu_power->power_context_size = 0; in smu_v11_0_fini_power()
Dvangogh_ppt.c2331 smu->smu_power.power_context; in vangogh_get_power_limit()
2372 smu->smu_power.power_context; in vangogh_get_ppt_limit()
2401 smu->smu_power.power_context; in vangogh_set_power_limit()
/linux-6.12.1/drivers/gpu/drm/amd/pm/swsmu/inc/
Damdgpu_smu.h528 struct smu_power_context smu_power; member