Home
last modified time | relevance | path

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

12345678

/linux-3.4.99/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-3.4.99/sound/core/
Ddevice.c49 if (snd_BUG_ON(!card || !device_data || !ops)) in snd_device_new()
83 if (snd_BUG_ON(!card || !device_data)) in snd_device_free()
126 if (snd_BUG_ON(!card || !device_data)) in snd_device_disconnect()
162 if (snd_BUG_ON(!card || !device_data)) in snd_device_register()
191 if (snd_BUG_ON(!card)) in snd_device_register_all()
212 if (snd_BUG_ON(!card)) in snd_device_disconnect_all()
231 if (snd_BUG_ON(!card)) in snd_device_free_all()
Dtimer_compat.c43 if (snd_BUG_ON(!tu->timeri)) in snd_timer_user_info_compat()
46 if (snd_BUG_ON(!t)) in snd_timer_user_info_compat()
76 if (snd_BUG_ON(!tu->timeri)) in snd_timer_user_status_compat()
Dcompress_offload.c262 if (snd_BUG_ON(!data)) in snd_compr_write()
325 if (snd_BUG_ON(!data)) in snd_compr_poll()
328 if (snd_BUG_ON(!stream)) in snd_compr_poll()
577 if (snd_BUG_ON(!data)) in snd_compr_ioctl()
580 if (snd_BUG_ON(!stream)) in snd_compr_ioctl()
643 if (snd_BUG_ON(!device || !device->device_data)) in snd_compress_dev_register()
731 if (snd_BUG_ON(!device->ops->open)) in snd_compress_register()
733 if (snd_BUG_ON(!device->ops->free)) in snd_compress_register()
735 if (snd_BUG_ON(!device->ops->set_params)) in snd_compress_register()
737 if (snd_BUG_ON(!device->ops->trigger)) in snd_compress_register()
/linux-3.4.99/sound/synth/emux/
Demux_oss.c118 if (snd_BUG_ON(!arg || !emu)) in snd_emux_open_seq_oss()
188 if (snd_BUG_ON(!arg)) in snd_emux_close_seq_oss()
191 if (snd_BUG_ON(!p)) in snd_emux_close_seq_oss()
195 if (snd_BUG_ON(!emu)) in snd_emux_close_seq_oss()
220 if (snd_BUG_ON(!arg)) in snd_emux_load_patch_seq_oss()
223 if (snd_BUG_ON(!p)) in snd_emux_load_patch_seq_oss()
227 if (snd_BUG_ON(!emu)) in snd_emux_load_patch_seq_oss()
263 if (snd_BUG_ON(!arg)) in snd_emux_ioctl_seq_oss()
266 if (snd_BUG_ON(!p)) in snd_emux_ioctl_seq_oss()
270 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()
247 if (snd_BUG_ON(!port || !chan)) in snd_emux_key_press()
251 if (snd_BUG_ON(!emu || !emu->ops.update)) in snd_emux_key_press()
282 if (snd_BUG_ON(!emu || !emu->ops.update)) in snd_emux_update_channel()
309 if (snd_BUG_ON(!emu || !emu->ops.update)) in snd_emux_update_port()
332 if (snd_BUG_ON(!port || !chan)) in snd_emux_control()
407 if (snd_BUG_ON(!port || !chan)) in snd_emux_terminate_note()
[all …]
Demux_seq.c260 if (snd_BUG_ON(!port || !ev)) in snd_emux_event_input()
312 if (snd_BUG_ON(!p)) in snd_emux_use()
315 if (snd_BUG_ON(!emu)) in snd_emux_use()
335 if (snd_BUG_ON(!p)) in snd_emux_unuse()
338 if (snd_BUG_ON(!emu)) in snd_emux_unuse()
/linux-3.4.99/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()
121 if (snd_BUG_ON(scb->parent_scb_ptr->sub_list_ptr != scb && in _dsp_unlink_scb()
183 if (snd_BUG_ON(scb->index < 0 || in cs46xx_dsp_remove_scb()
191 if (snd_BUG_ON(scb->sub_list_ptr != ins->the_null_scb || in cs46xx_dsp_remove_scb()
201 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()
329 if (snd_BUG_ON(scb->parent_scb_ptr->next_scb_ptr != in _dsp_create_generic_scb()
336 if (snd_BUG_ON(scb->parent_scb_ptr->sub_list_ptr != in _dsp_create_generic_scb()
685 snd_BUG_ON(rate != 48000); in cs46xx_dsp_create_src_task_scb()
[all …]
/linux-3.4.99/sound/core/seq/
Dseq_timer.c175 if (snd_BUG_ON(!tmr)) in snd_seq_timer_set_tempo()
193 if (snd_BUG_ON(!tmr)) in snd_seq_timer_set_ppq()
218 if (snd_BUG_ON(!tmr)) in snd_seq_timer_set_position_tick()
234 if (snd_BUG_ON(!tmr)) in snd_seq_timer_set_position_time()
250 if (snd_BUG_ON(!tmr)) in snd_seq_timer_set_skew()
272 if (snd_BUG_ON(!tmr)) in snd_seq_timer_open()
310 if (snd_BUG_ON(!tmr)) in snd_seq_timer_close()
337 if (snd_BUG_ON(!t)) in initialize_timer()
Dseq_fifo.c68 if (snd_BUG_ON(!fifo)) in snd_seq_fifo_delete()
71 if (snd_BUG_ON(!f)) in snd_seq_fifo_delete()
121 if (snd_BUG_ON(!f)) in snd_seq_fifo_event_in()
180 if (snd_BUG_ON(!f)) in snd_seq_fifo_cell_out()
240 if (snd_BUG_ON(!f || !f->pool)) in snd_seq_fifo_resize()
/linux-3.4.99/sound/drivers/opl3/
Dopl3_oss.c165 if (snd_BUG_ON(!arg)) in snd_opl3_open_seq_oss()
188 if (snd_BUG_ON(!arg)) in snd_opl3_close_seq_oss()
211 if (snd_BUG_ON(!arg)) in snd_opl3_load_patch_seq_oss()
252 if (snd_BUG_ON(!arg)) in snd_opl3_ioctl_seq_oss()
280 if (snd_BUG_ON(!arg)) in snd_opl3_reset_seq_oss()
/linux-3.4.99/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-3.4.99/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-3.4.99/sound/pci/trident/
Dtrident_memory.c198 if (snd_BUG_ON(runtime->dma_bytes <= 0 || in snd_trident_alloc_sg_pages()
203 if (snd_BUG_ON(!hdr)) in snd_trident_alloc_sg_pages()
247 if (snd_BUG_ON(runtime->dma_bytes <= 0 || in snd_trident_alloc_cont_pages()
252 if (snd_BUG_ON(!hdr)) in snd_trident_alloc_cont_pages()
285 if (snd_BUG_ON(!trident || !substream)) in snd_trident_alloc_pages()
303 if (snd_BUG_ON(!trident || !blk)) in snd_trident_free_pages()
/linux-3.4.99/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.c160 if (snd_BUG_ON(!emu)) in snd_emu10k1_midi_input_open()
187 if (snd_BUG_ON(!emu)) in snd_emu10k1_midi_output_open()
215 if (snd_BUG_ON(!emu)) in snd_emu10k1_midi_input_close()
238 if (snd_BUG_ON(!emu)) in snd_emu10k1_midi_output_close()
258 if (snd_BUG_ON(!emu)) in snd_emu10k1_midi_input_trigger()
274 if (snd_BUG_ON(!emu)) in snd_emu10k1_midi_output_trigger()
/linux-3.4.99/sound/core/seq/oss/
Dseq_oss.c167 if (snd_BUG_ON(!dp)) in odev_read()
178 if (snd_BUG_ON(!dp)) in odev_write()
188 if (snd_BUG_ON(!dp)) in odev_ioctl()
204 if (snd_BUG_ON(!dp)) in odev_poll()
/linux-3.4.99/sound/pci/echoaudio/
Dmia_dsp.c45 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.c42 if (snd_BUG_ON((subdevice_id & 0xfff0) != INDIGO_IO)) in init_hw()
110 if (snd_BUG_ON(pipe >= num_pipes_out(chip) || in set_vmixer_gain()

12345678