/openbmc/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 | 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() 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() 319 if (snd_BUG_ON(dst_format->format != SNDRV_PCM_FORMAT_S16)) in snd_pcm_plugin_build_rate() [all …]
|
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 …]
|
/openbmc/linux/sound/synth/emux/ |
H A D | emux_oss.c | 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() 276 if (snd_BUG_ON(!p)) in snd_emux_reset_seq_oss() [all …]
|
H A D | emux_synth.c | 56 if (snd_BUG_ON(!port || !chan)) 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() 395 if (snd_BUG_ON(!emu || !emu->ops.terminate)) in snd_emux_terminate_note() [all …]
|
H A 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()
|
/openbmc/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()
|
/openbmc/linux/sound/pci/cs46xx/ |
H A D | dsp_spos_scb_lib.c | 37 if (snd_BUG_ON(symbol_index < 0 || in remove_symbol() 166 if (snd_BUG_ON(scb->index < 0 || 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() 672 snd_BUG_ON(rate != 48000); in cs46xx_dsp_create_src_task_scb() 1139 if (snd_BUG_ON(!scb->next_scb_ptr)) in find_next_free_scb() 1308 if (snd_BUG_ON(src_index == -1)) in cs46xx_dsp_create_pcm_channel() 1605 if (snd_BUG_ON(src->parent_scb_ptr)) in cs46xx_src_link() 1644 if (snd_BUG_ON(ins->asynch_tx_scb)) in cs46xx_dsp_enable_spdif_out() 1688 if (snd_BUG_ON(!ins->asynch_tx_scb)) in cs46xx_dsp_disable_spdif_out() [all …]
|
/openbmc/linux/sound/pci/emu10k1/ |
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 | io.c | 21 if (snd_BUG_ON(!emu)) 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() 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() 307 if (snd_BUG_ON(reg > 0x3f)) in snd_emu1010_fpga_read_locked() 333 if (snd_BUG_ON(dst & ~0x71f)) in snd_emu1010_fpga_link_dst_src_write() 335 if (snd_BUG_ON(src & ~0x71f)) in snd_emu1010_fpga_link_dst_src_write() [all …]
|
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()
|
/openbmc/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()
|
/openbmc/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() 223 if (snd_BUG_ON(!arg)) in snd_opl3_ioctl_seq_oss() 248 if (snd_BUG_ON(!arg)) in snd_opl3_reset_seq_oss()
|
/openbmc/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()
|
/openbmc/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()
|
/openbmc/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() 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()
|
H A 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()
|
/openbmc/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()
|
/openbmc/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()
|
/openbmc/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 | indigoio_dsp.c | 41 if (snd_BUG_ON((subdevice_id & 0xfff0) != INDIGO_IO)) in init_hw() 111 if (snd_BUG_ON(pipe >= num_pipes_out(chip) || in set_vmixer_gain()
|