Home
last modified time | relevance | path

Searched refs:mc_regs (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.4/drivers/video/fbdev/geode/
Ddisplay_gx1.c51 void __iomem *mc_regs; in gx1_frame_buffer_size() local
56 mc_regs = ioremap(gx1_gx_base() + 0x8400, 0x100); in gx1_frame_buffer_size()
57 if (!mc_regs) in gx1_frame_buffer_size()
62 bank_cfg = readl(mc_regs + MC_BANK_CFG); in gx1_frame_buffer_size()
70 fb_base = (readl(mc_regs + MC_GBASE_ADD) & MC_GADD_GBADD_MASK) << 19; in gx1_frame_buffer_size()
72 iounmap(mc_regs); in gx1_frame_buffer_size()
/Linux-v5.4/drivers/gpu/drm/amd/powerplay/smumgr/
Diceland_smumgr.h66 SMU71_Discrete_MCRegisters mc_regs; member
Dci_smumgr.h71 SMU7_Discrete_MCRegisters mc_regs; member
Dtonga_smumgr.h70 SMU72_Discrete_MCRegisters mc_regs; member
Diceland_smumgr.c1754 SMU71_Discrete_MCRegisters *mc_regs) in iceland_convert_mc_reg_table_to_smc() argument
1765 &mc_regs->data[i] in iceland_convert_mc_reg_table_to_smc()
1786 memset(&smu_data->mc_regs, 0, sizeof(SMU71_Discrete_MCRegisters)); in iceland_update_and_upload_mc_reg_table()
1788 result = iceland_convert_mc_reg_table_to_smc(hwmgr, &(smu_data->mc_regs)); in iceland_update_and_upload_mc_reg_table()
1797 (uint8_t *)&smu_data->mc_regs.data[0], in iceland_update_and_upload_mc_reg_table()
1807 memset(&smu_data->mc_regs, 0x00, sizeof(SMU71_Discrete_MCRegisters)); in iceland_populate_initial_mc_reg_table()
1808 result = iceland_populate_mc_reg_address(hwmgr, &(smu_data->mc_regs)); in iceland_populate_initial_mc_reg_table()
1812 result = iceland_convert_mc_reg_table_to_smc(hwmgr, &smu_data->mc_regs); in iceland_populate_initial_mc_reg_table()
1817 (uint8_t *)&smu_data->mc_regs, sizeof(SMU71_Discrete_MCRegisters), SMC_RAM_END); in iceland_populate_initial_mc_reg_table()
Dci_smumgr.c1787 SMU7_Discrete_MCRegisters *mc_regs) in ci_convert_mc_reg_table_to_smc() argument
1798 &mc_regs->data[i] in ci_convert_mc_reg_table_to_smc()
1819 memset(&smu_data->mc_regs, 0, sizeof(SMU7_Discrete_MCRegisters)); in ci_update_and_upload_mc_reg_table()
1821 result = ci_convert_mc_reg_table_to_smc(hwmgr, &(smu_data->mc_regs)); in ci_update_and_upload_mc_reg_table()
1829 (uint8_t *)&smu_data->mc_regs.data[0], in ci_update_and_upload_mc_reg_table()
1839 memset(&smu_data->mc_regs, 0x00, sizeof(SMU7_Discrete_MCRegisters)); in ci_populate_initial_mc_reg_table()
1840 result = ci_populate_mc_reg_address(hwmgr, &(smu_data->mc_regs)); in ci_populate_initial_mc_reg_table()
1844 result = ci_convert_mc_reg_table_to_smc(hwmgr, &smu_data->mc_regs); in ci_populate_initial_mc_reg_table()
1849 (uint8_t *)&smu_data->mc_regs, sizeof(SMU7_Discrete_MCRegisters), SMC_RAM_END); in ci_populate_initial_mc_reg_table()
Dtonga_smumgr.c2133 SMU72_Discrete_MCRegisters *mc_regs) in tonga_convert_mc_reg_table_to_smc() argument
2144 &mc_regs->data[i] in tonga_convert_mc_reg_table_to_smc()
2165 memset(&smu_data->mc_regs, 0, sizeof(SMU72_Discrete_MCRegisters)); in tonga_update_and_upload_mc_reg_table()
2167 result = tonga_convert_mc_reg_table_to_smc(hwmgr, &(smu_data->mc_regs)); in tonga_update_and_upload_mc_reg_table()
2178 (uint8_t *)&smu_data->mc_regs.data[0], in tonga_update_and_upload_mc_reg_table()
2189 memset(&smu_data->mc_regs, 0x00, sizeof(SMU72_Discrete_MCRegisters)); in tonga_populate_initial_mc_reg_table()
2190 result = tonga_populate_mc_reg_address(hwmgr, &(smu_data->mc_regs)); in tonga_populate_initial_mc_reg_table()
2195 result = tonga_convert_mc_reg_table_to_smc(hwmgr, &smu_data->mc_regs); in tonga_populate_initial_mc_reg_table()
2201 (uint8_t *)&smu_data->mc_regs, sizeof(SMU72_Discrete_MCRegisters), SMC_RAM_END); in tonga_populate_initial_mc_reg_table()