Searched refs:a_d (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/gpu/drm/radeon/
H A Drv770_dpm.c264 int a_d; rv770_populate_smc_t() local
274 a_d = (int)state->low.sclk * (100 - (int)pi->rlp) + rv770_populate_smc_t()
277 l[1] = (u8)(pi->lmp - (int)pi->lmp * a_n / a_d); rv770_populate_smc_t()
278 r[0] = (u8)(pi->rlp + (100 - (int)pi->rlp) * a_n / a_d); rv770_populate_smc_t()
282 a_d = (int)state->medium.sclk * (100 - (int)pi->rmp) + rv770_populate_smc_t()
285 l[2] = (u8)(pi->lhp - (int)pi->lhp * a_n / a_d); rv770_populate_smc_t()
286 r[1] = (u8)(pi->rmp + (100 - (int)pi->rmp) * a_n / a_d); rv770_populate_smc_t()
H A Drv6xx_dpm.c1005 int a_n, a_d, h_r, l_r; rv6xx_calculate_t() local
1011 a_d = (int)l_f * l_r + (int)h_f * h_r; rv6xx_calculate_t()
1013 if (a_d != 0) { rv6xx_calculate_t()
1014 *l = d_l - h_r * a_n / a_d; rv6xx_calculate_t()
1015 *r = d_r + l_r * a_n / a_d; rv6xx_calculate_t()

Completed in 104 milliseconds