Home
last modified time | relevance | path

Searched refs:a_t (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/gpu/drm/radeon/
H A Drv730_dpm.c322 u32 a_t; in rv730_populate_smc_initial_state() local
367 a_t = CG_R(0xffff) | CG_L(0); in rv730_populate_smc_initial_state()
369 table->initialState.levels[0].aT = cpu_to_be32(a_t); in rv730_populate_smc_initial_state()
H A Drv770_dpm.c268 u32 a_t; in rv770_populate_smc_t() local
290 a_t = CG_R(r[i] * pi->bsp / 200) | CG_L(l[i] * pi->bsp / 200); in rv770_populate_smc_t()
291 smc_state->levels[i].aT = cpu_to_be32(a_t); in rv770_populate_smc_t()
294 a_t = CG_R(r[RV770_SMC_PERFORMANCE_LEVELS_PER_SWSTATE - 1] * pi->pbsp / 200) | in rv770_populate_smc_t()
298 cpu_to_be32(a_t); in rv770_populate_smc_t()
1030 u32 a_t; in rv770_populate_smc_initial_state() local
1078 a_t = CG_R(0xffff) | CG_L(0); in rv770_populate_smc_initial_state()
1079 table->initialState.levels[0].aT = cpu_to_be32(a_t); in rv770_populate_smc_initial_state()
H A Dsumo_dpm.c390 u32 a_t; in sumo_program_at() local
411 a_t = CG_R(m_a * r[i] / 100) | CG_L(m_a * l[i] / 100); in sumo_program_at()
413 sumo_write_at(rdev, i, a_t); in sumo_program_at()
421 a_t = CG_R(m_a * r[ps->num_levels - 1] / 100) | in sumo_program_at()
424 sumo_write_at(rdev, BOOST_DPM_LEVEL, a_t); in sumo_program_at()
H A Dcypress_dpm.c1244 u32 a_t; in cypress_populate_smc_initial_state() local
1299 a_t = CG_R(0xffff) | CG_L(0); in cypress_populate_smc_initial_state()
1300 table->initialState.levels[0].aT = cpu_to_be32(a_t); in cypress_populate_smc_initial_state()
H A Dsi_dpm.c5029 u32 a_t; in si_populate_smc_t() local
5038 a_t = CG_R(0xffff) | CG_L(0); in si_populate_smc_t()
5039 smc_state->levels[0].aT = cpu_to_be32(a_t); in si_populate_smc_t()
5059 a_t = be32_to_cpu(smc_state->levels[i].aT) & ~CG_R_MASK; in si_populate_smc_t()
5060 a_t |= CG_R(t_l * pi->bsp / 20000); in si_populate_smc_t()
5061 smc_state->levels[i].aT = cpu_to_be32(a_t); in si_populate_smc_t()
5065 a_t = CG_R(0xffff) | CG_L(t_h * high_bsp / 20000); in si_populate_smc_t()
5066 smc_state->levels[i + 1].aT = cpu_to_be32(a_t); in si_populate_smc_t()
/linux/drivers/gpu/drm/amd/pm/legacy-dpm/
H A Dsi_dpm.c5619 u32 a_t; in si_populate_smc_t() local
5628 a_t = 0xffff << CG_AT__CG_R__SHIFT | 0 << CG_AT__CG_L__SHIFT; in si_populate_smc_t()
5629 smc_state->levels[0].aT = cpu_to_be32(a_t); in si_populate_smc_t()
5649 a_t = be32_to_cpu(smc_state->levels[i].aT) & ~CG_AT__CG_R_MASK; in si_populate_smc_t()
5650 a_t |= (t_l * pi->bsp / 20000) << CG_AT__CG_R__SHIFT; in si_populate_smc_t()
5651 smc_state->levels[i].aT = cpu_to_be32(a_t); in si_populate_smc_t()
5655 a_t = (0xffff) << CG_AT__CG_R__SHIFT | (t_h * high_bsp / 20000) << CG_AT__CG_L__SHIFT; in si_populate_smc_t()
5656 smc_state->levels[i + 1].aT = cpu_to_be32(a_t); in si_populate_smc_t()