Home
last modified time | relevance | path

Searched refs:val0 (Results 1 – 3 of 3) sorted by relevance

/sound/i2c/other/
Dpt2258.c98 int val0, val1; in pt2258_stereo_volume_put() local
100 val0 = 79 - ucontrol->value.integer.value[0]; in pt2258_stereo_volume_put()
102 if (val0 < 0 || val0 > 79 || val1 < 0 || val1 > 79) in pt2258_stereo_volume_put()
104 if (val0 == pt->volume[base] && val1 == pt->volume[base + 1]) in pt2258_stereo_volume_put()
107 pt->volume[base] = val0; in pt2258_stereo_volume_put()
108 bytes[0] = pt2258_channel_code[2 * base] | (val0 / 10); in pt2258_stereo_volume_put()
109 bytes[1] = pt2258_channel_code[2 * base + 1] | (val0 % 10); in pt2258_stereo_volume_put()
/sound/soc/sh/rcar/
Dsrc.c398 u32 val0, val1; in rsnd_src_error_occurred() local
402 val0 = val1 = OUF_SRC(rsnd_mod_id(mod)); in rsnd_src_error_occurred()
410 val0 = val0 & 0xffff; in rsnd_src_error_occurred()
414 if ((status0 & val0) || (status1 & val1)) { in rsnd_src_error_occurred()
/sound/ppc/
Dawacs.c560 int val0, val6; in snd_pmac_screamer_mic_boost_put() local
564 val0 = chip->awacs_reg[0] & ~MASK_GAINLINE; in snd_pmac_screamer_mic_boost_put()
567 val0 |= MASK_GAINLINE; in snd_pmac_screamer_mic_boost_put()
570 if (val0 != chip->awacs_reg[0]) { in snd_pmac_screamer_mic_boost_put()
571 snd_pmac_awacs_write_reg(chip, 0, val0); in snd_pmac_screamer_mic_boost_put()