Lines Matching refs:vol
214 u16 vol[2]; /* cached volume of analog output */ member
497 snd_rme96_write_SPI(rme96, (rme96->vol[0] << 2) | 0x0); in snd_rme96_apply_dac_volume()
498 snd_rme96_write_SPI(rme96, (rme96->vol[1] << 2) | 0x2); in snd_rme96_apply_dac_volume()
500 snd_rme96_write_SPI(rme96, (rme96->vol[0] & 0x3FF) | 0x000); in snd_rme96_apply_dac_volume()
501 snd_rme96_write_SPI(rme96, (rme96->vol[1] & 0x3FF) | 0x400); in snd_rme96_apply_dac_volume()
1645 rme96->vol[0] = rme96->vol[1] = 0; in snd_rme96_create()
1789 snd_iprintf(buffer, " volume left: %u\n", rme96->vol[0]); in snd_rme96_proc_read()
1790 snd_iprintf(buffer, " volume right: %u\n", rme96->vol[1]); in snd_rme96_proc_read()
2186 u->value.integer.value[0] = rme96->vol[0]; in snd_rme96_dac_volume_get()
2187 u->value.integer.value[1] = rme96->vol[1]; in snd_rme96_dac_volume_get()
2198 unsigned int vol, maxvol; in snd_rme96_dac_volume_put() local
2205 vol = u->value.integer.value[0]; in snd_rme96_dac_volume_put()
2206 if (vol != rme96->vol[0] && vol <= maxvol) { in snd_rme96_dac_volume_put()
2207 rme96->vol[0] = vol; in snd_rme96_dac_volume_put()
2210 vol = u->value.integer.value[1]; in snd_rme96_dac_volume_put()
2211 if (vol != rme96->vol[1] && vol <= maxvol) { in snd_rme96_dac_volume_put()
2212 rme96->vol[1] = vol; in snd_rme96_dac_volume_put()