Lines Matching refs:master
44 unsigned short master[2];
54 #define WM_HP_MASTER 0x02 /* headphone master (both channels),
346 unsigned short vol, unsigned short master)
350 if ((master & WM_VOL_MUTE) || (vol & WM_VOL_MUTE))
353 nvol = (((vol & ~WM_VOL_MUTE) * (master & ~WM_VOL_MUTE)) / 128)
363 unsigned short vol, unsigned short master)
367 if ((master & WM_VOL_MUTE) || (vol & WM_VOL_MUTE))
370 nvol = (((vol & ~WM_VOL_MUTE) * (master & ~WM_VOL_MUTE)) / 128)
418 wm_set_vol(ice, idx, spec->vol[2 + i], spec->master[i]);
471 spec->vol[ofs + i], spec->master[i]);
499 ucontrol->value.integer.value[i] = spec->master[i];
512 if (ucontrol->value.integer.value[ch] != spec->master[ch]) {
513 spec->master[ch] = ucontrol->value.integer.value[ch];
517 spec->vol[2 + ch], spec->master[ch]);
520 spec->vol[0 + ch], spec->master[ch]);
523 spec->vol[4 + ch], spec->master[ch]);
526 spec->vol[6 + ch], spec->master[ch]);