Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/radeon/
Drv730_dpm.c324 u32 a_t; in rv730_populate_smc_initial_state() local
369 a_t = CG_R(0xffff) | CG_L(0); in rv730_populate_smc_initial_state()
371 table->initialState.levels[0].aT = cpu_to_be32(a_t); in rv730_populate_smc_initial_state()
Drv770_dpm.c266 u32 a_t; in rv770_populate_smc_t() local
288 a_t = CG_R(r[i] * pi->bsp / 200) | CG_L(l[i] * pi->bsp / 200); in rv770_populate_smc_t()
289 smc_state->levels[i].aT = cpu_to_be32(a_t); in rv770_populate_smc_t()
292 a_t = CG_R(r[RV770_SMC_PERFORMANCE_LEVELS_PER_SWSTATE - 1] * pi->pbsp / 200) | in rv770_populate_smc_t()
296 cpu_to_be32(a_t); in rv770_populate_smc_t()
1028 u32 a_t; in rv770_populate_smc_initial_state() local
1076 a_t = CG_R(0xffff) | CG_L(0); in rv770_populate_smc_initial_state()
1077 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.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.c1242 u32 a_t; in cypress_populate_smc_initial_state() local
1297 a_t = CG_R(0xffff) | CG_L(0); in cypress_populate_smc_initial_state()
1298 table->initialState.levels[0].aT = cpu_to_be32(a_t); in cypress_populate_smc_initial_state()
Dsi_dpm.c5092 u32 a_t; in si_populate_smc_t() local
5101 a_t = CG_R(0xffff) | CG_L(0); in si_populate_smc_t()
5102 smc_state->levels[0].aT = cpu_to_be32(a_t); in si_populate_smc_t()
5122 a_t = be32_to_cpu(smc_state->levels[i].aT) & ~CG_R_MASK; in si_populate_smc_t()
5123 a_t |= CG_R(t_l * pi->bsp / 20000); in si_populate_smc_t()
5124 smc_state->levels[i].aT = cpu_to_be32(a_t); in si_populate_smc_t()
5128 a_t = CG_R(0xffff) | CG_L(t_h * high_bsp / 20000); in si_populate_smc_t()
5129 smc_state->levels[i + 1].aT = cpu_to_be32(a_t); in si_populate_smc_t()
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Dsi_dpm.c5554 u32 a_t; in si_populate_smc_t() local
5563 a_t = CG_R(0xffff) | CG_L(0); in si_populate_smc_t()
5564 smc_state->levels[0].aT = cpu_to_be32(a_t); in si_populate_smc_t()
5584 a_t = be32_to_cpu(smc_state->levels[i].aT) & ~CG_R_MASK; in si_populate_smc_t()
5585 a_t |= CG_R(t_l * pi->bsp / 20000); in si_populate_smc_t()
5586 smc_state->levels[i].aT = cpu_to_be32(a_t); in si_populate_smc_t()
5590 a_t = CG_R(0xffff) | CG_L(t_h * high_bsp / 20000); in si_populate_smc_t()
5591 smc_state->levels[i + 1].aT = cpu_to_be32(a_t); in si_populate_smc_t()