Lines Matching refs:WM_VOL_MUTE
103 #define WM_VOL_MUTE 0x8000 macro
284 if ((master & WM_VOL_MUTE) || (vol & WM_VOL_MUTE)) in wm_set_vol()
287 nvol = 127 - wm_vol[(((vol & ~WM_VOL_MUTE) * in wm_set_vol()
288 (master & ~WM_VOL_MUTE)) / 127) & WM_VOL_MAX]; in wm_set_vol()
350 ~WM_VOL_MUTE; in wm_master_vol_get()
366 vol |= spec->master[ch] & WM_VOL_MUTE; in wm_master_vol_put()
465 spec->master[0] = WM_VOL_MUTE; in phase28_init()
466 spec->master[1] = WM_VOL_MUTE; in phase28_init()
468 spec->vol[i] = WM_VOL_MUTE; in phase28_init()
500 spec->vol[ofs+i] & ~WM_VOL_MUTE; in wm_vol_get()
520 vol |= spec->vol[ofs+i] & WM_VOL_MUTE; in wm_vol_put()
557 (spec->vol[ofs+i] & WM_VOL_MUTE) ? 0 : 1; in wm_mute_get()
573 int val = (spec->vol[ofs + i] & WM_VOL_MUTE) ? 0 : 1; in wm_mute_put()
575 spec->vol[ofs + i] &= ~WM_VOL_MUTE; in wm_mute_put()
578 WM_VOL_MUTE; in wm_mute_put()
601 (spec->master[0] & WM_VOL_MUTE) ? 0 : 1; in wm_master_mute_get()
603 (spec->master[1] & WM_VOL_MUTE) ? 0 : 1; in wm_master_mute_get()
616 int val = (spec->master[i] & WM_VOL_MUTE) ? 0 : 1; in wm_master_mute_put()
619 spec->master[i] &= ~WM_VOL_MUTE; in wm_master_mute_put()
622 WM_VOL_MUTE; in wm_master_mute_put()