Searched refs:WM_VOL_MUTE (Results 1 – 3 of 3) sorted by relevance
103 #define WM_VOL_MUTE 0x8000 macro284 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()[all …]
318 #define WM_VOL_MUTE 0x8000 macro331 if ((master & WM_VOL_MUTE) || (vol & WM_VOL_MUTE)) in wm_set_vol()334 nvol = (((vol & ~WM_VOL_MUTE) * (master & ~WM_VOL_MUTE)) / 128) in wm_set_vol()348 if ((master & WM_VOL_MUTE) || (vol & WM_VOL_MUTE)) in wm8766_set_vol()351 nvol = (((vol & ~WM_VOL_MUTE) * (master & ~WM_VOL_MUTE)) / 128) in wm8766_set_vol()383 spec->vol[2 + i] & ~WM_VOL_MUTE; in wm_dac_vol_get()397 spec->vol[2 + i] &= WM_VOL_MUTE; in wm_dac_vol_put()449 spec->vol[ofs + i] &= WM_VOL_MUTE; in wm8766_vol_put()
694 #define WM_VOL_MUTE 0x8000 macro700 if ((master & WM_VOL_MUTE) || (vol & WM_VOL_MUTE)) { in wm_set_vol()763 spec->master[i] & ~WM_VOL_MUTE; in wm_master_vol_get()778 vol |= spec->master[ch] & WM_VOL_MUTE; in wm_master_vol_put()816 spec->vol[ofs+i] & ~WM_VOL_MUTE; in wm_vol_get()834 vol |= spec->vol[ofs+i] & WM_VOL_MUTE; in wm_vol_put()870 (spec->vol[ofs + i] & WM_VOL_MUTE) ? 0 : 1; in wm_mute_get()885 int val = (spec->vol[ofs + i] & WM_VOL_MUTE) ? 0 : 1; in wm_mute_put()887 spec->vol[ofs + i] &= ~WM_VOL_MUTE; in wm_mute_put()889 ucontrol->value.integer.value[i] ? 0 : WM_VOL_MUTE; in wm_mute_put()[all …]