/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
H A D | iceland_smumgr.h | 49 uint32_t mc_data[SMU71_DISCRETE_MC_REGISTER_ARRAY_SIZE]; member
|
H A D | ci_smumgr.h | 50 uint32_t mc_data[SMU7_DISCRETE_MC_REGISTER_ARRAY_SIZE]; member
|
H A D | tonga_smumgr.h | 51 uint32_t mc_data[SMU72_DISCRETE_MC_REGISTER_ARRAY_SIZE]; member
|
H A 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 …]
|
H A D | ci_smumgr.c | 1756 data->value[i] = PP_HOST_TO_SMC_UL(entry->mc_data[j]); in ci_convert_mc_registers() 2572 ni_table->mc_reg_table_entry[i].mc_data[j] = in ci_copy_vbios_smc_reg_table() 2573 table->mc_reg_table_entry[i].mc_data[j]; in ci_copy_vbios_smc_reg_table() 2600 table->mc_reg_table_entry[k].mc_data[j] = in ci_set_mc_special_registers() 2602 ((table->mc_reg_table_entry[k].mc_data[i] & 0xffff0000) >> 16); in ci_set_mc_special_registers() 2612 table->mc_reg_table_entry[k].mc_data[j] = in ci_set_mc_special_registers() 2614 (table->mc_reg_table_entry[k].mc_data[i] & 0x0000ffff); in ci_set_mc_special_registers() 2617 table->mc_reg_table_entry[k].mc_data[j] |= 0x100; in ci_set_mc_special_registers() 2627 table->mc_reg_table_entry[k].mc_data[j] = in ci_set_mc_special_registers() 2628 (table->mc_reg_table_entry[k].mc_data[i] & 0xffff0000) >> 16; in ci_set_mc_special_registers() [all …]
|
H A D | tonga_smumgr.c | 2100 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 …]
|
/openbmc/linux/drivers/gpu/drm/radeon/ |
H A D | btc_dpm.c | 1905 if (table->mc_reg_table_entry[j-1].mc_data[i] != in btc_set_valid_flag() 1906 table->mc_reg_table_entry[j].mc_data[i]) { in btc_set_valid_flag() 1928 table->mc_reg_table_entry[k].mc_data[j] = in btc_set_mc_special_registers() 1930 ((table->mc_reg_table_entry[k].mc_data[i] & 0xffff0000) >> 16); in btc_set_mc_special_registers() 1941 table->mc_reg_table_entry[k].mc_data[j] = in btc_set_mc_special_registers() 1943 (table->mc_reg_table_entry[k].mc_data[i] & 0x0000ffff); in btc_set_mc_special_registers() 1945 table->mc_reg_table_entry[k].mc_data[j] |= 0x100; in btc_set_mc_special_registers() 1957 table->mc_reg_table_entry[k].mc_data[j] = in btc_set_mc_special_registers() 1959 (table->mc_reg_table_entry[k].mc_data[i] & 0x0000ffff); in btc_set_mc_special_registers() 2007 eg_table->mc_reg_table_entry[i].mc_data[j] = in btc_copy_vbios_mc_reg_table() [all …]
|
H A D | ci_dpm.c | 4313 table->mc_reg_table_entry[k].mc_data[j] = in ci_set_mc_special_registers() 4314 ((temp_reg & 0xffff0000)) | ((table->mc_reg_table_entry[k].mc_data[i] & 0xffff0000) >> 16); in ci_set_mc_special_registers() 4324 table->mc_reg_table_entry[k].mc_data[j] = in ci_set_mc_special_registers() 4325 (temp_reg & 0xffff0000) | (table->mc_reg_table_entry[k].mc_data[i] & 0x0000ffff); in ci_set_mc_special_registers() 4327 table->mc_reg_table_entry[k].mc_data[j] |= 0x100; in ci_set_mc_special_registers() 4337 table->mc_reg_table_entry[k].mc_data[j] = in ci_set_mc_special_registers() 4338 (table->mc_reg_table_entry[k].mc_data[i] & 0xffff0000) >> 16; in ci_set_mc_special_registers() 4350 table->mc_reg_table_entry[k].mc_data[j] = in ci_set_mc_special_registers() 4351 (temp_reg & 0xffff0000) | (table->mc_reg_table_entry[k].mc_data[i] & 0x0000ffff); in ci_set_mc_special_registers() 4447 if (table->mc_reg_table_entry[j-1].mc_data[i] != in ci_set_valid_flag() [all …]
|
H A D | cypress_dpm.h | 31 u32 mc_data[SMC_EVERGREEN_MC_REGISTER_ARRAY_SIZE]; member
|
H A D | si_dpm.h | 109 u32 mc_data[SMC_SISLANDS_MC_REGISTER_ARRAY_SIZE]; member
|
H A D | ni_dpm.h | 49 u32 mc_data[SMC_NISLANDS_MC_REGISTER_ARRAY_SIZE]; member
|
H A D | ni_dpm.c | 2730 table->mc_reg_table_entry[k].mc_data[j] = in ni_set_mc_special_registers() 2732 ((table->mc_reg_table_entry[k].mc_data[i] & 0xffff0000) >> 16); in ni_set_mc_special_registers() 2741 table->mc_reg_table_entry[k].mc_data[j] = in ni_set_mc_special_registers() 2743 (table->mc_reg_table_entry[k].mc_data[i] & 0x0000ffff); in ni_set_mc_special_registers() 2745 table->mc_reg_table_entry[k].mc_data[j] |= 0x100; in ni_set_mc_special_registers() 2756 table->mc_reg_table_entry[k].mc_data[j] = in ni_set_mc_special_registers() 2758 (table->mc_reg_table_entry[k].mc_data[i] & 0x0000ffff); in ni_set_mc_special_registers() 2829 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() 2866 ni_table->mc_reg_table_entry[i].mc_data[j] = in ni_copy_vbios_mc_reg_table() 2867 table->mc_reg_table_entry[i].mc_data[j]; in ni_copy_vbios_mc_reg_table() [all …]
|
H A D | ci_dpm.h | 79 u32 mc_data[SMU7_DISCRETE_MC_REGISTER_ARRAY_SIZE]; member
|
H A D | si_dpm.c | 5352 table->mc_reg_table_entry[k].mc_data[j] = in si_set_mc_special_registers() 5354 ((table->mc_reg_table_entry[k].mc_data[i] & 0xffff0000) >> 16); in si_set_mc_special_registers() 5363 table->mc_reg_table_entry[k].mc_data[j] = in si_set_mc_special_registers() 5365 (table->mc_reg_table_entry[k].mc_data[i] & 0x0000ffff); in si_set_mc_special_registers() 5367 table->mc_reg_table_entry[k].mc_data[j] |= 0x100; in si_set_mc_special_registers() 5377 table->mc_reg_table_entry[k].mc_data[j] = in si_set_mc_special_registers() 5378 (table->mc_reg_table_entry[k].mc_data[i] & 0xffff0000) >> 16; in si_set_mc_special_registers() 5389 table->mc_reg_table_entry[k].mc_data[j] = in si_set_mc_special_registers() 5391 (table->mc_reg_table_entry[k].mc_data[i] & 0x0000ffff); in si_set_mc_special_registers() 5467 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 …]
|
H A D | cypress_dpm.c | 824 data->value[i] = cpu_to_be32(entry->mc_data[j]); in cypress_convert_mc_registers() 1040 entry->mc_data[i] = in cypress_retrieve_ac_timing_for_one_entry() 1064 if (eg_pi->mc_reg_table.mc_reg_table_entry[j-1].mc_data[i] != in cypress_retrieve_ac_timing_for_all_ranges() 1065 eg_pi->mc_reg_table.mc_reg_table_entry[j].mc_data[i]) { in cypress_retrieve_ac_timing_for_all_ranges()
|
H A D | radeon_mode.h | 618 u32 mc_data[VBIOS_MC_REGISTER_ARRAY_SIZE]; member
|
H A D | radeon_atombios.c | 4045 reg_table->mc_reg_table_entry[num_ranges].mc_data[i] = in radeon_atom_init_mc_reg_table() 4049 reg_table->mc_reg_table_entry[num_ranges].mc_data[i] = in radeon_atom_init_mc_reg_table() 4050 reg_table->mc_reg_table_entry[num_ranges].mc_data[i - 1]; in radeon_atom_init_mc_reg_table()
|
/openbmc/linux/drivers/gpu/drm/amd/pm/legacy-dpm/ |
H A 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 932 u32 mc_data[SMC_SISLANDS_MC_REGISTER_ARRAY_SIZE]; member
|
H A D | si_dpm.c | 5850 table->mc_reg_table_entry[k].mc_data[j] = in si_set_mc_special_registers() 5852 ((table->mc_reg_table_entry[k].mc_data[i] & 0xffff0000) >> 16); in si_set_mc_special_registers() 5861 table->mc_reg_table_entry[k].mc_data[j] = in si_set_mc_special_registers() 5863 (table->mc_reg_table_entry[k].mc_data[i] & 0x0000ffff); in si_set_mc_special_registers() 5865 table->mc_reg_table_entry[k].mc_data[j] |= 0x100; in si_set_mc_special_registers() 5875 table->mc_reg_table_entry[k].mc_data[j] = in si_set_mc_special_registers() 5876 (table->mc_reg_table_entry[k].mc_data[i] & 0xffff0000) >> 16; in si_set_mc_special_registers() 5885 table->mc_reg_table_entry[k].mc_data[j] = in si_set_mc_special_registers() 5887 (table->mc_reg_table_entry[k].mc_data[i] & 0x0000ffff); in si_set_mc_special_registers() 5960 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 …]
|
/openbmc/linux/drivers/media/dvb-frontends/drx39xyj/ |
H A D | drxj.c | 11642 static int drx_check_firmware(struct drx_demod_instance *demod, u8 *mc_data, in drx_check_firmware() argument 11649 u16 mc_nr_of_blks = be16_to_cpu(*(__be16 *)(mc_data + sizeof(u16))); in drx_check_firmware() 11667 block_hdr.addr = be32_to_cpu(*(__be32 *)(mc_data + count)); in drx_check_firmware() 11669 block_hdr.size = be16_to_cpu(*(__be16 *)(mc_data + count)); in drx_check_firmware() 11671 block_hdr.flags = be16_to_cpu(*(__be16 *)(mc_data + count)); in drx_check_firmware() 11673 block_hdr.CRC = be16_to_cpu(*(__be16 *)(mc_data + count)); in drx_check_firmware() 11681 u8 *auxblk = ((void *)mc_data) + block_hdr.addr; in drx_check_firmware() 11750 u8 *mc_data = NULL; in drx_ctrl_u_code() local 11783 mc_data = (void *)mc_data_init; in drx_ctrl_u_code() 11785 mc_magic_word = be16_to_cpu(*(__be16 *)(mc_data)); in drx_ctrl_u_code() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_atombios.h | 103 u32 mc_data[VBIOS_MC_REGISTER_ARRAY_SIZE]; member
|
H A D | amdgpu_atombios.c | 1475 reg_table->mc_reg_table_entry[num_ranges].mc_data[i] = in amdgpu_atombios_init_mc_reg_table() 1481 reg_table->mc_reg_table_entry[num_ranges].mc_data[i] = in amdgpu_atombios_init_mc_reg_table() 1482 reg_table->mc_reg_table_entry[num_ranges].mc_data[i - 1]; in amdgpu_atombios_init_mc_reg_table()
|
/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | ppatomctrl.h | 212 uint32_t mc_data[VBIOS_MC_REGISTER_ARRAY_SIZE]; member
|
H A D | ppatomctrl.c | 71 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] = in atomctrl_retrieve_ac_timing() 78 table->mc_reg_table_entry[num_ranges].mc_data[i-1]; in atomctrl_retrieve_ac_timing()
|
/openbmc/linux/sound/soc/qcom/qdsp6/ |
H A D | audioreach.c | 357 struct apm_mod_conn_list_params *mc_data = open->mod_conn_list_data; in audioreach_populate_graph() local 376 conn_obj = &mc_data->conn_obj[nconn]; in audioreach_populate_graph() 406 conn_obj = &mc_data->conn_obj[nconn]; in audioreach_populate_graph()
|