Searched refs:smu_power (Results 1 – 4 of 4) sorted by relevance
530 struct smu_power_context *smu_power = &smu->smu_power; in smu_v14_0_init_power() local532 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() local548 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()
547 struct smu_power_context *smu_power = &smu->smu_power; in smu_v13_0_init_power() local549 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() local565 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()
943 struct smu_power_context *smu_power = &smu->smu_power; in smu_v13_0_6_get_throttler_status() local944 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() local1535 struct smu_13_0_power_context *power_context = smu_power->power_context; in smu_v13_0_6_irq_process()
472 struct smu_power_context *smu_power = &smu->smu_power; in smu_v11_0_init_power() local478 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() local490 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()