Searched refs:dpm_context (Results 1 – 12 of 12) sorted by relevance
493 smu_dpm->dpm_context = kzalloc(sizeof(struct smu_13_0_dpm_context), in smu_v13_0_7_allocate_dpm_context()495 if (!smu_dpm->dpm_context) in smu_v13_0_7_allocate_dpm_context()520 struct smu_13_0_dpm_context *dpm_context = smu->smu_dpm.dpm_context; in smu_v13_0_7_set_default_dpm_table() local529 dpm_table = &dpm_context->dpm_tables.soc_table; in smu_v13_0_7_set_default_dpm_table()545 dpm_table = &dpm_context->dpm_tables.gfx_table; in smu_v13_0_7_set_default_dpm_table()561 dpm_table = &dpm_context->dpm_tables.uclk_table; in smu_v13_0_7_set_default_dpm_table()577 dpm_table = &dpm_context->dpm_tables.fclk_table; in smu_v13_0_7_set_default_dpm_table()593 dpm_table = &dpm_context->dpm_tables.vclk_table; in smu_v13_0_7_set_default_dpm_table()609 dpm_table = &dpm_context->dpm_tables.dclk_table; in smu_v13_0_7_set_default_dpm_table()625 pcie_table = &dpm_context->dpm_tables.pcie_table; in smu_v13_0_7_set_default_dpm_table()[all …]
265 smu_dpm->dpm_context = kzalloc(sizeof(struct smu_13_0_dpm_context), in aldebaran_allocate_dpm_context()267 if (!smu_dpm->dpm_context) in aldebaran_allocate_dpm_context()303 struct smu_13_0_dpm_context *dpm_context = smu->smu_dpm.dpm_context; in aldebaran_set_default_dpm_table() local309 dpm_table = &dpm_context->dpm_tables.soc_table; in aldebaran_set_default_dpm_table()325 dpm_table = &dpm_context->dpm_tables.gfx_table; in aldebaran_set_default_dpm_table()344 dpm_table = &dpm_context->dpm_tables.uclk_table; in aldebaran_set_default_dpm_table()360 dpm_table = &dpm_context->dpm_tables.fclk_table; in aldebaran_set_default_dpm_table()501 struct smu_13_0_dpm_context *dpm_context = in aldebaran_populate_umd_state_clk() local502 smu->smu_dpm.dpm_context; in aldebaran_populate_umd_state_clk()504 &dpm_context->dpm_tables.gfx_table; in aldebaran_populate_umd_state_clk()[all …]
469 smu_dpm->dpm_context = kzalloc(sizeof(struct smu_13_0_dpm_context), in smu_v13_0_0_allocate_dpm_context()471 if (!smu_dpm->dpm_context) in smu_v13_0_0_allocate_dpm_context()496 struct smu_13_0_dpm_context *dpm_context = smu->smu_dpm.dpm_context; in smu_v13_0_0_set_default_dpm_table() local506 dpm_table = &dpm_context->dpm_tables.soc_table; in smu_v13_0_0_set_default_dpm_table()522 dpm_table = &dpm_context->dpm_tables.gfx_table; in smu_v13_0_0_set_default_dpm_table()538 dpm_table = &dpm_context->dpm_tables.uclk_table; in smu_v13_0_0_set_default_dpm_table()554 dpm_table = &dpm_context->dpm_tables.fclk_table; in smu_v13_0_0_set_default_dpm_table()570 dpm_table = &dpm_context->dpm_tables.vclk_table; in smu_v13_0_0_set_default_dpm_table()586 dpm_table = &dpm_context->dpm_tables.dclk_table; in smu_v13_0_0_set_default_dpm_table()602 pcie_table = &dpm_context->dpm_tables.pcie_table; in smu_v13_0_0_set_default_dpm_table()[all …]
582 kfree(smu_dpm->dpm_context); in smu_v13_0_fini_smc_tables()586 smu_dpm->dpm_context = NULL; in smu_v13_0_fini_smc_tables()1691 struct smu_13_0_dpm_context *dpm_context = in smu_v13_0_set_performance_level() local1692 smu->smu_dpm.dpm_context; in smu_v13_0_set_performance_level()1694 &dpm_context->dpm_tables.gfx_table; in smu_v13_0_set_performance_level()1696 &dpm_context->dpm_tables.uclk_table; in smu_v13_0_set_performance_level()1698 &dpm_context->dpm_tables.soc_table; in smu_v13_0_set_performance_level()1700 &dpm_context->dpm_tables.vclk_table; in smu_v13_0_set_performance_level()1702 &dpm_context->dpm_tables.dclk_table; in smu_v13_0_set_performance_level()1704 &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 …]
875 smu_dpm->dpm_context = kzalloc(sizeof(struct smu_11_0_dpm_context), in sienna_cichlid_allocate_dpm_context()877 if (!smu_dpm->dpm_context) in sienna_cichlid_allocate_dpm_context()906 struct smu_11_0_dpm_context *dpm_context = smu->smu_dpm.dpm_context; in sienna_cichlid_set_default_dpm_table() local913 dpm_table = &dpm_context->dpm_tables.soc_table; in sienna_cichlid_set_default_dpm_table()932 dpm_table = &dpm_context->dpm_tables.gfx_table; in sienna_cichlid_set_default_dpm_table()950 dpm_table = &dpm_context->dpm_tables.uclk_table; in sienna_cichlid_set_default_dpm_table()968 dpm_table = &dpm_context->dpm_tables.fclk_table; in sienna_cichlid_set_default_dpm_table()990 dpm_table = &dpm_context->dpm_tables.vclk_table; in sienna_cichlid_set_default_dpm_table()1012 dpm_table = &dpm_context->dpm_tables.dclk_table; in sienna_cichlid_set_default_dpm_table()1031 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()
432 smu_dpm->dpm_context = kzalloc(sizeof(struct smu_11_0_dpm_context), in vangogh_allocate_dpm_context()434 if (!smu_dpm->dpm_context) in vangogh_allocate_dpm_context()
1653 if (!smu->is_apu && !smu_dpm_ctx->dpm_context) in smu_enable_umd_pstate()1827 if (!smu->is_apu && !smu_dpm_ctx->dpm_context) in smu_get_performance_level()1843 if (!smu->is_apu && !smu_dpm_ctx->dpm_context) in smu_force_performance_level()
368 void *dpm_context; member
615 if (!smu_dpm_ctx->dpm_context || in renoir_get_current_power_state()