Home
last modified time | relevance | path

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

/Linux-v4.19/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.c2395 u32 a_t; in ni_populate_smc_t() local
2404 a_t = CG_R(0xffff) | CG_L(0); in ni_populate_smc_t()
2405 smc_state->levels[0].aT = cpu_to_be32(a_t); in ni_populate_smc_t()
2434 a_t = be32_to_cpu(smc_state->levels[i].aT) & ~CG_R_MASK; in ni_populate_smc_t()
2435 a_t |= CG_R(t_l * pi->bsp / 20000); in ni_populate_smc_t()
2436 smc_state->levels[i].aT = cpu_to_be32(a_t); in ni_populate_smc_t()
2441 a_t = CG_R(0xffff) | CG_L(t_h * high_bsp / 20000); in ni_populate_smc_t()
2442 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.c5089 u32 a_t; in si_populate_smc_t() local
5098 a_t = CG_R(0xffff) | CG_L(0); in si_populate_smc_t()
5099 smc_state->levels[0].aT = cpu_to_be32(a_t); in si_populate_smc_t()
5119 a_t = be32_to_cpu(smc_state->levels[i].aT) & ~CG_R_MASK; in si_populate_smc_t()
5120 a_t |= CG_R(t_l * pi->bsp / 20000); in si_populate_smc_t()
5121 smc_state->levels[i].aT = cpu_to_be32(a_t); in si_populate_smc_t()
5125 a_t = CG_R(0xffff) | CG_L(t_h * high_bsp / 20000); in si_populate_smc_t()
5126 smc_state->levels[i + 1].aT = cpu_to_be32(a_t); in si_populate_smc_t()
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/
Dsi_dpm.c5553 u32 a_t; in si_populate_smc_t() local
5562 a_t = CG_R(0xffff) | CG_L(0); in si_populate_smc_t()
5563 smc_state->levels[0].aT = cpu_to_be32(a_t); in si_populate_smc_t()
5583 a_t = be32_to_cpu(smc_state->levels[i].aT) & ~CG_R_MASK; in si_populate_smc_t()
5584 a_t |= CG_R(t_l * pi->bsp / 20000); in si_populate_smc_t()
5585 smc_state->levels[i].aT = cpu_to_be32(a_t); in si_populate_smc_t()
5589 a_t = CG_R(0xffff) | CG_L(t_h * high_bsp / 20000); in si_populate_smc_t()
5590 smc_state->levels[i + 1].aT = cpu_to_be32(a_t); in si_populate_smc_t()