Home
last modified time | relevance | path

Searched refs:WM_VOL_MUTE (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/sound/pci/ice1712/
Dphase.c103 #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()
[all …]
Dprodigy_hifi.c318 #define WM_VOL_MUTE 0x8000 macro
331 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()
Daureon.c694 #define WM_VOL_MUTE 0x8000 macro
700 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 …]