Lines Matching refs:mc_reg_table

2875 	struct ni_mc_reg_table *ni_table = &ni_pi->mc_reg_table;  in ni_initialize_mc_reg_table()
2922 SMC_NIslands_MCRegisters *mc_reg_table) in ni_populate_mc_reg_addresses() argument
2927 for (i = 0, j = 0; j < ni_pi->mc_reg_table.last; j++) { in ni_populate_mc_reg_addresses()
2928 if (ni_pi->mc_reg_table.valid_flag & (1 << j)) { in ni_populate_mc_reg_addresses()
2931 mc_reg_table->address[i].s0 = in ni_populate_mc_reg_addresses()
2932 cpu_to_be16(ni_pi->mc_reg_table.mc_reg_address[j].s0); in ni_populate_mc_reg_addresses()
2933 mc_reg_table->address[i].s1 = in ni_populate_mc_reg_addresses()
2934 cpu_to_be16(ni_pi->mc_reg_table.mc_reg_address[j].s1); in ni_populate_mc_reg_addresses()
2938 mc_reg_table->last = (u8)i; in ni_populate_mc_reg_addresses()
2963 for (i = 0; i < ni_pi->mc_reg_table.num_entries; i++) { in ni_convert_mc_reg_table_entry_to_smc()
2964 if (pl->mclk <= ni_pi->mc_reg_table.mc_reg_table_entry[i].mclk_max) in ni_convert_mc_reg_table_entry_to_smc()
2968 if ((i == ni_pi->mc_reg_table.num_entries) && (i > 0)) in ni_convert_mc_reg_table_entry_to_smc()
2971 ni_convert_mc_registers(&ni_pi->mc_reg_table.mc_reg_table_entry[i], in ni_convert_mc_reg_table_entry_to_smc()
2973 ni_pi->mc_reg_table.last, in ni_convert_mc_reg_table_entry_to_smc()
2974 ni_pi->mc_reg_table.valid_flag); in ni_convert_mc_reg_table_entry_to_smc()
2979 SMC_NIslands_MCRegisters *mc_reg_table) in ni_convert_mc_reg_table_to_smc() argument
2987 &mc_reg_table->data[NISLANDS_MCREGISTERTABLE_FIRST_DRIVERSTATE_SLOT + i]); in ni_convert_mc_reg_table_to_smc()
2998 SMC_NIslands_MCRegisters *mc_reg_table = &ni_pi->smc_mc_reg_table; in ni_populate_mc_reg_table() local
3000 memset(mc_reg_table, 0, sizeof(SMC_NIslands_MCRegisters)); in ni_populate_mc_reg_table()
3004 ni_populate_mc_reg_addresses(rdev, mc_reg_table); in ni_populate_mc_reg_table()
3007 &mc_reg_table->data[0]); in ni_populate_mc_reg_table()
3009 ni_convert_mc_registers(&ni_pi->mc_reg_table.mc_reg_table_entry[0], in ni_populate_mc_reg_table()
3010 &mc_reg_table->data[1], in ni_populate_mc_reg_table()
3011 ni_pi->mc_reg_table.last, in ni_populate_mc_reg_table()
3012 ni_pi->mc_reg_table.valid_flag); in ni_populate_mc_reg_table()
3014 ni_convert_mc_reg_table_to_smc(rdev, radeon_boot_state, mc_reg_table); in ni_populate_mc_reg_table()
3017 (u8 *)mc_reg_table, in ni_populate_mc_reg_table()
3029 SMC_NIslands_MCRegisters *mc_reg_table = &ni_pi->smc_mc_reg_table; in ni_upload_mc_reg_table() local
3032 memset(mc_reg_table, 0, sizeof(SMC_NIslands_MCRegisters)); in ni_upload_mc_reg_table()
3034 ni_convert_mc_reg_table_to_smc(rdev, radeon_new_state, mc_reg_table); in ni_upload_mc_reg_table()
3040 (u8 *)&mc_reg_table->data[NISLANDS_MCREGISTERTABLE_FIRST_DRIVERSTATE_SLOT], in ni_upload_mc_reg_table()