Lines Matching refs:v3
1882 int v1, v2, v3; in wrmixer() local
1887 v3 = ch->maxval - ch->minval; in wrmixer()
1897 v1 = (v1 * v3) / 100 + ch->minval; in wrmixer()
1898 v2 = (v2 * v3) / 100 + ch->minval; in wrmixer()
3305 unsigned int v2, v3; in prepmixch() local
3327 v3 = v1 - ch->minval; in prepmixch()
3328 v3 = 100 * v3 / v2; in prepmixch()
3329 if (v3 > 100) in prepmixch()
3330 v3 = 100; in prepmixch()
3331 ch->value = v3; in prepmixch()
3338 v3 = v1 - ch->minval; in prepmixch()
3339 v3 = 100 * v3 / v2; in prepmixch()
3340 if (v3 > 100) in prepmixch()
3341 v3 = 100; in prepmixch()
3343 ch->value |= v3 << 8; in prepmixch()
3361 v3 = v1 - ch->minval; in prepmixch()
3364 v3 = 100 * v3 / v2; in prepmixch()
3365 if (v3 > 100) in prepmixch()
3366 v3 = 100; in prepmixch()
3367 ch->value = v3; in prepmixch()
3373 v3 = v1 - ch->minval; in prepmixch()
3374 v3 = 100 * v3 / v2; in prepmixch()
3375 if (v3 > 100) in prepmixch()
3376 v3 = 100; in prepmixch()
3378 ch->value |= v3 << 8; in prepmixch()
3397 v3 = v1 - ch->minval; in prepmixch()
3400 v3 = 100 * v3 / v2; in prepmixch()
3401 if (v3 > 100) in prepmixch()
3402 v3 = 100; in prepmixch()
3403 ch->value = v3; in prepmixch()
3409 v3 = v1 - ch->minval; in prepmixch()
3410 v3 = 100 * v3 / v2; in prepmixch()
3411 if (v3 > 100) in prepmixch()
3412 v3 = 100; in prepmixch()
3414 ch->value |= v3 << 8; in prepmixch()