Searched refs:smu_power (Results 1 – 5 of 5) sorted by relevance
580 struct smu_power_context *smu_power = &smu->smu_power; in smu_v13_0_init_power() local582 if (smu_power->power_context || smu_power->power_context_size != 0) in smu_v13_0_init_power()585 smu_power->power_context = kzalloc(sizeof(struct smu_13_0_dpm_context), in smu_v13_0_init_power()587 if (!smu_power->power_context) in smu_v13_0_init_power()589 smu_power->power_context_size = sizeof(struct smu_13_0_dpm_context); in smu_v13_0_init_power()596 struct smu_power_context *smu_power = &smu->smu_power; in smu_v13_0_fini_power() local598 if (!smu_power->power_context || smu_power->power_context_size == 0) in smu_v13_0_fini_power()601 kfree(smu_power->power_context); in smu_v13_0_fini_power()602 smu_power->power_context = NULL; in smu_v13_0_fini_power()603 smu_power->power_context_size = 0; in smu_v13_0_fini_power()
502 struct smu_power_context *smu_power = &smu->smu_power; in smu_v11_0_init_power() local507 smu_power->power_context = kzalloc(size, GFP_KERNEL); in smu_v11_0_init_power()508 if (!smu_power->power_context) in smu_v11_0_init_power()510 smu_power->power_context_size = size; in smu_v11_0_init_power()517 struct smu_power_context *smu_power = &smu->smu_power; in smu_v11_0_fini_power() local519 kfree(smu_power->power_context); in smu_v11_0_fini_power()520 smu_power->power_context = NULL; in smu_v11_0_fini_power()521 smu_power->power_context_size = 0; in smu_v11_0_fini_power()
2230 smu->smu_power.power_context; in vangogh_get_power_limit()2269 smu->smu_power.power_context; in vangogh_get_ppt_limit()2298 smu->smu_power.power_context; in vangogh_set_power_limit()
201 struct smu_power_context *smu_power = &smu->smu_power; in smu_dpm_set_vcn_enable() local202 struct smu_power_gate *power_gate = &smu_power->power_gate; in smu_dpm_set_vcn_enable()221 struct smu_power_context *smu_power = &smu->smu_power; in smu_dpm_set_jpeg_enable() local222 struct smu_power_gate *power_gate = &smu_power->power_gate; in smu_dpm_set_jpeg_enable()648 struct smu_power_context *smu_power = &smu->smu_power; in smu_set_default_dpm_table() local649 struct smu_power_gate *power_gate = &smu_power->power_gate; in smu_set_default_dpm_table()1046 atomic_set(&smu->smu_power.power_gate.vcn_gated, 1); in smu_sw_init()1047 atomic_set(&smu->smu_power.power_gate.jpeg_gated, 1); in smu_sw_init()2488 *(uint32_t *)data = atomic_read(&smu->smu_power.power_gate.vcn_gated) ? 0: 1; in smu_read_sensor()
497 struct smu_power_context smu_power; member