Searched refs:bal (Results 1 – 4 of 4) sorted by relevance
/drivers/media/video/cx18/ |
D | cx18-av-audio.c | 420 int bal = balance >> 8; in set_balance() local 421 if (bal > 0x80) { in set_balance() 425 cx18_av_and_or(cx, 0x8d5, ~0x7f, bal & 0x7f); in set_balance() 430 cx18_av_and_or(cx, 0x8d5, ~0x7f, 0x80 - bal); in set_balance()
|
/drivers/media/video/cx25840/ |
D | cx25840-audio.c | 327 int bal = balance >> 8; in set_balance() local 328 if (bal > 0x80) { in set_balance() 332 cx25840_and_or(client, 0x8d5, ~0x7f, bal & 0x7f); in set_balance() 337 cx25840_and_or(client, 0x8d5, ~0x7f, 0x80 - bal); in set_balance()
|
/drivers/media/video/cx88/ |
D | cx88-alsa.c | 571 bal = cx_read(AUD_BAL_CTL); in snd_cx88_volume_get() local 573 value->value.integer.value[(bal & 0x40) ? 0 : 1] = vol; in snd_cx88_volume_get() 574 vol -= (bal & 0x3f); in snd_cx88_volume_get() 575 value->value.integer.value[(bal & 0x40) ? 1 : 0] = vol < 0 ? 0 : vol; in snd_cx88_volume_get()
|
/drivers/media/video/ |
D | msp3400-driver.c | 293 int bal = 0, bass, treble, loudness; in msp_set_audio() local 315 bal = (u8)((state->balance / 256) - 128); in msp_set_audio() 323 msp_write_dsp(client, 0x0001, bal << 8); in msp_set_audio() 329 msp_write_dsp(client, 0x0030, bal << 8); in msp_set_audio()
|