Lines Matching refs:mc_reg_table
5517 struct si_mc_reg_table *si_table = &si_pi->mc_reg_table; in si_initialize_mc_reg_table()
5564 SMC_SIslands_MCRegisters *mc_reg_table) in si_populate_mc_reg_addresses() argument
5569 for (i = 0, j = 0; j < si_pi->mc_reg_table.last; j++) { in si_populate_mc_reg_addresses()
5570 if (si_pi->mc_reg_table.valid_flag & (1 << j)) { in si_populate_mc_reg_addresses()
5573 mc_reg_table->address[i].s0 = in si_populate_mc_reg_addresses()
5574 cpu_to_be16(si_pi->mc_reg_table.mc_reg_address[j].s0); in si_populate_mc_reg_addresses()
5575 mc_reg_table->address[i].s1 = in si_populate_mc_reg_addresses()
5576 cpu_to_be16(si_pi->mc_reg_table.mc_reg_address[j].s1); in si_populate_mc_reg_addresses()
5580 mc_reg_table->last = (u8)i; in si_populate_mc_reg_addresses()
5604 for (i = 0; i < si_pi->mc_reg_table.num_entries; i++) { in si_convert_mc_reg_table_entry_to_smc()
5605 if (pl->mclk <= si_pi->mc_reg_table.mc_reg_table_entry[i].mclk_max) in si_convert_mc_reg_table_entry_to_smc()
5609 if ((i == si_pi->mc_reg_table.num_entries) && (i > 0)) in si_convert_mc_reg_table_entry_to_smc()
5612 si_convert_mc_registers(&si_pi->mc_reg_table.mc_reg_table_entry[i], in si_convert_mc_reg_table_entry_to_smc()
5613 mc_reg_table_data, si_pi->mc_reg_table.last, in si_convert_mc_reg_table_entry_to_smc()
5614 si_pi->mc_reg_table.valid_flag); in si_convert_mc_reg_table_entry_to_smc()
5619 SMC_SIslands_MCRegisters *mc_reg_table) in si_convert_mc_reg_table_to_smc() argument
5627 &mc_reg_table->data[SISLANDS_MCREGISTERTABLE_FIRST_DRIVERSTATE_SLOT + i]); in si_convert_mc_reg_table_to_smc()
5648 si_convert_mc_registers(&si_pi->mc_reg_table.mc_reg_table_entry[0], in si_populate_mc_reg_table()
5650 si_pi->mc_reg_table.last, in si_populate_mc_reg_table()
5651 si_pi->mc_reg_table.valid_flag); in si_populate_mc_reg_table()
5657 si_convert_mc_registers(&si_pi->mc_reg_table.mc_reg_table_entry[0], in si_populate_mc_reg_table()
5659 si_pi->mc_reg_table.last, in si_populate_mc_reg_table()
5660 si_pi->mc_reg_table.valid_flag); in si_populate_mc_reg_table()