Searched refs:WM_VOL_MUTE (Results 1 – 3 of 3) sorted by relevance
104 #define WM_VOL_MUTE 0x8000 macro285 if ((master & WM_VOL_MUTE) || (vol & WM_VOL_MUTE)) in wm_set_vol()288 nvol = 127 - wm_vol[(((vol & ~WM_VOL_MUTE) * in wm_set_vol()289 (master & ~WM_VOL_MUTE)) / 127) & WM_VOL_MAX]; in wm_set_vol()351 ~WM_VOL_MUTE; in wm_master_vol_get()367 vol |= spec->master[ch] & WM_VOL_MUTE; in wm_master_vol_put()466 spec->master[0] = WM_VOL_MUTE; in phase28_init()467 spec->master[1] = WM_VOL_MUTE; in phase28_init()469 spec->vol[i] = WM_VOL_MUTE; in phase28_init()501 spec->vol[ofs+i] & ~WM_VOL_MUTE; in wm_vol_get()[all …]
338 #define WM_VOL_MUTE 0x8000 macro351 if ((master & WM_VOL_MUTE) || (vol & WM_VOL_MUTE)) in wm_set_vol()354 nvol = (((vol & ~WM_VOL_MUTE) * (master & ~WM_VOL_MUTE)) / 128) in wm_set_vol()368 if ((master & WM_VOL_MUTE) || (vol & WM_VOL_MUTE)) in wm8766_set_vol()371 nvol = (((vol & ~WM_VOL_MUTE) * (master & ~WM_VOL_MUTE)) / 128) in wm8766_set_vol()403 spec->vol[2 + i] & ~WM_VOL_MUTE; in wm_dac_vol_get()417 spec->vol[2 + i] &= WM_VOL_MUTE; in wm_dac_vol_put()469 spec->vol[ofs + i] &= WM_VOL_MUTE; in wm8766_vol_put()
700 #define WM_VOL_MUTE 0x8000 macro706 if ((master & WM_VOL_MUTE) || (vol & WM_VOL_MUTE)) { in wm_set_vol()769 spec->master[i] & ~WM_VOL_MUTE; in wm_master_vol_get()784 vol |= spec->master[ch] & WM_VOL_MUTE; in wm_master_vol_put()822 spec->vol[ofs+i] & ~WM_VOL_MUTE; in wm_vol_get()840 vol |= spec->vol[ofs+i] & WM_VOL_MUTE; in wm_vol_put()876 (spec->vol[ofs + i] & WM_VOL_MUTE) ? 0 : 1; in wm_mute_get()891 int val = (spec->vol[ofs + i] & WM_VOL_MUTE) ? 0 : 1; in wm_mute_put()893 spec->vol[ofs + i] &= ~WM_VOL_MUTE; in wm_mute_put()895 ucontrol->value.integer.value[i] ? 0 : WM_VOL_MUTE; in wm_mute_put()[all …]