Lines Matching refs:smu_table
244 clock_limit = smu->smu_table.boot_values.uclk; in smu_get_dpm_freq_range()
248 clock_limit = smu->smu_table.boot_values.gfxclk; in smu_get_dpm_freq_range()
251 clock_limit = smu->smu_table.boot_values.socclk; in smu_get_dpm_freq_range()
436 struct smu_table_context *smu_table = &smu->smu_table; in smu_update_table() local
438 struct smu_table *table = NULL; in smu_update_table()
442 if (!table_data || table_id >= smu_table->table_count || table_id < 0) in smu_update_table()
445 table = &smu_table->tables[table_index]; in smu_update_table()
497 struct smu_table_context *smu_table = &smu->smu_table; in smu_sys_get_pp_table() local
499 if (!smu_table->power_play_table && !smu_table->hardcode_pptable) in smu_sys_get_pp_table()
502 if (smu_table->hardcode_pptable) in smu_sys_get_pp_table()
503 *table = smu_table->hardcode_pptable; in smu_sys_get_pp_table()
505 *table = smu_table->power_play_table; in smu_sys_get_pp_table()
507 return smu_table->power_play_table_size; in smu_sys_get_pp_table()
512 struct smu_table_context *smu_table = &smu->smu_table; in smu_sys_set_pp_table() local
524 if (!smu_table->hardcode_pptable) in smu_sys_set_pp_table()
525 smu_table->hardcode_pptable = kzalloc(size, GFP_KERNEL); in smu_sys_set_pp_table()
526 if (!smu_table->hardcode_pptable) { in smu_sys_set_pp_table()
531 memcpy(smu_table->hardcode_pptable, buf, size); in smu_sys_set_pp_table()
532 smu_table->power_play_table = smu_table->hardcode_pptable; in smu_sys_set_pp_table()
533 smu_table->power_play_table_size = size; in smu_sys_set_pp_table()
920 struct smu_table_context *smu_table = &smu->smu_table; in smu_init_fb_allocations() local
921 struct smu_table *tables = smu_table->tables; in smu_init_fb_allocations()
922 uint32_t table_count = smu_table->table_count; in smu_init_fb_allocations()
958 struct smu_table_context *smu_table = &smu->smu_table; in smu_fini_fb_allocations() local
959 struct smu_table *tables = smu_table->tables; in smu_fini_fb_allocations()
960 uint32_t table_count = smu_table->table_count; in smu_fini_fb_allocations()
1179 struct smu_table_context *smu_table = &smu->smu_table; in smu_alloc_memory_pool() local
1180 struct smu_table *memory_pool = &smu_table->memory_pool; in smu_alloc_memory_pool()
1213 struct smu_table_context *smu_table = &smu->smu_table; in smu_free_memory_pool() local
1214 struct smu_table *memory_pool = &smu_table->memory_pool; in smu_free_memory_pool()
1224 memset(memory_pool, 0, sizeof(struct smu_table)); in smu_free_memory_pool()
1298 struct smu_table_context *table_context = &smu->smu_table; in smu_hw_fini()