Lines Matching refs:WM_VOL_MUTE
89 #define WM_VOL_MUTE 0x8000 macro
270 if ((master & WM_VOL_MUTE) || (vol & WM_VOL_MUTE)) in wm_set_vol()
273 nvol = 127 - wm_vol[(((vol & ~WM_VOL_MUTE) * in wm_set_vol()
274 (master & ~WM_VOL_MUTE)) / 127) & WM_VOL_MAX]; in wm_set_vol()
336 ~WM_VOL_MUTE; in wm_master_vol_get()
352 vol |= spec->master[ch] & WM_VOL_MUTE; 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()
454 spec->vol[i] = WM_VOL_MUTE; in phase28_init()
486 spec->vol[ofs+i] & ~WM_VOL_MUTE; in wm_vol_get()
506 vol |= spec->vol[ofs+i] & WM_VOL_MUTE; in wm_vol_put()
543 (spec->vol[ofs+i] & WM_VOL_MUTE) ? 0 : 1; in wm_mute_get()
559 int val = (spec->vol[ofs + i] & WM_VOL_MUTE) ? 0 : 1; in wm_mute_put()
561 spec->vol[ofs + i] &= ~WM_VOL_MUTE; in wm_mute_put()
564 WM_VOL_MUTE; 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()
608 WM_VOL_MUTE; in wm_master_mute_put()