Home
last modified time | relevance | path

Searched refs:bal (Results 1 – 6 of 6) sorted by relevance

/linux-2.6.39/sound/oss/dmasound/
Ddmasound_q40.c125 int bal = expand_bal; in q40_ctx_law() local
133 if (bal < 0) { in q40_ctx_law()
141 bal += hSpeed; in q40_ctx_law()
145 bal -= sSpeed; in q40_ctx_law()
147 expand_bal = bal; in q40_ctx_law()
161 int bal = expand_bal; in q40_ctx_s8() local
170 if (bal < 0) { in q40_ctx_s8()
178 bal += hSpeed; in q40_ctx_s8()
182 bal -= sSpeed; in q40_ctx_s8()
184 expand_bal = bal; in q40_ctx_s8()
[all …]
Ddmasound_atari.c391 long bal = expand_bal; in ata_ctx_law() local
402 if (bal < 0) { in ata_ctx_law()
409 bal += hSpeed; in ata_ctx_law()
413 bal -= sSpeed; in ata_ctx_law()
421 if (bal < 0) { in ata_ctx_law()
431 bal += hSpeed; in ata_ctx_law()
435 bal -= sSpeed; in ata_ctx_law()
439 expand_bal = bal; in ata_ctx_law()
451 long bal = expand_bal; in ata_ctx_s8() local
461 if (bal < 0) { in ata_ctx_s8()
[all …]
/linux-2.6.39/drivers/media/video/cx18/
Dcx18-av-audio.c375 int bal = balance >> 8; in set_balance() local
376 if (bal > 0x80) { in set_balance()
380 cx18_av_and_or(cx, 0x8d5, ~0x7f, bal & 0x7f); in set_balance()
385 cx18_av_and_or(cx, 0x8d5, ~0x7f, 0x80 - bal); in set_balance()
/linux-2.6.39/drivers/media/video/cx25840/
Dcx25840-audio.c503 int bal = balance >> 8; in set_balance() local
504 if (bal > 0x80) { in set_balance()
508 cx25840_and_or(client, 0x8d5, ~0x7f, bal & 0x7f); in set_balance()
513 cx25840_and_or(client, 0x8d5, ~0x7f, 0x80 - bal); in set_balance()
/linux-2.6.39/drivers/media/video/
Dwm8775.c62 struct v4l2_ctrl *bal; member
101 u16 balance = (u16)state->bal->val; in wm8775_set_audio()
138 if (!v4l2_ctrl_g_ctrl(state->bal)) in wm8775_s_routing()
256 state->bal = v4l2_ctrl_new_std(&state->hdl, &wm8775_ctrl_ops, in wm8775_probe()
/linux-2.6.39/drivers/media/video/cx88/
Dcx88-alsa.c572 bal = cx_read(AUD_BAL_CTL); in snd_cx88_volume_get() local
574 value->value.integer.value[(bal & 0x40) ? 0 : 1] = vol; in snd_cx88_volume_get()
575 vol -= (bal & 0x3f); in snd_cx88_volume_get()
576 value->value.integer.value[(bal & 0x40) ? 1 : 0] = vol < 0 ? 0 : vol; in snd_cx88_volume_get()