Lines Matching refs:vol
30 unsigned short vol[8];
259 ucontrol->value.integer.value[i] = spec->vol[i];
273 if (ucontrol->value.integer.value[i] != spec->vol[i]) {
274 spec->vol[i] = ucontrol->value.integer.value[i];
276 spec->vol[i] & 0xff);
313 unsigned short vol, unsigned short master)
317 if ((master & WM_VOL_MUTE) || (vol & WM_VOL_MUTE))
320 nvol = (((vol & ~WM_VOL_MUTE) * (master & ~WM_VOL_MUTE)) / 128)
330 unsigned short vol, unsigned short master)
334 if ((master & WM_VOL_MUTE) || (vol & WM_VOL_MUTE))
337 nvol = (((vol & ~WM_VOL_MUTE) * (master & ~WM_VOL_MUTE)) / 128)
369 spec->vol[2 + i] & ~WM_VOL_MUTE;
381 if (ucontrol->value.integer.value[i] != spec->vol[2 + i]) {
383 spec->vol[2 + i] &= WM_VOL_MUTE;
384 spec->vol[2 + i] |= ucontrol->value.integer.value[i];
385 wm_set_vol(ice, idx, spec->vol[2 + i], spec->master[i]);
418 ucontrol->value.integer.value[i] = spec->vol[ofs + i];
433 if (ucontrol->value.integer.value[i] != spec->vol[ofs + i]) {
435 spec->vol[ofs + i] &= WM_VOL_MUTE;
436 spec->vol[ofs + i] |= ucontrol->value.integer.value[i];
438 spec->vol[ofs + i], spec->master[i]);
484 spec->vol[2 + ch], spec->master[ch]);
487 spec->vol[0 + ch], spec->master[ch]);
490 spec->vol[4 + ch], spec->master[ch]);
493 spec->vol[6 + ch], spec->master[ch]);
1010 spec->vol[2 + ch], spec->master[ch]);
1013 spec->vol[0 + ch], spec->master[ch]);
1016 spec->vol[4 + ch], spec->master[ch]);
1019 spec->vol[6 + ch], spec->master[ch]);
1140 ak4396_write(ice, AK4396_LCH_ATT + i, spec->vol[i] & 0xff);
1186 0xfc, /* I2S: vol, 96k, 24bit, 192k */
1202 0xfc, /* I2S: vol, 96k, 24bit, 192k */
1218 0xfc, /* I2S: vol, 96k, 24bit, 192k */