Lines Matching refs:vol
238 u16 vol[2]; /* cached volume of analog output */ member
529 snd_rme96_write_SPI(rme96, (rme96->vol[0] << 2) | 0x0); in snd_rme96_apply_dac_volume()
530 snd_rme96_write_SPI(rme96, (rme96->vol[1] << 2) | 0x2); in snd_rme96_apply_dac_volume()
532 snd_rme96_write_SPI(rme96, (rme96->vol[0] & 0x3FF) | 0x000); in snd_rme96_apply_dac_volume()
533 snd_rme96_write_SPI(rme96, (rme96->vol[1] & 0x3FF) | 0x400); in snd_rme96_apply_dac_volume()
1702 rme96->vol[0] = rme96->vol[1] = 0; in snd_rme96_create()
1846 snd_iprintf(buffer, " volume left: %u\n", rme96->vol[0]); in snd_rme96_proc_read()
1847 snd_iprintf(buffer, " volume right: %u\n", rme96->vol[1]); in snd_rme96_proc_read()
2222 u->value.integer.value[0] = rme96->vol[0]; in snd_rme96_dac_volume_get()
2223 u->value.integer.value[1] = rme96->vol[1]; in snd_rme96_dac_volume_get()
2234 unsigned int vol, maxvol; in snd_rme96_dac_volume_put() local
2241 vol = u->value.integer.value[0]; in snd_rme96_dac_volume_put()
2242 if (vol != rme96->vol[0] && vol <= maxvol) { in snd_rme96_dac_volume_put()
2243 rme96->vol[0] = vol; in snd_rme96_dac_volume_put()
2246 vol = u->value.integer.value[1]; in snd_rme96_dac_volume_put()
2247 if (vol != rme96->vol[1] && vol <= maxvol) { in snd_rme96_dac_volume_put()
2248 rme96->vol[1] = vol; in snd_rme96_dac_volume_put()