Home
last modified time | relevance | path

Searched refs:mc_data (Results 1 – 24 of 24) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/smumgr/
Diceland_smumgr.h49 uint32_t mc_data[SMU71_DISCRETE_MC_REGISTER_ARRAY_SIZE]; member
Dtonga_smumgr.h51 uint32_t mc_data[SMU72_DISCRETE_MC_REGISTER_ARRAY_SIZE]; member
Dci_smumgr.h50 uint32_t mc_data[SMU7_DISCRETE_MC_REGISTER_ARRAY_SIZE]; member
Diceland_smumgr.c1722 data->value[i] = PP_HOST_TO_SMC_UL(entry->mc_data[j]); in iceland_convert_mc_registers()
2499 ni_table->mc_reg_table_entry[i].mc_data[j] = in iceland_copy_vbios_smc_reg_table()
2500 table->mc_reg_table_entry[i].mc_data[j]; in iceland_copy_vbios_smc_reg_table()
2527 table->mc_reg_table_entry[k].mc_data[j] = in iceland_set_mc_special_registers()
2529 ((table->mc_reg_table_entry[k].mc_data[i] & 0xffff0000) >> 16); in iceland_set_mc_special_registers()
2539 table->mc_reg_table_entry[k].mc_data[j] = in iceland_set_mc_special_registers()
2541 (table->mc_reg_table_entry[k].mc_data[i] & 0x0000ffff); in iceland_set_mc_special_registers()
2544 table->mc_reg_table_entry[k].mc_data[j] |= 0x100; in iceland_set_mc_special_registers()
2555 table->mc_reg_table_entry[k].mc_data[j] = in iceland_set_mc_special_registers()
2556 (table->mc_reg_table_entry[k].mc_data[i] & 0xffff0000) >> 16; in iceland_set_mc_special_registers()
[all …]
Dtonga_smumgr.c2100 data->value[i] = PP_HOST_TO_SMC_UL(entry->mc_data[j]); in tonga_convert_mc_registers()
2964 ni_table->mc_reg_table_entry[i].mc_data[j] = in tonga_copy_vbios_smc_reg_table()
2965 table->mc_reg_table_entry[i].mc_data[j]; in tonga_copy_vbios_smc_reg_table()
2993 table->mc_reg_table_entry[k].mc_data[j] = in tonga_set_mc_special_registers()
2995 ((table->mc_reg_table_entry[k].mc_data[i] & 0xffff0000) >> 16); in tonga_set_mc_special_registers()
3005 table->mc_reg_table_entry[k].mc_data[j] = in tonga_set_mc_special_registers()
3007 (table->mc_reg_table_entry[k].mc_data[i] & 0x0000ffff); in tonga_set_mc_special_registers()
3010 table->mc_reg_table_entry[k].mc_data[j] |= 0x100; in tonga_set_mc_special_registers()
3020 table->mc_reg_table_entry[k].mc_data[j] = in tonga_set_mc_special_registers()
3021 (table->mc_reg_table_entry[k].mc_data[i] & 0xffff0000) >> 16; in tonga_set_mc_special_registers()
[all …]
Dci_smumgr.c1755 data->value[i] = PP_HOST_TO_SMC_UL(entry->mc_data[j]); in ci_convert_mc_registers()
2571 ni_table->mc_reg_table_entry[i].mc_data[j] = in ci_copy_vbios_smc_reg_table()
2572 table->mc_reg_table_entry[i].mc_data[j]; in ci_copy_vbios_smc_reg_table()
2599 table->mc_reg_table_entry[k].mc_data[j] = in ci_set_mc_special_registers()
2601 ((table->mc_reg_table_entry[k].mc_data[i] & 0xffff0000) >> 16); in ci_set_mc_special_registers()
2611 table->mc_reg_table_entry[k].mc_data[j] = in ci_set_mc_special_registers()
2613 (table->mc_reg_table_entry[k].mc_data[i] & 0x0000ffff); in ci_set_mc_special_registers()
2616 table->mc_reg_table_entry[k].mc_data[j] |= 0x100; in ci_set_mc_special_registers()
2626 table->mc_reg_table_entry[k].mc_data[j] = in ci_set_mc_special_registers()
2627 (table->mc_reg_table_entry[k].mc_data[i] & 0xffff0000) >> 16; in ci_set_mc_special_registers()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dbtc_dpm.c1907 if (table->mc_reg_table_entry[j-1].mc_data[i] != in btc_set_valid_flag()
1908 table->mc_reg_table_entry[j].mc_data[i]) { in btc_set_valid_flag()
1930 table->mc_reg_table_entry[k].mc_data[j] = in btc_set_mc_special_registers()
1932 ((table->mc_reg_table_entry[k].mc_data[i] & 0xffff0000) >> 16); in btc_set_mc_special_registers()
1943 table->mc_reg_table_entry[k].mc_data[j] = in btc_set_mc_special_registers()
1945 (table->mc_reg_table_entry[k].mc_data[i] & 0x0000ffff); in btc_set_mc_special_registers()
1947 table->mc_reg_table_entry[k].mc_data[j] |= 0x100; in btc_set_mc_special_registers()
1959 table->mc_reg_table_entry[k].mc_data[j] = in btc_set_mc_special_registers()
1961 (table->mc_reg_table_entry[k].mc_data[i] & 0x0000ffff); in btc_set_mc_special_registers()
2009 eg_table->mc_reg_table_entry[i].mc_data[j] = in btc_copy_vbios_mc_reg_table()
[all …]
Dci_dpm.c4337 table->mc_reg_table_entry[k].mc_data[j] = in ci_set_mc_special_registers()
4338 ((temp_reg & 0xffff0000)) | ((table->mc_reg_table_entry[k].mc_data[i] & 0xffff0000) >> 16); in ci_set_mc_special_registers()
4348 table->mc_reg_table_entry[k].mc_data[j] = in ci_set_mc_special_registers()
4349 (temp_reg & 0xffff0000) | (table->mc_reg_table_entry[k].mc_data[i] & 0x0000ffff); in ci_set_mc_special_registers()
4351 table->mc_reg_table_entry[k].mc_data[j] |= 0x100; in ci_set_mc_special_registers()
4361 table->mc_reg_table_entry[k].mc_data[j] = in ci_set_mc_special_registers()
4362 (table->mc_reg_table_entry[k].mc_data[i] & 0xffff0000) >> 16; in ci_set_mc_special_registers()
4374 table->mc_reg_table_entry[k].mc_data[j] = in ci_set_mc_special_registers()
4375 (temp_reg & 0xffff0000) | (table->mc_reg_table_entry[k].mc_data[i] & 0x0000ffff); in ci_set_mc_special_registers()
4471 if (table->mc_reg_table_entry[j-1].mc_data[i] != in ci_set_valid_flag()
[all …]
Dcypress_dpm.h31 u32 mc_data[SMC_EVERGREEN_MC_REGISTER_ARRAY_SIZE]; member
Dsi_dpm.h109 u32 mc_data[SMC_SISLANDS_MC_REGISTER_ARRAY_SIZE]; member
Dni_dpm.h49 u32 mc_data[SMC_NISLANDS_MC_REGISTER_ARRAY_SIZE]; member
Dci_dpm.h79 u32 mc_data[SMU7_DISCRETE_MC_REGISTER_ARRAY_SIZE]; member
Dni_dpm.c2725 table->mc_reg_table_entry[k].mc_data[j] = in ni_set_mc_special_registers()
2727 ((table->mc_reg_table_entry[k].mc_data[i] & 0xffff0000) >> 16); in ni_set_mc_special_registers()
2736 table->mc_reg_table_entry[k].mc_data[j] = in ni_set_mc_special_registers()
2738 (table->mc_reg_table_entry[k].mc_data[i] & 0x0000ffff); in ni_set_mc_special_registers()
2740 table->mc_reg_table_entry[k].mc_data[j] |= 0x100; in ni_set_mc_special_registers()
2751 table->mc_reg_table_entry[k].mc_data[j] = in ni_set_mc_special_registers()
2753 (table->mc_reg_table_entry[k].mc_data[i] & 0x0000ffff); in ni_set_mc_special_registers()
2824 if (table->mc_reg_table_entry[j-1].mc_data[i] != table->mc_reg_table_entry[j].mc_data[i]) { in ni_set_valid_flag()
2861 ni_table->mc_reg_table_entry[i].mc_data[j] = in ni_copy_vbios_mc_reg_table()
2862 table->mc_reg_table_entry[i].mc_data[j]; in ni_copy_vbios_mc_reg_table()
[all …]
Dsi_dpm.c5354 table->mc_reg_table_entry[k].mc_data[j] = in si_set_mc_special_registers()
5356 ((table->mc_reg_table_entry[k].mc_data[i] & 0xffff0000) >> 16); in si_set_mc_special_registers()
5365 table->mc_reg_table_entry[k].mc_data[j] = in si_set_mc_special_registers()
5367 (table->mc_reg_table_entry[k].mc_data[i] & 0x0000ffff); in si_set_mc_special_registers()
5369 table->mc_reg_table_entry[k].mc_data[j] |= 0x100; in si_set_mc_special_registers()
5379 table->mc_reg_table_entry[k].mc_data[j] = in si_set_mc_special_registers()
5380 (table->mc_reg_table_entry[k].mc_data[i] & 0xffff0000) >> 16; in si_set_mc_special_registers()
5391 table->mc_reg_table_entry[k].mc_data[j] = in si_set_mc_special_registers()
5393 (table->mc_reg_table_entry[k].mc_data[i] & 0x0000ffff); in si_set_mc_special_registers()
5469 if (table->mc_reg_table_entry[j-1].mc_data[i] != table->mc_reg_table_entry[j].mc_data[i]) { in si_set_valid_flag()
[all …]
Dcypress_dpm.c822 data->value[i] = cpu_to_be32(entry->mc_data[j]); in cypress_convert_mc_registers()
1038 entry->mc_data[i] = in cypress_retrieve_ac_timing_for_one_entry()
1062 if (eg_pi->mc_reg_table.mc_reg_table_entry[j-1].mc_data[i] != in cypress_retrieve_ac_timing_for_all_ranges()
1063 eg_pi->mc_reg_table.mc_reg_table_entry[j].mc_data[i]) { in cypress_retrieve_ac_timing_for_all_ranges()
Dradeon_mode.h655 u32 mc_data[VBIOS_MC_REGISTER_ARRAY_SIZE]; member
Dradeon_atombios.c4043 reg_table->mc_reg_table_entry[num_ranges].mc_data[i] = in radeon_atom_init_mc_reg_table()
4047 reg_table->mc_reg_table_entry[num_ranges].mc_data[i] = in radeon_atom_init_mc_reg_table()
4048 reg_table->mc_reg_table_entry[num_ranges].mc_data[i - 1]; in radeon_atom_init_mc_reg_table()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/
Dsi_dpm.h271 u32 mc_data[SMC_EVERGREEN_MC_REGISTER_ARRAY_SIZE]; member
308 u32 mc_data[SMC_NISLANDS_MC_REGISTER_ARRAY_SIZE]; member
925 u32 mc_data[SMC_SISLANDS_MC_REGISTER_ARRAY_SIZE]; member
Dsi_dpm.c5810 table->mc_reg_table_entry[k].mc_data[j] = in si_set_mc_special_registers()
5812 ((table->mc_reg_table_entry[k].mc_data[i] & 0xffff0000) >> 16); in si_set_mc_special_registers()
5821 table->mc_reg_table_entry[k].mc_data[j] = in si_set_mc_special_registers()
5823 (table->mc_reg_table_entry[k].mc_data[i] & 0x0000ffff); in si_set_mc_special_registers()
5825 table->mc_reg_table_entry[k].mc_data[j] |= 0x100; in si_set_mc_special_registers()
5835 table->mc_reg_table_entry[k].mc_data[j] = in si_set_mc_special_registers()
5836 (table->mc_reg_table_entry[k].mc_data[i] & 0xffff0000) >> 16; in si_set_mc_special_registers()
5845 table->mc_reg_table_entry[k].mc_data[j] = in si_set_mc_special_registers()
5847 (table->mc_reg_table_entry[k].mc_data[i] & 0x0000ffff); in si_set_mc_special_registers()
5920 if (table->mc_reg_table_entry[j-1].mc_data[i] != table->mc_reg_table_entry[j].mc_data[i]) { in si_set_valid_flag()
[all …]
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/drx39xyj/
Ddrxj.c11644 static int drx_check_firmware(struct drx_demod_instance *demod, u8 *mc_data, in drx_check_firmware() argument
11651 u16 mc_nr_of_blks = be16_to_cpu(*(__be16 *)(mc_data + sizeof(u16))); in drx_check_firmware()
11669 block_hdr.addr = be32_to_cpu(*(__be32 *)(mc_data + count)); in drx_check_firmware()
11671 block_hdr.size = be16_to_cpu(*(__be16 *)(mc_data + count)); in drx_check_firmware()
11673 block_hdr.flags = be16_to_cpu(*(__be16 *)(mc_data + count)); in drx_check_firmware()
11675 block_hdr.CRC = be16_to_cpu(*(__be16 *)(mc_data + count)); in drx_check_firmware()
11683 u8 *auxblk = ((void *)mc_data) + block_hdr.addr; in drx_check_firmware()
11752 u8 *mc_data = NULL; in drx_ctrl_u_code() local
11785 mc_data = (void *)mc_data_init; in drx_ctrl_u_code()
11787 mc_magic_word = be16_to_cpu(*(__be16 *)(mc_data)); in drx_ctrl_u_code()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_atombios.h104 u32 mc_data[VBIOS_MC_REGISTER_ARRAY_SIZE]; member
Damdgpu_atombios.c1625 reg_table->mc_reg_table_entry[num_ranges].mc_data[i] = in amdgpu_atombios_init_mc_reg_table()
1629 reg_table->mc_reg_table_entry[num_ranges].mc_data[i] = in amdgpu_atombios_init_mc_reg_table()
1630 reg_table->mc_reg_table_entry[num_ranges].mc_data[i - 1]; in amdgpu_atombios_init_mc_reg_table()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dppatomctrl.h212 uint32_t mc_data[VBIOS_MC_REGISTER_ARRAY_SIZE]; member
Dppatomctrl.c71 table->mc_reg_table_entry[num_ranges].mc_data[i] = in atomctrl_retrieve_ac_timing()
76 table->mc_reg_table_entry[num_ranges].mc_data[i] = in atomctrl_retrieve_ac_timing()
77 table->mc_reg_table_entry[num_ranges].mc_data[i-1]; in atomctrl_retrieve_ac_timing()