Home
last modified time | relevance | path

Searched refs:cg_flags (Results 1 – 25 of 81) sorted by relevance

1234

/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Dhdp_v5_0.c57 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()
Dhdp_v5_2.c49 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()
Dhdp_v6_0.c46 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()
Dathub_v2_0.c39 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()
Dathub_v2_1.c40 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()
Dathub_v1_0.c39 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()
Dvi.c1517 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 …]
Dnv.c712 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 …]
Dnbio_v7_0.c156 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()
Dathub_v3_0.c70 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()
Dsoc21.c566 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()
Dnbio_v7_2.c240 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()
Dsoc15.c959 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 …]
Dhdp_v4_0.c100 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()
Dsmuio_v11_0.c46 if (!(adev->cg_flags & AMD_CG_SUPPORT_ROM_MGCG)) in smuio_v11_0_update_rom_clock_gating()
Dsmuio_v11_0_6.c48 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_ROM_MGCG)) in smuio_v11_0_6_update_rom_clock_gating()
Dsmuio_v9_0.c48 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_ROM_MGCG)) in smuio_v9_0_update_rom_clock_gating()
Dnbio_v7_7.c257 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()
Dsmuio_v13_0.c50 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_ROM_MGCG)) in smuio_v13_0_update_rom_clock_gating()
Ddf_v1_7.c85 if (enable && (adev->cg_flags & AMD_CG_SUPPORT_DF_MGCG)) { in df_v1_7_update_medium_grain_clock_gating()
Dnbio_v6_1.c170 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()
Djpeg_v4_0.c220 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/
Dmt8186-audsys-clk.c24 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/
Dmt8195-audsys-clk.c25 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/
Dradeon_asic.c2462 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 …]

1234