Searched refs:hardcode_pptable (Results 1 – 6 of 6) sorted by relevance
653 if (!smu_table->power_play_table && !smu_table->hardcode_pptable) in smu_sys_set_pp_table() 656 if (smu_table->hardcode_pptable) in smu_sys_set_pp_table() 657 *table = smu_table->hardcode_pptable; in smu_sys_set_pp_table() 681 if (!smu_table->hardcode_pptable || smu_table->power_play_table_size < size) { in smu_sys_set_pp_table() 682 kfree(smu_table->hardcode_pptable); in smu_sys_set_pp_table() 683 smu_table->hardcode_pptable = kzalloc(size, GFP_KERNEL); in smu_sys_set_pp_table() 684 if (!smu_table->hardcode_pptable) in smu_sys_set_pp_table() 688 memcpy(smu_table->hardcode_pptable, buf, size); in smu_sys_set_pp_table() 689 smu_table->power_play_table = smu_table->hardcode_pptable; in smu_sys_set_pp_table()
427 kfree(smu_table->hardcode_pptable); in smu_v15_0_init_smc_tables() 428 smu_table->hardcode_pptable = NULL; in smu_v15_0_init_smc_tables()
449 kfree(smu_table->hardcode_pptable); in smu_v14_0_init_smc_tables() 450 smu_table->hardcode_pptable = NULL; in smu_v14_0_init_smc_tables()
368 kfree(smu_table->hardcode_pptable); in smu_v11_0_init_smc_tables() 369 smu_table->hardcode_pptable = NULL; in smu_v11_0_init_smc_tables()
481 kfree(smu_table->hardcode_pptable); in smu_v13_0_init_smc_tables() 482 smu_table->hardcode_pptable = NULL; in smu_v13_0_init_smc_tables()
387 void *hardcode_pptable; member