/linux-4.1.27/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() 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()
|
D | route.c | 56 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()
|
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() 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()
|
D | pcm_plugin.c | 65 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 …]
|
D | mixer_oss.c | 274 if (snd_BUG_ON(left < 0 || left > 100)) in snd_mixer_oss_get_volume() 276 if (snd_BUG_ON(right < 0 || right > 100)) in snd_mixer_oss_get_volume() 317 if (snd_BUG_ON(!fmixer)) in snd_mixer_oss_ioctl1() 388 if (snd_BUG_ON(!card)) in snd_mixer_oss_ioctl_card() 1328 if (snd_BUG_ON(mixer != card->mixer_oss)) in snd_mixer_oss_free1()
|
D | pcm_oss.c | 468 snd_BUG_ON(v < 0); in snd_pcm_hw_param_near() 2373 if (snd_BUG_ON(!task || !name || size < 2)) in snd_task_name() 2479 if (snd_BUG_ON(!substream)) in snd_pcm_oss_release() 2513 if (snd_BUG_ON(idx >= 2)) in snd_pcm_oss_ioctl()
|
/linux-4.1.27/sound/synth/emux/ |
D | emux_oss.c | 119 if (snd_BUG_ON(!arg || !emu)) in snd_emux_open_seq_oss() 182 if (snd_BUG_ON(!arg)) in snd_emux_close_seq_oss() 185 if (snd_BUG_ON(!p)) in snd_emux_close_seq_oss() 189 if (snd_BUG_ON(!emu)) in snd_emux_close_seq_oss() 212 if (snd_BUG_ON(!arg)) in snd_emux_load_patch_seq_oss() 215 if (snd_BUG_ON(!p)) in snd_emux_load_patch_seq_oss() 219 if (snd_BUG_ON(!emu)) in snd_emux_load_patch_seq_oss() 255 if (snd_BUG_ON(!arg)) in snd_emux_ioctl_seq_oss() 258 if (snd_BUG_ON(!p)) in snd_emux_ioctl_seq_oss() 262 if (snd_BUG_ON(!emu)) in snd_emux_ioctl_seq_oss() [all …]
|
D | emux_synth.c | 70 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() 245 if (snd_BUG_ON(!port || !chan)) in snd_emux_key_press() 249 if (snd_BUG_ON(!emu || !emu->ops.update)) in snd_emux_key_press() 280 if (snd_BUG_ON(!emu || !emu->ops.update)) in snd_emux_update_channel() 307 if (snd_BUG_ON(!emu || !emu->ops.update)) in snd_emux_update_port() 330 if (snd_BUG_ON(!port || !chan)) in snd_emux_control() 405 if (snd_BUG_ON(!port || !chan)) in snd_emux_terminate_note() [all …]
|
D | emux_seq.c | 258 if (snd_BUG_ON(!port || !ev)) in snd_emux_event_input() 325 if (snd_BUG_ON(!p)) in snd_emux_use() 328 if (snd_BUG_ON(!emu)) in snd_emux_use() 348 if (snd_BUG_ON(!p)) in snd_emux_unuse() 351 if (snd_BUG_ON(!emu)) in snd_emux_unuse()
|
D | emux.c | 95 if (snd_BUG_ON(!emu->hw || emu->max_voices <= 0)) in snd_emux_register() 97 if (snd_BUG_ON(!card || !name)) in snd_emux_register()
|
D | emux_nrpn.c | 292 if (snd_BUG_ON(!port || !chan)) in snd_emux_nrpn() 382 if (snd_BUG_ON(!port || !chset)) in snd_emux_sysex()
|
/linux-4.1.27/sound/core/ |
D | device.c | 50 if (snd_BUG_ON(!card || !device_data || !ops)) in snd_device_new() 125 if (snd_BUG_ON(!card || !device_data)) in snd_device_disconnect() 149 if (snd_BUG_ON(!card || !device_data)) in snd_device_free() 190 if (snd_BUG_ON(!card || !device_data)) in snd_device_register() 209 if (snd_BUG_ON(!card)) in snd_device_register_all() 227 if (snd_BUG_ON(!card)) in snd_device_disconnect_all() 241 if (snd_BUG_ON(!card)) in snd_device_free_all()
|
D | timer_compat.c | 43 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()
|
D | compress_offload.c | 280 if (snd_BUG_ON(!data)) in snd_compr_write() 327 if (snd_BUG_ON(!data)) in snd_compr_read() 387 if (snd_BUG_ON(!data)) in snd_compr_poll() 390 if (snd_BUG_ON(!stream)) in snd_compr_poll() 797 if (snd_BUG_ON(!data)) in snd_compr_ioctl() 800 if (snd_BUG_ON(!stream)) in snd_compr_ioctl() 878 if (snd_BUG_ON(!device || !device->device_data)) in snd_compress_dev_register() 978 if (snd_BUG_ON(!device->ops->open)) in snd_compress_register() 980 if (snd_BUG_ON(!device->ops->free)) in snd_compress_register() 982 if (snd_BUG_ON(!device->ops->set_params)) in snd_compress_register() [all …]
|
D | sound.c | 222 if (snd_BUG_ON(!card)) in snd_find_free_minor() 231 if (snd_BUG_ON(!card)) in snd_find_free_minor() 238 if (snd_BUG_ON(minor < 0 || minor >= SNDRV_OS_MINORS)) in snd_find_free_minor() 268 if (snd_BUG_ON(!device)) in snd_register_device()
|
D | info_oss.c | 46 if (snd_BUG_ON(dev < 0 || dev >= SNDRV_OSS_INFO_DEV_COUNT)) in snd_oss_info_register() 48 if (snd_BUG_ON(num < 0 || num >= SNDRV_CARDS)) in snd_oss_info_register()
|
D | rtctimer.c | 94 if (snd_BUG_ON(!rtc)) in rtctimer_start() 105 if (snd_BUG_ON(!rtc)) in rtctimer_stop()
|
D | sound_oss.c | 73 if (snd_BUG_ON(!card || dev < 0 || dev > 1)) in snd_oss_kernel_minor() 84 if (snd_BUG_ON(!card || dev < 0 || dev > 1)) in snd_oss_kernel_minor() 89 if (snd_BUG_ON(!card || dev < 0 || dev > 1)) in snd_oss_kernel_minor()
|
D | pcm_timer.c | 39 if (snd_BUG_ON(!rate)) in snd_pcm_timer_resolution_change() 45 if (snd_BUG_ON(!fsize)) in snd_pcm_timer_resolution_change()
|
D | info.c | 211 if (snd_BUG_ON(!data)) in snd_info_entry_read() 258 if (snd_BUG_ON(!data)) in snd_info_entry_write() 600 if (snd_BUG_ON(!card)) in snd_info_card_create() 623 if (snd_BUG_ON(!card)) in snd_info_card_register() 697 if (snd_BUG_ON(!buffer || !buffer->buffer)) in snd_info_get_line() 849 snd_BUG_ON(!root); in snd_info_disconnect() 947 if (snd_BUG_ON(!entry)) in snd_info_register()
|
D | pcm_lib.c | 102 if (snd_BUG_ON(frames > runtime->buffer_size)) in snd_pcm_playback_silence() 114 snd_BUG_ON(err < 0); in snd_pcm_playback_silence() 126 snd_BUG_ON(err < 0); in snd_pcm_playback_silence() 478 snd_BUG_ON(crossed_boundary != 1); in snd_pcm_update_hw_ptr0() 579 snd_BUG_ON(!n); in muldiv32() 606 if (snd_BUG_ON(snd_interval_empty(i))) in snd_interval_refine() 650 if (snd_BUG_ON(snd_interval_empty(i))) in snd_interval_refine_first() 663 if (snd_BUG_ON(snd_interval_empty(i))) in snd_interval_refine_last() 1171 if (snd_BUG_ON(k >= ARRAY_SIZE(c->deps))) { in snd_pcm_hw_rule_add() 1664 if (snd_BUG_ON(err < 0)) in snd_pcm_hw_param_first() [all …]
|
D | control.c | 161 if (snd_BUG_ON(!card || !id)) in snd_ctl_notify() 251 if (snd_BUG_ON(!ncontrol || !ncontrol->info)) in snd_ctl_new1() 370 if (snd_BUG_ON(!card || !kcontrol->info)) in snd_ctl_add() 435 if (snd_BUG_ON(!card || !kcontrol->info)) { in snd_ctl_replace() 493 if (snd_BUG_ON(!card || !kcontrol)) in snd_ctl_remove() 668 if (snd_BUG_ON(!card || !numid)) in snd_ctl_find_numid() 696 if (snd_BUG_ON(!card || !id)) in snd_ctl_find_id() 828 snd_BUG_ON(info->access); in snd_ctl_elem_info() 1471 if (snd_BUG_ON(!card)) in snd_ctl_ioctl() 1534 if (snd_BUG_ON(!ctl || !ctl->card)) in snd_ctl_read() [all …]
|
D | pcm.c | 767 if (snd_BUG_ON(!card)) in _snd_pcm_new() 914 if (snd_BUG_ON(!pcm || !rsubstream)) in snd_pcm_attach_substream() 916 if (snd_BUG_ON(stream != SNDRV_PCM_STREAM_PLAYBACK && in snd_pcm_attach_substream() 1069 if (snd_BUG_ON(!device || !device->device_data)) in snd_pcm_dev_register() 1164 if (snd_BUG_ON(!notify || in snd_pcm_notify()
|
D | hwdep.c | 376 if (snd_BUG_ON(!card)) in snd_hwdep_new() 467 if (snd_BUG_ON(!hwdep)) in snd_hwdep_dev_disconnect()
|
D | timer.c | 318 if (snd_BUG_ON(!timeri)) in snd_timer_close() 338 if (snd_BUG_ON(!timer)) in snd_timer_close() 407 if (snd_BUG_ON(event < SNDRV_TIMER_EVENT_START || in snd_timer_notify1() 512 if (snd_BUG_ON(!timeri)) in _snd_timer_stop() 827 if (snd_BUG_ON(!tid)) in snd_timer_new() 897 if (snd_BUG_ON(!timer || !timer->hw.start || !timer->hw.stop)) in snd_timer_dev_register() 968 if (snd_BUG_ON(event < SNDRV_TIMER_EVENT_MSTART || in snd_timer_notify()
|
D | rawmidi.c | 338 if (snd_BUG_ON(!rfile)) in snd_rawmidi_kernel_open() 521 if (snd_BUG_ON(!rfile)) in snd_rawmidi_kernel_release() 1154 snd_BUG_ON(runtime->avail + count > runtime->buffer_size); in __snd_rawmidi_transmit_ack() 1235 if (snd_BUG_ON(!runtime->buffer)) in snd_rawmidi_kernel_write1() 1531 if (snd_BUG_ON(!card)) in snd_rawmidi_new()
|
D | pcm_memory.c | 339 if (snd_BUG_ON(substream->dma_buffer.dev.type == in snd_pcm_lib_malloc_pages()
|
D | init.c | 215 if (snd_BUG_ON(!card_ret)) in snd_card_new() 743 if (snd_BUG_ON(!card)) in snd_card_register()
|
D | pcm_compat.c | 499 if (snd_BUG_ON(!runtime)) in snd_pcm_ioctl_sync_ptr_compat() 587 if (snd_BUG_ON(!runtime)) in snd_pcm_ioctl_sync_ptr_x32()
|
D | control_compat.c | 458 if (snd_BUG_ON(!ctl || !ctl->card)) in snd_ctl_ioctl_compat()
|
D | pcm_native.c | 2419 if (snd_BUG_ON(!substream)) in snd_pcm_release() 2825 if (snd_BUG_ON(!substream)) in snd_pcm_playback_ioctl1() 2827 if (snd_BUG_ON(substream->stream != SNDRV_PCM_STREAM_PLAYBACK)) in snd_pcm_playback_ioctl1() 2905 if (snd_BUG_ON(!substream)) in snd_pcm_capture_ioctl1() 2907 if (snd_BUG_ON(substream->stream != SNDRV_PCM_STREAM_CAPTURE)) in snd_pcm_capture_ioctl1()
|
/linux-4.1.27/sound/pci/cs46xx/ |
D | dsp_spos_scb_lib.c | 49 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() 301 if (snd_BUG_ON(!ins->the_null_scb)) in _dsp_create_generic_scb() 338 if (snd_BUG_ON(scb->parent_scb_ptr->next_scb_ptr != in _dsp_create_generic_scb() 345 if (snd_BUG_ON(scb->parent_scb_ptr->sub_list_ptr != in _dsp_create_generic_scb() 698 snd_BUG_ON(rate != 48000); in cs46xx_dsp_create_src_task_scb() [all …]
|
D | dsp_spos.c | 66 if (snd_BUG_ON(size %2)) in shadow_and_reallocate_code() 292 if (snd_BUG_ON(!ins)) in cs46xx_dsp_spos_destroy() 419 if (snd_BUG_ON(!module->symbol_table.symbols)) in cs46xx_dsp_load_module() 1405 if (snd_BUG_ON(chip->nr_ac97_codecs != 1 && chip->nr_ac97_codecs != 2)) in cs46xx_dsp_scb_and_task_init() 1649 if (snd_BUG_ON(!spdifo_scb_desc)) in cs46xx_dsp_async_init() 1652 if (snd_BUG_ON(!spdifi_scb_desc)) in cs46xx_dsp_async_init() 1655 if (snd_BUG_ON(!async_codec_scb_desc)) in cs46xx_dsp_async_init() 1741 if (snd_BUG_ON(ins->asynch_rx_scb)) in cs46xx_dsp_enable_spdif_in() 1743 if (snd_BUG_ON(!ins->spdif_in_src)) in cs46xx_dsp_enable_spdif_in() 1799 if (snd_BUG_ON(!ins->asynch_rx_scb)) in cs46xx_dsp_disable_spdif_in() [all …]
|
D | cs46xx_lib.c | 96 if (snd_BUG_ON(codec_index != CS46XX_PRIMARY_CODEC_INDEX && in snd_cs46xx_codec_read() 222 if (snd_BUG_ON(codec_index != CS46XX_PRIMARY_CODEC_INDEX && in snd_cs46xx_ac97_read() 239 if (snd_BUG_ON(codec_index != CS46XX_PRIMARY_CODEC_INDEX && in snd_cs46xx_codec_write() 306 if (snd_BUG_ON(codec_index != CS46XX_PRIMARY_CODEC_INDEX && in snd_cs46xx_ac97_write() 327 if (snd_BUG_ON((offset & 3) || (len & 3))) in snd_cs46xx_download() 490 if (snd_BUG_ON((offset & 3) || (len & 3))) in snd_cs46xx_clear_BA1() 916 if (snd_BUG_ON(!cpcm->pcm_channel)) in snd_cs46xx_playback_direct_pointer() 935 if (snd_BUG_ON(!cpcm->pcm_channel)) in snd_cs46xx_playback_indirect_pointer() 1106 if (snd_BUG_ON(!sample_rate)) in snd_cs46xx_playback_hw_params() 1116 snd_BUG_ON(!cpcm->pcm_channel); in snd_cs46xx_playback_hw_params() [all …]
|
/linux-4.1.27/sound/core/seq/ |
D | seq_fifo.c | 66 if (snd_BUG_ON(!fifo)) in snd_seq_fifo_delete() 69 if (snd_BUG_ON(!f)) in snd_seq_fifo_delete() 119 if (snd_BUG_ON(!f)) in snd_seq_fifo_event_in() 178 if (snd_BUG_ON(!f)) in snd_seq_fifo_cell_out() 238 if (snd_BUG_ON(!f || !f->pool)) in snd_seq_fifo_resize()
|
D | seq_timer.c | 181 if (snd_BUG_ON(!tmr)) in snd_seq_timer_set_tempo() 199 if (snd_BUG_ON(!tmr)) in snd_seq_timer_set_ppq() 224 if (snd_BUG_ON(!tmr)) in snd_seq_timer_set_position_tick() 240 if (snd_BUG_ON(!tmr)) in snd_seq_timer_set_position_time() 256 if (snd_BUG_ON(!tmr)) in snd_seq_timer_set_skew() 278 if (snd_BUG_ON(!tmr)) in snd_seq_timer_open() 319 if (snd_BUG_ON(!tmr)) in snd_seq_timer_close() 358 if (snd_BUG_ON(!t)) in initialize_timer()
|
D | seq_midi.c | 119 if (snd_BUG_ON(!substream || !buf)) in dump_midi() 140 if (snd_BUG_ON(!msynth)) in event_process_midi() 216 if (snd_BUG_ON(!msynth->input_rfile.input)) in midisynth_unsubscribe() 254 if (snd_BUG_ON(!msynth->output_rfile.output)) in midisynth_unuse() 291 if (snd_BUG_ON(!card || device < 0 || device >= SNDRV_RAWMIDI_DEVICES)) in snd_seq_midisynth_probe()
|
D | seq_memory.c | 191 if (snd_BUG_ON(!cell)) in snd_seq_cell_free() 194 if (snd_BUG_ON(!pool)) in snd_seq_cell_free() 384 if (snd_BUG_ON(!pool)) in snd_seq_pool_init() 424 if (snd_BUG_ON(!pool)) in snd_seq_pool_done()
|
D | seq_ports.c | 134 if (snd_BUG_ON(!client)) in snd_seq_create_port() 272 snd_BUG_ON(port->c_src.count != 0); in port_delete() 273 snd_BUG_ON(port->c_dest.count != 0); in port_delete() 340 if (snd_BUG_ON(!port || !info)) in snd_seq_set_port_info() 370 if (snd_BUG_ON(!port || !info)) in snd_seq_get_port_info()
|
D | seq_compat.c | 96 if (snd_BUG_ON(!client)) in snd_seq_ioctl_compat()
|
D | seq_clientmgr.c | 413 if (snd_BUG_ON(!client)) in snd_seq_read() 851 if (snd_BUG_ON(!cell)) in snd_seq_dispatch_event() 1021 if (snd_BUG_ON(!client)) in snd_seq_write() 1104 if (snd_BUG_ON(!client)) in snd_seq_poll() 2224 if (snd_BUG_ON(!client)) in snd_seq_ioctl() 2246 if (snd_BUG_ON(in_interrupt())) in snd_seq_create_kernel_client() 2296 if (snd_BUG_ON(in_interrupt())) in snd_seq_delete_kernel_client() 2320 if (snd_BUG_ON(!ev)) in kernel_client_enqueue() 2387 if (snd_BUG_ON(!ev)) in snd_seq_kernel_client_dispatch()
|
D | seq_device.c | 217 if (snd_BUG_ON(!id)) in snd_seq_device_new()
|
D | seq_queue.c | 318 if (snd_BUG_ON(!cell)) in snd_seq_enqueue_event() 736 if (snd_BUG_ON(!ev)) in snd_seq_control_queue()
|
D | seq_prioq.c | 154 if (snd_BUG_ON(!f || !cell)) in snd_seq_prioq_cell_in()
|
/linux-4.1.27/sound/drivers/opl3/ |
D | opl3_oss.c | 165 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()
|
D | opl3_lib.c | 143 if (snd_BUG_ON(!opl3->r_port)) in snd_opl3_detect() 329 if (snd_BUG_ON(!opl3)) in snd_opl3_free()
|
D | opl3_midi.c | 630 if (snd_BUG_ON(voice >= MAX_OPL3_VOICES)) in snd_opl3_kill_voice() 757 if (snd_BUG_ON(voice >= MAX_OPL3_VOICES)) in snd_opl3_update_pitch()
|
D | opl3_synth.c | 97 if (snd_BUG_ON(!opl3)) in snd_opl3_ioctl()
|
/linux-4.1.27/sound/isa/wavefront/ |
D | wavefront_midi.c | 238 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()
|
D | wavefront_fx.c | 178 if (snd_BUG_ON(!card)) in snd_wavefront_fx_ioctl() 180 if (snd_BUG_ON(!card->private_data)) in snd_wavefront_fx_ioctl()
|
D | wavefront_synth.c | 1653 if (snd_BUG_ON(!card)) in snd_wavefront_synth_ioctl() 1655 if (snd_BUG_ON(!card->private_data)) in snd_wavefront_synth_ioctl()
|
/linux-4.1.27/sound/pci/ca0106/ |
D | ca_midi.c | 128 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-4.1.27/sound/pci/trident/ |
D | trident_memory.c | 197 if (snd_BUG_ON(runtime->dma_bytes <= 0 || in snd_trident_alloc_sg_pages() 202 if (snd_BUG_ON(!hdr)) in snd_trident_alloc_sg_pages() 246 if (snd_BUG_ON(runtime->dma_bytes <= 0 || in snd_trident_alloc_cont_pages() 251 if (snd_BUG_ON(!hdr)) in snd_trident_alloc_cont_pages() 284 if (snd_BUG_ON(!trident || !substream)) in snd_trident_alloc_pages() 302 if (snd_BUG_ON(!trident || !blk)) in snd_trident_free_pages()
|
D | trident_main.c | 2925 if (snd_BUG_ON(!trident || !voice || !substream)) in snd_trident_pcm_mixer_build() 2941 if (snd_BUG_ON(!trident || !substream)) in snd_trident_pcm_mixer_free() 3129 if (snd_BUG_ON(!chip)) in snd_trident_gameport_read() 3138 if (snd_BUG_ON(!chip)) in snd_trident_gameport_trigger() 3148 if (snd_BUG_ON(!chip)) in snd_trident_gameport_cooked_read() 3165 if (snd_BUG_ON(!chip)) in snd_trident_gameport_open() 3894 if (snd_BUG_ON(v_min > 63 || v_max > 63)) in snd_trident_clear_voices()
|
/linux-4.1.27/sound/pci/emu10k1/ |
D | voice.c | 121 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()
|
D | emumpu401.c | 163 if (snd_BUG_ON(!emu)) in snd_emu10k1_midi_input_open() 190 if (snd_BUG_ON(!emu)) in snd_emu10k1_midi_output_open() 218 if (snd_BUG_ON(!emu)) in snd_emu10k1_midi_input_close() 241 if (snd_BUG_ON(!emu)) in snd_emu10k1_midi_output_close() 261 if (snd_BUG_ON(!emu)) in snd_emu10k1_midi_input_trigger() 277 if (snd_BUG_ON(!emu)) in snd_emu10k1_midi_output_trigger()
|
D | memory.c | 308 if (snd_BUG_ON(!emu)) in snd_emu10k1_alloc_pages() 310 if (snd_BUG_ON(runtime->dma_bytes <= 0 || in snd_emu10k1_alloc_pages() 314 if (snd_BUG_ON(!hdr)) in snd_emu10k1_alloc_pages() 364 if (snd_BUG_ON(!emu || !blk)) in snd_emu10k1_free_pages() 510 if (snd_BUG_ON(page < 0 || page >= emu->max_cache_pages)) in offset_ptr()
|
D | emu10k1_patch.c | 49 if (snd_BUG_ON(!sp || !hdr)) in snd_emu10k1_sample_new() 222 if (snd_BUG_ON(!sp || !hdr)) in snd_emu10k1_sample_free()
|
D | emu10k1x.c | 1341 if (snd_BUG_ON(!emu)) in snd_emu10k1x_midi_input_open() 1368 if (snd_BUG_ON(!emu)) in snd_emu10k1x_midi_output_open() 1396 if (snd_BUG_ON(!emu)) in snd_emu10k1x_midi_input_close() 1419 if (snd_BUG_ON(!emu)) in snd_emu10k1x_midi_output_close() 1439 if (snd_BUG_ON(!emu)) in snd_emu10k1x_midi_input_trigger() 1455 if (snd_BUG_ON(!emu)) in snd_emu10k1x_midi_output_trigger()
|
D | emu10k1_callback.c | 150 if (snd_BUG_ON(!vp)) in terminate_voice() 331 if (snd_BUG_ON(ch < 0)) in start_voice()
|
D | io.c | 74 if (snd_BUG_ON(!emu)) in snd_emu10k1_ptr_write()
|
D | emufx.c | 499 if (snd_BUG_ON(*ptr >= 512)) in snd_emu10k1_write_op() 516 if (snd_BUG_ON(*ptr >= 1024)) in snd_emu10k1_audigy_write_op()
|
/linux-4.1.27/sound/hda/ |
D | array.c | 20 if (snd_BUG_ON(!array->elem_size)) in snd_array_new() 26 if (snd_BUG_ON(num >= 4096)) in snd_array_new()
|
/linux-4.1.27/sound/core/seq/oss/ |
D | seq_oss.c | 163 if (snd_BUG_ON(!dp)) in odev_read() 174 if (snd_BUG_ON(!dp)) in odev_write() 184 if (snd_BUG_ON(!dp)) in odev_ioctl() 200 if (snd_BUG_ON(!dp)) in odev_poll()
|
D | seq_oss_synth.c | 311 if (snd_BUG_ON(dp->max_synthdev > SNDRV_SEQ_OSS_MAX_SYNTH_DEVS)) in snd_seq_oss_synth_cleanup() 405 if (snd_BUG_ON(dev < 0 || dev >= dp->max_synthdev)) in snd_seq_oss_synth_reset()
|
/linux-4.1.27/sound/pci/echoaudio/ |
D | mia_dsp.c | 44 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()
|
D | layla20_dsp.c | 43 if (snd_BUG_ON((subdevice_id & 0xfff0) != LAYLA20)) in init_hw() 161 if (snd_BUG_ON(rate < 8000 || rate > 50000)) in set_sample_rate() 254 if (snd_BUG_ON(input >= num_busses_in(chip))) in set_input_gain()
|
D | indigoio_dsp.c | 41 if (snd_BUG_ON((subdevice_id & 0xfff0) != INDIGO_IO)) in init_hw() 109 if (snd_BUG_ON(pipe >= num_pipes_out(chip) || in set_vmixer_gain()
|
D | darla24_dsp.c | 36 if (snd_BUG_ON((subdevice_id & 0xfff0) != DARLA24)) in init_hw() 157 if (snd_BUG_ON(clock != ECHO_CLOCK_INTERNAL && in set_input_clock()
|
D | indigodj_dsp.c | 41 if (snd_BUG_ON((subdevice_id & 0xfff0) != INDIGO_DJ)) in init_hw() 139 if (snd_BUG_ON(pipe >= num_pipes_out(chip) || in set_vmixer_gain()
|
D | indigo_dsp.c | 41 if (snd_BUG_ON((subdevice_id & 0xfff0) != INDIGO)) in init_hw() 139 if (snd_BUG_ON(pipe >= num_pipes_out(chip) || in set_vmixer_gain()
|
D | echoaudio_gml.c | 116 if (snd_BUG_ON(chip->pipe_alloc_mask)) in set_digital_mode() 119 if (snd_BUG_ON(!(chip->digital_modes & (1 << mode)))) in set_digital_mode()
|
D | gina20_dsp.c | 40 if (snd_BUG_ON((subdevice_id & 0xfff0) != GINA20)) in init_hw() 180 if (snd_BUG_ON(input >= num_busses_in(chip))) in set_input_gain()
|
D | echoaudio_3g.c | 106 if (snd_BUG_ON(chip->pipe_alloc_mask)) in set_digital_mode() 109 if (snd_BUG_ON(!(chip->digital_modes & (1 << mode)))) in set_digital_mode() 271 if (snd_BUG_ON(rate >= 50000 && in set_sample_rate()
|
D | indigoiox_dsp.c | 38 if (snd_BUG_ON((subdevice_id & 0xfff0) != INDIGO_IOX)) in init_hw()
|
D | indigodjx_dsp.c | 38 if (snd_BUG_ON((subdevice_id & 0xfff0) != INDIGO_DJX)) in init_hw()
|
D | echoaudio_dsp.c | 493 if (snd_BUG_ON(!chip->comm_page)) in load_firmware() 530 if (snd_BUG_ON(index >= num_busses_out(chip) + num_busses_in(chip))) in set_nominal_level() 554 if (snd_BUG_ON(channel >= num_busses_out(chip))) in set_output_gain() 573 if (snd_BUG_ON(output >= num_busses_out(chip) || in set_monitor_gain() 1102 if (snd_BUG_ON(!is_pipe_allocated(chip, pipe->index))) in free_pipes() 1104 if (snd_BUG_ON(pipe->state != PIPE_STATE_STOPPED)) in free_pipes()
|
D | midi.c | 62 if (snd_BUG_ON(bytes <= 0 || bytes >= MIDI_OUT_BUFFER_SIZE)) in write_midi() 123 if (snd_BUG_ON(count >= MIDI_IN_BUFFER_SIZE)) in midi_service_irq()
|
D | gina24_dsp.c | 44 if (snd_BUG_ON((subdevice_id & 0xfff0) != GINA24)) in init_hw() 166 if (snd_BUG_ON(rate >= 50000 && in set_sample_rate()
|
D | indigo_express_dsp.c | 82 if (snd_BUG_ON(pipe >= num_pipes_out(chip) || in set_vmixer_gain()
|
D | darla20_dsp.c | 36 if (snd_BUG_ON((subdevice_id & 0xfff0) != DARLA20)) in init_hw()
|
D | layla24_dsp.c | 43 if (snd_BUG_ON((subdevice_id & 0xfff0) != LAYLA24)) in init_hw() 161 if (snd_BUG_ON(rate >= 50000 && in set_sample_rate()
|
D | echo3g_dsp.c | 49 if (snd_BUG_ON((subdevice_id & 0xfff0) != ECHO3G)) in init_hw()
|
D | mona_dsp.c | 44 if (snd_BUG_ON((subdevice_id & 0xfff0) != MONA)) in init_hw()
|
D | echoaudio.c | 544 snd_BUG_ON(err); in init_engine() 726 if (snd_BUG_ON(pipe_index >= px_num(chip))) in pcm_prepare() 728 if (snd_BUG_ON(!is_pipe_allocated(chip, pipe_index))) in pcm_prepare()
|
/linux-4.1.27/sound/synth/ |
D | util_mem.c | 79 if (snd_BUG_ON(!hdr || size <= 0)) in __snd_util_mem_alloc() 166 if (snd_BUG_ON(!hdr || !blk)) in snd_util_mem_free()
|
/linux-4.1.27/sound/i2c/ |
D | cs8427.c | 326 if (snd_BUG_ON(!cs8427)) in snd_cs8427_reset() 539 if (snd_BUG_ON(!play_substream || !cap_substream)) in snd_cs8427_iec958_build() 557 if (snd_BUG_ON(!chip->playback.pcm_ctl)) in snd_cs8427_iec958_build() 568 if (snd_BUG_ON(!cs8427)) in snd_cs8427_iec958_active() 589 if (snd_BUG_ON(!cs8427)) in snd_cs8427_iec958_pcm()
|
D | i2c.c | 53 if (snd_BUG_ON(!bus)) in snd_i2c_bus_free() 119 if (snd_BUG_ON(!bus)) in snd_i2c_device_create()
|
/linux-4.1.27/sound/drivers/vx/ |
D | vx_uer.c | 165 if (snd_BUG_ON(freq <= 0)) in vx_calc_clock_from_freq() 172 if (snd_BUG_ON(hexfreq <= 0x00000200)) in vx_calc_clock_from_freq()
|
D | vx_cmd.c | 102 if (snd_BUG_ON(cmd >= CMD_LAST_INDEX)) in vx_init_rmh()
|
D | vx_core.c | 208 if (snd_BUG_ON(size >= SIZE_MAX_STATUS)) in vx_read_status() 563 if (snd_BUG_ON(!chip->ops->reset_board)) in vx_reset_board() 794 if (snd_BUG_ON(!card || !hw || !ops)) in snd_vx_create()
|
D | vx_pcm.c | 538 if (snd_BUG_ON(audio >= chip->audio_outs)) in vx_pcm_playback_open() 930 if (snd_BUG_ON(audio >= chip->audio_ins)) in vx_pcm_capture_open() 1149 if (snd_BUG_ON(p < 0 || p >= chip->audio_outs)) in vx_pcm_update_intr()
|
D | vx_mixer.c | 35 if (snd_BUG_ON(!chip->ops->write_codec)) in vx_write_codec_reg()
|
/linux-4.1.27/sound/pci/mixart/ |
D | mixart_core.c | 155 if (snd_BUG_ON(msg->size % 4)) in send_msg() 290 if (snd_BUG_ON(!notif_event)) in snd_mixart_send_msg_wait_notif() 292 if (snd_BUG_ON((notif_event & MSG_TYPE_MASK) != MSG_TYPE_NOTIFY)) in snd_mixart_send_msg_wait_notif() 294 if (snd_BUG_ON(notif_event & MSG_CANCEL_NOTIFY_MASK)) in snd_mixart_send_msg_wait_notif()
|
D | mixart_mixer.c | 846 snd_BUG_ON(idx >= MIXART_PLAYBACK_STREAMS); in mixart_pcm_vol_get() 872 snd_BUG_ON(idx >= MIXART_PLAYBACK_STREAMS); in mixart_pcm_vol_put() 918 snd_BUG_ON(idx >= MIXART_PLAYBACK_STREAMS); in mixart_pcm_sw_get() 935 snd_BUG_ON(idx >= MIXART_PLAYBACK_STREAMS); in mixart_pcm_sw_put()
|
D | mixart.c | 738 snd_BUG_ON(pcm != chip->pcm_dig); in snd_mixart_playback_open() 817 snd_BUG_ON(pcm != chip->pcm_dig); in snd_mixart_capture_open()
|
/linux-4.1.27/sound/isa/gus/ |
D | gus_mixer.c | 164 if (snd_BUG_ON(!gus)) in snd_gf1_new_mixer() 167 if (snd_BUG_ON(!card)) in snd_gf1_new_mixer()
|
D | gus_pcm.c | 368 if (snd_BUG_ON(bpos > pcmp->dma_size)) in snd_gf1_pcm_playback_copy() 370 if (snd_BUG_ON(bpos + len > pcmp->dma_size)) in snd_gf1_pcm_playback_copy() 399 if (snd_BUG_ON(bpos > pcmp->dma_size)) in snd_gf1_pcm_playback_silence() 401 if (snd_BUG_ON(bpos + len > pcmp->dma_size)) in snd_gf1_pcm_playback_silence()
|
D | gus_main.c | 280 if (snd_BUG_ON(!gus)) in snd_gus_init_dma_irq() 283 if (snd_BUG_ON(!card)) in snd_gus_init_dma_irq()
|
/linux-4.1.27/sound/ppc/ |
D | beep.c | 188 if (snd_BUG_ON(!chip->beep)) in snd_pmac_get_beep() 199 if (snd_BUG_ON(!chip->beep)) in snd_pmac_put_beep()
|
D | tumbler.c | 981 if (snd_BUG_ON(!mix)) in device_change_handler() 1037 if (snd_BUG_ON(!mix)) in tumbler_update_automute()
|
/linux-4.1.27/sound/pci/pcxhr/ |
D | pcxhr_core.c | 345 if (snd_BUG_ON(!dsp->data)) in pcxhr_download_dsp() 423 if (snd_BUG_ON(physaddr & 0xff)) in pcxhr_load_boot_binary() 615 if (snd_BUG_ON(rmh->cmd_len >= PCXHR_SIZE_MAX_CMD)) in pcxhr_send_msg_nolock() 732 if (snd_BUG_ON(cmd >= CMD_LAST_INDEX)) in pcxhr_init_rmh() 746 snd_BUG_ON(param1 > MASK_FIRST_FIELD); in pcxhr_set_pipe_cmd_params() 752 snd_BUG_ON(param2 > MASK_FIRST_FIELD); in pcxhr_set_pipe_cmd_params() 756 snd_BUG_ON(param3 > MASK_DSP_WORD); in pcxhr_set_pipe_cmd_params()
|
D | pcxhr_mixer.c | 747 snd_BUG_ON(clock_items > (HR22_CLOCK_TYPE_MAX+1)); in pcxhr_clock_type_info() 750 snd_BUG_ON(clock_items > (PCXHR_CLOCK_TYPE_MAX+1)); in pcxhr_clock_type_info()
|
D | pcxhr.c | 657 snd_BUG_ON(subs->runtime->dma_bytes >= 0x200000); in pcxhr_update_r_buffer() 1554 if (snd_BUG_ON(pci_id->driver_data >= PCI_ID_LAST)) { in pcxhr_probe()
|
/linux-4.1.27/include/sound/ |
D | compress_driver.h | 178 if (snd_BUG_ON(!stream)) in snd_compr_drain_notify()
|
D | core.h | 361 #define snd_BUG_ON(cond) WARN_ON((cond)) macro 372 #define snd_BUG_ON(condition) ({ \ macro
|
D | pcm.h | 1311 #define PCM_RUNTIME_CHECK(sub) snd_BUG_ON(!(sub) || !(sub)->runtime)
|
/linux-4.1.27/sound/pci/vx222/ |
D | vx222_ops.c | 265 if (snd_BUG_ON(count % 4)) in vx2_dma_write() 304 if (snd_BUG_ON(count % 4)) in vx2_dma_read() 690 if (snd_BUG_ON(data >= sizeof(vx2_akm_gains_lut))) in vx2_write_akm() 839 if (snd_BUG_ON(preamp >= 4)) in vx2_set_input_level()
|
/linux-4.1.27/sound/pci/ice1712/ |
D | ak4xxx.c | 64 if (snd_BUG_ON(chip < 0 || chip >= 4)) in snd_ice1712_akm4xxx_write()
|
D | ews.c | 151 if (snd_BUG_ON(chip_mask < 0 || chip_mask > 0x0f)) in snd_ice1712_ews88mt_chip_select() 684 if (snd_BUG_ON(channel < 0 || channel > 7)) in snd_ice1712_ews88mt_input_sense_get() 705 if (snd_BUG_ON(channel < 0 || channel > 7)) in snd_ice1712_ews88mt_input_sense_put()
|
D | juli.c | 214 if (snd_BUG_ON(chip)) in juli_akm_write()
|
D | quartet.c | 281 if (snd_BUG_ON(chip < 0 || chip >= 4)) in qtet_akm_write()
|
D | ice1724.c | 2435 if (snd_BUG_ON(!ice->pcm)) in snd_vt1724_spdif_build_controls()
|
D | ice1712.c | 2422 if (snd_BUG_ON(!ice->pcm_pro)) in snd_ice1712_spdif_build_controls()
|
/linux-4.1.27/sound/pci/nm256/ |
D | nm256.c | 568 if (snd_BUG_ON(!s)) in snd_nm256_playback_trigger() 606 if (snd_BUG_ON(!s)) in snd_nm256_capture_trigger() 643 if (snd_BUG_ON(!s)) in snd_nm256_pcm_prepare() 669 if (snd_BUG_ON(!s)) in snd_nm256_playback_pointer() 683 if (snd_BUG_ON(!s)) in snd_nm256_capture_pointer()
|
/linux-4.1.27/sound/usb/ |
D | endpoint.c | 915 if (snd_BUG_ON(!urb)) in snd_usb_endpoint_start() 962 if (snd_BUG_ON(ep->use_count == 0)) in snd_usb_endpoint_stop() 1040 snd_BUG_ON(ep == sender); in snd_usb_handle_sync_urb()
|
D | pcm.c | 769 if (snd_BUG_ON(!subs->data_endpoint)) { in snd_usb_pcm_prepare()
|
D | mixer.c | 1921 if (snd_BUG_ON(!itemlist)) in mixer_ctl_selector_info()
|
/linux-4.1.27/sound/isa/sb/ |
D | sb_mixer.c | 744 if (snd_BUG_ON(!chip || !chip->card)) in snd_sbmixer_new() 893 if (snd_BUG_ON(num_regs > ARRAY_SIZE(chip->saved_regs))) in save_mixer() 902 if (snd_BUG_ON(num_regs > ARRAY_SIZE(chip->saved_regs))) in restore_mixer()
|
D | sb8_main.c | 127 if (snd_BUG_ON(rate != SB8_RATE(11025) && in snd_sb8_playback_prepare() 277 if (snd_BUG_ON(rate != SB8_RATE(11025) && in snd_sb8_capture_prepare()
|
D | sb_common.c | 225 if (snd_BUG_ON(!r_chip)) in snd_sbdsp_create()
|
D | emu8000_patch.c | 159 if (snd_BUG_ON(!sp)) in snd_emu8000_sample_new()
|
D | sb16_csp.c | 202 if (snd_BUG_ON(!p)) in snd_sb_csp_ioctl() 1053 if (snd_BUG_ON(!p)) in snd_sb_qsound_build() 1079 if (snd_BUG_ON(!p)) in snd_sb_qsound_destroy()
|
D | sb16_main.c | 673 if (snd_BUG_ON(what)) in snd_sb16_set_dma_mode()
|
D | emu8000.c | 1038 if (snd_BUG_ON(!emu || !card)) in snd_emu8000_create_mixer()
|
/linux-4.1.27/sound/pci/rme9652/ |
D | rme9652.c | 1870 if (snd_BUG_ON(channel < 0 || channel >= RME9652_NCHANNELS)) in rme9652_channel_buffer_location() 1892 if (snd_BUG_ON(pos + count > RME9652_CHANNEL_BUFFER_BYTES / 4)) in snd_rme9652_playback_copy() 1898 if (snd_BUG_ON(!channel_buf)) in snd_rme9652_playback_copy() 1911 if (snd_BUG_ON(pos + count > RME9652_CHANNEL_BUFFER_BYTES / 4)) in snd_rme9652_capture_copy() 1917 if (snd_BUG_ON(!channel_buf)) in snd_rme9652_capture_copy() 1933 if (snd_BUG_ON(!channel_buf)) in snd_rme9652_hw_silence() 2036 if (snd_BUG_ON(info->channel >= RME9652_NCHANNELS)) in snd_rme9652_channel_info()
|
D | hdsp.c | 1126 snd_BUG_ON(n >> 32); in hdsp_set_dds_value() 2809 snd_BUG_ON(offset < 0); in snd_hdsp_get_adat_sync_check() 3903 if (snd_BUG_ON(channel < 0 || channel >= hdsp->max_channels)) in hdsp_channel_buffer_location() 3921 if (snd_BUG_ON(pos + count > HDSP_CHANNEL_BUFFER_BYTES / 4)) in snd_hdsp_playback_copy() 3925 if (snd_BUG_ON(!channel_buf)) in snd_hdsp_playback_copy() 3938 if (snd_BUG_ON(pos + count > HDSP_CHANNEL_BUFFER_BYTES / 4)) in snd_hdsp_capture_copy() 3942 if (snd_BUG_ON(!channel_buf)) in snd_hdsp_capture_copy() 3956 if (snd_BUG_ON(!channel_buf)) in snd_hdsp_hw_silence() 4069 if (snd_BUG_ON(info->channel >= hdsp->max_channels)) in snd_hdsp_channel_info()
|
D | hdspm.c | 1604 if (snd_BUG_ON(rate <= 0)) in hdspm_set_dds_value() 1631 snd_BUG_ON(n >> 32); in hdspm_set_dds_value() 3758 if (snd_BUG_ON(channel < 0 || channel >= HDSPM_MAX_CHANNELS)) in snd_hdspm_get_playback_mixer() 3782 if (snd_BUG_ON(channel < 0 || channel >= HDSPM_MAX_CHANNELS)) in snd_hdspm_put_playback_mixer() 5697 if (snd_BUG_ON(info->channel >= hdspm->max_channels_out)) { in snd_hdspm_channel_info() 5714 if (snd_BUG_ON(info->channel >= hdspm->max_channels_in)) { in snd_hdspm_channel_info()
|
/linux-4.1.27/sound/pci/ |
D | cs4281.c | 772 snd_BUG_ON(dma->right_slot != chip->src_right_play_slot); in snd_cs4281_mode() 778 snd_BUG_ON(dma->right_slot != chip->src_right_rec_slot); in snd_cs4281_mode() 1203 if (snd_BUG_ON(!chip)) in snd_cs4281_gameport_trigger() 1212 if (snd_BUG_ON(!chip)) in snd_cs4281_gameport_read() 1224 if (snd_BUG_ON(!chip)) in snd_cs4281_gameport_cooked_read()
|
D | atiixp_modem.c | 677 if (snd_BUG_ON(!dma->ops->enable_transfer || in snd_atiixp_pcm_trigger() 870 if (snd_BUG_ON(!dma->ops || !dma->ops->enable_dma)) in snd_atiixp_pcm_open() 901 if (snd_BUG_ON(!dma->ops || !dma->ops->enable_dma)) in snd_atiixp_pcm_close()
|
D | sonicvibes.c | 573 snd_BUG_ON(SV_REFFREQUENCY % 16); in snd_sonicvibes_hw_constraint_dac_rate() 574 snd_BUG_ON(SV_ADCMULT % 512); in snd_sonicvibes_hw_constraint_dac_rate() 889 if (snd_BUG_ON(!pcm)) in snd_sonicvibes_pcm() 1122 if (snd_BUG_ON(!sonic || !sonic->card)) in snd_sonicvibes_mixer()
|
D | ad1889.c | 549 if (snd_BUG_ON(ptr >= chip->wave.size)) in snd_ad1889_playback_pointer() 568 if (snd_BUG_ON(ptr >= chip->ramc.size)) in snd_ad1889_capture_pointer()
|
D | atiixp.c | 727 if (snd_BUG_ON(!dma->ops->enable_transfer || in snd_atiixp_pcm_trigger() 1039 if (snd_BUG_ON(!dma->ops || !dma->ops->enable_dma)) in snd_atiixp_pcm_open() 1072 if (snd_BUG_ON(!dma->ops || !dma->ops->enable_dma)) in snd_atiixp_pcm_close()
|
D | ak4531_codec.c | 397 if (snd_BUG_ON(!card || !_ak4531)) in snd_ak4531_mixer()
|
D | maestro3.c | 1118 if (snd_BUG_ON(!s)) in snd_m3_pcm_trigger() 1431 if (snd_BUG_ON(!s)) in snd_m3_pcm_prepare() 1492 if (snd_BUG_ON(!s)) in snd_m3_pcm_pointer()
|
D | via82xx.c | 843 if (snd_BUG_ON(!viadev->tbl_entries)) in snd_via686_pcm_pointer() 875 if (snd_BUG_ON(!viadev->tbl_entries)) in snd_via8233_pcm_pointer() 1059 snd_BUG_ON(rbits & ~0xfffff); in snd_via8233_playback_prepare()
|
D | azt3328.c | 1193 if (snd_BUG_ON(!chip || !chip->card)) in snd_azf3328_mixer_new() 1768 if (snd_BUG_ON(!chip)) in snd_azf3328_gameport_cooked_read()
|
D | via82xx_modem.c | 624 if (snd_BUG_ON(!viadev->tbl_entries)) in snd_via686_pcm_pointer()
|
D | cmipci.c | 2374 if (snd_BUG_ON(!args)) in snd_cmipci_uswitch_get() 2419 if (snd_BUG_ON(!args)) in snd_cmipci_uswitch_put() 2674 if (snd_BUG_ON(!cm || !cm->card)) in snd_cmipci_mixer_new()
|
D | es1968.c | 708 if (snd_BUG_ON(channel >= NR_APUS)) in __apu_set_register() 728 if (snd_BUG_ON(channel >= NR_APUS)) in __apu_get_register()
|
D | intel8x0m.c | 309 if (snd_BUG_ON(codec >= 3)) in get_ich_codec_bit()
|
D | es1938.c | 851 if (snd_BUG_ON(pos + count > chip->dma1_size)) in snd_es1938_capture_copy()
|
D | intel8x0.c | 2258 if (snd_BUG_ON(chip->ac97_sdin[codecs] >= 3)) in snd_intel8x0_mixer()
|
/linux-4.1.27/sound/mips/ |
D | au1x00.c | 196 if (snd_BUG_ON(!stream->buffer)) in au1000_dma_stop() 204 if (snd_BUG_ON(!stream->buffer)) in au1000_dma_start()
|
/linux-4.1.27/sound/pci/ymfpci/ |
D | ymfpci_main.c | 264 if (snd_BUG_ON(!rvoice)) in snd_ymfpci_voice_alloc() 266 if (snd_BUG_ON(pair && type != YMFPCI_PCM)) in snd_ymfpci_voice_alloc() 285 if (snd_BUG_ON(!pvoice)) in snd_ymfpci_voice_free() 512 if (snd_BUG_ON(!voice)) in snd_ymfpci_pcm_init_voice() 1845 if (snd_BUG_ON(!chip->pcm_spdif)) in snd_ymfpci_mixer() 2177 snd_BUG_ON(ptr + chip->work_size != in snd_ymfpci_memalloc() 2213 if (snd_BUG_ON(!chip)) in snd_ymfpci_free()
|
/linux-4.1.27/sound/pci/hda/ |
D | hda_codec.c | 320 if (snd_BUG_ON(added)) in snd_hda_get_conn_list() 1017 if (snd_BUG_ON(!bus)) in snd_hda_codec_new() 1019 if (snd_BUG_ON(codec_addr > HDA_MAX_CODEC_ADDRESS)) in snd_hda_codec_new() 1420 if (snd_BUG_ON(mask & ~0xff)) in snd_hda_codec_amp_stereo() 1475 if (snd_BUG_ON(mask & ~0xff)) in snd_hda_codec_amp_init_stereo() 1694 if (snd_BUG_ON(strlen(name) >= sizeof(id.name))) in find_mixer_ctl() 3667 if (snd_BUG_ON(!info->nid)) in set_pcm_default_values() 3672 if (snd_BUG_ON(!info->nid)) in set_pcm_default_values() 3832 if (snd_BUG_ON(!bus->ops.attach_pcm)) in snd_hda_codec_build_pcms()
|
D | hda_controller.c | 859 if (snd_BUG_ON(!runtime->hw.channels_min) || in azx_pcm_open() 860 snd_BUG_ON(!runtime->hw.channels_max) || in azx_pcm_open() 861 snd_BUG_ON(!runtime->hw.formats) || in azx_pcm_open() 862 snd_BUG_ON(!runtime->hw.rates)) { in azx_pcm_open()
|
D | patch_hdmi.c | 1451 if (snd_BUG_ON(pin_idx < 0)) in hdmi_pcm_open() 1849 if (snd_BUG_ON(cvt_idx < 0)) in hdmi_pcm_close() 1853 snd_BUG_ON(!per_cvt->assigned); in hdmi_pcm_close() 1858 if (snd_BUG_ON(pin_idx < 0)) in hdmi_pcm_close()
|
D | patch_realtek.c | 212 if (snd_BUG_ON(spec->num_mixers >= ARRAY_SIZE(spec->mixers))) in add_mixer() 4433 if (snd_BUG_ON(!mic_pin || !hp_pin)) in alc271_hp_gate_mic_jack()
|
D | patch_sigmatel.c | 994 if (snd_BUG_ON(!labels[i])) in stac_create_spdif_mux_ctls()
|
/linux-4.1.27/sound/isa/msnd/ |
D | msnd_pinnacle_mixer.c | 304 if (snd_BUG_ON(!chip)) in snd_msndmix_new()
|
/linux-4.1.27/sound/pci/riptide/ |
D | riptide.c | 847 if (snd_BUG_ON(!cif)) in sendcmd() 1464 if (snd_BUG_ON(!cif || !data)) in snd_riptide_prepare() 1750 if (snd_BUG_ON(!cif)) in snd_riptide_codec_write() 1769 if (snd_BUG_ON(!cif)) in snd_riptide_codec_read() 1784 if (snd_BUG_ON(!chip)) in snd_riptide_initialize()
|
/linux-4.1.27/sound/parisc/ |
D | harmony.c | 627 if (snd_BUG_ON(!h)) in snd_harmony_pcm_init() 868 if (snd_BUG_ON(!h)) in snd_harmony_mixer_init()
|
/linux-4.1.27/sound/drivers/opl4/ |
D | opl4_synth.c | 470 snd_BUG_ON(list_empty(&opl4->on_voices)); in snd_opl4_get_voice()
|
/linux-4.1.27/sound/isa/ad1816a/ |
D | ad1816a_lib.c | 396 if (snd_BUG_ON(!timer)) in snd_ad1816a_timer_resolution() 968 if (snd_BUG_ON(!chip || !chip->card)) in snd_ad1816a_mixer()
|
/linux-4.1.27/sound/sparc/ |
D | dbri.c | 2271 if (snd_BUG_ON(!dbri)) in snd_cs4215_get_volume() 2340 if (snd_BUG_ON(!dbri)) in snd_cs4215_get_single() 2367 if (snd_BUG_ON(!dbri)) in snd_cs4215_put_single() 2444 if (snd_BUG_ON(!card || !card->private_data)) in snd_dbri_mixer()
|
D | amd7930.c | 892 if (snd_BUG_ON(!amd || !amd->card)) in snd_amd7930_mixer()
|
D | cs4231.c | 1544 if (snd_BUG_ON(!chip || !chip->pcm)) in snd_cs4231_mixer()
|
/linux-4.1.27/sound/pcmcia/vx/ |
D | vxp_ops.c | 411 if (snd_BUG_ON(count % 2)) in vxp_dma_read()
|
/linux-4.1.27/sound/pci/lx6464es/ |
D | lx_core.c | 225 snd_BUG_ON(cmd >= CMD_14_INVALID); in lx_message_init() 305 snd_BUG_ON(rmh->stat_len >= (REG_CRM_NUMBER-1)); in lx_message_send_atomic()
|
/linux-4.1.27/sound/sh/ |
D | aica.c | 110 if (snd_BUG_ON(length % 4)) in spu_memset()
|
/linux-4.1.27/sound/i2c/other/ |
D | ak4117.c | 432 if (snd_BUG_ON(!cap_substream)) in snd_ak4117_build()
|
D | ak4113.c | 508 if (snd_BUG_ON(!cap_substream)) in snd_ak4113_build()
|
D | ak4114.c | 482 if (snd_BUG_ON(!cap_substream)) in snd_ak4114_build()
|
/linux-4.1.27/sound/pci/korg1212/ |
D | korg1212.c | 1283 if (snd_BUG_ON(pos + count > K1212_MAX_SAMPLES)) in snd_korg1212_silence() 1309 if (snd_BUG_ON(pos + count > K1212_MAX_SAMPLES)) in snd_korg1212_copy_to() 1340 if (snd_BUG_ON(pos + count > K1212_MAX_SAMPLES)) in snd_korg1212_copy_from()
|
/linux-4.1.27/sound/isa/opti9xx/ |
D | opti92x-ad1848.c | 599 if (snd_BUG_ON(!chip || !chip->pcm)) in snd_opti93x_mixer()
|
D | miro.c | 722 if (snd_BUG_ON(!miro || !card)) in snd_miro_mixer()
|
/linux-4.1.27/sound/pci/ac97/ |
D | ac97_codec.c | 1926 if (snd_BUG_ON(!card)) in snd_ac97_bus() 2030 if (snd_BUG_ON(!bus || !template)) in snd_ac97_mixer() 2032 if (snd_BUG_ON(template->num >= 4)) in snd_ac97_mixer()
|
/linux-4.1.27/sound/isa/wss/ |
D | wss_lib.c | 2004 if (snd_BUG_ON(!chip->card)) in snd_wss_info_mux() 2251 if (snd_BUG_ON(!chip || !chip->pcm)) in snd_wss_mixer()
|
/linux-4.1.27/sound/isa/es1688/ |
D | es1688_lib.c | 1008 if (snd_BUG_ON(!chip || !card)) in snd_es1688_mixer()
|
/linux-4.1.27/sound/isa/cs423x/ |
D | cs4236_lib.c | 1039 if (snd_BUG_ON(!chip || !chip->card)) in snd_cs4236_mixer()
|
/linux-4.1.27/sound/pci/asihpi/ |
D | asihpi.c | 2547 if (snd_BUG_ON(!asihpi)) in snd_asihpi_sampleclock_add() 2624 if (snd_BUG_ON(!asihpi)) in snd_card_asihpi_mixer_new()
|