Lines Matching refs:mc_reg_table

5537 	struct si_mc_reg_table *si_table = &si_pi->mc_reg_table;  in si_initialize_mc_reg_table()
5584 SMC_SIslands_MCRegisters *mc_reg_table) in si_populate_mc_reg_addresses() argument
5589 for (i = 0, j = 0; j < si_pi->mc_reg_table.last; j++) { in si_populate_mc_reg_addresses()
5590 if (si_pi->mc_reg_table.valid_flag & (1 << j)) { in si_populate_mc_reg_addresses()
5593 mc_reg_table->address[i].s0 = in si_populate_mc_reg_addresses()
5594 cpu_to_be16(si_pi->mc_reg_table.mc_reg_address[j].s0); in si_populate_mc_reg_addresses()
5595 mc_reg_table->address[i].s1 = in si_populate_mc_reg_addresses()
5596 cpu_to_be16(si_pi->mc_reg_table.mc_reg_address[j].s1); in si_populate_mc_reg_addresses()
5600 mc_reg_table->last = (u8)i; in si_populate_mc_reg_addresses()
5624 for (i = 0; i < si_pi->mc_reg_table.num_entries; i++) { in si_convert_mc_reg_table_entry_to_smc()
5625 if (pl->mclk <= si_pi->mc_reg_table.mc_reg_table_entry[i].mclk_max) in si_convert_mc_reg_table_entry_to_smc()
5629 if ((i == si_pi->mc_reg_table.num_entries) && (i > 0)) in si_convert_mc_reg_table_entry_to_smc()
5632 si_convert_mc_registers(&si_pi->mc_reg_table.mc_reg_table_entry[i], in si_convert_mc_reg_table_entry_to_smc()
5633 mc_reg_table_data, si_pi->mc_reg_table.last, in si_convert_mc_reg_table_entry_to_smc()
5634 si_pi->mc_reg_table.valid_flag); in si_convert_mc_reg_table_entry_to_smc()
5639 SMC_SIslands_MCRegisters *mc_reg_table) in si_convert_mc_reg_table_to_smc() argument
5647 &mc_reg_table->data[SISLANDS_MCREGISTERTABLE_FIRST_DRIVERSTATE_SLOT + i]); in si_convert_mc_reg_table_to_smc()
5668 si_convert_mc_registers(&si_pi->mc_reg_table.mc_reg_table_entry[0], in si_populate_mc_reg_table()
5670 si_pi->mc_reg_table.last, in si_populate_mc_reg_table()
5671 si_pi->mc_reg_table.valid_flag); in si_populate_mc_reg_table()
5677 si_convert_mc_registers(&si_pi->mc_reg_table.mc_reg_table_entry[0], in si_populate_mc_reg_table()
5679 si_pi->mc_reg_table.last, in si_populate_mc_reg_table()
5680 si_pi->mc_reg_table.valid_flag); in si_populate_mc_reg_table()