Lines Matching refs:master
46 unsigned short master[2]; member
266 unsigned short vol, unsigned short master) in wm_set_vol() argument
270 if ((master & WM_VOL_MUTE) || (vol & WM_VOL_MUTE)) in wm_set_vol()
274 (master & ~WM_VOL_MUTE)) / 127) & WM_VOL_MAX]; in wm_set_vol()
335 ucontrol->value.integer.value[i] = spec->master[i] & in wm_master_vol_get()
352 vol |= spec->master[ch] & WM_VOL_MUTE; in wm_master_vol_put()
353 if (vol != spec->master[ch]) { in wm_master_vol_put()
355 spec->master[ch] = vol; in wm_master_vol_put()
359 spec->master[ch]); in wm_master_vol_put()
451 spec->master[0] = WM_VOL_MUTE; in phase28_init()
452 spec->master[1] = WM_VOL_MUTE; in phase28_init()
455 wm_set_vol(ice, i, spec->vol[i], spec->master[i % 2]); in phase28_init()
511 spec->master[i]); in wm_vol_put()
566 spec->master[i]); in wm_mute_put()
587 (spec->master[0] & WM_VOL_MUTE) ? 0 : 1; in wm_master_mute_get()
589 (spec->master[1] & WM_VOL_MUTE) ? 0 : 1; in wm_master_mute_get()
602 int val = (spec->master[i] & WM_VOL_MUTE) ? 0 : 1; in wm_master_mute_put()
605 spec->master[i] &= ~WM_VOL_MUTE; in wm_master_mute_put()
606 spec->master[i] |= in wm_master_mute_put()
612 spec->master[i]); in wm_master_mute_put()