Searched refs:hardcode_pptable (Results 1 – 6 of 6) sorted by relevance
640 if (!smu_table->power_play_table && !smu_table->hardcode_pptable) in smu_sys_get_pp_table()643 if (smu_table->hardcode_pptable) in smu_sys_get_pp_table()644 *table = smu_table->hardcode_pptable; in smu_sys_get_pp_table()668 if (!smu_table->hardcode_pptable || smu_table->power_play_table_size < size) { in smu_sys_set_pp_table()669 kfree(smu_table->hardcode_pptable); in smu_sys_set_pp_table()670 smu_table->hardcode_pptable = kzalloc(size, GFP_KERNEL); in smu_sys_set_pp_table()671 if (!smu_table->hardcode_pptable) in smu_sys_set_pp_table()675 memcpy(smu_table->hardcode_pptable, buf, size); in smu_sys_set_pp_table()676 smu_table->power_play_table = smu_table->hardcode_pptable; in smu_sys_set_pp_table()
479 kfree(smu_table->hardcode_pptable); in smu_v15_0_fini_smc_tables()480 smu_table->hardcode_pptable = NULL; in smu_v15_0_fini_smc_tables()
510 kfree(smu_table->hardcode_pptable); in smu_v14_0_fini_smc_tables()511 smu_table->hardcode_pptable = NULL; in smu_v14_0_fini_smc_tables()
444 kfree(smu_table->hardcode_pptable); in smu_v11_0_fini_smc_tables()445 smu_table->hardcode_pptable = NULL; in smu_v11_0_fini_smc_tables()
523 kfree(smu_table->hardcode_pptable); in smu_v13_0_fini_smc_tables()524 smu_table->hardcode_pptable = NULL; in smu_v13_0_fini_smc_tables()
387 void *hardcode_pptable; member