Home
last modified time | relevance | path

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

/drivers/gpu/drm/radeon/
Drv730_dpm.c325 u32 a_t; in rv730_populate_smc_initial_state() local
370 a_t = CG_R(0xffff) | CG_L(0); in rv730_populate_smc_initial_state()
372 table->initialState.levels[0].aT = cpu_to_be32(a_t); in rv730_populate_smc_initial_state()
Drv770_dpm.c267 u32 a_t; in rv770_populate_smc_t() local
289 a_t = CG_R(r[i] * pi->bsp / 200) | CG_L(l[i] * pi->bsp / 200); in rv770_populate_smc_t()
290 smc_state->levels[i].aT = cpu_to_be32(a_t); in rv770_populate_smc_t()
293 a_t = CG_R(r[RV770_SMC_PERFORMANCE_LEVELS_PER_SWSTATE - 1] * pi->pbsp / 200) | in rv770_populate_smc_t()
297 cpu_to_be32(a_t); in rv770_populate_smc_t()
1029 u32 a_t; in rv770_populate_smc_initial_state() local
1077 a_t = CG_R(0xffff) | CG_L(0); in rv770_populate_smc_initial_state()
1078 table->initialState.levels[0].aT = cpu_to_be32(a_t); in rv770_populate_smc_initial_state()
Dsumo_dpm.c393 u32 a_t; in sumo_program_at() local
414 a_t = CG_R(m_a * r[i] / 100) | CG_L(m_a * l[i] / 100); in sumo_program_at()
416 sumo_write_at(rdev, i, a_t); in sumo_program_at()
424 a_t = CG_R(m_a * r[ps->num_levels - 1] / 100) | in sumo_program_at()
427 sumo_write_at(rdev, BOOST_DPM_LEVEL, a_t); in sumo_program_at()
Dni_dpm.c2397 u32 a_t; in ni_populate_smc_t() local
2406 a_t = CG_R(0xffff) | CG_L(0); in ni_populate_smc_t()
2407 smc_state->levels[0].aT = cpu_to_be32(a_t); in ni_populate_smc_t()
2436 a_t = be32_to_cpu(smc_state->levels[i].aT) & ~CG_R_MASK; in ni_populate_smc_t()
2437 a_t |= CG_R(t_l * pi->bsp / 20000); in ni_populate_smc_t()
2438 smc_state->levels[i].aT = cpu_to_be32(a_t); in ni_populate_smc_t()
2443 a_t = CG_R(0xffff) | CG_L(t_h * high_bsp / 20000); in ni_populate_smc_t()
2444 smc_state->levels[i + 1].aT = cpu_to_be32(a_t); in ni_populate_smc_t()
Dcypress_dpm.c1241 u32 a_t; in cypress_populate_smc_initial_state() local
1296 a_t = CG_R(0xffff) | CG_L(0); in cypress_populate_smc_initial_state()
1297 table->initialState.levels[0].aT = cpu_to_be32(a_t); in cypress_populate_smc_initial_state()
Dsi_dpm.c5142 u32 a_t; in si_populate_smc_t() local
5151 a_t = CG_R(0xffff) | CG_L(0); in si_populate_smc_t()
5152 smc_state->levels[0].aT = cpu_to_be32(a_t); in si_populate_smc_t()
5172 a_t = be32_to_cpu(smc_state->levels[i].aT) & ~CG_R_MASK; in si_populate_smc_t()
5173 a_t |= CG_R(t_l * pi->bsp / 20000); in si_populate_smc_t()
5174 smc_state->levels[i].aT = cpu_to_be32(a_t); in si_populate_smc_t()
5178 a_t = CG_R(0xffff) | CG_L(t_h * high_bsp / 20000); in si_populate_smc_t()
5179 smc_state->levels[i + 1].aT = cpu_to_be32(a_t); in si_populate_smc_t()