Home
last modified time | relevance | path

Searched refs:error (Results 1 – 25 of 146) sorted by relevance

123456

/sound/isa/gus/
Dgusextreme.c90 int i, error; in snd_gusextreme_es1688_create() local
114 error = snd_es1688_create(card, chip, port[n], mpu_port[n], in snd_gusextreme_es1688_create()
116 } while (error < 0 && ++i < ARRAY_SIZE(possible_ports)); in snd_gusextreme_es1688_create()
118 return error; in snd_gusextreme_es1688_create()
199 int error; in snd_gusextreme_mixer() local
208 error = snd_ctl_rename_id(card, &id1, &id2); in snd_gusextreme_mixer()
209 if (error < 0) in snd_gusextreme_mixer()
210 return error; in snd_gusextreme_mixer()
215 error = snd_ctl_rename_id(card, &id1, &id2); in snd_gusextreme_mixer()
216 if (error < 0) in snd_gusextreme_mixer()
[all …]
Dgusclassic.c74 int i, error; in snd_gusclassic_create() local
105 error = snd_gus_create(card, port[n], irq[n], dma1[n], dma2[n], in snd_gusclassic_create()
107 } while (error < 0 && ++i < ARRAY_SIZE(possible_ports)); in snd_gusclassic_create()
109 return error; in snd_gusclassic_create()
135 int error; in snd_gusclassic_probe() local
137 error = snd_card_new(dev, index[n], id[n], THIS_MODULE, 0, &card); in snd_gusclassic_probe()
138 if (error < 0) in snd_gusclassic_probe()
139 return error; in snd_gusclassic_probe()
144 error = snd_gusclassic_create(card, dev, n, &gus); in snd_gusclassic_probe()
145 if (error < 0) in snd_gusclassic_probe()
[all …]
/sound/isa/es1688/
Des1688.c91 int i, error; in snd_es1688_legacy_create() local
115 error = snd_es1688_create(card, chip, port[n], mpu_port[n], in snd_es1688_legacy_create()
117 } while (error < 0 && ++i < ARRAY_SIZE(possible_ports)); in snd_es1688_legacy_create()
119 return error; in snd_es1688_legacy_create()
126 int error; in snd_es1688_probe() local
128 error = snd_es1688_pcm(card, chip, 0); in snd_es1688_probe()
129 if (error < 0) in snd_es1688_probe()
130 return error; in snd_es1688_probe()
132 error = snd_es1688_mixer(card, chip); in snd_es1688_probe()
133 if (error < 0) in snd_es1688_probe()
[all …]
/sound/isa/
Dazt2320.c154 int error; in snd_card_azt2320_enable_wss() local
156 if ((error = snd_card_azt2320_command(port, 0x09))) in snd_card_azt2320_enable_wss()
157 return error; in snd_card_azt2320_enable_wss()
158 if ((error = snd_card_azt2320_command(port, 0x00))) in snd_card_azt2320_enable_wss()
159 return error; in snd_card_azt2320_enable_wss()
169 int error; in snd_card_azt2320_probe() local
175 error = snd_card_new(&pcard->card->dev, in snd_card_azt2320_probe()
178 if (error < 0) in snd_card_azt2320_probe()
179 return error; in snd_card_azt2320_probe()
182 if ((error = snd_card_azt2320_pnp(dev, acard, pcard, pid))) { in snd_card_azt2320_probe()
[all …]
Dadlib.c55 int error; in snd_adlib_probe() local
57 error = snd_card_new(dev, index[n], id[n], THIS_MODULE, 0, &card); in snd_adlib_probe()
58 if (error < 0) { in snd_adlib_probe()
60 return error; in snd_adlib_probe()
66 error = -EBUSY; in snd_adlib_probe()
75 error = snd_opl3_create(card, port[n], port[n] + 2, OPL3_HW_AUTO, 1, &opl3); in snd_adlib_probe()
76 if (error < 0) { in snd_adlib_probe()
81 error = snd_opl3_hwdep_new(opl3, 0, 0, NULL); in snd_adlib_probe()
82 if (error < 0) { in snd_adlib_probe()
87 error = snd_card_register(card); in snd_adlib_probe()
[all …]
Dals100.c178 int error; in snd_card_als100_probe() local
184 error = snd_card_new(&pcard->card->dev, in snd_card_als100_probe()
187 if (error < 0) in snd_card_als100_probe()
188 return error; in snd_card_als100_probe()
191 if ((error = snd_card_als100_pnp(dev, acard, pcard, pid))) { in snd_card_als100_probe()
193 return error; in snd_card_als100_probe()
199 error = snd_sbdsp_create(card, port[dev], irq[dev], in snd_card_als100_probe()
204 if (error < 0) { in snd_card_als100_probe()
206 return error; in snd_card_als100_probe()
225 if ((error = snd_sb16dsp_pcm(chip, 0)) < 0) { in snd_card_als100_probe()
[all …]
/sound/isa/opti9xx/
Dmiro.c280 int change, value, error; in snd_miro_put_capture() local
284 error = aci_setvalue(miro->aci, ACI_SET_SOLOMODE, value); in snd_miro_put_capture()
285 if (error < 0) { in snd_miro_put_capture()
287 error); in snd_miro_put_capture()
288 return error; in snd_miro_put_capture()
342 int error, value, change; in snd_miro_put_preamp() local
346 error = aci_setvalue(miro->aci, ACI_SET_PREAMP, value); in snd_miro_put_preamp()
347 if (error < 0) { in snd_miro_put_preamp()
349 error); in snd_miro_put_preamp()
350 return error; in snd_miro_put_preamp()
[all …]
Dopti92x-ad1848.c812 int error; local
832 error = snd_opti9xx_configure(chip, port, irq, dma1, xdma2,
834 if (error)
835 return error;
837 error = snd_wss_create(card, chip->wss_base + 4, -1, irq, dma1, xdma2,
844 if (error < 0)
845 return error;
847 error = snd_wss_pcm(codec, 0);
848 if (error < 0)
849 return error;
[all …]
/sound/isa/ad1816a/
Dad1816a.c129 int error; in snd_card_ad1816a_probe() local
134 error = snd_card_new(&pcard->card->dev, in snd_card_ad1816a_probe()
137 if (error < 0) in snd_card_ad1816a_probe()
138 return error; in snd_card_ad1816a_probe()
141 if ((error = snd_card_ad1816a_pnp(dev, pcard, pid))) { in snd_card_ad1816a_probe()
143 return error; in snd_card_ad1816a_probe()
146 if ((error = snd_ad1816a_create(card, port[dev], in snd_card_ad1816a_probe()
152 return error; in snd_card_ad1816a_probe()
162 if ((error = snd_ad1816a_pcm(chip, 0)) < 0) { in snd_card_ad1816a_probe()
164 return error; in snd_card_ad1816a_probe()
[all …]
/sound/isa/cs423x/
Dcs4231.c81 int error; in snd_cs4231_probe() local
83 error = snd_card_new(dev, index[n], id[n], THIS_MODULE, 0, &card); in snd_cs4231_probe()
84 if (error < 0) in snd_cs4231_probe()
85 return error; in snd_cs4231_probe()
87 error = snd_wss_create(card, port[n], -1, irq[n], dma1[n], dma2[n], in snd_cs4231_probe()
89 if (error < 0) in snd_cs4231_probe()
94 error = snd_wss_pcm(chip, 0); in snd_cs4231_probe()
95 if (error < 0) in snd_cs4231_probe()
110 error = snd_wss_mixer(chip); in snd_cs4231_probe()
111 if (error < 0) in snd_cs4231_probe()
[all …]
/sound/isa/ad1848/
Dad1848.c76 int error; in snd_ad1848_probe() local
78 error = snd_card_new(dev, index[n], id[n], THIS_MODULE, 0, &card); in snd_ad1848_probe()
79 if (error < 0) in snd_ad1848_probe()
80 return error; in snd_ad1848_probe()
82 error = snd_wss_create(card, port[n], -1, irq[n], dma1[n], -1, in snd_ad1848_probe()
85 if (error < 0) in snd_ad1848_probe()
90 error = snd_wss_pcm(chip, 0); in snd_ad1848_probe()
91 if (error < 0) in snd_ad1848_probe()
94 error = snd_wss_mixer(chip); in snd_ad1848_probe()
95 if (error < 0) in snd_ad1848_probe()
[all …]
/sound/core/
Dcontrol_compat.c94 goto error; in snd_ctl_elem_info_compat()
99 goto error; in snd_ctl_elem_info_compat()
103 goto error; in snd_ctl_elem_info_compat()
106 goto error; in snd_ctl_elem_info_compat()
112 goto error; in snd_ctl_elem_info_compat()
114 goto error; in snd_ctl_elem_info_compat()
121 goto error; in snd_ctl_elem_info_compat()
127 goto error; in snd_ctl_elem_info_compat()
133 goto error; in snd_ctl_elem_info_compat()
139 error: in snd_ctl_elem_info_compat()
[all …]
/sound/pci/asihpi/
Dhpi6000.c215 phr->error = HPI_ERROR_INVALID_FUNC; in subsys_message()
233 phr->error = in control_message()
237 phr->error = err; in control_message()
288 phr->error = HPI_ERROR_INVALID_FUNC; in outstream_message()
308 phr->error = HPI_ERROR_INVALID_FUNC; in instream_message()
382 phr->error = HPI_ERROR_INVALID_TYPE; in HPI_6000()
412 phr->error = HPI_ERROR_MEMORY_ALLOC; in subsys_create_adapter()
423 phr->error = HPI_ERROR_DSP_BOOTLOAD; in subsys_create_adapter()
426 phr->error = err; in subsys_create_adapter()
437 phr->error = HPI_ERROR_BAD_ADAPTER; in subsys_create_adapter()
[all …]
Dhpifunc.c106 return hr.error; in hpi_subsys_get_version_ex()
117 return hr.error; in hpi_subsys_get_num_adapters()
132 return hr.error; in hpi_subsys_get_adapter()
145 return hr.error; in hpi_adapter_open()
159 return hr.error; in hpi_adapter_close()
180 return hr.error; in hpi_adapter_set_mode_ex()
193 return hr.error; in hpi_adapter_get_mode()
213 return hr.error; in hpi_adapter_get_info()
237 return hr.error; in hpi_adapter_get_module_by_index()
254 return hr.error; in hpi_adapter_set_property()
[all …]
Dhpimsgx.c351 if (phr->error >= HPI_ERROR_DSP_COMMUNICATION) { in hpi_send_recv_ex()
393 phr->error = HPI_ERROR_OBJ_ALREADY_OPEN; in instream_open()
395 [phm->obj_index].h.error) in instream_open()
413 if (hr.error) { in instream_open()
416 phr->error = hr.error; in instream_open()
457 if (hr.error) { in instream_close()
460 phr->error = hr.error; in instream_close()
473 phr->error = HPI_ERROR_OBJ_NOT_OPEN; in instream_close()
490 phr->error = HPI_ERROR_OBJ_ALREADY_OPEN; in outstream_open()
492 [phm->obj_index].h.error) in outstream_open()
[all …]
/sound/pci/emu10k1/
Demu10k1.c116 goto error; in snd_card_emu10k1_probe()
120 goto error; in snd_card_emu10k1_probe()
122 goto error; in snd_card_emu10k1_probe()
124 goto error; in snd_card_emu10k1_probe()
129 goto error; in snd_card_emu10k1_probe()
133 goto error; in snd_card_emu10k1_probe()
136 goto error; in snd_card_emu10k1_probe()
139 goto error; in snd_card_emu10k1_probe()
142 goto error; in snd_card_emu10k1_probe()
146 goto error; in snd_card_emu10k1_probe()
[all …]
/sound/pci/hda/
Dpatch_cmedia.c52 goto error; in patch_cmi9880()
55 goto error; in patch_cmi9880()
59 error: in patch_cmi9880()
86 goto error; in patch_cmi8888()
89 goto error; in patch_cmi8888()
98 goto error; in patch_cmi8888()
104 error: in patch_cmi8888()
Dpatch_via.c621 goto error; in patch_vt1708()
626 goto error; in patch_vt1708()
631 goto error; in patch_vt1708()
639 error: in patch_vt1708()
658 goto error; in patch_vt1709()
662 error: in patch_vt1709()
686 goto error; in patch_vt1708B()
690 error: in patch_vt1708B()
739 goto error; in patch_vt1708S()
744 goto error; in patch_vt1708S()
[all …]
/sound/firewire/digi00x/
Ddigi00x.c69 goto error; in do_registration()
73 goto error; in do_registration()
79 goto error; in do_registration()
83 goto error; in do_registration()
87 goto error; in do_registration()
91 goto error; in do_registration()
95 goto error; in do_registration()
100 error: in do_registration()
/sound/firewire/tascam/
Dtascam.c112 goto error; in do_registration()
116 goto error; in do_registration()
120 goto error; in do_registration()
126 goto error; in do_registration()
130 goto error; in do_registration()
134 goto error; in do_registration()
138 goto error; in do_registration()
143 error: in do_registration()
/sound/isa/galaxy/
Dgalaxy.c512 goto error; in snd_galaxy_probe()
519 goto error; in snd_galaxy_probe()
530 goto error; in snd_galaxy_probe()
541 goto error; in snd_galaxy_probe()
548 goto error; in snd_galaxy_probe()
560 goto error; in snd_galaxy_probe()
564 goto error; in snd_galaxy_probe()
568 goto error; in snd_galaxy_probe()
572 goto error; in snd_galaxy_probe()
578 goto error; in snd_galaxy_probe()
[all …]
/sound/firewire/fireface/
Dff.c54 goto error; in do_registration()
60 goto error; in do_registration()
66 goto error; in do_registration()
70 goto error; in do_registration()
74 goto error; in do_registration()
78 goto error; in do_registration()
83 error: in do_registration()
Dff-stream.c180 goto error; in snd_ff_stream_start_duplex()
185 goto error; in snd_ff_stream_start_duplex()
190 goto error; in snd_ff_stream_start_duplex()
194 goto error; in snd_ff_stream_start_duplex()
201 goto error; in snd_ff_stream_start_duplex()
206 goto error; in snd_ff_stream_start_duplex()
210 error: in snd_ff_stream_start_duplex()
/sound/firewire/dice/
Ddice.c152 goto error; in do_registration()
156 goto error; in do_registration()
162 goto error; in do_registration()
166 goto error; in do_registration()
172 goto error; in do_registration()
176 goto error; in do_registration()
180 goto error; in do_registration()
184 goto error; in do_registration()
189 error: in do_registration()
/sound/firewire/oxfw/
Doxfw.c199 goto error; in do_registration()
203 goto error; in do_registration()
207 goto error; in do_registration()
211 goto error; in do_registration()
215 goto error; in do_registration()
221 goto error; in do_registration()
225 goto error; in do_registration()
229 goto error; in do_registration()
234 error: in do_registration()

123456