Searched refs:dpm_context (Results 1 – 12 of 12) sorted by relevance
271 smu_dpm->dpm_context = kzalloc(sizeof(struct smu_13_0_dpm_context), in aldebaran_allocate_dpm_context()273 if (!smu_dpm->dpm_context) in aldebaran_allocate_dpm_context()309 struct smu_13_0_dpm_context *dpm_context = smu->smu_dpm.dpm_context; in aldebaran_set_default_dpm_table() local315 dpm_table = &dpm_context->dpm_tables.soc_table; in aldebaran_set_default_dpm_table()331 dpm_table = &dpm_context->dpm_tables.gfx_table; in aldebaran_set_default_dpm_table()350 dpm_table = &dpm_context->dpm_tables.uclk_table; in aldebaran_set_default_dpm_table()366 dpm_table = &dpm_context->dpm_tables.fclk_table; in aldebaran_set_default_dpm_table()507 struct smu_13_0_dpm_context *dpm_context = in aldebaran_populate_umd_state_clk() local508 smu->smu_dpm.dpm_context; in aldebaran_populate_umd_state_clk()510 &dpm_context->dpm_tables.gfx_table; in aldebaran_populate_umd_state_clk()[all …]
514 smu_dpm->dpm_context = kzalloc(sizeof(struct smu_13_0_dpm_context), in smu_v13_0_7_allocate_dpm_context()516 if (!smu_dpm->dpm_context) in smu_v13_0_7_allocate_dpm_context()541 struct smu_13_0_dpm_context *dpm_context = smu->smu_dpm.dpm_context; in smu_v13_0_7_set_default_dpm_table() local550 dpm_table = &dpm_context->dpm_tables.soc_table; in smu_v13_0_7_set_default_dpm_table()566 dpm_table = &dpm_context->dpm_tables.gfx_table; in smu_v13_0_7_set_default_dpm_table()582 dpm_table = &dpm_context->dpm_tables.uclk_table; in smu_v13_0_7_set_default_dpm_table()598 dpm_table = &dpm_context->dpm_tables.fclk_table; in smu_v13_0_7_set_default_dpm_table()614 dpm_table = &dpm_context->dpm_tables.vclk_table; in smu_v13_0_7_set_default_dpm_table()630 dpm_table = &dpm_context->dpm_tables.dclk_table; in smu_v13_0_7_set_default_dpm_table()646 pcie_table = &dpm_context->dpm_tables.pcie_table; in smu_v13_0_7_set_default_dpm_table()[all …]
460 smu_dpm->dpm_context = kzalloc(sizeof(struct smu_13_0_dpm_context), in smu_v13_0_0_allocate_dpm_context()462 if (!smu_dpm->dpm_context) in smu_v13_0_0_allocate_dpm_context()487 struct smu_13_0_dpm_context *dpm_context = smu->smu_dpm.dpm_context; in smu_v13_0_0_set_default_dpm_table() local497 dpm_table = &dpm_context->dpm_tables.soc_table; in smu_v13_0_0_set_default_dpm_table()513 dpm_table = &dpm_context->dpm_tables.gfx_table; in smu_v13_0_0_set_default_dpm_table()529 dpm_table = &dpm_context->dpm_tables.uclk_table; in smu_v13_0_0_set_default_dpm_table()545 dpm_table = &dpm_context->dpm_tables.fclk_table; in smu_v13_0_0_set_default_dpm_table()561 dpm_table = &dpm_context->dpm_tables.vclk_table; in smu_v13_0_0_set_default_dpm_table()577 dpm_table = &dpm_context->dpm_tables.dclk_table; in smu_v13_0_0_set_default_dpm_table()593 pcie_table = &dpm_context->dpm_tables.pcie_table; in smu_v13_0_0_set_default_dpm_table()[all …]
561 kfree(smu_dpm->dpm_context); in smu_v13_0_fini_smc_tables()565 smu_dpm->dpm_context = NULL; in smu_v13_0_fini_smc_tables()1701 struct smu_13_0_dpm_context *dpm_context = in smu_v13_0_set_performance_level() local1702 smu->smu_dpm.dpm_context; in smu_v13_0_set_performance_level()1704 &dpm_context->dpm_tables.gfx_table; in smu_v13_0_set_performance_level()1706 &dpm_context->dpm_tables.uclk_table; in smu_v13_0_set_performance_level()1708 &dpm_context->dpm_tables.soc_table; in smu_v13_0_set_performance_level()1710 &dpm_context->dpm_tables.vclk_table; in smu_v13_0_set_performance_level()1712 &dpm_context->dpm_tables.dclk_table; in smu_v13_0_set_performance_level()1714 &dpm_context->dpm_tables.fclk_table; in smu_v13_0_set_performance_level()
937 smu_dpm->dpm_context = kzalloc(sizeof(struct smu_11_0_dpm_context), in navi10_allocate_dpm_context()939 if (!smu_dpm->dpm_context) in navi10_allocate_dpm_context()964 struct smu_11_0_dpm_context *dpm_context = smu->smu_dpm.dpm_context; in navi10_set_default_dpm_table() local970 dpm_table = &dpm_context->dpm_tables.soc_table; in navi10_set_default_dpm_table()988 dpm_table = &dpm_context->dpm_tables.gfx_table; in navi10_set_default_dpm_table()1006 dpm_table = &dpm_context->dpm_tables.uclk_table; in navi10_set_default_dpm_table()1024 dpm_table = &dpm_context->dpm_tables.vclk_table; in navi10_set_default_dpm_table()1042 dpm_table = &dpm_context->dpm_tables.dclk_table; in navi10_set_default_dpm_table()1060 dpm_table = &dpm_context->dpm_tables.dcef_table; in navi10_set_default_dpm_table()1078 dpm_table = &dpm_context->dpm_tables.pixel_table; in navi10_set_default_dpm_table()[all …]
290 smu_dpm->dpm_context = kzalloc(sizeof(struct smu_11_0_dpm_context), in arcturus_allocate_dpm_context()292 if (!smu_dpm->dpm_context) in arcturus_allocate_dpm_context()329 struct smu_11_0_dpm_context *dpm_context = smu->smu_dpm.dpm_context; in arcturus_set_default_dpm_table() local335 dpm_table = &dpm_context->dpm_tables.soc_table; in arcturus_set_default_dpm_table()353 dpm_table = &dpm_context->dpm_tables.gfx_table; in arcturus_set_default_dpm_table()371 dpm_table = &dpm_context->dpm_tables.uclk_table; in arcturus_set_default_dpm_table()389 dpm_table = &dpm_context->dpm_tables.fclk_table; in arcturus_set_default_dpm_table()531 struct smu_11_0_dpm_context *dpm_context = in arcturus_populate_umd_state_clk() local532 smu->smu_dpm.dpm_context; in arcturus_populate_umd_state_clk()534 &dpm_context->dpm_tables.gfx_table; in arcturus_populate_umd_state_clk()[all …]
893 smu_dpm->dpm_context = kzalloc(sizeof(struct smu_11_0_dpm_context), in sienna_cichlid_allocate_dpm_context()895 if (!smu_dpm->dpm_context) in sienna_cichlid_allocate_dpm_context()926 struct smu_11_0_dpm_context *dpm_context = smu->smu_dpm.dpm_context; in sienna_cichlid_set_default_dpm_table() local933 dpm_table = &dpm_context->dpm_tables.soc_table; in sienna_cichlid_set_default_dpm_table()952 dpm_table = &dpm_context->dpm_tables.gfx_table; in sienna_cichlid_set_default_dpm_table()970 dpm_table = &dpm_context->dpm_tables.uclk_table; in sienna_cichlid_set_default_dpm_table()988 dpm_table = &dpm_context->dpm_tables.fclk_table; in sienna_cichlid_set_default_dpm_table()1010 dpm_table = &dpm_context->dpm_tables.vclk_table; in sienna_cichlid_set_default_dpm_table()1032 dpm_table = &dpm_context->dpm_tables.dclk_table; in sienna_cichlid_set_default_dpm_table()1051 dpm_table = &dpm_context->dpm_tables.dcef_table; in sienna_cichlid_set_default_dpm_table()[all …]
486 kfree(smu_dpm->dpm_context); in smu_v11_0_fini_smc_tables()490 smu_dpm->dpm_context = NULL; in smu_v11_0_fini_smc_tables()1850 struct smu_11_0_dpm_context *dpm_context = in smu_v11_0_set_performance_level() local1851 smu->smu_dpm.dpm_context; in smu_v11_0_set_performance_level()1853 &dpm_context->dpm_tables.gfx_table; in smu_v11_0_set_performance_level()1855 &dpm_context->dpm_tables.uclk_table; in smu_v11_0_set_performance_level()1857 &dpm_context->dpm_tables.soc_table; in smu_v11_0_set_performance_level()
449 smu_dpm->dpm_context = kzalloc(sizeof(struct smu_11_0_dpm_context), in vangogh_allocate_dpm_context()451 if (!smu_dpm->dpm_context) in vangogh_allocate_dpm_context()
1716 if (!smu->is_apu && !smu_dpm_ctx->dpm_context) in smu_enable_umd_pstate()1890 if (!smu->is_apu && !smu_dpm_ctx->dpm_context) in smu_get_performance_level()1906 if (!smu->is_apu && !smu_dpm_ctx->dpm_context) in smu_force_performance_level()
368 void *dpm_context; member
624 if (!smu_dpm_ctx->dpm_context || in renoir_get_current_power_state()