Home
last modified time | relevance | path

Searched refs:cg_scratch (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
H A Devergreen.c1172 u32 cg_scratch = RREG32(CG_SCRATCH1); in sumo_set_uvd_clocks() local
1177 cg_scratch &= 0xffff0000; in sumo_set_uvd_clocks()
1178 cg_scratch |= vclk / 100; /* Mhz */ in sumo_set_uvd_clocks()
1183 cg_scratch &= 0x0000ffff; in sumo_set_uvd_clocks()
1184 cg_scratch |= (dclk / 100) << 16; /* Mhz */ in sumo_set_uvd_clocks()
1187 WREG32(CG_SCRATCH1, cg_scratch); in sumo_set_uvd_clocks()
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/
H A Devergreen.c1168 u32 cg_scratch = RREG32(CG_SCRATCH1); in sumo_set_uvd_clocks() local
1173 cg_scratch &= 0xffff0000; in sumo_set_uvd_clocks()
1174 cg_scratch |= vclk / 100; /* Mhz */ in sumo_set_uvd_clocks()
1179 cg_scratch &= 0x0000ffff; in sumo_set_uvd_clocks()
1180 cg_scratch |= (dclk / 100) << 16; /* Mhz */ in sumo_set_uvd_clocks()
1183 WREG32(CG_SCRATCH1, cg_scratch); in sumo_set_uvd_clocks()

Completed in 11 milliseconds