Searched refs:a_n (Results 1 – 2 of 2) sorted by relevance
264 int a_n; in rv770_populate_smc_t() local273 a_n = (int)state->medium.sclk * pi->lmp + in rv770_populate_smc_t()278 l[1] = (u8)(pi->lmp - (int)pi->lmp * a_n / a_d); in rv770_populate_smc_t()279 r[0] = (u8)(pi->rlp + (100 - (int)pi->rlp) * a_n / a_d); in rv770_populate_smc_t()281 a_n = (int)state->high.sclk * pi->lhp + (int)state->medium.sclk * in rv770_populate_smc_t()286 l[2] = (u8)(pi->lhp - (int)pi->lhp * a_n / a_d); in rv770_populate_smc_t()287 r[1] = (u8)(pi->rmp + (100 - (int)pi->rmp) * a_n / a_d); in rv770_populate_smc_t()
1004 int a_n, a_d, h_r, l_r; in rv6xx_calculate_t() local1009 a_n = (int)h_f * d_l + (int)l_f * (h - d_r); in rv6xx_calculate_t()1013 *l = d_l - h_r * a_n / a_d; in rv6xx_calculate_t()1014 *r = d_r + l_r * a_n / a_d; in rv6xx_calculate_t()