Lines Matching refs:mc_reg_table

2876 	struct ni_mc_reg_table *ni_table = &ni_pi->mc_reg_table;  in ni_initialize_mc_reg_table()
2923 SMC_NIslands_MCRegisters *mc_reg_table) in ni_populate_mc_reg_addresses() argument
2928 for (i = 0, j = 0; j < ni_pi->mc_reg_table.last; j++) { in ni_populate_mc_reg_addresses()
2929 if (ni_pi->mc_reg_table.valid_flag & (1 << j)) { in ni_populate_mc_reg_addresses()
2932 mc_reg_table->address[i].s0 = in ni_populate_mc_reg_addresses()
2933 cpu_to_be16(ni_pi->mc_reg_table.mc_reg_address[j].s0); in ni_populate_mc_reg_addresses()
2934 mc_reg_table->address[i].s1 = in ni_populate_mc_reg_addresses()
2935 cpu_to_be16(ni_pi->mc_reg_table.mc_reg_address[j].s1); in ni_populate_mc_reg_addresses()
2939 mc_reg_table->last = (u8)i; in ni_populate_mc_reg_addresses()
2964 for (i = 0; i < ni_pi->mc_reg_table.num_entries; i++) { in ni_convert_mc_reg_table_entry_to_smc()
2965 if (pl->mclk <= ni_pi->mc_reg_table.mc_reg_table_entry[i].mclk_max) in ni_convert_mc_reg_table_entry_to_smc()
2969 if ((i == ni_pi->mc_reg_table.num_entries) && (i > 0)) in ni_convert_mc_reg_table_entry_to_smc()
2972 ni_convert_mc_registers(&ni_pi->mc_reg_table.mc_reg_table_entry[i], in ni_convert_mc_reg_table_entry_to_smc()
2974 ni_pi->mc_reg_table.last, in ni_convert_mc_reg_table_entry_to_smc()
2975 ni_pi->mc_reg_table.valid_flag); in ni_convert_mc_reg_table_entry_to_smc()
2980 SMC_NIslands_MCRegisters *mc_reg_table) in ni_convert_mc_reg_table_to_smc() argument
2988 &mc_reg_table->data[NISLANDS_MCREGISTERTABLE_FIRST_DRIVERSTATE_SLOT + i]); in ni_convert_mc_reg_table_to_smc()
2999 SMC_NIslands_MCRegisters *mc_reg_table = &ni_pi->smc_mc_reg_table; in ni_populate_mc_reg_table() local
3001 memset(mc_reg_table, 0, sizeof(SMC_NIslands_MCRegisters)); in ni_populate_mc_reg_table()
3005 ni_populate_mc_reg_addresses(rdev, mc_reg_table); in ni_populate_mc_reg_table()
3008 &mc_reg_table->data[0]); in ni_populate_mc_reg_table()
3010 ni_convert_mc_registers(&ni_pi->mc_reg_table.mc_reg_table_entry[0], in ni_populate_mc_reg_table()
3011 &mc_reg_table->data[1], in ni_populate_mc_reg_table()
3012 ni_pi->mc_reg_table.last, in ni_populate_mc_reg_table()
3013 ni_pi->mc_reg_table.valid_flag); in ni_populate_mc_reg_table()
3015 ni_convert_mc_reg_table_to_smc(rdev, radeon_boot_state, mc_reg_table); in ni_populate_mc_reg_table()
3018 (u8 *)mc_reg_table, in ni_populate_mc_reg_table()
3030 SMC_NIslands_MCRegisters *mc_reg_table = &ni_pi->smc_mc_reg_table; in ni_upload_mc_reg_table() local
3033 memset(mc_reg_table, 0, sizeof(SMC_NIslands_MCRegisters)); in ni_upload_mc_reg_table()
3035 ni_convert_mc_reg_table_to_smc(rdev, radeon_new_state, mc_reg_table); in ni_upload_mc_reg_table()
3041 (u8 *)&mc_reg_table->data[NISLANDS_MCREGISTERTABLE_FIRST_DRIVERSTATE_SLOT], in ni_upload_mc_reg_table()