Searched refs:bal (Results 1 - 5 of 5) sorted by relevance

/drivers/media/video/cx18/
H A Dcx18-av-audio.c375 int bal = balance >> 8; local
376 if (bal > 0x80) {
380 cx18_av_and_or(cx, 0x8d5, ~0x7f, bal & 0x7f);
385 cx18_av_and_or(cx, 0x8d5, ~0x7f, 0x80 - bal);
/drivers/media/video/cx25840/
H A Dcx25840-audio.c503 int bal = balance >> 8; local
504 if (bal > 0x80) {
508 cx25840_and_or(client, 0x8d5, ~0x7f, bal & 0x7f);
513 cx25840_and_or(client, 0x8d5, ~0x7f, 0x80 - bal);
/drivers/media/video/
H A Dwm8775.c62 struct v4l2_ctrl *bal; member in struct:wm8775_state
101 u16 balance = (u16)state->bal->val;
138 if (!v4l2_ctrl_g_ctrl(state->bal))
256 state->bal = v4l2_ctrl_new_std(&state->hdl, &wm8775_ctrl_ops,
H A Dmt9v011.c237 s16 bal; local
243 bal = core->global_gain;
244 bal += (core->blue_bal * core->global_gain / (1 << 7));
245 blue_gain = calc_mt9v011_gain(bal);
247 bal = core->global_gain;
248 bal += (core->red_bal * core->global_gain / (1 << 7));
249 red_gain = calc_mt9v011_gain(bal);
/drivers/media/video/cx88/
H A Dcx88-alsa.c574 bal = cx_read(AUD_BAL_CTL); local
576 value->value.integer.value[(bal & 0x40) ? 0 : 1] = vol;
577 vol -= (bal & 0x3f);
578 value->value.integer.value[(bal & 0x40) ? 1 : 0] = vol < 0 ? 0 : vol;

Completed in 142 milliseconds