Home
last modified time | relevance | path

Searched refs:snd_BUG_ON (Results 1 – 25 of 174) sorted by relevance

1234567

/Linux-v4.19/sound/core/oss/
Dcopy.c35 if (snd_BUG_ON(!plugin || !src_channels || !dst_channels)) in copy_transfer()
41 if (snd_BUG_ON(src_channels->area.first % 8 || in copy_transfer()
44 if (snd_BUG_ON(dst_channels->area.first % 8 || in copy_transfer()
70 if (snd_BUG_ON(!r_plugin)) in snd_pcm_plugin_build_copy()
74 if (snd_BUG_ON(src_format->format != dst_format->format)) in snd_pcm_plugin_build_copy()
76 if (snd_BUG_ON(src_format->rate != dst_format->rate)) in snd_pcm_plugin_build_copy()
78 if (snd_BUG_ON(src_format->channels != dst_format->channels)) in snd_pcm_plugin_build_copy()
82 if (snd_BUG_ON(width <= 0)) in snd_pcm_plugin_build_copy()
Dio.c42 if (snd_BUG_ON(!plugin)) in io_playback_transfer()
44 if (snd_BUG_ON(!src_channels)) in io_playback_transfer()
51 if (snd_BUG_ON(!bufs)) in io_playback_transfer()
68 if (snd_BUG_ON(!plugin)) in io_capture_transfer()
70 if (snd_BUG_ON(!dst_channels)) in io_capture_transfer()
77 if (snd_BUG_ON(!bufs)) in io_capture_transfer()
116 if (snd_BUG_ON(!r_plugin)) in snd_pcm_plugin_build_io()
119 if (snd_BUG_ON(!plug || !params)) in snd_pcm_plugin_build_io()
Drate.c188 if (snd_BUG_ON(!plugin)) in rate_src_frames()
221 if (snd_BUG_ON(!plugin)) in rate_dst_frames()
257 if (snd_BUG_ON(!plugin || !src_channels || !dst_channels)) in rate_transfer()
265 if (snd_BUG_ON(src_channels[channel].area.first % 8 || in rate_transfer()
268 if (snd_BUG_ON(dst_channels[channel].area.first % 8 || in rate_transfer()
287 if (snd_BUG_ON(!plugin)) in rate_action()
309 if (snd_BUG_ON(!r_plugin)) in snd_pcm_plugin_build_rate()
313 if (snd_BUG_ON(src_format->channels != dst_format->channels)) in snd_pcm_plugin_build_rate()
315 if (snd_BUG_ON(src_format->channels <= 0)) in snd_pcm_plugin_build_rate()
317 if (snd_BUG_ON(src_format->format != SNDRV_PCM_FORMAT_S16)) in snd_pcm_plugin_build_rate()
[all …]
Dlinear.c93 if (snd_BUG_ON(!plugin || !src_channels || !dst_channels)) in linear_transfer()
101 if (snd_BUG_ON(src_channels[channel].area.first % 8 || in linear_transfer()
104 if (snd_BUG_ON(dst_channels[channel].area.first % 8 || in linear_transfer()
156 if (snd_BUG_ON(!r_plugin)) in snd_pcm_plugin_build_linear()
160 if (snd_BUG_ON(src_format->rate != dst_format->rate)) in snd_pcm_plugin_build_linear()
162 if (snd_BUG_ON(src_format->channels != dst_format->channels)) in snd_pcm_plugin_build_linear()
164 if (snd_BUG_ON(!snd_pcm_format_linear(src_format->format) || in snd_pcm_plugin_build_linear()
Droute.c56 if (snd_BUG_ON(!plugin || !src_channels || !dst_channels)) in route_transfer()
93 if (snd_BUG_ON(!r_plugin)) in snd_pcm_plugin_build_route()
96 if (snd_BUG_ON(src_format->rate != dst_format->rate)) in snd_pcm_plugin_build_route()
98 if (snd_BUG_ON(src_format->format != dst_format->format)) in snd_pcm_plugin_build_route()
Dmulaw.c255 if (snd_BUG_ON(!plugin || !src_channels || !dst_channels)) in mulaw_transfer()
263 if (snd_BUG_ON(src_channels[channel].area.first % 8 || in mulaw_transfer()
266 if (snd_BUG_ON(dst_channels[channel].area.first % 8 || in mulaw_transfer()
309 if (snd_BUG_ON(!r_plugin)) in snd_pcm_plugin_build_mulaw()
313 if (snd_BUG_ON(src_format->rate != dst_format->rate)) in snd_pcm_plugin_build_mulaw()
315 if (snd_BUG_ON(src_format->channels != dst_format->channels)) in snd_pcm_plugin_build_mulaw()
330 if (snd_BUG_ON(!snd_pcm_format_linear(format->format))) in snd_pcm_plugin_build_mulaw()
Dpcm_plugin.c65 if (snd_BUG_ON(size % 8)) in snd_pcm_plugin_alloc()
88 if (snd_BUG_ON(size % format->channels)) in snd_pcm_plugin_alloc()
107 if (snd_BUG_ON(!snd_pcm_plug_first(plug))) in snd_pcm_plug_alloc()
114 if (snd_BUG_ON(frames <= 0)) in snd_pcm_plug_alloc()
126 if (snd_BUG_ON(frames <= 0)) in snd_pcm_plug_alloc()
156 if (snd_BUG_ON(!plug)) in snd_pcm_plugin_build()
158 if (snd_BUG_ON(!src_format || !dst_format)) in snd_pcm_plugin_build()
169 snd_BUG_ON(plugin->src_width <= 0); in snd_pcm_plugin_build()
172 snd_BUG_ON(plugin->dst_width <= 0); in snd_pcm_plugin_build()
204 if (snd_BUG_ON(!plug)) in snd_pcm_plug_client_size()
[all …]
/Linux-v4.19/sound/synth/emux/
Demux_oss.c117 if (snd_BUG_ON(!arg || !emu)) in snd_emux_open_seq_oss()
180 if (snd_BUG_ON(!arg)) in snd_emux_close_seq_oss()
183 if (snd_BUG_ON(!p)) in snd_emux_close_seq_oss()
187 if (snd_BUG_ON(!emu)) in snd_emux_close_seq_oss()
210 if (snd_BUG_ON(!arg)) in snd_emux_load_patch_seq_oss()
213 if (snd_BUG_ON(!p)) in snd_emux_load_patch_seq_oss()
217 if (snd_BUG_ON(!emu)) in snd_emux_load_patch_seq_oss()
253 if (snd_BUG_ON(!arg)) in snd_emux_ioctl_seq_oss()
256 if (snd_BUG_ON(!p)) in snd_emux_ioctl_seq_oss()
260 if (snd_BUG_ON(!emu)) in snd_emux_ioctl_seq_oss()
[all …]
Demux_synth.c70 if (snd_BUG_ON(!port || !chan)) in snd_emux_note_on()
74 if (snd_BUG_ON(!emu || !emu->ops.get_voice || !emu->ops.trigger)) in snd_emux_note_on()
168 if (snd_BUG_ON(!port || !chan)) in snd_emux_note_off()
172 if (snd_BUG_ON(!emu || !emu->ops.release)) in snd_emux_note_off()
245 if (snd_BUG_ON(!port || !chan)) in snd_emux_key_press()
249 if (snd_BUG_ON(!emu || !emu->ops.update)) in snd_emux_key_press()
280 if (snd_BUG_ON(!emu || !emu->ops.update)) in snd_emux_update_channel()
307 if (snd_BUG_ON(!emu || !emu->ops.update)) in snd_emux_update_port()
330 if (snd_BUG_ON(!port || !chan)) in snd_emux_control()
405 if (snd_BUG_ON(!port || !chan)) in snd_emux_terminate_note()
[all …]
Demux_seq.c258 if (snd_BUG_ON(!port || !ev)) in snd_emux_event_input()
325 if (snd_BUG_ON(!p)) in snd_emux_use()
328 if (snd_BUG_ON(!emu)) in snd_emux_use()
348 if (snd_BUG_ON(!p)) in snd_emux_unuse()
351 if (snd_BUG_ON(!emu)) in snd_emux_unuse()
/Linux-v4.19/sound/core/
Ddevice.c50 if (snd_BUG_ON(!card || !device_data || !ops)) in snd_device_new()
125 if (snd_BUG_ON(!card || !device_data)) in snd_device_disconnect()
149 if (snd_BUG_ON(!card || !device_data)) in snd_device_free()
190 if (snd_BUG_ON(!card || !device_data)) in snd_device_register()
209 if (snd_BUG_ON(!card)) in snd_device_register_all()
227 if (snd_BUG_ON(!card)) in snd_device_disconnect_all()
241 if (snd_BUG_ON(!card)) in snd_device_free_all()
Dsound.c220 if (snd_BUG_ON(!card)) in snd_find_free_minor()
229 if (snd_BUG_ON(!card)) in snd_find_free_minor()
236 if (snd_BUG_ON(minor < 0 || minor >= SNDRV_OS_MINORS)) in snd_find_free_minor()
266 if (snd_BUG_ON(!device)) in snd_register_device()
/Linux-v4.19/sound/pci/cs46xx/
Ddsp_spos_scb_lib.c49 if (snd_BUG_ON(ins->symbol_table.nsymbols <= 0)) in remove_symbol()
51 if (snd_BUG_ON(symbol_index < 0 || in remove_symbol()
118 if (snd_BUG_ON(scb->parent_scb_ptr->sub_list_ptr != scb && in _dsp_unlink_scb()
180 if (snd_BUG_ON(scb->index < 0 || in cs46xx_dsp_remove_scb()
188 if (snd_BUG_ON(scb->sub_list_ptr != ins->the_null_scb || in cs46xx_dsp_remove_scb()
198 if (snd_BUG_ON(!scb->scb_symbol)) in cs46xx_dsp_remove_scb()
298 if (snd_BUG_ON(!ins->the_null_scb)) in _dsp_create_generic_scb()
335 if (snd_BUG_ON(scb->parent_scb_ptr->next_scb_ptr != in _dsp_create_generic_scb()
342 if (snd_BUG_ON(scb->parent_scb_ptr->sub_list_ptr != in _dsp_create_generic_scb()
695 snd_BUG_ON(rate != 48000); in cs46xx_dsp_create_src_task_scb()
[all …]
/Linux-v4.19/sound/drivers/opl3/
Dopl3_oss.c149 if (snd_BUG_ON(!arg)) in snd_opl3_open_seq_oss()
172 if (snd_BUG_ON(!arg)) in snd_opl3_close_seq_oss()
195 if (snd_BUG_ON(!arg)) in snd_opl3_load_patch_seq_oss()
234 if (snd_BUG_ON(!arg)) in snd_opl3_ioctl_seq_oss()
259 if (snd_BUG_ON(!arg)) in snd_opl3_reset_seq_oss()
/Linux-v4.19/sound/core/seq/
Dseq_fifo.c68 if (snd_BUG_ON(!fifo)) in snd_seq_fifo_delete()
71 if (snd_BUG_ON(!f)) in snd_seq_fifo_delete()
124 if (snd_BUG_ON(!f)) in snd_seq_fifo_event_in()
184 if (snd_BUG_ON(!f)) in snd_seq_fifo_cell_out()
246 if (snd_BUG_ON(!f || !f->pool)) in snd_seq_fifo_resize()
Dseq_timer.c181 if (snd_BUG_ON(!tmr)) in snd_seq_timer_set_tempo()
200 if (snd_BUG_ON(!tmr)) in snd_seq_timer_set_tempo_ppq()
227 if (snd_BUG_ON(!tmr)) in snd_seq_timer_set_position_tick()
243 if (snd_BUG_ON(!tmr)) in snd_seq_timer_set_position_time()
259 if (snd_BUG_ON(!tmr)) in snd_seq_timer_set_skew()
281 if (snd_BUG_ON(!tmr)) in snd_seq_timer_open()
322 if (snd_BUG_ON(!tmr)) in snd_seq_timer_close()
/Linux-v4.19/sound/isa/wavefront/
Dwavefront_midi.c238 if (snd_BUG_ON(!substream || !substream->rmidi)) in snd_wavefront_midi_input_open()
240 if (snd_BUG_ON(!substream->rmidi->private_data)) in snd_wavefront_midi_input_open()
262 if (snd_BUG_ON(!substream || !substream->rmidi)) in snd_wavefront_midi_output_open()
264 if (snd_BUG_ON(!substream->rmidi->private_data)) in snd_wavefront_midi_output_open()
286 if (snd_BUG_ON(!substream || !substream->rmidi)) in snd_wavefront_midi_input_close()
288 if (snd_BUG_ON(!substream->rmidi->private_data)) in snd_wavefront_midi_input_close()
309 if (snd_BUG_ON(!substream || !substream->rmidi)) in snd_wavefront_midi_output_close()
311 if (snd_BUG_ON(!substream->rmidi->private_data)) in snd_wavefront_midi_output_close()
/Linux-v4.19/sound/pci/ca0106/
Dca_midi.c128 if (snd_BUG_ON(!midi->dev_id)) in ca_midi_input_open()
148 if (snd_BUG_ON(!midi->dev_id)) in ca_midi_output_open()
168 if (snd_BUG_ON(!midi->dev_id)) in ca_midi_input_close()
188 if (snd_BUG_ON(!midi->dev_id)) in ca_midi_output_close()
210 if (snd_BUG_ON(!midi->dev_id)) in ca_midi_input_trigger()
225 if (snd_BUG_ON(!midi->dev_id)) in ca_midi_output_trigger()
/Linux-v4.19/sound/pci/trident/
Dtrident_memory.c197 if (snd_BUG_ON(runtime->dma_bytes <= 0 || in snd_trident_alloc_sg_pages()
202 if (snd_BUG_ON(!hdr)) in snd_trident_alloc_sg_pages()
246 if (snd_BUG_ON(runtime->dma_bytes <= 0 || in snd_trident_alloc_cont_pages()
251 if (snd_BUG_ON(!hdr)) in snd_trident_alloc_cont_pages()
284 if (snd_BUG_ON(!trident || !substream)) in snd_trident_alloc_pages()
302 if (snd_BUG_ON(!trident || !blk)) in snd_trident_free_pages()
/Linux-v4.19/sound/pci/emu10k1/
Dvoice.c121 if (snd_BUG_ON(!rvoice)) in snd_emu10k1_voice_alloc()
123 if (snd_BUG_ON(!number)) in snd_emu10k1_voice_alloc()
157 if (snd_BUG_ON(!pvoice)) in snd_emu10k1_voice_free()
Demumpu401.c163 if (snd_BUG_ON(!emu)) in snd_emu10k1_midi_input_open()
190 if (snd_BUG_ON(!emu)) in snd_emu10k1_midi_output_open()
218 if (snd_BUG_ON(!emu)) in snd_emu10k1_midi_input_close()
241 if (snd_BUG_ON(!emu)) in snd_emu10k1_midi_output_close()
261 if (snd_BUG_ON(!emu)) in snd_emu10k1_midi_input_trigger()
277 if (snd_BUG_ON(!emu)) in snd_emu10k1_midi_output_trigger()
/Linux-v4.19/sound/core/seq/oss/
Dseq_oss.c164 if (snd_BUG_ON(!dp)) in odev_read()
175 if (snd_BUG_ON(!dp)) in odev_write()
185 if (snd_BUG_ON(!dp)) in odev_ioctl()
205 if (snd_BUG_ON(!dp)) in odev_poll()
/Linux-v4.19/sound/hda/
Darray.c20 if (snd_BUG_ON(!array->elem_size)) in snd_array_new()
27 if (snd_BUG_ON(num >= 4096)) in snd_array_new()
/Linux-v4.19/sound/pci/echoaudio/
Dmia_dsp.c44 if (snd_BUG_ON((subdevice_id & 0xfff0) != MIA)) in init_hw()
157 if (snd_BUG_ON(clock != ECHO_CLOCK_INTERNAL && in set_input_clock()
173 if (snd_BUG_ON(pipe >= num_pipes_out(chip) || in set_vmixer_gain()
Dindigoio_dsp.c41 if (snd_BUG_ON((subdevice_id & 0xfff0) != INDIGO_IO)) in init_hw()
109 if (snd_BUG_ON(pipe >= num_pipes_out(chip) || in set_vmixer_gain()

1234567