Lines Matching refs:master
61 unsigned short master[2];
67 #define WM_DAC_MASTER_ATTEN 0x08 /* DAC master analog attenuation */
69 #define WM_DAC_DIG_MASTER_ATTEN 0x11 /* DAC master digital attenuation */
75 #define WM_MASTER 0x17 /* master clock and mode */
281 unsigned short vol, unsigned short master)
285 if ((master & WM_VOL_MUTE) || (vol & WM_VOL_MUTE))
289 (master & ~WM_VOL_MUTE)) / 127) & WM_VOL_MAX];
350 ucontrol->value.integer.value[i] = spec->master[i] &
367 vol |= spec->master[ch] & WM_VOL_MUTE;
368 if (vol != spec->master[ch]) {
370 spec->master[ch] = vol;
374 spec->master[ch]);
402 0x08, 0x100, /* master analog mute */
411 0x11, 0x1ff, /* master digital full */
466 spec->master[0] = WM_VOL_MUTE;
467 spec->master[1] = WM_VOL_MUTE;
470 wm_set_vol(ice, i, spec->vol[i], spec->master[i % 2]);
526 spec->master[i]);
581 spec->master[i]);
591 * WM8770 master mute control
602 (spec->master[0] & WM_VOL_MUTE) ? 0 : 1;
604 (spec->master[1] & WM_VOL_MUTE) ? 0 : 1;
617 int val = (spec->master[i] & WM_VOL_MUTE) ? 0 : 1;
620 spec->master[i] &= ~WM_VOL_MUTE;
621 spec->master[i] |=
627 spec->master[i]);
636 /* digital master volume */