/linux-6.1.9/sound/core/oss/ |
D | copy.c | 35 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()
|
D | io.c | 42 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()
|
D | rate.c | 188 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 …]
|
D | linear.c | 93 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() 158 if (snd_BUG_ON(!r_plugin)) in snd_pcm_plugin_build_linear() 162 if (snd_BUG_ON(src_format->rate != dst_format->rate)) in snd_pcm_plugin_build_linear() 164 if (snd_BUG_ON(src_format->channels != dst_format->channels)) in snd_pcm_plugin_build_linear() 166 if (snd_BUG_ON(!snd_pcm_format_linear(src_format->format) || in snd_pcm_plugin_build_linear()
|
D | route.c | 56 if (snd_BUG_ON(!plugin || !src_channels || !dst_channels)) in route_transfer() 95 if (snd_BUG_ON(!r_plugin)) in snd_pcm_plugin_build_route() 98 if (snd_BUG_ON(src_format->rate != dst_format->rate)) in snd_pcm_plugin_build_route() 100 if (snd_BUG_ON(src_format->format != dst_format->format)) in snd_pcm_plugin_build_route()
|
D | mulaw.c | 255 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() 311 if (snd_BUG_ON(!r_plugin)) in snd_pcm_plugin_build_mulaw() 315 if (snd_BUG_ON(src_format->rate != dst_format->rate)) in snd_pcm_plugin_build_mulaw() 317 if (snd_BUG_ON(src_format->channels != dst_format->channels)) in snd_pcm_plugin_build_mulaw()
|
D | pcm_plugin.c | 69 if (snd_BUG_ON(size % 8)) in snd_pcm_plugin_alloc() 92 if (snd_BUG_ON(size % format->channels)) in snd_pcm_plugin_alloc() 111 if (snd_BUG_ON(!snd_pcm_plug_first(plug))) in snd_pcm_plug_alloc() 160 if (snd_BUG_ON(!plug)) in snd_pcm_plugin_build() 162 if (snd_BUG_ON(!src_format || !dst_format)) in snd_pcm_plugin_build() 173 snd_BUG_ON(plugin->src_width <= 0); in snd_pcm_plugin_build() 176 snd_BUG_ON(plugin->dst_width <= 0); in snd_pcm_plugin_build() 249 if (snd_BUG_ON(!plug)) in snd_pcm_plug_client_size() 264 if (snd_BUG_ON(!plug)) in snd_pcm_plug_slave_size() 568 if (snd_BUG_ON(!buf)) in snd_pcm_plug_client_channels_buf() [all …]
|
/linux-6.1.9/sound/synth/emux/ |
D | emux_oss.c | 104 if (snd_BUG_ON(!arg || !emu)) in snd_emux_open_seq_oss() 167 if (snd_BUG_ON(!arg)) in snd_emux_close_seq_oss() 170 if (snd_BUG_ON(!p)) in snd_emux_close_seq_oss() 174 if (snd_BUG_ON(!emu)) in snd_emux_close_seq_oss() 197 if (snd_BUG_ON(!arg)) in snd_emux_load_patch_seq_oss() 200 if (snd_BUG_ON(!p)) in snd_emux_load_patch_seq_oss() 204 if (snd_BUG_ON(!emu)) in snd_emux_load_patch_seq_oss() 240 if (snd_BUG_ON(!arg)) in snd_emux_ioctl_seq_oss() 243 if (snd_BUG_ON(!p)) in snd_emux_ioctl_seq_oss() 247 if (snd_BUG_ON(!emu)) in snd_emux_ioctl_seq_oss() [all …]
|
D | emux_synth.c | 56 if (snd_BUG_ON(!port || !chan)) in snd_emux_note_on() 60 if (snd_BUG_ON(!emu || !emu->ops.get_voice || !emu->ops.trigger)) in snd_emux_note_on() 154 if (snd_BUG_ON(!port || !chan)) in snd_emux_note_off() 158 if (snd_BUG_ON(!emu || !emu->ops.release)) in snd_emux_note_off() 231 if (snd_BUG_ON(!port || !chan)) in snd_emux_key_press() 235 if (snd_BUG_ON(!emu || !emu->ops.update)) in snd_emux_key_press() 266 if (snd_BUG_ON(!emu || !emu->ops.update)) in snd_emux_update_channel() 293 if (snd_BUG_ON(!emu || !emu->ops.update)) in snd_emux_update_port() 316 if (snd_BUG_ON(!port || !chan)) in snd_emux_control() 391 if (snd_BUG_ON(!port || !chan)) in snd_emux_terminate_note() [all …]
|
D | emux_seq.c | 245 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-6.1.9/sound/core/ |
D | device.c | 35 if (snd_BUG_ON(!card || !device_data || !ops)) in snd_device_new() 110 if (snd_BUG_ON(!card || !device_data)) in snd_device_disconnect() 134 if (snd_BUG_ON(!card || !device_data)) in snd_device_free() 175 if (snd_BUG_ON(!card || !device_data)) in snd_device_register() 194 if (snd_BUG_ON(!card)) in snd_device_register_all() 212 if (snd_BUG_ON(!card)) in snd_device_disconnect_all() 226 if (snd_BUG_ON(!card)) in snd_device_free_all()
|
D | sound.c | 214 if (snd_BUG_ON(!card)) in snd_find_free_minor() 223 if (snd_BUG_ON(!card)) in snd_find_free_minor() 230 if (snd_BUG_ON(minor < 0 || minor >= SNDRV_OS_MINORS)) in snd_find_free_minor() 260 if (snd_BUG_ON(!device)) in snd_register_device()
|
/linux-6.1.9/sound/pci/cs46xx/ |
D | dsp_spos_scb_lib.c | 35 if (snd_BUG_ON(ins->symbol_table.nsymbols <= 0)) in remove_symbol() 37 if (snd_BUG_ON(symbol_index < 0 || in remove_symbol() 104 if (snd_BUG_ON(scb->parent_scb_ptr->sub_list_ptr != scb && in _dsp_unlink_scb() 166 if (snd_BUG_ON(scb->index < 0 || in cs46xx_dsp_remove_scb() 174 if (snd_BUG_ON(scb->sub_list_ptr != ins->the_null_scb || in cs46xx_dsp_remove_scb() 184 if (snd_BUG_ON(!scb->scb_symbol)) in cs46xx_dsp_remove_scb() 275 if (snd_BUG_ON(!ins->the_null_scb)) in _dsp_create_generic_scb() 312 if (snd_BUG_ON(scb->parent_scb_ptr->next_scb_ptr != in _dsp_create_generic_scb() 319 if (snd_BUG_ON(scb->parent_scb_ptr->sub_list_ptr != in _dsp_create_generic_scb() 672 snd_BUG_ON(rate != 48000); in cs46xx_dsp_create_src_task_scb() [all …]
|
/linux-6.1.9/sound/pci/trident/ |
D | trident_memory.c | 165 if (snd_BUG_ON(runtime->dma_bytes <= 0 || in snd_trident_alloc_sg_pages() 170 if (snd_BUG_ON(!hdr)) in snd_trident_alloc_sg_pages() 211 if (snd_BUG_ON(runtime->dma_bytes <= 0 || in snd_trident_alloc_cont_pages() 216 if (snd_BUG_ON(!hdr)) in snd_trident_alloc_cont_pages() 248 if (snd_BUG_ON(!trident || !substream)) in snd_trident_alloc_pages() 266 if (snd_BUG_ON(!trident || !blk)) in snd_trident_free_pages()
|
/linux-6.1.9/sound/drivers/opl3/ |
D | opl3_oss.c | 136 if (snd_BUG_ON(!arg)) in snd_opl3_open_seq_oss() 161 if (snd_BUG_ON(!arg)) in snd_opl3_close_seq_oss() 184 if (snd_BUG_ON(!arg)) in snd_opl3_load_patch_seq_oss() 223 if (snd_BUG_ON(!arg)) in snd_opl3_ioctl_seq_oss() 248 if (snd_BUG_ON(!arg)) in snd_opl3_reset_seq_oss()
|
/linux-6.1.9/sound/isa/wavefront/ |
D | wavefront_midi.c | 235 if (snd_BUG_ON(!substream || !substream->rmidi)) in snd_wavefront_midi_input_open() 237 if (snd_BUG_ON(!substream->rmidi->private_data)) in snd_wavefront_midi_input_open() 260 if (snd_BUG_ON(!substream || !substream->rmidi)) in snd_wavefront_midi_output_open() 262 if (snd_BUG_ON(!substream->rmidi->private_data)) in snd_wavefront_midi_output_open() 285 if (snd_BUG_ON(!substream || !substream->rmidi)) in snd_wavefront_midi_input_close() 287 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-6.1.9/sound/pci/ca0106/ |
D | ca_midi.c | 113 if (snd_BUG_ON(!midi->dev_id)) in ca_midi_input_open() 133 if (snd_BUG_ON(!midi->dev_id)) in ca_midi_output_open() 153 if (snd_BUG_ON(!midi->dev_id)) in ca_midi_input_close() 173 if (snd_BUG_ON(!midi->dev_id)) in ca_midi_output_close() 195 if (snd_BUG_ON(!midi->dev_id)) in ca_midi_input_trigger() 210 if (snd_BUG_ON(!midi->dev_id)) in ca_midi_output_trigger()
|
/linux-6.1.9/sound/core/seq/ |
D | seq_fifo.c | 53 if (snd_BUG_ON(!fifo)) in snd_seq_fifo_delete() 56 if (snd_BUG_ON(!f)) in snd_seq_fifo_delete() 108 if (snd_BUG_ON(!f)) in snd_seq_fifo_event_in() 169 if (snd_BUG_ON(!f)) in snd_seq_fifo_cell_out() 230 if (snd_BUG_ON(!f || !f->pool)) in snd_seq_fifo_resize()
|
D | seq_timer.c | 166 if (snd_BUG_ON(!tmr)) in snd_seq_timer_set_tempo() 185 if (snd_BUG_ON(!tmr)) in snd_seq_timer_set_tempo_ppq() 212 if (snd_BUG_ON(!tmr)) in snd_seq_timer_set_position_tick() 228 if (snd_BUG_ON(!tmr)) in snd_seq_timer_set_position_time() 244 if (snd_BUG_ON(!tmr)) in snd_seq_timer_set_skew() 266 if (snd_BUG_ON(!tmr)) in snd_seq_timer_open() 319 if (snd_BUG_ON(!tmr)) in snd_seq_timer_close()
|
/linux-6.1.9/sound/pci/emu10k1/ |
D | voice.c | 107 if (snd_BUG_ON(!rvoice)) in snd_emu10k1_voice_alloc() 109 if (snd_BUG_ON(!number)) in snd_emu10k1_voice_alloc() 143 if (snd_BUG_ON(!pvoice)) in snd_emu10k1_voice_free()
|
D | emumpu401.c | 148 if (snd_BUG_ON(!emu)) in snd_emu10k1_midi_input_open() 175 if (snd_BUG_ON(!emu)) in snd_emu10k1_midi_output_open() 203 if (snd_BUG_ON(!emu)) in snd_emu10k1_midi_input_close() 226 if (snd_BUG_ON(!emu)) in snd_emu10k1_midi_output_close() 246 if (snd_BUG_ON(!emu)) in snd_emu10k1_midi_input_trigger() 262 if (snd_BUG_ON(!emu)) in snd_emu10k1_midi_output_trigger()
|
/linux-6.1.9/sound/hda/ |
D | array.c | 21 if (snd_BUG_ON(!array->elem_size)) in snd_array_new() 28 if (snd_BUG_ON(num >= 4096)) in snd_array_new()
|
/linux-6.1.9/sound/core/seq/oss/ |
D | seq_oss.c | 155 if (snd_BUG_ON(!dp)) in odev_read() 166 if (snd_BUG_ON(!dp)) in odev_write() 178 if (snd_BUG_ON(!dp)) in odev_ioctl() 205 if (snd_BUG_ON(!dp)) in odev_poll()
|
/linux-6.1.9/sound/pci/echoaudio/ |
D | mia_dsp.c | 44 if (snd_BUG_ON((subdevice_id & 0xfff0) != MIA)) in init_hw() 159 if (snd_BUG_ON(clock != ECHO_CLOCK_INTERNAL && in set_input_clock() 175 if (snd_BUG_ON(pipe >= num_pipes_out(chip) || in set_vmixer_gain()
|
D | layla20_dsp.c | 43 if (snd_BUG_ON((subdevice_id & 0xfff0) != LAYLA20)) in init_hw() 163 if (snd_BUG_ON(rate < 8000 || rate > 50000)) in set_sample_rate() 256 if (snd_BUG_ON(input >= num_busses_in(chip))) in set_input_gain()
|