Searched refs:cval (Results 1 – 10 of 10) sorted by relevance
/sound/usb/ |
D | mixer.c | 126 #define filter_error(cval, err) \ argument 127 ((cval)->head.mixer->ignore_ctl_error ? 0 : (err)) 140 struct usb_mixer_elem_info *cval) in check_mapped_dB() argument 143 cval->dBmin = p->dB->min; in check_mapped_dB() 144 cval->dBmax = p->dB->max; in check_mapped_dB() 145 cval->initialized = 1; in check_mapped_dB() 203 static int convert_signed_value(struct usb_mixer_elem_info *cval, int val) in convert_signed_value() argument 205 switch (cval->val_type) { in convert_signed_value() 233 static int convert_bytes_value(struct usb_mixer_elem_info *cval, int val) in convert_bytes_value() argument 235 switch (cval->val_type) { in convert_bytes_value() [all …]
|
D | mixer_quirks.c | 63 struct usb_mixer_elem_info *cval; in snd_create_std_mono_ctl_offset() local 66 cval = kzalloc(sizeof(*cval), GFP_KERNEL); in snd_create_std_mono_ctl_offset() 67 if (!cval) in snd_create_std_mono_ctl_offset() 70 snd_usb_mixer_elem_init_std(&cval->head, mixer, unitid); in snd_create_std_mono_ctl_offset() 71 cval->val_type = val_type; in snd_create_std_mono_ctl_offset() 72 cval->channels = 1; in snd_create_std_mono_ctl_offset() 73 cval->control = control; in snd_create_std_mono_ctl_offset() 74 cval->cmask = cmask; in snd_create_std_mono_ctl_offset() 75 cval->idx_off = idx_off; in snd_create_std_mono_ctl_offset() 79 cval->min = 0; in snd_create_std_mono_ctl_offset() [all …]
|
D | mixer.h | 105 int snd_usb_mixer_set_ctl_value(struct usb_mixer_elem_info *cval, 127 int snd_usb_set_cur_mix_value(struct usb_mixer_elem_info *cval, int channel, 130 int snd_usb_get_cur_mix_value(struct usb_mixer_elem_info *cval,
|
D | mixer_quirks.h | 14 struct usb_mixer_elem_info *cval, int unitid,
|
/sound/pci/ice1712/ |
D | amp.c | 21 unsigned short cval; in wm_put() local 22 cval = (reg << 9) | val; in wm_put() 23 snd_vt1724_write_i2c(ice, WM_DEV, cval >> 8, cval & 0xff); in wm_put()
|
D | pontis.c | 79 unsigned short cval; in wm_put_nocache() local 80 cval = (reg << 9) | val; in wm_put_nocache() 81 snd_vt1724_write_i2c(ice, WM_DEV, cval >> 8, cval & 0xff); in wm_put_nocache()
|
D | prodigy_hifi.c | 125 unsigned short cval; in wm_put_nocache() local 126 cval = (reg << 9) | val; in wm_put_nocache() 127 snd_vt1724_write_i2c(ice, WM_DEV, cval >> 8, cval & 0xff); in wm_put_nocache()
|
D | ice1712.c | 1993 unsigned int val, cval; in snd_ice1712_pro_route_analog_get() local 1997 cval = inl(ICEMT(ice, ROUTE_CAPTURE)); in snd_ice1712_pro_route_analog_get() 2002 cval >>= ((idx / 2) * 8) + ((idx % 2) * 4); in snd_ice1712_pro_route_analog_get() 2006 ucontrol->value.enumerated.item[0] = (cval & 7) + 1; in snd_ice1712_pro_route_analog_get() 2008 ucontrol->value.enumerated.item[0] = ((cval >> 3) & 1) + 9; in snd_ice1712_pro_route_analog_get() 2069 unsigned int val, cval; in snd_ice1712_pro_route_spdif_get() local 2071 cval = (val >> (idx * 4 + 8)) & 0x0f; in snd_ice1712_pro_route_spdif_get() 2076 ucontrol->value.enumerated.item[0] = (cval & 7) + 1; in snd_ice1712_pro_route_spdif_get() 2078 ucontrol->value.enumerated.item[0] = ((cval >> 3) & 1) + 9; in snd_ice1712_pro_route_spdif_get()
|
/sound/synth/emux/ |
D | emux_nrpn.c | 43 int i, cval; in send_converted_effect() local 46 cval = table[i].convert(val); in send_converted_effect() 48 cval, mode); in send_converted_effect()
|
/sound/pci/ac97/ |
D | ac97_patch.c | 2333 unsigned short cval; in snd_ac97_ad1986_vrefout_put() local 2343 cval = 0; in snd_ac97_ad1986_vrefout_put() 2348 cval = AC97_AD1986_CVREF2; in snd_ac97_ad1986_vrefout_put() 2353 cval = AC97_AD1986_CVREF0; in snd_ac97_ad1986_vrefout_put() 2358 cval = AC97_AD1986_CVREF1; in snd_ac97_ad1986_vrefout_put() 2367 AC97_AD1986_CVREF_MASK, cval); in snd_ac97_ad1986_vrefout_put()
|