Searched refs:table_context (Results 1 – 5 of 5) sorted by relevance
722 struct smu_table_context *table_context = &smu->smu_table; in smu_v11_0_parse_pptable() local723 struct smu_table *table = &table_context->tables[SMU_TABLE_PPTABLE]; in smu_v11_0_parse_pptable()725 if (table_context->driver_pptable) in smu_v11_0_parse_pptable()728 table_context->driver_pptable = kzalloc(table->size, GFP_KERNEL); in smu_v11_0_parse_pptable()730 if (!table_context->driver_pptable) in smu_v11_0_parse_pptable()753 struct smu_table_context *table_context = &smu->smu_table; in smu_v11_0_write_pptable() local757 table_context->driver_pptable, true); in smu_v11_0_write_pptable()776 struct smu_table_context *table_context = &smu->smu_table; in smu_v11_0_set_min_dcef_deep_sleep() local780 if (!table_context) in smu_v11_0_set_min_dcef_deep_sleep()783 return smu_v11_0_set_deep_sleep_dcefclk(smu, table_context->boot_values.dcefclk / 100); in smu_v11_0_set_min_dcef_deep_sleep()[all …]
393 struct smu_table_context *table_context = &smu->smu_table; in vega20_setup_od8_information() local399 if (!table_context->power_play_table) in vega20_setup_od8_information()402 powerplay_table = table_context->power_play_table; in vega20_setup_od8_information()469 struct smu_table_context *table_context = &smu->smu_table; in vega20_store_powerplay_table() local471 if (!table_context->power_play_table) in vega20_store_powerplay_table()474 powerplay_table = table_context->power_play_table; in vega20_store_powerplay_table()476 memcpy(table_context->driver_pptable, &powerplay_table->smcPPTable, in vega20_store_powerplay_table()479 table_context->thermal_controller_type = powerplay_table->ucThermalControllerType; in vega20_store_powerplay_table()486 struct smu_table_context *table_context = &smu->smu_table; in vega20_append_powerplay_table() local487 PPTable_t *smc_pptable = table_context->driver_pptable; in vega20_append_powerplay_table()[all …]
430 struct smu_table_context *table_context = &smu->smu_table; in navi10_append_powerplay_table() local431 PPTable_t *smc_pptable = table_context->driver_pptable; in navi10_append_powerplay_table()526 struct smu_table_context *table_context = &smu->smu_table; in navi10_store_powerplay_table() local529 if (!table_context->power_play_table) in navi10_store_powerplay_table()532 powerplay_table = table_context->power_play_table; in navi10_store_powerplay_table()534 memcpy(table_context->driver_pptable, &powerplay_table->smc_pptable, in navi10_store_powerplay_table()537 table_context->thermal_controller_type = powerplay_table->thermal_controller_type; in navi10_store_powerplay_table()622 struct smu_table_context *table_context = &smu->smu_table; in navi10_set_default_dpm_table() local627 driver_ppt = table_context->driver_pptable; in navi10_set_default_dpm_table()771 struct smu_table_context *table_context = &smu->smu_table; in navi10_print_clk_levels() local[all …]
505 struct smu_table_context *table_context = &smu->smu_table; in arcturus_store_powerplay_table() local509 if (!table_context->power_play_table) in arcturus_store_powerplay_table()512 powerplay_table = table_context->power_play_table; in arcturus_store_powerplay_table()514 memcpy(table_context->driver_pptable, &powerplay_table->smc_pptable, in arcturus_store_powerplay_table()517 table_context->thermal_controller_type = powerplay_table->thermal_controller_type; in arcturus_store_powerplay_table()530 struct smu_table_context *table_context = &smu->smu_table; in arcturus_append_powerplay_table() local531 PPTable_t *smc_pptable = table_context->driver_pptable; in arcturus_append_powerplay_table()990 struct smu_table_context *table_context = &smu->smu_table; in arcturus_read_sensor() local991 PPTable_t *pptable = table_context->driver_pptable; in arcturus_read_sensor()1528 struct smu_table_context *table_context = &smu->smu_table; in arcturus_dump_pptable() local[all …]
1390 struct smu_table_context *table_context = &smu->smu_table; in smu_hw_fini() local1434 kfree(table_context->driver_pptable); in smu_hw_fini()1435 table_context->driver_pptable = NULL; in smu_hw_fini()1437 kfree(table_context->max_sustainable_clocks); in smu_hw_fini()1438 table_context->max_sustainable_clocks = NULL; in smu_hw_fini()1440 kfree(table_context->overdrive_table); in smu_hw_fini()1441 table_context->overdrive_table = NULL; in smu_hw_fini()