/sound/soc/qcom/ |
D | apq8016_sbc.c | 49 int i, rval; in apq8016_sbc_dai_init() local 89 rval = snd_soc_card_jack_new(card, "Headset Jack", in apq8016_sbc_dai_init() 97 if (rval < 0) { in apq8016_sbc_dai_init() 99 return rval; in apq8016_sbc_dai_init() 115 rval = snd_soc_component_set_sysclk(component, 0, 0, DEFAULT_MCLK_RATE, in apq8016_sbc_dai_init() 117 if (rval != 0 && rval != -ENOTSUPP) { in apq8016_sbc_dai_init() 118 dev_warn(card->dev, "Failed to set mclk: %d\n", rval); in apq8016_sbc_dai_init() 119 return rval; in apq8016_sbc_dai_init() 121 rval = snd_soc_component_set_jack(component, &pdata->jack, NULL); in apq8016_sbc_dai_init() 122 if (rval != 0 && rval != -ENOTSUPP) { in apq8016_sbc_dai_init() [all …]
|
D | sdm845.c | 239 int rval, i; in sdm845_dai_init() local 243 rval = snd_soc_card_jack_new(card, "Headset Jack", in sdm845_dai_init() 250 if (rval < 0) { in sdm845_dai_init() 252 return rval; in sdm845_dai_init() 271 rval = snd_soc_component_set_jack(component, in sdm845_dai_init() 273 if (rval != 0 && rval != -ENOTSUPP) { in sdm845_dai_init() 274 dev_warn(card->dev, "Failed to set jack: %d\n", rval); in sdm845_dai_init() 275 return rval; in sdm845_dai_init() 280 rval = snd_soc_dai_set_channel_map(codec_dai, in sdm845_dai_init() 285 if (rval != 0 && rval != -ENOTSUPP) in sdm845_dai_init() [all …]
|
D | sc7180.c | 51 int rval; in sc7180_headset_init() local 53 rval = snd_soc_card_jack_new( in sc7180_headset_init() 61 if (rval < 0) { in sc7180_headset_init() 63 return rval; in sc7180_headset_init() 86 int rval; in sc7180_hdmi_init() local 88 rval = snd_soc_card_jack_new( in sc7180_hdmi_init() 93 if (rval < 0) { in sc7180_hdmi_init() 95 return rval; in sc7180_hdmi_init()
|
D | lpass-cpu.c | 614 int rval; in lpass_hdmi_init_bitfields() local 643 rval = devm_regmap_field_bulk_alloc(dev, map, &meta_ctl->mute, &v->mute, 7); in lpass_hdmi_init_bitfields() 644 if (rval) in lpass_hdmi_init_bitfields() 645 return rval; in lpass_hdmi_init_bitfields() 652 rval = devm_regmap_field_bulk_alloc(dev, map, &sstream_ctl->sstream_en, &v->sstream_en, 9); in lpass_hdmi_init_bitfields() 653 if (rval) in lpass_hdmi_init_bitfields() 654 return rval; in lpass_hdmi_init_bitfields()
|
D | lpass-platform.c | 59 int rval; in lpass_platform_alloc_dmactl_fields() local 74 rval = devm_regmap_field_bulk_alloc(dev, map, &rd_dmactl->intf, in lpass_platform_alloc_dmactl_fields() 76 if (rval) in lpass_platform_alloc_dmactl_fields() 77 return rval; in lpass_platform_alloc_dmactl_fields()
|
/sound/drivers/ |
D | mtpav.c | 207 u8 rval = 0; in snd_mtpav_getreg() local 210 rval = inb(chip->port + SREG); in snd_mtpav_getreg() 211 rval = (rval & 0xf8); in snd_mtpav_getreg() 213 rval = inb(chip->port + CREG); in snd_mtpav_getreg() 214 rval = (rval & 0x1c); in snd_mtpav_getreg() 217 return rval; in snd_mtpav_getreg() 623 int rval; in snd_mtpav_get_RAWMIDI() local 634 rval = snd_rawmidi_new(mcard->card, "MotuMIDI", 0, in snd_mtpav_get_RAWMIDI() 638 if (rval < 0) in snd_mtpav_get_RAWMIDI() 639 return rval; in snd_mtpav_get_RAWMIDI()
|
/sound/soc/codecs/ |
D | msm8916-wcd-analog.c | 1136 int rval; in pm8916_wcd_analog_parse_dt() local 1164 rval = of_property_read_u32_array(dev->of_node, in pm8916_wcd_analog_parse_dt() 1168 if (rval < 0) { in pm8916_wcd_analog_parse_dt() 1171 rval = of_property_read_u32_array(dev->of_node, in pm8916_wcd_analog_parse_dt() 1175 if (rval < 0) in pm8916_wcd_analog_parse_dt()
|
/sound/pci/riptide/ |
D | riptide.c | 923 setmixer(struct cmdif *cif, short num, unsigned short rval, unsigned short lval) in setmixer() argument 928 snd_printdd("sent mixer %d: 0x%x 0x%x\n", num, rval, lval); in setmixer() 930 SEND_SDGV(cif, num, num, rval, lval); in setmixer() 932 if (rptr.retwords[0] == lval && rptr.retwords[1] == rval) in setmixer() 1058 getmixer(struct cmdif *cif, short num, unsigned short *rval, in getmixer() argument 1065 *rval = rptr.retwords[0]; in getmixer() 1067 snd_printdd("got mixer %d: 0x%x 0x%x\n", num, *rval, *lval); in getmixer() 1872 unsigned short rval = 0, lval = 0; in snd_riptide_proc_read() local 1894 getmixer(cif, i, &rval, &lval); in snd_riptide_proc_read() 1895 snd_iprintf(buffer, "\n %d: %d %d", i, rval, lval); in snd_riptide_proc_read()
|
/sound/soc/ |
D | soc-dapm.c | 3324 unsigned int reg_val, val, rval = 0; in snd_soc_dapm_get_volsw() local 3335 rval = (reg_val >> mc->rshift) & mask; in snd_soc_dapm_get_volsw() 3341 rval = (reg_val >> width) & mask; in snd_soc_dapm_get_volsw() 3352 ucontrol->value.integer.value[1] = max - rval; in snd_soc_dapm_get_volsw() 3354 ucontrol->value.integer.value[1] = rval; in snd_soc_dapm_get_volsw() 3383 unsigned int val, rval = 0; in snd_soc_dapm_put_volsw() local 3395 rval = (ucontrol->value.integer.value[1] & mask); in snd_soc_dapm_put_volsw() 3396 rconnect = !!rval; in snd_soc_dapm_put_volsw() 3398 rval = max - rval; in snd_soc_dapm_put_volsw() 3408 change = dapm_kcontrol_set_value(kcontrol, val | (rval << width)); in snd_soc_dapm_put_volsw() [all …]
|
/sound/firewire/ |
D | amdtp-stream.c | 868 static int compare_ohci_cycle_count(u32 lval, u32 rval) in compare_ohci_cycle_count() argument 870 if (lval == rval) in compare_ohci_cycle_count() 872 else if (lval < rval && rval - lval < OHCI_SECOND_MODULUS * CYCLES_PER_SECOND / 2) in compare_ohci_cycle_count()
|
/sound/sparc/ |
D | dbri.c | 1847 int rval = D_INTR_GETRVAL(x); in dbri_process_one_interrupt() local 1855 channel, code, rval); in dbri_process_one_interrupt()
|