Home
last modified time | relevance | path

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

/Linux-v5.4/sound/pci/ice1712/
Dphase.c89 #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()
[all …]
Dprodigy_hifi.c304 #define WM_VOL_MUTE 0x8000 macro
317 if ((master & WM_VOL_MUTE) || (vol & WM_VOL_MUTE)) in wm_set_vol()
320 nvol = (((vol & ~WM_VOL_MUTE) * (master & ~WM_VOL_MUTE)) / 128) in wm_set_vol()
334 if ((master & WM_VOL_MUTE) || (vol & WM_VOL_MUTE)) in wm8766_set_vol()
337 nvol = (((vol & ~WM_VOL_MUTE) * (master & ~WM_VOL_MUTE)) / 128) in wm8766_set_vol()
369 spec->vol[2 + i] & ~WM_VOL_MUTE; in wm_dac_vol_get()
383 spec->vol[2 + i] &= WM_VOL_MUTE; in wm_dac_vol_put()
435 spec->vol[ofs + i] &= WM_VOL_MUTE; in wm8766_vol_put()
Daureon.c680 #define WM_VOL_MUTE 0x8000 macro
686 if ((master & WM_VOL_MUTE) || (vol & WM_VOL_MUTE)) { in wm_set_vol()
749 spec->master[i] & ~WM_VOL_MUTE; in wm_master_vol_get()
764 vol |= spec->master[ch] & WM_VOL_MUTE; in wm_master_vol_put()
802 spec->vol[ofs+i] & ~WM_VOL_MUTE; in wm_vol_get()
820 vol |= spec->vol[ofs+i] & WM_VOL_MUTE; in wm_vol_put()
856 (spec->vol[ofs + i] & WM_VOL_MUTE) ? 0 : 1; in wm_mute_get()
871 int val = (spec->vol[ofs + i] & WM_VOL_MUTE) ? 0 : 1; in wm_mute_put()
873 spec->vol[ofs + i] &= ~WM_VOL_MUTE; in wm_mute_put()
875 ucontrol->value.integer.value[i] ? 0 : WM_VOL_MUTE; in wm_mute_put()
[all …]