/Linux-v5.4/drivers/gpu/drm/amd/powerplay/smumgr/ |
D | iceland_smumgr.h | 49 uint32_t mc_data[SMU71_DISCRETE_MC_REGISTER_ARRAY_SIZE]; member
|
D | ci_smumgr.h | 50 uint32_t mc_data[SMU7_DISCRETE_MC_REGISTER_ARRAY_SIZE]; member
|
D | tonga_smumgr.h | 51 uint32_t mc_data[SMU72_DISCRETE_MC_REGISTER_ARRAY_SIZE]; member
|
D | iceland_smumgr.c | 1722 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 …]
|
D | ci_smumgr.c | 1754 data->value[i] = PP_HOST_TO_SMC_UL(entry->mc_data[j]); in ci_convert_mc_registers() 2570 ni_table->mc_reg_table_entry[i].mc_data[j] = in ci_copy_vbios_smc_reg_table() 2571 table->mc_reg_table_entry[i].mc_data[j]; in ci_copy_vbios_smc_reg_table() 2598 table->mc_reg_table_entry[k].mc_data[j] = in ci_set_mc_special_registers() 2600 ((table->mc_reg_table_entry[k].mc_data[i] & 0xffff0000) >> 16); in ci_set_mc_special_registers() 2610 table->mc_reg_table_entry[k].mc_data[j] = in ci_set_mc_special_registers() 2612 (table->mc_reg_table_entry[k].mc_data[i] & 0x0000ffff); in ci_set_mc_special_registers() 2615 table->mc_reg_table_entry[k].mc_data[j] |= 0x100; in ci_set_mc_special_registers() 2625 table->mc_reg_table_entry[k].mc_data[j] = in ci_set_mc_special_registers() 2626 (table->mc_reg_table_entry[k].mc_data[i] & 0xffff0000) >> 16; in ci_set_mc_special_registers() [all …]
|
D | tonga_smumgr.c | 2100 data->value[i] = PP_HOST_TO_SMC_UL(entry->mc_data[j]); in tonga_convert_mc_registers() 2962 ni_table->mc_reg_table_entry[i].mc_data[j] = in tonga_copy_vbios_smc_reg_table() 2963 table->mc_reg_table_entry[i].mc_data[j]; in tonga_copy_vbios_smc_reg_table() 2991 table->mc_reg_table_entry[k].mc_data[j] = in tonga_set_mc_special_registers() 2993 ((table->mc_reg_table_entry[k].mc_data[i] & 0xffff0000) >> 16); in tonga_set_mc_special_registers() 3003 table->mc_reg_table_entry[k].mc_data[j] = in tonga_set_mc_special_registers() 3005 (table->mc_reg_table_entry[k].mc_data[i] & 0x0000ffff); in tonga_set_mc_special_registers() 3008 table->mc_reg_table_entry[k].mc_data[j] |= 0x100; in tonga_set_mc_special_registers() 3018 table->mc_reg_table_entry[k].mc_data[j] = in tonga_set_mc_special_registers() 3019 (table->mc_reg_table_entry[k].mc_data[i] & 0xffff0000) >> 16; in tonga_set_mc_special_registers() [all …]
|
/Linux-v5.4/drivers/gpu/drm/radeon/ |
D | btc_dpm.c | 1908 if (table->mc_reg_table_entry[j-1].mc_data[i] != in btc_set_valid_flag() 1909 table->mc_reg_table_entry[j].mc_data[i]) { in btc_set_valid_flag() 1931 table->mc_reg_table_entry[k].mc_data[j] = in btc_set_mc_special_registers() 1933 ((table->mc_reg_table_entry[k].mc_data[i] & 0xffff0000) >> 16); in btc_set_mc_special_registers() 1944 table->mc_reg_table_entry[k].mc_data[j] = in btc_set_mc_special_registers() 1946 (table->mc_reg_table_entry[k].mc_data[i] & 0x0000ffff); in btc_set_mc_special_registers() 1948 table->mc_reg_table_entry[k].mc_data[j] |= 0x100; in btc_set_mc_special_registers() 1960 table->mc_reg_table_entry[k].mc_data[j] = in btc_set_mc_special_registers() 1962 (table->mc_reg_table_entry[k].mc_data[i] & 0x0000ffff); in btc_set_mc_special_registers() 2010 eg_table->mc_reg_table_entry[i].mc_data[j] = in btc_copy_vbios_mc_reg_table() [all …]
|
D | ci_dpm.c | 4352 table->mc_reg_table_entry[k].mc_data[j] = in ci_set_mc_special_registers() 4353 ((temp_reg & 0xffff0000)) | ((table->mc_reg_table_entry[k].mc_data[i] & 0xffff0000) >> 16); in ci_set_mc_special_registers() 4363 table->mc_reg_table_entry[k].mc_data[j] = in ci_set_mc_special_registers() 4364 (temp_reg & 0xffff0000) | (table->mc_reg_table_entry[k].mc_data[i] & 0x0000ffff); in ci_set_mc_special_registers() 4366 table->mc_reg_table_entry[k].mc_data[j] |= 0x100; in ci_set_mc_special_registers() 4376 table->mc_reg_table_entry[k].mc_data[j] = in ci_set_mc_special_registers() 4377 (table->mc_reg_table_entry[k].mc_data[i] & 0xffff0000) >> 16; in ci_set_mc_special_registers() 4389 table->mc_reg_table_entry[k].mc_data[j] = in ci_set_mc_special_registers() 4390 (temp_reg & 0xffff0000) | (table->mc_reg_table_entry[k].mc_data[i] & 0x0000ffff); in ci_set_mc_special_registers() 4486 if (table->mc_reg_table_entry[j-1].mc_data[i] != in ci_set_valid_flag() [all …]
|
D | cypress_dpm.h | 31 u32 mc_data[SMC_EVERGREEN_MC_REGISTER_ARRAY_SIZE]; member
|
D | si_dpm.h | 109 u32 mc_data[SMC_SISLANDS_MC_REGISTER_ARRAY_SIZE]; member
|
D | ni_dpm.h | 49 u32 mc_data[SMC_NISLANDS_MC_REGISTER_ARRAY_SIZE]; member
|
D | ci_dpm.h | 79 u32 mc_data[SMU7_DISCRETE_MC_REGISTER_ARRAY_SIZE]; member
|
D | ni_dpm.c | 2725 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() 2826 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() 2863 ni_table->mc_reg_table_entry[i].mc_data[j] = in ni_copy_vbios_mc_reg_table() 2864 table->mc_reg_table_entry[i].mc_data[j]; in ni_copy_vbios_mc_reg_table() [all …]
|
D | si_dpm.c | 5372 table->mc_reg_table_entry[k].mc_data[j] = in si_set_mc_special_registers() 5374 ((table->mc_reg_table_entry[k].mc_data[i] & 0xffff0000) >> 16); in si_set_mc_special_registers() 5383 table->mc_reg_table_entry[k].mc_data[j] = in si_set_mc_special_registers() 5385 (table->mc_reg_table_entry[k].mc_data[i] & 0x0000ffff); in si_set_mc_special_registers() 5387 table->mc_reg_table_entry[k].mc_data[j] |= 0x100; in si_set_mc_special_registers() 5397 table->mc_reg_table_entry[k].mc_data[j] = in si_set_mc_special_registers() 5398 (table->mc_reg_table_entry[k].mc_data[i] & 0xffff0000) >> 16; in si_set_mc_special_registers() 5409 table->mc_reg_table_entry[k].mc_data[j] = in si_set_mc_special_registers() 5411 (table->mc_reg_table_entry[k].mc_data[i] & 0x0000ffff); in si_set_mc_special_registers() 5487 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 …]
|
D | cypress_dpm.c | 822 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()
|
D | radeon_mode.h | 656 u32 mc_data[VBIOS_MC_REGISTER_ARRAY_SIZE]; member
|
D | radeon_atombios.c | 4043 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()
|
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/ |
D | si_dpm.h | 271 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
|
D | amdgpu_atombios.h | 104 u32 mc_data[VBIOS_MC_REGISTER_ARRAY_SIZE]; member
|
D | si_dpm.c | 5831 table->mc_reg_table_entry[k].mc_data[j] = in si_set_mc_special_registers() 5833 ((table->mc_reg_table_entry[k].mc_data[i] & 0xffff0000) >> 16); in si_set_mc_special_registers() 5842 table->mc_reg_table_entry[k].mc_data[j] = in si_set_mc_special_registers() 5844 (table->mc_reg_table_entry[k].mc_data[i] & 0x0000ffff); in si_set_mc_special_registers() 5846 table->mc_reg_table_entry[k].mc_data[j] |= 0x100; in si_set_mc_special_registers() 5856 table->mc_reg_table_entry[k].mc_data[j] = in si_set_mc_special_registers() 5857 (table->mc_reg_table_entry[k].mc_data[i] & 0xffff0000) >> 16; in si_set_mc_special_registers() 5866 table->mc_reg_table_entry[k].mc_data[j] = in si_set_mc_special_registers() 5868 (table->mc_reg_table_entry[k].mc_data[i] & 0x0000ffff); in si_set_mc_special_registers() 5941 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 …]
|
D | amdgpu_atombios.c | 1641 reg_table->mc_reg_table_entry[num_ranges].mc_data[i] = in amdgpu_atombios_init_mc_reg_table() 1645 reg_table->mc_reg_table_entry[num_ranges].mc_data[i] = in amdgpu_atombios_init_mc_reg_table() 1646 reg_table->mc_reg_table_entry[num_ranges].mc_data[i - 1]; in amdgpu_atombios_init_mc_reg_table()
|
/Linux-v5.4/drivers/media/dvb-frontends/drx39xyj/ |
D | drxj.c | 11635 static int drx_check_firmware(struct drx_demod_instance *demod, u8 *mc_data, in drx_check_firmware() argument 11642 u16 mc_nr_of_blks = be16_to_cpu(*(__be16 *)(mc_data + sizeof(u16))); in drx_check_firmware() 11660 block_hdr.addr = be32_to_cpu(*(__be32 *)(mc_data + count)); in drx_check_firmware() 11662 block_hdr.size = be16_to_cpu(*(__be16 *)(mc_data + count)); in drx_check_firmware() 11664 block_hdr.flags = be16_to_cpu(*(__be16 *)(mc_data + count)); in drx_check_firmware() 11666 block_hdr.CRC = be16_to_cpu(*(__be16 *)(mc_data + count)); in drx_check_firmware() 11674 u8 *auxblk = ((void *)mc_data) + block_hdr.addr; in drx_check_firmware() 11743 u8 *mc_data = NULL; in drx_ctrl_u_code() local 11776 mc_data = (void *)mc_data_init; in drx_ctrl_u_code() 11778 mc_magic_word = be16_to_cpu(*(__be16 *)(mc_data)); in drx_ctrl_u_code() [all …]
|
/Linux-v5.4/drivers/gpu/drm/amd/powerplay/hwmgr/ |
D | ppatomctrl.h | 221 uint32_t mc_data[VBIOS_MC_REGISTER_ARRAY_SIZE]; member
|
D | ppatomctrl.c | 71 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()
|