/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/ |
D | hdp_v5_0.c | 57 if (!(adev->cg_flags & (AMD_CG_SUPPORT_HDP_LS | in hdp_v5_0_update_mem_power_gating() 96 if (adev->cg_flags & AMD_CG_SUPPORT_HDP_LS) { in hdp_v5_0_update_mem_power_gating() 103 } else if (adev->cg_flags & AMD_CG_SUPPORT_HDP_DS) { in hdp_v5_0_update_mem_power_gating() 110 } else if (adev->cg_flags & AMD_CG_SUPPORT_HDP_SD) { in hdp_v5_0_update_mem_power_gating() 115 if (adev->cg_flags & AMD_CG_SUPPORT_HDP_DS) in hdp_v5_0_update_mem_power_gating() 119 else if (adev->cg_flags & AMD_CG_SUPPORT_HDP_LS) in hdp_v5_0_update_mem_power_gating() 127 if (adev->cg_flags & (AMD_CG_SUPPORT_HDP_LS | AMD_CG_SUPPORT_HDP_DS | in hdp_v5_0_update_mem_power_gating() 150 if (!(adev->cg_flags & AMD_CG_SUPPORT_HDP_MGCG)) in hdp_v5_0_update_medium_grain_clock_gating()
|
D | hdp_v5_2.c | 49 if (!(adev->cg_flags & (AMD_CG_SUPPORT_HDP_LS | in hdp_v5_2_update_mem_power_gating() 86 if (adev->cg_flags & AMD_CG_SUPPORT_HDP_SD) { in hdp_v5_2_update_mem_power_gating() 93 } else if (adev->cg_flags & AMD_CG_SUPPORT_HDP_LS) { in hdp_v5_2_update_mem_power_gating() 100 } else if (adev->cg_flags & AMD_CG_SUPPORT_HDP_DS) { in hdp_v5_2_update_mem_power_gating() 110 if (adev->cg_flags & (AMD_CG_SUPPORT_HDP_LS | AMD_CG_SUPPORT_HDP_DS | in hdp_v5_2_update_mem_power_gating() 133 if (!(adev->cg_flags & AMD_CG_SUPPORT_HDP_MGCG)) in hdp_v5_2_update_medium_grain_clock_gating()
|
D | hdp_v6_0.c | 46 if (!(adev->cg_flags & (AMD_CG_SUPPORT_HDP_LS | in hdp_v6_0_update_clock_gating() 82 if (adev->cg_flags & AMD_CG_SUPPORT_HDP_SD) { in hdp_v6_0_update_clock_gating() 89 } else if (adev->cg_flags & AMD_CG_SUPPORT_HDP_LS) { in hdp_v6_0_update_clock_gating() 96 } else if (adev->cg_flags & AMD_CG_SUPPORT_HDP_DS) { in hdp_v6_0_update_clock_gating() 107 if (adev->cg_flags & (AMD_CG_SUPPORT_HDP_LS | AMD_CG_SUPPORT_HDP_DS | in hdp_v6_0_update_clock_gating()
|
D | athub_v2_0.c | 39 if (!(adev->cg_flags & AMD_CG_SUPPORT_MC_MGCG)) in athub_v2_0_update_medium_grain_clock_gating() 59 if (!((adev->cg_flags & AMD_CG_SUPPORT_MC_LS) && in athub_v2_0_update_medium_grain_light_sleep() 60 (adev->cg_flags & AMD_CG_SUPPORT_HDP_LS))) in athub_v2_0_update_medium_grain_light_sleep()
|
D | athub_v2_1.c | 40 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_MC_MGCG)) in athub_v2_1_update_medium_grain_clock_gating() 57 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_MC_LS) && in athub_v2_1_update_medium_grain_light_sleep() 58 (adev->cg_flags & AMD_CG_SUPPORT_HDP_LS)) in athub_v2_1_update_medium_grain_light_sleep()
|
D | athub_v1_0.c | 39 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_MC_MGCG)) in athub_update_medium_grain_clock_gating() 55 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_MC_LS) && in athub_update_medium_grain_light_sleep() 56 (adev->cg_flags & AMD_CG_SUPPORT_HDP_LS)) in athub_update_medium_grain_light_sleep()
|
D | vi.c | 1517 adev->cg_flags = 0; in vi_common_early_init() 1522 adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG | in vi_common_early_init() 1543 adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG | in vi_common_early_init() 1560 adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG | in vi_common_early_init() 1583 adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG | in vi_common_early_init() 1606 adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG | in vi_common_early_init() 1629 adev->cg_flags = 0; in vi_common_early_init() 1653 adev->cg_flags = AMD_CG_SUPPORT_UVD_MGCG | in vi_common_early_init() 1680 adev->cg_flags = AMD_CG_SUPPORT_UVD_MGCG | in vi_common_early_init() 1805 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_BIF_LS)) in vi_update_bif_medium_grain_light_sleep() [all …]
|
D | nv.c | 712 adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG | in nv_common_early_init() 734 adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG | in nv_common_early_init() 755 adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG | in nv_common_early_init() 784 adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG | in nv_common_early_init() 802 adev->cg_flags = 0; in nv_common_early_init() 808 adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG | in nv_common_early_init() 827 adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG | in nv_common_early_init() 850 adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG | in nv_common_early_init() 869 adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG | in nv_common_early_init() 886 adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG | in nv_common_early_init() [all …]
|
D | nbio_v7_0.c | 156 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_BIF_MGCG)) in nbio_v7_0_update_medium_grain_clock_gating() 167 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_BIF_MGCG)) in nbio_v7_0_update_medium_grain_clock_gating() 178 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_BIF_MGCG)) in nbio_v7_0_update_medium_grain_clock_gating() 193 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_BIF_LS)) { in nbio_v7_0_update_medium_grain_light_sleep()
|
D | athub_v3_0.c | 70 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_ATHUB_MGCG)) in athub_v3_0_update_medium_grain_clock_gating() 87 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_ATHUB_LS)) in athub_v3_0_update_medium_grain_light_sleep()
|
D | soc21.c | 566 adev->cg_flags = AMD_CG_SUPPORT_GFX_CGCG | in soc21_common_early_init() 590 adev->cg_flags = 0; in soc21_common_early_init() 596 adev->cg_flags = in soc21_common_early_init() 615 adev->cg_flags = in soc21_common_early_init() 641 adev->cg_flags = AMD_CG_SUPPORT_VCN_MGCG | in soc21_common_early_init() 652 adev->cg_flags = 0; in soc21_common_early_init() 658 adev->cg_flags = in soc21_common_early_init()
|
D | nbio_v7_2.c | 240 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_BIF_MGCG)) { in nbio_v7_2_update_medium_grain_clock_gating() 270 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_BIF_LS)) in nbio_v7_2_update_medium_grain_light_sleep() 280 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_BIF_LS)) in nbio_v7_2_update_medium_grain_light_sleep() 293 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_BIF_LS)) in nbio_v7_2_update_medium_grain_light_sleep()
|
D | soc15.c | 959 adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG | in soc15_common_early_init() 983 adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG | in soc15_common_early_init() 1006 adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG | in soc15_common_early_init() 1044 adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG | in soc15_common_early_init() 1061 adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG | in soc15_common_early_init() 1082 adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG | in soc15_common_early_init() 1106 adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG | in soc15_common_early_init() 1130 adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG | in soc15_common_early_init() 1156 adev->cg_flags = AMD_CG_SUPPORT_GFX_MGCG | in soc15_common_early_init() 1315 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_DRM_MGCG)) in soc15_update_drm_clock_gating() [all …]
|
D | hdp_v4_0.c | 100 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_HDP_LS)) in hdp_v4_0_update_clock_gating() 110 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_HDP_LS)) in hdp_v4_0_update_clock_gating()
|
D | smuio_v11_0.c | 46 if (!(adev->cg_flags & AMD_CG_SUPPORT_ROM_MGCG)) in smuio_v11_0_update_rom_clock_gating()
|
D | smuio_v11_0_6.c | 48 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_ROM_MGCG)) in smuio_v11_0_6_update_rom_clock_gating()
|
D | smuio_v9_0.c | 48 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_ROM_MGCG)) in smuio_v9_0_update_rom_clock_gating()
|
D | nbio_v7_7.c | 257 if (enable && !(adev->cg_flags & AMD_CG_SUPPORT_BIF_MGCG)) in nbio_v7_7_update_medium_grain_clock_gating() 286 if (enable && !(adev->cg_flags & AMD_CG_SUPPORT_BIF_LS)) in nbio_v7_7_update_medium_grain_light_sleep()
|
D | smuio_v13_0.c | 50 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_ROM_MGCG)) in smuio_v13_0_update_rom_clock_gating()
|
D | df_v1_7.c | 85 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_DF_MGCG)) { in df_v1_7_update_medium_grain_clock_gating()
|
D | nbio_v6_1.c | 170 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_BIF_MGCG)) { in nbio_v6_1_update_medium_grain_clock_gating() 198 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_BIF_LS)) { in nbio_v6_1_update_medium_grain_light_sleep()
|
D | jpeg_v4_0.c | 220 if (adev->cg_flags & AMD_CG_SUPPORT_JPEG_MGCG) { in jpeg_v4_0_disable_clock_gating() 244 if (adev->cg_flags & AMD_CG_SUPPORT_JPEG_MGCG) { in jpeg_v4_0_enable_clock_gating()
|
/linux-6.1.9/sound/soc/mediatek/mt8186/ |
D | mt8186-audsys-clk.c | 24 u8 cg_flags; member 34 .cg_flags = _cgflags, \ 106 gate->bit, gate->cg_flags, NULL); in mt8186_audsys_clk_register()
|
/linux-6.1.9/sound/soc/mediatek/mt8195/ |
D | mt8195-audsys-clk.c | 25 u8 cg_flags; member 35 .cg_flags = _cgflags, \ 170 gate->bit, gate->cg_flags, NULL); in mt8195_audsys_clk_register()
|
/linux-6.1.9/drivers/gpu/drm/radeon/ |
D | radeon_asic.c | 2462 rdev->cg_flags = in radeon_asic_init() 2490 rdev->cg_flags = in radeon_asic_init() 2507 rdev->cg_flags = in radeon_asic_init() 2526 rdev->cg_flags = in radeon_asic_init() 2547 rdev->cg_flags = in radeon_asic_init() 2565 rdev->cg_flags = in radeon_asic_init() 2582 rdev->cg_flags = 0; in radeon_asic_init() 2594 rdev->cg_flags = in radeon_asic_init() 2613 rdev->cg_flags = in radeon_asic_init() 2639 rdev->cg_flags = in radeon_asic_init() [all …]
|