Home
last modified time | relevance | path

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

/drivers/gpu/drm/radeon/
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()
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()
Dsumo_dpm.c392 u32 a_t; in sumo_program_at() local
413 a_t = CG_R(m_a * r[i] / 100) | CG_L(m_a * l[i] / 100); in sumo_program_at()
415 sumo_write_at(rdev, i, a_t); in sumo_program_at()
423 a_t = CG_R(m_a * r[ps->num_levels - 1] / 100) | in sumo_program_at()
426 sumo_write_at(rdev, BOOST_DPM_LEVEL, a_t); in sumo_program_at()
Dni_dpm.c2401 u32 a_t; in ni_populate_smc_t() local
2410 a_t = CG_R(0xffff) | CG_L(0); in ni_populate_smc_t()
2411 smc_state->levels[0].aT = cpu_to_be32(a_t); in ni_populate_smc_t()
2440 a_t = be32_to_cpu(smc_state->levels[i].aT) & ~CG_R_MASK; in ni_populate_smc_t()
2441 a_t |= CG_R(t_l * pi->bsp / 20000); in ni_populate_smc_t()
2442 smc_state->levels[i].aT = cpu_to_be32(a_t); in ni_populate_smc_t()
2447 a_t = CG_R(0xffff) | CG_L(t_h * high_bsp / 20000); in ni_populate_smc_t()
2448 smc_state->levels[i + 1].aT = cpu_to_be32(a_t); in ni_populate_smc_t()
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()
Dsi_dpm.c5073 u32 a_t; in si_populate_smc_t() local
5082 a_t = CG_R(0xffff) | CG_L(0); in si_populate_smc_t()
5083 smc_state->levels[0].aT = cpu_to_be32(a_t); in si_populate_smc_t()
5103 a_t = be32_to_cpu(smc_state->levels[i].aT) & ~CG_R_MASK; in si_populate_smc_t()
5104 a_t |= CG_R(t_l * pi->bsp / 20000); in si_populate_smc_t()
5105 smc_state->levels[i].aT = cpu_to_be32(a_t); in si_populate_smc_t()
5109 a_t = CG_R(0xffff) | CG_L(t_h * high_bsp / 20000); in si_populate_smc_t()
5110 smc_state->levels[i + 1].aT = cpu_to_be32(a_t); in si_populate_smc_t()
/drivers/gpu/drm/amd/pm/legacy-dpm/
Dsi_dpm.c5575 u32 a_t; in si_populate_smc_t() local
5584 a_t = CG_R(0xffff) | CG_L(0); in si_populate_smc_t()
5585 smc_state->levels[0].aT = cpu_to_be32(a_t); in si_populate_smc_t()
5605 a_t = be32_to_cpu(smc_state->levels[i].aT) & ~CG_R_MASK; in si_populate_smc_t()
5606 a_t |= CG_R(t_l * pi->bsp / 20000); in si_populate_smc_t()
5607 smc_state->levels[i].aT = cpu_to_be32(a_t); in si_populate_smc_t()
5611 a_t = CG_R(0xffff) | CG_L(t_h * high_bsp / 20000); in si_populate_smc_t()
5612 smc_state->levels[i + 1].aT = cpu_to_be32(a_t); in si_populate_smc_t()