| /linux/sound/core/oss/ |
| H A D | copy.c | 20 if (snd_BUG_ON(!plugin || !src_channels || !dst_channels)) in copy_transfer() 26 if (snd_BUG_ON(src_channels->area.first % 8 || in copy_transfer() 29 if (snd_BUG_ON(dst_channels->area.first % 8 || in copy_transfer() 55 if (snd_BUG_ON(!r_plugin)) in snd_pcm_plugin_build_copy() 59 if (snd_BUG_ON(src_format->format != dst_format->format)) in snd_pcm_plugin_build_copy() 61 if (snd_BUG_ON(src_format->rate != dst_format->rate)) in snd_pcm_plugin_build_copy() 63 if (snd_BUG_ON(src_format->channels != dst_format->channels)) in snd_pcm_plugin_build_copy() 67 if (snd_BUG_ON(width <= 0)) in snd_pcm_plugin_build_copy()
|
| H A D | io.c | 27 if (snd_BUG_ON(!plugin)) in io_playback_transfer() 29 if (snd_BUG_ON(!src_channels)) in io_playback_transfer() 36 if (snd_BUG_ON(!bufs)) in io_playback_transfer() 53 if (snd_BUG_ON(!plugin)) in io_capture_transfer() 55 if (snd_BUG_ON(!dst_channels)) in io_capture_transfer() 62 if (snd_BUG_ON(!bufs)) in io_capture_transfer() 101 if (snd_BUG_ON(!r_plugin)) in snd_pcm_plugin_build_io() 104 if (snd_BUG_ON(!plug || !params)) in snd_pcm_plugin_build_io()
|
| H A D | rate.c | 173 if (snd_BUG_ON(!plugin)) in rate_src_frames() 206 if (snd_BUG_ON(!plugin)) in rate_dst_frames() 242 if (snd_BUG_ON(!plugin || !src_channels || !dst_channels)) in rate_transfer() 250 if (snd_BUG_ON(src_channels[channel].area.first % 8 || in rate_transfer() 253 if (snd_BUG_ON(dst_channels[channel].area.first % 8 || in rate_transfer() 272 if (snd_BUG_ON(!plugin)) in rate_action() 294 if (snd_BUG_ON(!r_plugin)) in snd_pcm_plugin_build_rate() 298 if (snd_BUG_ON(src_format->channels != dst_format->channels)) in snd_pcm_plugin_build_rate() 300 if (snd_BUG_ON(src_format->channels <= 0)) in snd_pcm_plugin_build_rate() 302 if (snd_BUG_ON(src_format->format != SNDRV_PCM_FORMAT_S16)) in snd_pcm_plugin_build_rate() [all …]
|
| H A D | linear.c | 78 if (snd_BUG_ON(!plugin || !src_channels || !dst_channels)) in linear_transfer() 86 if (snd_BUG_ON(src_channels[channel].area.first % 8 || in linear_transfer() 89 if (snd_BUG_ON(dst_channels[channel].area.first % 8 || in linear_transfer() 143 if (snd_BUG_ON(!r_plugin)) in snd_pcm_plugin_build_linear() 147 if (snd_BUG_ON(src_format->rate != dst_format->rate)) in snd_pcm_plugin_build_linear() 149 if (snd_BUG_ON(src_format->channels != dst_format->channels)) in snd_pcm_plugin_build_linear() 151 if (snd_BUG_ON(!snd_pcm_format_linear(src_format->format) || in snd_pcm_plugin_build_linear()
|
| H A D | route.c | 41 if (snd_BUG_ON(!plugin || !src_channels || !dst_channels)) in route_transfer() 80 if (snd_BUG_ON(!r_plugin)) in snd_pcm_plugin_build_route() 83 if (snd_BUG_ON(src_format->rate != dst_format->rate)) in snd_pcm_plugin_build_route() 85 if (snd_BUG_ON(src_format->format != dst_format->format)) in snd_pcm_plugin_build_route()
|
| H A D | mulaw.c | 241 if (snd_BUG_ON(!plugin || !src_channels || !dst_channels)) in mulaw_transfer() 249 if (snd_BUG_ON(src_channels[channel].area.first % 8 || in mulaw_transfer() 252 if (snd_BUG_ON(dst_channels[channel].area.first % 8 || in mulaw_transfer() 297 if (snd_BUG_ON(!r_plugin)) in snd_pcm_plugin_build_mulaw() 301 if (snd_BUG_ON(src_format->rate != dst_format->rate)) in snd_pcm_plugin_build_mulaw() 303 if (snd_BUG_ON(src_format->channels != dst_format->channels)) in snd_pcm_plugin_build_mulaw()
|
| H A D | pcm_plugin.c | 54 if (snd_BUG_ON(size % 8)) in snd_pcm_plugin_alloc() 77 if (snd_BUG_ON(size % format->channels)) in snd_pcm_plugin_alloc() 96 if (snd_BUG_ON(!snd_pcm_plug_first(plug))) in snd_pcm_plug_alloc() 145 if (snd_BUG_ON(!plug)) in snd_pcm_plugin_build() 147 if (snd_BUG_ON(!src_format || !dst_format)) in snd_pcm_plugin_build() 158 snd_BUG_ON(plugin->src_width <= 0); in snd_pcm_plugin_build() 161 snd_BUG_ON(plugin->dst_width <= 0); in snd_pcm_plugin_build() 234 if (snd_BUG_ON(!plug)) in snd_pcm_plug_client_size() 249 if (snd_BUG_ON(!plug)) in snd_pcm_plug_slave_size() 553 if (snd_BUG_ON(!bu in snd_pcm_plug_client_channels_buf() [all...] |
| /linux/sound/synth/emux/ |
| H A 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() 242 if (snd_BUG_ON(!arg)) in snd_emux_ioctl_seq_oss() 245 if (snd_BUG_ON(!p)) in snd_emux_ioctl_seq_oss() 249 if (snd_BUG_ON(!emu)) in snd_emux_ioctl_seq_oss() [all …]
|
| H A D | emux_seq.c | 240 if (snd_BUG_ON(!port || !ev)) in snd_emux_event_input() 302 if (snd_BUG_ON(!p)) in snd_emux_use() 305 if (snd_BUG_ON(!emu)) in snd_emux_use() 324 if (snd_BUG_ON(!p)) in snd_emux_unuse() 327 if (snd_BUG_ON(!emu)) in snd_emux_unuse()
|
| /linux/sound/core/ |
| H A 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()
|
| H A D | sound.c | 210 if (snd_BUG_ON(!card)) in snd_find_free_minor() 218 if (snd_BUG_ON(!card)) in snd_find_free_minor() 223 if (snd_BUG_ON(!card)) in snd_find_free_minor() 233 if (snd_BUG_ON(minor < 0 || minor >= SNDRV_OS_MINORS)) 263 if (snd_BUG_ON(!device)) in snd_register_device()
|
| H A D | sound_oss.c | 50 if (snd_BUG_ON(!card || dev < 0 || dev > 1)) in snd_oss_kernel_minor() 61 if (snd_BUG_ON(!card || dev < 0 || dev > 1)) in snd_oss_kernel_minor() 66 if (snd_BUG_ON(!card || dev < 0 || dev > 1)) in snd_oss_kernel_minor()
|
| H A D | info_oss.c | 28 if (snd_BUG_ON(dev < 0 || dev >= SNDRV_OSS_INFO_DEV_COUNT)) in snd_oss_info_register() 30 if (snd_BUG_ON(num < 0 || num >= SNDRV_CARDS)) in snd_oss_info_register()
|
| /linux/sound/pci/cs46xx/ |
| H A 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() 103 if (snd_BUG_ON(scb->parent_scb_ptr->sub_list_ptr != scb && in _dsp_unlink_scb() 164 if (snd_BUG_ON(scb->index < 0 || in cs46xx_dsp_remove_scb() 172 if (snd_BUG_ON(scb->sub_list_ptr != ins->the_null_scb || in cs46xx_dsp_remove_scb() 182 if (snd_BUG_ON(!scb->scb_symbol)) in cs46xx_dsp_remove_scb() 264 if (snd_BUG_ON(!ins->the_null_scb)) in _dsp_create_generic_scb() 301 if (snd_BUG_ON(scb->parent_scb_ptr->next_scb_ptr != in _dsp_create_generic_scb() 308 if (snd_BUG_ON(scb->parent_scb_ptr->sub_list_ptr != in _dsp_create_generic_scb() 659 snd_BUG_ON(rate != 48000); in cs46xx_dsp_create_src_task_scb() [all …]
|
| H A D | dsp_spos.c | 53 if (snd_BUG_ON(size %2)) in shadow_and_reallocate_code() 281 if (snd_BUG_ON(!ins)) in cs46xx_dsp_spos_destroy() 407 if (snd_BUG_ON(!module->symbol_table.symbols)) in cs46xx_dsp_load_module() 1333 if (snd_BUG_ON(chip->nr_ac97_codecs != 1 && chip->nr_ac97_codecs != 2)) in cs46xx_dsp_scb_and_task_init() 1577 if (snd_BUG_ON(!spdifo_scb_desc)) in cs46xx_dsp_async_init() 1580 if (snd_BUG_ON(!spdifi_scb_desc)) in cs46xx_dsp_async_init() 1583 if (snd_BUG_ON(!async_codec_scb_desc)) in cs46xx_dsp_async_init() 1669 if (snd_BUG_ON(ins->asynch_rx_scb)) in cs46xx_dsp_enable_spdif_in() 1671 if (snd_BUG_ON(!ins->spdif_in_src)) in cs46xx_dsp_enable_spdif_in() 1724 if (snd_BUG_ON(!ins->asynch_rx_scb)) in cs46xx_dsp_disable_spdif_in() [all …]
|
| /linux/sound/drivers/opl3/ |
| H A 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() 225 if (snd_BUG_ON(!arg)) in snd_opl3_ioctl_seq_oss() 250 if (snd_BUG_ON(!arg)) in snd_opl3_reset_seq_oss()
|
| /linux/sound/core/seq/ |
| H A 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() 178 if (snd_BUG_ON(!f)) in snd_seq_fifo_cell_out() 245 if (snd_BUG_ON(!f || !f->pool)) in snd_seq_fifo_resize()
|
| H A D | seq_timer.c | 170 if (snd_BUG_ON(!tmr)) in snd_seq_timer_set_tempo() 188 if (snd_BUG_ON(!tmr)) in snd_seq_timer_set_tempo_ppq() 215 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() 241 if (snd_BUG_ON(!tmr)) in snd_seq_timer_set_skew() 262 if (snd_BUG_ON(!tmr)) in snd_seq_timer_open() 315 if (snd_BUG_ON(!tmr)) in snd_seq_timer_close()
|
| H A D | seq_midi.c | 117 if (snd_BUG_ON(!substream || !buf)) in __dump_midi() 146 if (snd_BUG_ON(!msynth)) in event_process_midi() 246 if (snd_BUG_ON(!rfile.input)) in midisynth_unuse() 296 if (snd_BUG_ON(!rfile.output)) in snd_seq_midisynth_probe() 330 if (snd_BUG_ON(!card || device < 0 || device >= SNDRV_RAWMIDI_DEVICES)) in snd_seq_midisynth_probe()
|
| /linux/sound/hda/core/ |
| H A 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/sound/pci/echoaudio/ |
| H A D | mia_dsp.c | 29 if (snd_BUG_ON((subdevice_id & 0xfff0) != MIA)) in init_hw() 144 if (snd_BUG_ON(clock != ECHO_CLOCK_INTERNAL && in set_input_clock() 160 if (snd_BUG_ON(pipe >= num_pipes_out(chip) || in set_vmixer_gain()
|
| H A D | layla20_dsp.c | 28 if (snd_BUG_ON((subdevice_id & 0xfff0) != LAYLA20)) in init_hw() 148 if (snd_BUG_ON(rate < 8000 || rate > 50000)) in set_sample_rate() 241 if (snd_BUG_ON(input >= num_busses_in(chip))) in set_input_gain()
|
| H A D | indigoio_dsp.c | 26 if (snd_BUG_ON((subdevice_id & 0xfff0) != INDIGO_IO)) in init_hw() 96 if (snd_BUG_ON(pipe >= num_pipes_out(chip) || in set_vmixer_gain()
|
| H A D | darla24_dsp.c | 21 if (snd_BUG_ON((subdevice_id & 0xfff0) != DARLA24)) in init_hw() 144 if (snd_BUG_ON(clock != ECHO_CLOCK_INTERNAL && in set_input_clock()
|
| H A D | indigodj_dsp.c | 26 if (snd_BUG_ON((subdevice_id & 0xfff0) != INDIGO_DJ)) in init_hw() 126 if (snd_BUG_ON(pipe >= num_pipes_out(chip) || in set_vmixer_gain()
|