/linux/sound/core/oss/ |
H A 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()
|
H A 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()
|
H A 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()
|
H A 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()
|
H A 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()
|
H A 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/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_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 …]
|
H A D | emux_seq.c | 246 if (snd_BUG_ON(!port || !ev)) in snd_emux_event_input() 313 if (snd_BUG_ON(!p)) in snd_emux_use() 316 if (snd_BUG_ON(!emu)) in snd_emux_use() 336 if (snd_BUG_ON(!p)) in snd_emux_unuse() 339 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()
|
/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() 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/sound/pci/emu10k1/ |
H A D | io.c | 21 if (snd_BUG_ON(!emu)) in check_ptr_reg() 23 if (snd_BUG_ON(reg & (emu->audigy ? (0xffff0000 & ~A_PTR_ADDRESS_MASK) in check_ptr_reg() 26 if (snd_BUG_ON(reg & 0x0000ffff & ~PTR_CHANNELNUM_MASK)) in check_ptr_reg() 77 if (snd_BUG_ON(data & ~mask)) in snd_emu10k1_ptr_write() 101 if (snd_BUG_ON(!emu)) in snd_emu10k1_ptr_write_multiple() 103 if (snd_BUG_ON(chn & ~PTR_CHANNELNUM_MASK)) in snd_emu10k1_ptr_write_multiple() 115 if (snd_BUG_ON(reg & addr_mask)) // Only raw registers supported here in snd_emu10k1_ptr_write_multiple() 276 if (snd_BUG_ON(reg > 0x3f)) in snd_emu1010_fpga_write_locked() 279 if (snd_BUG_ON(value > 0x3f)) /* 0 to 0x3f are values */ in snd_emu1010_fpga_write_locked() 293 if (snd_BUG_ON(!mutex_is_locked(&emu->emu1010.lock))) in snd_emu1010_fpga_write() [all …]
|
H A D | voice.c | 83 if (snd_BUG_ON(!rvoice)) in snd_emu10k1_voice_alloc() 85 if (snd_BUG_ON(!count)) in snd_emu10k1_voice_alloc() 87 if (snd_BUG_ON(!channels)) in snd_emu10k1_voice_alloc() 129 if (snd_BUG_ON(!pvoice)) in snd_emu10k1_voice_free()
|
H A D | emumpu401.c | 146 if (snd_BUG_ON(!emu)) in snd_emu10k1_midi_input_open() 172 if (snd_BUG_ON(!emu)) in snd_emu10k1_midi_output_open() 199 if (snd_BUG_ON(!emu)) in snd_emu10k1_midi_input_close() 221 if (snd_BUG_ON(!emu)) in snd_emu10k1_midi_output_close() 241 if (snd_BUG_ON(!emu)) in snd_emu10k1_midi_input_trigger() 256 if (snd_BUG_ON(!emu)) in snd_emu10k1_midi_output_trigger()
|
H A D | memory.c | 309 if (snd_BUG_ON(!emu)) in snd_emu10k1_alloc_pages() 311 if (snd_BUG_ON(runtime->dma_bytes <= 0 || in snd_emu10k1_alloc_pages() 315 if (snd_BUG_ON(!hdr)) in snd_emu10k1_alloc_pages() 363 if (snd_BUG_ON(!emu || !blk)) in snd_emu10k1_free_pages() 555 if (snd_BUG_ON(page < 0 || page >= emu->max_cache_pages)) in offset_ptr() 577 if (snd_BUG_ON(offset + size > p->mem.size)) in snd_emu10k1_synth_memset() 637 if (snd_BUG_ON(offset + size > p->mem.size)) in snd_emu10k1_synth_copy_from_user()
|
/linux/sound/pci/trident/ |
H A 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/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/isa/wavefront/ |
H A 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/sound/pci/ca0106/ |
H A 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/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() 106 if (snd_BUG_ON(!f)) in snd_seq_fifo_event_in() 167 if (snd_BUG_ON(!f)) in snd_seq_fifo_cell_out() 225 if (snd_BUG_ON(!f || !f->pool)) in snd_seq_fifo_resize()
|
H A D | seq_timer.c | 159 if (snd_BUG_ON(!tmr)) in snd_seq_timer_set_tempo() 177 if (snd_BUG_ON(!tmr)) in snd_seq_timer_set_tempo_ppq() 204 if (snd_BUG_ON(!tmr)) in snd_seq_timer_set_position_tick() 217 if (snd_BUG_ON(!tmr)) in snd_seq_timer_set_position_time() 230 if (snd_BUG_ON(!tmr)) in snd_seq_timer_set_skew() 251 if (snd_BUG_ON(!tmr)) in snd_seq_timer_open() 304 if (snd_BUG_ON(!tmr)) in snd_seq_timer_close()
|
/linux/sound/core/seq/oss/ |
H A 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/sound/hda/ |
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 | 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()
|
H A 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()
|