Searched refs:cval (Results 1 – 9 of 9) sorted by relevance
/sound/usb/ |
D | mixer.c | 150 struct usb_mixer_elem_info *cval) in check_mapped_dB() argument 153 cval->dBmin = p->dB->min; in check_mapped_dB() 154 cval->dBmax = p->dB->max; in check_mapped_dB() 155 cval->initialized = 1; in check_mapped_dB() 213 static int convert_signed_value(struct usb_mixer_elem_info *cval, int val) in convert_signed_value() argument 215 switch (cval->val_type) { in convert_signed_value() 243 static int convert_bytes_value(struct usb_mixer_elem_info *cval, int val) in convert_bytes_value() argument 245 switch (cval->val_type) { in convert_bytes_value() 260 static int get_relative_value(struct usb_mixer_elem_info *cval, int val) in get_relative_value() argument 262 if (!cval->res) in get_relative_value() [all …]
|
D | mixer_quirks.c | 79 struct usb_mixer_elem_info *cval; in snd_create_std_mono_ctl_offset() local 82 cval = kzalloc(sizeof(*cval), GFP_KERNEL); in snd_create_std_mono_ctl_offset() 83 if (!cval) in snd_create_std_mono_ctl_offset() 86 cval->id = unitid; in snd_create_std_mono_ctl_offset() 87 cval->mixer = mixer; in snd_create_std_mono_ctl_offset() 88 cval->val_type = val_type; in snd_create_std_mono_ctl_offset() 89 cval->channels = 1; in snd_create_std_mono_ctl_offset() 90 cval->control = control; in snd_create_std_mono_ctl_offset() 91 cval->cmask = cmask; in snd_create_std_mono_ctl_offset() 92 cval->idx_off = idx_off; in snd_create_std_mono_ctl_offset() [all …]
|
D | mixer.h | 65 int snd_usb_mixer_set_ctl_value(struct usb_mixer_elem_info *cval,
|
/sound/pci/ice1712/ |
D | amp.c | 35 unsigned short cval; in wm_put() local 36 cval = (reg << 9) | val; in wm_put() 37 snd_vt1724_write_i2c(ice, WM_DEV, cval >> 8, cval & 0xff); in wm_put()
|
D | pontis.c | 93 unsigned short cval; in wm_put_nocache() local 94 cval = (reg << 9) | val; in wm_put_nocache() 95 snd_vt1724_write_i2c(ice, WM_DEV, cval >> 8, cval & 0xff); in wm_put_nocache()
|
D | prodigy_hifi.c | 139 unsigned short cval; in wm_put_nocache() local 140 cval = (reg << 9) | val; in wm_put_nocache() 141 snd_vt1724_write_i2c(ice, WM_DEV, cval >> 8, cval & 0xff); in wm_put_nocache()
|
D | ice1712.c | 2076 unsigned int val, cval; in snd_ice1712_pro_route_analog_get() local 2080 cval = inl(ICEMT(ice, ROUTE_CAPTURE)); in snd_ice1712_pro_route_analog_get() 2085 cval >>= ((idx / 2) * 8) + ((idx % 2) * 4); in snd_ice1712_pro_route_analog_get() 2089 ucontrol->value.enumerated.item[0] = (cval & 7) + 1; in snd_ice1712_pro_route_analog_get() 2091 ucontrol->value.enumerated.item[0] = ((cval >> 3) & 1) + 9; in snd_ice1712_pro_route_analog_get() 2152 unsigned int val, cval; in snd_ice1712_pro_route_spdif_get() local 2154 cval = (val >> (idx * 4 + 8)) & 0x0f; in snd_ice1712_pro_route_spdif_get() 2159 ucontrol->value.enumerated.item[0] = (cval & 7) + 1; in snd_ice1712_pro_route_spdif_get() 2161 ucontrol->value.enumerated.item[0] = ((cval >> 3) & 1) + 9; in snd_ice1712_pro_route_spdif_get()
|
/sound/synth/emux/ |
D | emux_nrpn.c | 56 int i, cval; in send_converted_effect() local 59 cval = table[i].convert(val); in send_converted_effect() 61 cval, mode); in send_converted_effect()
|
/sound/pci/ac97/ |
D | ac97_patch.c | 2407 unsigned short cval; in snd_ac97_ad1986_vrefout_put() local 2417 cval = 0; in snd_ac97_ad1986_vrefout_put() 2422 cval = AC97_AD1986_CVREF2; in snd_ac97_ad1986_vrefout_put() 2427 cval = AC97_AD1986_CVREF0; in snd_ac97_ad1986_vrefout_put() 2432 cval = AC97_AD1986_CVREF1; in snd_ac97_ad1986_vrefout_put() 2441 AC97_AD1986_CVREF_MASK, cval); in snd_ac97_ad1986_vrefout_put()
|