Symbol: snd_BUG_ON
include/sound/compress_driver.h
243
if (snd_BUG_ON(!stream))
sound/core/compress_offload.c
1202
if (!snd_BUG_ON(stream->runtime->active_tasks == 0))
sound/core/compress_offload.c
1299
if (!snd_BUG_ON(stream->runtime->active_tasks == 0))
sound/core/compress_offload.c
1314
if (snd_BUG_ON(!data))
sound/core/compress_offload.c
1414
if (snd_BUG_ON(!device || !device->device_data))
sound/core/compress_offload.c
1536
if (snd_BUG_ON(dirn == SND_COMPRESS_ACCEL))
sound/core/compress_offload.c
332
if (snd_BUG_ON(!data))
sound/core/compress_offload.c
383
if (snd_BUG_ON(!data))
sound/core/compress_offload.c
442
if (snd_BUG_ON(!data))
sound/core/compress_offload.c
545
if (snd_BUG_ON(!(stream) || !(stream)->runtime))
sound/core/compress_offload.c
567
if (snd_BUG_ON(!(stream) || !(stream)->runtime))
sound/core/control.c
1146
snd_BUG_ON(info->access);
sound/core/control.c
162
if (snd_BUG_ON(!card || !id))
sound/core/control.c
1986
if (snd_BUG_ON(!card))
sound/core/control.c
2061
if (snd_BUG_ON(!ctl || !ctl->card))
sound/core/control.c
2182
if (snd_BUG_ON(!fcn))
sound/core/control.c
2435
if (snd_BUG_ON(!card))
sound/core/control.c
2437
if (snd_BUG_ON(card->number < 0 || card->number >= SNDRV_CARDS))
sound/core/control.c
275
if (snd_BUG_ON(!ncontrol || !ncontrol->info))
sound/core/control.c
524
if (snd_BUG_ON(!card || !kcontrol->info))
sound/core/control.c
589
if (snd_BUG_ON(!card || !kcontrol))
sound/core/control.c
825
if (snd_BUG_ON(!card || !numid))
sound/core/control.c
852
if (snd_BUG_ON(!card || !id))
sound/core/control_compat.c
443
if (snd_BUG_ON(!ctl || !ctl->card))
sound/core/control_led.c
335
if (snd_BUG_ON(card->number < 0 ||
sound/core/device.c
110
if (snd_BUG_ON(!card || !device_data))
sound/core/device.c
134
if (snd_BUG_ON(!card || !device_data))
sound/core/device.c
175
if (snd_BUG_ON(!card || !device_data))
sound/core/device.c
194
if (snd_BUG_ON(!card))
sound/core/device.c
212
if (snd_BUG_ON(!card))
sound/core/device.c
226
if (snd_BUG_ON(!card))
sound/core/device.c
35
if (snd_BUG_ON(!card || !device_data || !ops))
sound/core/hwdep.c
374
if (snd_BUG_ON(!card))
sound/core/hwdep.c
460
if (snd_BUG_ON(!hwdep))
sound/core/info.c
484
if (snd_BUG_ON(!card))
sound/core/info.c
506
if (snd_BUG_ON(!card))
sound/core/info.c
589
if (snd_BUG_ON(!buffer))
sound/core/info.c
777
if (snd_BUG_ON(!entry))
sound/core/info_oss.c
28
if (snd_BUG_ON(dev < 0 || dev >= SNDRV_OSS_INFO_DEV_COUNT))
sound/core/info_oss.c
30
if (snd_BUG_ON(num < 0 || num >= SNDRV_CARDS))
sound/core/init.c
178
if (snd_BUG_ON(!card_ret))
sound/core/init.c
882
if (snd_BUG_ON(!card))
sound/core/oss/copy.c
20
if (snd_BUG_ON(!plugin || !src_channels || !dst_channels))
sound/core/oss/copy.c
26
if (snd_BUG_ON(src_channels->area.first % 8 ||
sound/core/oss/copy.c
29
if (snd_BUG_ON(dst_channels->area.first % 8 ||
sound/core/oss/copy.c
55
if (snd_BUG_ON(!r_plugin))
sound/core/oss/copy.c
59
if (snd_BUG_ON(src_format->format != dst_format->format))
sound/core/oss/copy.c
61
if (snd_BUG_ON(src_format->rate != dst_format->rate))
sound/core/oss/copy.c
63
if (snd_BUG_ON(src_format->channels != dst_format->channels))
sound/core/oss/copy.c
67
if (snd_BUG_ON(width <= 0))
sound/core/oss/io.c
101
if (snd_BUG_ON(!r_plugin))
sound/core/oss/io.c
104
if (snd_BUG_ON(!plug || !params))
sound/core/oss/io.c
27
if (snd_BUG_ON(!plugin))
sound/core/oss/io.c
29
if (snd_BUG_ON(!src_channels))
sound/core/oss/io.c
36
if (snd_BUG_ON(!bufs))
sound/core/oss/io.c
53
if (snd_BUG_ON(!plugin))
sound/core/oss/io.c
55
if (snd_BUG_ON(!dst_channels))
sound/core/oss/io.c
62
if (snd_BUG_ON(!bufs))
sound/core/oss/linear.c
143
if (snd_BUG_ON(!r_plugin))
sound/core/oss/linear.c
147
if (snd_BUG_ON(src_format->rate != dst_format->rate))
sound/core/oss/linear.c
149
if (snd_BUG_ON(src_format->channels != dst_format->channels))
sound/core/oss/linear.c
151
if (snd_BUG_ON(!snd_pcm_format_linear(src_format->format) ||
sound/core/oss/linear.c
78
if (snd_BUG_ON(!plugin || !src_channels || !dst_channels))
sound/core/oss/linear.c
86
if (snd_BUG_ON(src_channels[channel].area.first % 8 ||
sound/core/oss/linear.c
89
if (snd_BUG_ON(dst_channels[channel].area.first % 8 ||
sound/core/oss/mixer_oss.c
1299
if (snd_BUG_ON(mixer != card->mixer_oss))
sound/core/oss/mixer_oss.c
267
if (snd_BUG_ON(left < 0 || left > 100))
sound/core/oss/mixer_oss.c
269
if (snd_BUG_ON(right < 0 || right > 100))
sound/core/oss/mixer_oss.c
312
if (snd_BUG_ON(!fmixer))
sound/core/oss/mixer_oss.c
383
if (snd_BUG_ON(!card))
sound/core/oss/mulaw.c
241
if (snd_BUG_ON(!plugin || !src_channels || !dst_channels))
sound/core/oss/mulaw.c
249
if (snd_BUG_ON(src_channels[channel].area.first % 8 ||
sound/core/oss/mulaw.c
252
if (snd_BUG_ON(dst_channels[channel].area.first % 8 ||
sound/core/oss/mulaw.c
297
if (snd_BUG_ON(!r_plugin))
sound/core/oss/mulaw.c
301
if (snd_BUG_ON(src_format->rate != dst_format->rate))
sound/core/oss/mulaw.c
303
if (snd_BUG_ON(src_format->channels != dst_format->channels))
sound/core/oss/pcm_oss.c
2480
if (snd_BUG_ON(!task || !name || size < 2))
sound/core/oss/pcm_oss.c
2586
if (snd_BUG_ON(!substream))
sound/core/oss/pcm_oss.c
2620
if (snd_BUG_ON(idx >= 2))
sound/core/oss/pcm_plugin.c
145
if (snd_BUG_ON(!plug))
sound/core/oss/pcm_plugin.c
147
if (snd_BUG_ON(!src_format || !dst_format))
sound/core/oss/pcm_plugin.c
158
snd_BUG_ON(plugin->src_width <= 0);
sound/core/oss/pcm_plugin.c
161
snd_BUG_ON(plugin->dst_width <= 0);
sound/core/oss/pcm_plugin.c
234
if (snd_BUG_ON(!plug))
sound/core/oss/pcm_plugin.c
249
if (snd_BUG_ON(!plug))
sound/core/oss/pcm_plugin.c
54
if (snd_BUG_ON(size % 8))
sound/core/oss/pcm_plugin.c
553
if (snd_BUG_ON(!buf))
sound/core/oss/pcm_plugin.c
568
if (snd_BUG_ON(plugin->access != SNDRV_PCM_ACCESS_RW_INTERLEAVED &&
sound/core/oss/pcm_plugin.c
77
if (snd_BUG_ON(size % format->channels))
sound/core/oss/pcm_plugin.c
96
if (snd_BUG_ON(!snd_pcm_plug_first(plug)))
sound/core/oss/rate.c
173
if (snd_BUG_ON(!plugin))
sound/core/oss/rate.c
206
if (snd_BUG_ON(!plugin))
sound/core/oss/rate.c
242
if (snd_BUG_ON(!plugin || !src_channels || !dst_channels))
sound/core/oss/rate.c
250
if (snd_BUG_ON(src_channels[channel].area.first % 8 ||
sound/core/oss/rate.c
253
if (snd_BUG_ON(dst_channels[channel].area.first % 8 ||
sound/core/oss/rate.c
272
if (snd_BUG_ON(!plugin))
sound/core/oss/rate.c
294
if (snd_BUG_ON(!r_plugin))
sound/core/oss/rate.c
298
if (snd_BUG_ON(src_format->channels != dst_format->channels))
sound/core/oss/rate.c
300
if (snd_BUG_ON(src_format->channels <= 0))
sound/core/oss/rate.c
302
if (snd_BUG_ON(src_format->format != SNDRV_PCM_FORMAT_S16))
sound/core/oss/rate.c
304
if (snd_BUG_ON(dst_format->format != SNDRV_PCM_FORMAT_S16))
sound/core/oss/rate.c
306
if (snd_BUG_ON(src_format->rate == dst_format->rate))
sound/core/oss/route.c
41
if (snd_BUG_ON(!plugin || !src_channels || !dst_channels))
sound/core/oss/route.c
80
if (snd_BUG_ON(!r_plugin))
sound/core/oss/route.c
83
if (snd_BUG_ON(src_format->rate != dst_format->rate))
sound/core/oss/route.c
85
if (snd_BUG_ON(src_format->format != dst_format->format))
sound/core/pcm.c
1050
if (snd_BUG_ON(!device || !device->device_data))
sound/core/pcm.c
1140
if (snd_BUG_ON(!notify ||
sound/core/pcm.c
712
if (snd_BUG_ON(!card))
sound/core/pcm.c
886
if (snd_BUG_ON(!pcm || !rsubstream))
sound/core/pcm.c
888
if (snd_BUG_ON(stream != SNDRV_PCM_STREAM_PLAYBACK &&
sound/core/pcm_compat.c
417
if (snd_BUG_ON(!runtime))
sound/core/pcm_lib.c
1194
if (snd_BUG_ON(k >= ARRAY_SIZE(c->deps))) {
sound/core/pcm_lib.c
121
if (snd_BUG_ON(frames > runtime->buffer_size))
sound/core/pcm_lib.c
129
snd_BUG_ON(err < 0);
sound/core/pcm_lib.c
1935
if (snd_BUG_ON(!substream))
sound/core/pcm_lib.c
2204
if (snd_BUG_ON(!substream->ops->copy && !runtime->dma_area))
sound/core/pcm_lib.c
2372
if (snd_BUG_ON(!frames)) {
sound/core/pcm_lib.c
487
snd_BUG_ON(crossed_boundary != 1);
sound/core/pcm_lib.c
629
if (snd_BUG_ON(snd_interval_empty(i)))
sound/core/pcm_lib.c
674
if (snd_BUG_ON(snd_interval_empty(i)))
sound/core/pcm_lib.c
690
if (snd_BUG_ON(snd_interval_empty(i)))
sound/core/pcm_local.h
68
#define PCM_RUNTIME_CHECK(sub) snd_BUG_ON(!(sub) || !(sub)->runtime)
sound/core/pcm_memory.c
267
if (snd_BUG_ON(substream->dma_buffer.dev.type))
sound/core/pcm_memory.c
428
if (snd_BUG_ON(substream->dma_buffer.dev.type ==
sound/core/pcm_native.c
2973
if (snd_BUG_ON(!substream))
sound/core/pcm_native.c
3263
if (snd_BUG_ON(!runtime))
sound/core/pcm_timer.c
26
if (snd_BUG_ON(!rate))
sound/core/pcm_timer.c
32
if (snd_BUG_ON(!fsize))
sound/core/rawmidi.c
1087
if (snd_BUG_ON((runtime->hw_ptr & 0x1f) != 0))
sound/core/rawmidi.c
1440
snd_BUG_ON(runtime->avail + count > runtime->buffer_size);
sound/core/rawmidi.c
1530
if (snd_BUG_ON(!runtime->buffer))
sound/core/rawmidi.c
1771
if (!snd_BUG_ON(clock_type >= ARRAY_SIZE(clock_names)))
sound/core/rawmidi.c
417
if (snd_BUG_ON(!rfile))
sound/core/rawmidi.c
592
if (snd_BUG_ON(!rfile))
sound/core/seq/oss/seq_oss.c
150
if (snd_BUG_ON(!dp))
sound/core/seq/oss/seq_oss.c
161
if (snd_BUG_ON(!dp))
sound/core/seq/oss/seq_oss.c
173
if (snd_BUG_ON(!dp))
sound/core/seq/oss/seq_oss.c
200
if (snd_BUG_ON(!dp))
sound/core/seq/oss/seq_oss_synth.c
276
if (snd_BUG_ON(dp->max_synthdev > SNDRV_SEQ_OSS_MAX_SYNTH_DEVS))
sound/core/seq/seq_clientmgr.c
1003
if (snd_BUG_ON(!client))
sound/core/seq/seq_clientmgr.c
1117
if (snd_BUG_ON(!client))
sound/core/seq/seq_clientmgr.c
2248
if (snd_BUG_ON(!client))
sound/core/seq/seq_clientmgr.c
2310
if (snd_BUG_ON(in_interrupt()))
sound/core/seq/seq_clientmgr.c
2358
if (snd_BUG_ON(in_interrupt()))
sound/core/seq/seq_clientmgr.c
2379
if (snd_BUG_ON(!ev))
sound/core/seq/seq_clientmgr.c
2421
if (snd_BUG_ON(!ev))
sound/core/seq/seq_clientmgr.c
401
if (snd_BUG_ON(!client))
sound/core/seq/seq_clientmgr.c
808
snd_BUG_ON(atomic && (event->data.ext.len & SNDRV_SEQ_EXT_USRPTR)))
sound/core/seq/seq_clientmgr.c
834
if (snd_BUG_ON(!cell))
sound/core/seq/seq_compat.c
77
if (snd_BUG_ON(!client))
sound/core/seq/seq_fifo.c
108
if (snd_BUG_ON(!f))
sound/core/seq/seq_fifo.c
178
if (snd_BUG_ON(!f))
sound/core/seq/seq_fifo.c
245
if (snd_BUG_ON(!f || !f->pool))
sound/core/seq/seq_fifo.c
53
if (snd_BUG_ON(!fifo))
sound/core/seq/seq_fifo.c
56
if (snd_BUG_ON(!f))
sound/core/seq/seq_memory.c
237
if (snd_BUG_ON(!cell))
sound/core/seq/seq_memory.c
240
if (snd_BUG_ON(!pool))
sound/core/seq/seq_memory.c
441
if (snd_BUG_ON(!pool))
sound/core/seq/seq_memory.c
475
if (snd_BUG_ON(!pool))
sound/core/seq/seq_memory.c
486
if (snd_BUG_ON(!pool))
sound/core/seq/seq_midi.c
105
if (snd_BUG_ON(!substream || !buf))
sound/core/seq/seq_midi.c
134
if (snd_BUG_ON(!msynth))
sound/core/seq/seq_midi.c
223
if (snd_BUG_ON(!msynth->input_rfile.input))
sound/core/seq/seq_midi.c
271
if (snd_BUG_ON(!rfile.output))
sound/core/seq/seq_midi.c
307
if (snd_BUG_ON(!card || device < 0 || device >= SNDRV_RAWMIDI_DEVICES))
sound/core/seq/seq_ports.c
122
if (snd_BUG_ON(!client))
sound/core/seq/seq_ports.c
266
snd_BUG_ON(port->c_src.count != 0);
sound/core/seq/seq_ports.c
267
snd_BUG_ON(port->c_dest.count != 0);
sound/core/seq/seq_ports.c
330
if (snd_BUG_ON(!port || !info))
sound/core/seq/seq_ports.c
376
if (snd_BUG_ON(!port || !info))
sound/core/seq/seq_prioq.c
138
if (snd_BUG_ON(!f || !cell))
sound/core/seq/seq_queue.c
290
if (snd_BUG_ON(!cell))
sound/core/seq/seq_queue.c
647
if (snd_BUG_ON(!ev))
sound/core/seq/seq_system.c
120
if (snd_BUG_ON(!announce_subscribed))
sound/core/seq/seq_timer.c
170
if (snd_BUG_ON(!tmr))
sound/core/seq/seq_timer.c
188
if (snd_BUG_ON(!tmr))
sound/core/seq/seq_timer.c
215
if (snd_BUG_ON(!tmr))
sound/core/seq/seq_timer.c
228
if (snd_BUG_ON(!tmr))
sound/core/seq/seq_timer.c
241
if (snd_BUG_ON(!tmr))
sound/core/seq/seq_timer.c
262
if (snd_BUG_ON(!tmr))
sound/core/seq/seq_timer.c
315
if (snd_BUG_ON(!tmr))
sound/core/seq_device.c
234
if (snd_BUG_ON(!id))
sound/core/sound.c
211
if (snd_BUG_ON(!card))
sound/core/sound.c
219
if (snd_BUG_ON(!card))
sound/core/sound.c
224
if (snd_BUG_ON(!card))
sound/core/sound.c
234
if (snd_BUG_ON(minor < 0 || minor >= SNDRV_OS_MINORS))
sound/core/sound.c
264
if (snd_BUG_ON(!device))
sound/core/sound_oss.c
50
if (snd_BUG_ON(!card || dev < 0 || dev > 1))
sound/core/sound_oss.c
61
if (snd_BUG_ON(!card || dev < 0 || dev > 1))
sound/core/sound_oss.c
66
if (snd_BUG_ON(!card || dev < 0 || dev > 1))
sound/core/timer.c
1083
if (snd_BUG_ON(!timer || !timer->hw.start || !timer->hw.stop))
sound/core/timer.c
1148
if (snd_BUG_ON(event < SNDRV_TIMER_EVENT_MSTART ||
sound/core/timer.c
2135
snd_BUG_ON(timer_id < 0 || timer_id >= SNDRV_UTIMERS_MAX_COUNT);
sound/core/timer.c
537
if (snd_BUG_ON(!timeri))
sound/core/timer.c
584
if (snd_BUG_ON(event < SNDRV_TIMER_EVENT_START ||
sound/core/timer.c
995
if (snd_BUG_ON(!tid))
sound/drivers/opl3/opl3_lib.c
122
if (snd_BUG_ON(!opl3->r_port))
sound/drivers/opl3/opl3_lib.c
299
if (snd_BUG_ON(!opl3))
sound/drivers/opl3/opl3_midi.c
599
if (snd_BUG_ON(voice >= MAX_OPL3_VOICES))
sound/drivers/opl3/opl3_midi.c
710
if (snd_BUG_ON(voice >= MAX_OPL3_VOICES))
sound/drivers/opl3/opl3_oss.c
136
if (snd_BUG_ON(!arg))
sound/drivers/opl3/opl3_oss.c
161
if (snd_BUG_ON(!arg))
sound/drivers/opl3/opl3_oss.c
184
if (snd_BUG_ON(!arg))
sound/drivers/opl3/opl3_oss.c
225
if (snd_BUG_ON(!arg))
sound/drivers/opl3/opl3_oss.c
250
if (snd_BUG_ON(!arg))
sound/drivers/opl3/opl3_synth.c
85
if (snd_BUG_ON(!opl3))
sound/drivers/opl4/opl4_synth.c
461
snd_BUG_ON(list_empty(&opl4->on_voices));
sound/drivers/vx/vx_cmd.c
89
if (snd_BUG_ON(cmd >= CMD_LAST_INDEX))
sound/drivers/vx/vx_core.c
203
if (snd_BUG_ON(size >= SIZE_MAX_STATUS))
sound/drivers/vx/vx_core.c
549
if (snd_BUG_ON(!chip->ops->reset_board))
sound/drivers/vx/vx_core.c
784
if (snd_BUG_ON(!card || !hw || !ops))
sound/drivers/vx/vx_mixer.c
22
if (snd_BUG_ON(!chip->ops->write_codec))
sound/drivers/vx/vx_pcm.c
1118
if (snd_BUG_ON(p < 0 || p >= chip->audio_outs))
sound/drivers/vx/vx_pcm.c
526
if (snd_BUG_ON(audio >= chip->audio_outs))
sound/drivers/vx/vx_pcm.c
902
if (snd_BUG_ON(audio >= chip->audio_ins))
sound/drivers/vx/vx_uer.c
150
if (snd_BUG_ON(freq <= 0))
sound/drivers/vx/vx_uer.c
157
if (snd_BUG_ON(hexfreq <= 0x00000200))
sound/hda/codecs/generic.c
1004
if (snd_BUG_ON(len >= sizeof(name)))
sound/hda/codecs/hdmi/hdmi.c
1742
if (snd_BUG_ON(pcm_idx < 0))
sound/hda/codecs/hdmi/hdmi.c
1745
if (snd_BUG_ON(cvt_idx < 0))
sound/hda/codecs/realtek/alc269.c
2424
if (snd_BUG_ON(!mic_pin || !hp_pin))
sound/hda/codecs/sigmatel.c
964
if (snd_BUG_ON(!labels[i]))
sound/hda/common/codec.c
1353
if (snd_BUG_ON(mask & ~0xff))
sound/hda/common/codec.c
1403
if (snd_BUG_ON(mask & ~0xff))
sound/hda/common/codec.c
1636
if (snd_BUG_ON(strlen(name) >= sizeof(id.name)))
sound/hda/common/codec.c
193
if (snd_BUG_ON(added))
sound/hda/common/codec.c
3160
if (snd_BUG_ON(!info->nid))
sound/hda/common/codec.c
3165
if (snd_BUG_ON(!info->nid))
sound/hda/common/codec.c
885
if (snd_BUG_ON(!bus))
sound/hda/common/codec.c
887
if (snd_BUG_ON(codec_addr > HDA_MAX_CODEC_ADDRESS))
sound/hda/common/codec.c
972
if (snd_BUG_ON(!bus))
sound/hda/common/codec.c
974
if (snd_BUG_ON(codec_addr > HDA_MAX_CODEC_ADDRESS))
sound/hda/common/controller.c
641
if (snd_BUG_ON(!runtime->hw.channels_min) ||
sound/hda/common/controller.c
642
snd_BUG_ON(!runtime->hw.channels_max) ||
sound/hda/common/controller.c
643
snd_BUG_ON(!runtime->hw.formats) ||
sound/hda/common/controller.c
644
snd_BUG_ON(!runtime->hw.rates)) {
sound/hda/core/array.c
21
if (snd_BUG_ON(!array->elem_size))
sound/hda/core/array.c
28
if (snd_BUG_ON(num >= 4096))
sound/hda/core/controller.c
132
if (snd_BUG_ON(addr >= HDA_MAX_CODECS))
sound/i2c/cs8427.c
321
if (snd_BUG_ON(!cs8427))
sound/i2c/cs8427.c
535
if (snd_BUG_ON(!play_substream || !cap_substream))
sound/i2c/cs8427.c
553
if (snd_BUG_ON(!chip->playback.pcm_ctl))
sound/i2c/cs8427.c
564
if (snd_BUG_ON(!cs8427))
sound/i2c/cs8427.c
588
if (snd_BUG_ON(!cs8427))
sound/i2c/i2c.c
105
if (snd_BUG_ON(!bus))
sound/i2c/i2c.c
39
if (snd_BUG_ON(!bus))
sound/i2c/other/ak4113.c
489
if (snd_BUG_ON(!cap_substream))
sound/i2c/other/ak4114.c
454
if (snd_BUG_ON(!cap_substream))
sound/i2c/other/ak4117.c
404
if (snd_BUG_ON(!cap_substream))
sound/isa/ad1816a/ad1816a_lib.c
360
if (snd_BUG_ON(!timer))
sound/isa/ad1816a/ad1816a_lib.c
867
if (snd_BUG_ON(!chip || !chip->card))
sound/isa/cs423x/cs4236_lib.c
988
if (snd_BUG_ON(!chip || !chip->card))
sound/isa/es1688/es1688_lib.c
951
if (snd_BUG_ON(!chip || !card))
sound/isa/gus/gus_main.c
256
if (snd_BUG_ON(!gus))
sound/isa/gus/gus_main.c
259
if (snd_BUG_ON(!card))
sound/isa/gus/gus_mixer.c
140
if (snd_BUG_ON(!gus))
sound/isa/gus/gus_mixer.c
143
if (snd_BUG_ON(!card))
sound/isa/gus/gus_pcm.c
324
if (snd_BUG_ON(bpos > pcmp->dma_size))
sound/isa/gus/gus_pcm.c
326
if (snd_BUG_ON(bpos + len > pcmp->dma_size))
sound/isa/msnd/msnd_pinnacle_mixer.c
295
if (snd_BUG_ON(!chip))
sound/isa/opti9xx/miro.c
885
if (snd_BUG_ON(!miro || !card))
sound/isa/opti9xx/opti92x-ad1848.c
586
if (snd_BUG_ON(!chip || !chip->pcm))
sound/isa/sb/emu8000.c
1011
if (snd_BUG_ON(!emu || !card))
sound/isa/sb/emu8000_patch.c
148
if (snd_BUG_ON(!sp))
sound/isa/sb/sb16_csp.c
1023
if (snd_BUG_ON(!p))
sound/isa/sb/sb16_csp.c
1054
if (snd_BUG_ON(!p))
sound/isa/sb/sb16_csp.c
191
if (snd_BUG_ON(!p))
sound/isa/sb/sb16_main.c
623
if (snd_BUG_ON(what))
sound/isa/sb/sb8_main.c
112
if (snd_BUG_ON(rate != SB8_RATE(11025) &&
sound/isa/sb/sb8_main.c
246
if (snd_BUG_ON(rate != SB8_RATE(11025) &&
sound/isa/sb/sb_common.c
179
if (snd_BUG_ON(!r_chip))
sound/isa/sb/sb_mixer.c
706
if (snd_BUG_ON(!chip || !chip->card))
sound/isa/sb/sb_mixer.c
859
if (snd_BUG_ON(num_regs > ARRAY_SIZE(chip->saved_regs)))
sound/isa/sb/sb_mixer.c
868
if (snd_BUG_ON(num_regs > ARRAY_SIZE(chip->saved_regs)))
sound/isa/wavefront/wavefront_fx.c
165
if (snd_BUG_ON(!card))
sound/isa/wavefront/wavefront_fx.c
167
if (snd_BUG_ON(!card->private_data))
sound/isa/wavefront/wavefront_midi.c
223
if (snd_BUG_ON(!substream || !substream->rmidi))
sound/isa/wavefront/wavefront_midi.c
225
if (snd_BUG_ON(!substream->rmidi->private_data))
sound/isa/wavefront/wavefront_midi.c
246
if (snd_BUG_ON(!substream || !substream->rmidi))
sound/isa/wavefront/wavefront_midi.c
248
if (snd_BUG_ON(!substream->rmidi->private_data))
sound/isa/wavefront/wavefront_midi.c
269
if (snd_BUG_ON(!substream || !substream->rmidi))
sound/isa/wavefront/wavefront_midi.c
271
if (snd_BUG_ON(!substream->rmidi->private_data))
sound/isa/wavefront/wavefront_midi.c
292
if (snd_BUG_ON(!substream || !substream->rmidi))
sound/isa/wavefront/wavefront_midi.c
294
if (snd_BUG_ON(!substream->rmidi->private_data))
sound/isa/wavefront/wavefront_synth.c
1759
if (snd_BUG_ON(!card))
sound/isa/wavefront/wavefront_synth.c
1761
if (snd_BUG_ON(!card->private_data))
sound/isa/wss/wss_lib.c
1880
if (snd_BUG_ON(!chip->card))
sound/isa/wss/wss_lib.c
2115
if (snd_BUG_ON(!chip || !chip->pcm))
sound/parisc/harmony.c
575
if (snd_BUG_ON(!h))
sound/parisc/harmony.c
802
if (snd_BUG_ON(!h))
sound/pci/ac97/ac97_codec.c
1958
if (snd_BUG_ON(!card))
sound/pci/ac97/ac97_codec.c
2063
if (snd_BUG_ON(!bus || !template || !rac97))
sound/pci/ac97/ac97_codec.c
2066
if (snd_BUG_ON(template->num >= 4))
sound/pci/ad1889.c
518
if (snd_BUG_ON(ptr >= chip->wave.size))
sound/pci/ad1889.c
537
if (snd_BUG_ON(ptr >= chip->ramc.size))
sound/pci/ak4531_codec.c
372
if (snd_BUG_ON(!card || !_ak4531))
sound/pci/asihpi/asihpi.c
2461
if (snd_BUG_ON(!asihpi))
sound/pci/asihpi/asihpi.c
2538
if (snd_BUG_ON(!asihpi))
sound/pci/atiixp.c
1020
if (snd_BUG_ON(!dma->ops || !dma->ops->enable_dma))
sound/pci/atiixp.c
1054
if (snd_BUG_ON(!dma->ops || !dma->ops->enable_dma))
sound/pci/atiixp.c
709
if (snd_BUG_ON(!dma->ops->enable_transfer ||
sound/pci/atiixp_modem.c
659
if (snd_BUG_ON(!dma->ops->enable_transfer ||
sound/pci/atiixp_modem.c
846
if (snd_BUG_ON(!dma->ops || !dma->ops->enable_dma))
sound/pci/atiixp_modem.c
877
if (snd_BUG_ON(!dma->ops || !dma->ops->enable_dma))
sound/pci/azt3328.c
1167
if (snd_BUG_ON(!chip || !chip->card))
sound/pci/azt3328.c
1722
if (snd_BUG_ON(!chip))
sound/pci/ca0106/ca_midi.c
108
if (snd_BUG_ON(!midi->dev_id))
sound/pci/ca0106/ca_midi.c
125
if (snd_BUG_ON(!midi->dev_id))
sound/pci/ca0106/ca_midi.c
142
if (snd_BUG_ON(!midi->dev_id))
sound/pci/ca0106/ca_midi.c
159
if (snd_BUG_ON(!midi->dev_id))
sound/pci/ca0106/ca_midi.c
177
if (snd_BUG_ON(!midi->dev_id))
sound/pci/ca0106/ca_midi.c
191
if (snd_BUG_ON(!midi->dev_id))
sound/pci/cmipci.c
2301
if (snd_BUG_ON(!args))
sound/pci/cmipci.c
2344
if (snd_BUG_ON(!args))
sound/pci/cmipci.c
2596
if (snd_BUG_ON(!cm || !cm->card))
sound/pci/cs4281.c
1166
if (snd_BUG_ON(!chip))
sound/pci/cs4281.c
1175
if (snd_BUG_ON(!chip))
sound/pci/cs4281.c
1187
if (snd_BUG_ON(!chip))
sound/pci/cs4281.c
750
snd_BUG_ON(dma->right_slot != chip->src_right_play_slot);
sound/pci/cs4281.c
756
snd_BUG_ON(dma->right_slot != chip->src_right_rec_slot);
sound/pci/cs46xx/cs46xx_lib.c
1083
if (snd_BUG_ON(!sample_rate))
sound/pci/cs46xx/cs46xx_lib.c
1091
snd_BUG_ON(!cpcm->pcm_channel);
sound/pci/cs46xx/cs46xx_lib.c
1185
if (snd_BUG_ON(!cpcm->pcm_channel))
sound/pci/cs46xx/cs46xx_lib.c
1830
if (snd_BUG_ON(ac97 != chip->ac97[CS46XX_PRIMARY_CODEC_INDEX] &&
sound/pci/cs46xx/cs46xx_lib.c
208
if (snd_BUG_ON(codec_index != CS46XX_PRIMARY_CODEC_INDEX &&
sound/pci/cs46xx/cs46xx_lib.c
225
if (snd_BUG_ON(codec_index != CS46XX_PRIMARY_CODEC_INDEX &&
sound/pci/cs46xx/cs46xx_lib.c
2655
if (snd_BUG_ON(!chip))
sound/pci/cs46xx/cs46xx_lib.c
2664
if (snd_BUG_ON(!chip))
sound/pci/cs46xx/cs46xx_lib.c
2674
if (snd_BUG_ON(!chip))
sound/pci/cs46xx/cs46xx_lib.c
292
if (snd_BUG_ON(codec_index != CS46XX_PRIMARY_CODEC_INDEX &&
sound/pci/cs46xx/cs46xx_lib.c
313
if (snd_BUG_ON((offset & 3) || (len & 3)))
sound/pci/cs46xx/cs46xx_lib.c
476
if (snd_BUG_ON((offset & 3) || (len & 3)))
sound/pci/cs46xx/cs46xx_lib.c
82
if (snd_BUG_ON(codec_index != CS46XX_PRIMARY_CODEC_INDEX &&
sound/pci/cs46xx/cs46xx_lib.c
898
if (snd_BUG_ON(!cpcm->pcm_channel))
sound/pci/cs46xx/cs46xx_lib.c
917
if (snd_BUG_ON(!cpcm->pcm_channel))
sound/pci/cs46xx/dsp_spos.c
1333
if (snd_BUG_ON(chip->nr_ac97_codecs != 1 && chip->nr_ac97_codecs != 2))
sound/pci/cs46xx/dsp_spos.c
1577
if (snd_BUG_ON(!spdifo_scb_desc))
sound/pci/cs46xx/dsp_spos.c
1580
if (snd_BUG_ON(!spdifi_scb_desc))
sound/pci/cs46xx/dsp_spos.c
1583
if (snd_BUG_ON(!async_codec_scb_desc))
sound/pci/cs46xx/dsp_spos.c
1669
if (snd_BUG_ON(ins->asynch_rx_scb))
sound/pci/cs46xx/dsp_spos.c
1671
if (snd_BUG_ON(!ins->spdif_in_src))
sound/pci/cs46xx/dsp_spos.c
1724
if (snd_BUG_ON(!ins->asynch_rx_scb))
sound/pci/cs46xx/dsp_spos.c
1726
if (snd_BUG_ON(!ins->spdif_in_src))
sound/pci/cs46xx/dsp_spos.c
1751
if (snd_BUG_ON(ins->pcm_input))
sound/pci/cs46xx/dsp_spos.c
1753
if (snd_BUG_ON(!ins->ref_snoop_scb))
sound/pci/cs46xx/dsp_spos.c
1767
if (snd_BUG_ON(!ins->pcm_input))
sound/pci/cs46xx/dsp_spos.c
1781
if (snd_BUG_ON(ins->adc_input))
sound/pci/cs46xx/dsp_spos.c
1783
if (snd_BUG_ON(!ins->codec_in_scb))
sound/pci/cs46xx/dsp_spos.c
1797
if (snd_BUG_ON(!ins->adc_input))
sound/pci/cs46xx/dsp_spos.c
281
if (snd_BUG_ON(!ins))
sound/pci/cs46xx/dsp_spos.c
407
if (snd_BUG_ON(!module->symbol_table.symbols))
sound/pci/cs46xx/dsp_spos.c
53
if (snd_BUG_ON(size %2))
sound/pci/cs46xx/dsp_spos_scb_lib.c
103
if (snd_BUG_ON(scb->parent_scb_ptr->sub_list_ptr != scb &&
sound/pci/cs46xx/dsp_spos_scb_lib.c
1126
if (snd_BUG_ON(!scb->next_scb_ptr))
sound/pci/cs46xx/dsp_spos_scb_lib.c
1233
if (snd_BUG_ON(!ins->asynch_tx_scb))
sound/pci/cs46xx/dsp_spos_scb_lib.c
1294
if (snd_BUG_ON(src_index == -1))
sound/pci/cs46xx/dsp_spos_scb_lib.c
1452
if (snd_BUG_ON(!pcm_channel->active ||
sound/pci/cs46xx/dsp_spos_scb_lib.c
1470
if (snd_BUG_ON(pcm_channel->src_slot < 0 ||
sound/pci/cs46xx/dsp_spos_scb_lib.c
1482
if (snd_BUG_ON(!pcm_channel->active ||
sound/pci/cs46xx/dsp_spos_scb_lib.c
1518
snd_BUG_ON(pcm_channel->pcm_reader_scb->parent_scb_ptr);
sound/pci/cs46xx/dsp_spos_scb_lib.c
1540
if (snd_BUG_ON(!ins->record_mixer_scb))
sound/pci/cs46xx/dsp_spos_scb_lib.c
1560
if (snd_BUG_ON(!src->parent_scb_ptr))
sound/pci/cs46xx/dsp_spos_scb_lib.c
1577
if (snd_BUG_ON(src->parent_scb_ptr))
sound/pci/cs46xx/dsp_spos_scb_lib.c
1579
if (snd_BUG_ON(!ins->master_mix_scb))
sound/pci/cs46xx/dsp_spos_scb_lib.c
1616
if (snd_BUG_ON(ins->asynch_tx_scb))
sound/pci/cs46xx/dsp_spos_scb_lib.c
1618
if (snd_BUG_ON(ins->master_mix_scb->next_scb_ptr !=
sound/pci/cs46xx/dsp_spos_scb_lib.c
164
if (snd_BUG_ON(scb->index < 0 ||
sound/pci/cs46xx/dsp_spos_scb_lib.c
1660
if (snd_BUG_ON(!ins->asynch_tx_scb))
sound/pci/cs46xx/dsp_spos_scb_lib.c
1662
if (snd_BUG_ON(!ins->spdif_pcm_input_scb))
sound/pci/cs46xx/dsp_spos_scb_lib.c
1664
if (snd_BUG_ON(ins->master_mix_scb->next_scb_ptr != ins->asynch_tx_scb))
sound/pci/cs46xx/dsp_spos_scb_lib.c
1666
if (snd_BUG_ON(ins->asynch_tx_scb->parent_scb_ptr !=
sound/pci/cs46xx/dsp_spos_scb_lib.c
172
if (snd_BUG_ON(scb->sub_list_ptr != ins->the_null_scb ||
sound/pci/cs46xx/dsp_spos_scb_lib.c
1723
if (snd_BUG_ON(!ins->asynch_tx_scb))
sound/pci/cs46xx/dsp_spos_scb_lib.c
182
if (snd_BUG_ON(!scb->scb_symbol))
sound/pci/cs46xx/dsp_spos_scb_lib.c
264
if (snd_BUG_ON(!ins->the_null_scb))
sound/pci/cs46xx/dsp_spos_scb_lib.c
301
if (snd_BUG_ON(scb->parent_scb_ptr->next_scb_ptr !=
sound/pci/cs46xx/dsp_spos_scb_lib.c
308
if (snd_BUG_ON(scb->parent_scb_ptr->sub_list_ptr !=
sound/pci/cs46xx/dsp_spos_scb_lib.c
35
if (snd_BUG_ON(ins->symbol_table.nsymbols <= 0))
sound/pci/cs46xx/dsp_spos_scb_lib.c
37
if (snd_BUG_ON(symbol_index < 0 ||
sound/pci/cs46xx/dsp_spos_scb_lib.c
659
snd_BUG_ON(rate != 48000);
sound/pci/echoaudio/darla20_dsp.c
21
if (snd_BUG_ON((subdevice_id & 0xfff0) != DARLA20))
sound/pci/echoaudio/darla24_dsp.c
144
if (snd_BUG_ON(clock != ECHO_CLOCK_INTERNAL &&
sound/pci/echoaudio/darla24_dsp.c
21
if (snd_BUG_ON((subdevice_id & 0xfff0) != DARLA24))
sound/pci/echoaudio/echo3g_dsp.c
34
if (snd_BUG_ON((subdevice_id & 0xfff0) != ECHO3G))
sound/pci/echoaudio/echoaudio.c
538
snd_BUG_ON(err);
sound/pci/echoaudio/echoaudio.c
707
if (snd_BUG_ON(pipe_index >= px_num(chip)))
sound/pci/echoaudio/echoaudio.c
717
if (snd_BUG_ON(!is_pipe_allocated(chip, pipe_index)))
sound/pci/echoaudio/echoaudio_3g.c
257
if (snd_BUG_ON(rate >= 50000 &&
sound/pci/echoaudio/echoaudio_3g.c
93
if (snd_BUG_ON(chip->pipe_alloc_mask))
sound/pci/echoaudio/echoaudio_3g.c
96
if (snd_BUG_ON(!(chip->digital_modes & (1 << mode))))
sound/pci/echoaudio/echoaudio_dsp.c
1082
if (snd_BUG_ON(!is_pipe_allocated(chip, pipe->index)))
sound/pci/echoaudio/echoaudio_dsp.c
1084
if (snd_BUG_ON(pipe->state != PIPE_STATE_STOPPED))
sound/pci/echoaudio/echoaudio_dsp.c
479
if (snd_BUG_ON(!chip->comm_page))
sound/pci/echoaudio/echoaudio_dsp.c
518
if (snd_BUG_ON(index >= num_busses_out(chip) + num_busses_in(chip)))
sound/pci/echoaudio/echoaudio_dsp.c
542
if (snd_BUG_ON(channel >= num_busses_out(chip)))
sound/pci/echoaudio/echoaudio_dsp.c
561
if (snd_BUG_ON(output >= num_busses_out(chip) ||
sound/pci/echoaudio/echoaudio_gml.c
103
if (snd_BUG_ON(chip->pipe_alloc_mask))
sound/pci/echoaudio/echoaudio_gml.c
106
if (snd_BUG_ON(!(chip->digital_modes & (1 << mode))))
sound/pci/echoaudio/gina20_dsp.c
167
if (snd_BUG_ON(input >= num_busses_in(chip)))
sound/pci/echoaudio/gina20_dsp.c
25
if (snd_BUG_ON((subdevice_id & 0xfff0) != GINA20))
sound/pci/echoaudio/gina24_dsp.c
153
if (snd_BUG_ON(rate >= 50000 &&
sound/pci/echoaudio/gina24_dsp.c
29
if (snd_BUG_ON((subdevice_id & 0xfff0) != GINA24))
sound/pci/echoaudio/indigo_dsp.c
126
if (snd_BUG_ON(pipe >= num_pipes_out(chip) ||
sound/pci/echoaudio/indigo_dsp.c
26
if (snd_BUG_ON((subdevice_id & 0xfff0) != INDIGO))
sound/pci/echoaudio/indigo_express_dsp.c
67
if (snd_BUG_ON(pipe >= num_pipes_out(chip) ||
sound/pci/echoaudio/indigodj_dsp.c
126
if (snd_BUG_ON(pipe >= num_pipes_out(chip) ||
sound/pci/echoaudio/indigodj_dsp.c
26
if (snd_BUG_ON((subdevice_id & 0xfff0) != INDIGO_DJ))
sound/pci/echoaudio/indigodjx_dsp.c
23
if (snd_BUG_ON((subdevice_id & 0xfff0) != INDIGO_DJX))
sound/pci/echoaudio/indigoio_dsp.c
26
if (snd_BUG_ON((subdevice_id & 0xfff0) != INDIGO_IO))
sound/pci/echoaudio/indigoio_dsp.c
96
if (snd_BUG_ON(pipe >= num_pipes_out(chip) ||
sound/pci/echoaudio/indigoiox_dsp.c
23
if (snd_BUG_ON((subdevice_id & 0xfff0) != INDIGO_IOX))
sound/pci/echoaudio/layla20_dsp.c
148
if (snd_BUG_ON(rate < 8000 || rate > 50000))
sound/pci/echoaudio/layla20_dsp.c
241
if (snd_BUG_ON(input >= num_busses_in(chip)))
sound/pci/echoaudio/layla20_dsp.c
28
if (snd_BUG_ON((subdevice_id & 0xfff0) != LAYLA20))
sound/pci/echoaudio/layla24_dsp.c
150
if (snd_BUG_ON(rate >= 50000 &&
sound/pci/echoaudio/layla24_dsp.c
29
if (snd_BUG_ON((subdevice_id & 0xfff0) != LAYLA24))
sound/pci/echoaudio/mia_dsp.c
144
if (snd_BUG_ON(clock != ECHO_CLOCK_INTERNAL &&
sound/pci/echoaudio/mia_dsp.c
160
if (snd_BUG_ON(pipe >= num_pipes_out(chip) ||
sound/pci/echoaudio/mia_dsp.c
29
if (snd_BUG_ON((subdevice_id & 0xfff0) != MIA))
sound/pci/echoaudio/midi.c
108
if (snd_BUG_ON(count >= MIDI_IN_BUFFER_SIZE))
sound/pci/echoaudio/midi.c
47
if (snd_BUG_ON(bytes <= 0 || bytes >= MIDI_OUT_BUFFER_SIZE))
sound/pci/echoaudio/mona_dsp.c
29
if (snd_BUG_ON((subdevice_id & 0xfff0) != MONA))
sound/pci/emu10k1/emu10k1_callback.c
138
if (snd_BUG_ON(!vp))
sound/pci/emu10k1/emu10k1_callback.c
322
if (snd_BUG_ON(ch < 0))
sound/pci/emu10k1/emu10k1_patch.c
161
if (snd_BUG_ON(!sp || !hdr))
sound/pci/emu10k1/emu10k1_patch.c
38
if (snd_BUG_ON(!sp || !hdr))
sound/pci/emu10k1/emu10k1x.c
1260
if (snd_BUG_ON(!emu))
sound/pci/emu10k1/emu10k1x.c
1281
if (snd_BUG_ON(!emu))
sound/pci/emu10k1/emu10k1x.c
1302
if (snd_BUG_ON(!emu))
sound/pci/emu10k1/emu10k1x.c
1320
if (snd_BUG_ON(!emu))
sound/pci/emu10k1/emu10k1x.c
1337
if (snd_BUG_ON(!emu))
sound/pci/emu10k1/emu10k1x.c
1352
if (snd_BUG_ON(!emu))
sound/pci/emu10k1/emufx.c
490
if (snd_BUG_ON(*ptr >= 512))
sound/pci/emu10k1/emufx.c
507
if (snd_BUG_ON(*ptr >= 1024))
sound/pci/emu10k1/emumpu401.c
146
if (snd_BUG_ON(!emu))
sound/pci/emu10k1/emumpu401.c
167
if (snd_BUG_ON(!emu))
sound/pci/emu10k1/emumpu401.c
188
if (snd_BUG_ON(!emu))
sound/pci/emu10k1/emumpu401.c
206
if (snd_BUG_ON(!emu))
sound/pci/emu10k1/emumpu401.c
223
if (snd_BUG_ON(!emu))
sound/pci/emu10k1/emumpu401.c
238
if (snd_BUG_ON(!emu))
sound/pci/emu10k1/io.c
110
if (snd_BUG_ON(reg & addr_mask)) // Only raw registers supported here
sound/pci/emu10k1/io.c
21
if (snd_BUG_ON(!emu))
sound/pci/emu10k1/io.c
23
if (snd_BUG_ON(reg & (emu->audigy ? (0xffff0000 & ~A_PTR_ADDRESS_MASK)
sound/pci/emu10k1/io.c
256
if (snd_BUG_ON(reg > 0x3f))
sound/pci/emu10k1/io.c
259
if (snd_BUG_ON(value > 0x3f)) /* 0 to 0x3f are values */
sound/pci/emu10k1/io.c
26
if (snd_BUG_ON(reg & 0x0000ffff & ~PTR_CHANNELNUM_MASK))
sound/pci/emu10k1/io.c
273
if (snd_BUG_ON(!mutex_is_locked(&emu->emu1010.lock)))
sound/pci/emu10k1/io.c
292
if (snd_BUG_ON(!mutex_is_locked(&emu->emu1010.lock)))
sound/pci/emu10k1/io.c
294
if (snd_BUG_ON(reg > 0x3f))
sound/pci/emu10k1/io.c
309
if (snd_BUG_ON(dst & ~0x71f))
sound/pci/emu10k1/io.c
311
if (snd_BUG_ON(src & ~0x71f))
sound/pci/emu10k1/io.c
323
if (snd_BUG_ON(dst & ~0x71f))
sound/pci/emu10k1/io.c
76
if (snd_BUG_ON(data & ~mask))
sound/pci/emu10k1/io.c
96
if (snd_BUG_ON(!emu))
sound/pci/emu10k1/io.c
98
if (snd_BUG_ON(chn & ~PTR_CHANNELNUM_MASK))
sound/pci/emu10k1/memory.c
306
if (snd_BUG_ON(!emu))
sound/pci/emu10k1/memory.c
308
if (snd_BUG_ON(runtime->dma_bytes <= 0 ||
sound/pci/emu10k1/memory.c
312
if (snd_BUG_ON(!hdr))
sound/pci/emu10k1/memory.c
355
if (snd_BUG_ON(!emu || !blk))
sound/pci/emu10k1/memory.c
541
if (snd_BUG_ON(page < 0 || page >= emu->max_cache_pages))
sound/pci/emu10k1/memory.c
563
if (snd_BUG_ON(offset + size > p->mem.size))
sound/pci/emu10k1/memory.c
623
if (snd_BUG_ON(offset + size > p->mem.size))
sound/pci/emu10k1/voice.c
126
if (snd_BUG_ON(!pvoice))
sound/pci/emu10k1/voice.c
82
if (snd_BUG_ON(!rvoice))
sound/pci/emu10k1/voice.c
84
if (snd_BUG_ON(!count))
sound/pci/emu10k1/voice.c
86
if (snd_BUG_ON(!channels))
sound/pci/es1938.c
822
if (snd_BUG_ON(pos + count > chip->dma1_size))
sound/pci/es1968.c
693
if (snd_BUG_ON(channel >= NR_APUS))
sound/pci/es1968.c
709
if (snd_BUG_ON(channel >= NR_APUS))
sound/pci/ice1712/ak4xxx.c
50
if (snd_BUG_ON(chip < 0 || chip >= 4))
sound/pci/ice1712/ews.c
137
if (snd_BUG_ON(chip_mask < 0 || chip_mask > 0x0f))
sound/pci/ice1712/ews.c
669
if (snd_BUG_ON(channel < 0 || channel > 7))
sound/pci/ice1712/ews.c
690
if (snd_BUG_ON(channel < 0 || channel > 7))
sound/pci/ice1712/ice1712.c
2346
if (snd_BUG_ON(!ice->pcm_pro))
sound/pci/ice1712/ice1724.c
2376
if (snd_BUG_ON(!ice->pcm))
sound/pci/ice1712/juli.c
200
if (snd_BUG_ON(chip))
sound/pci/ice1712/quartet.c
265
if (snd_BUG_ON(chip < 0 || chip >= 4))
sound/pci/intel8x0.c
2236
if (snd_BUG_ON(chip->ac97_sdin[codecs] >= 3))
sound/pci/intel8x0m.c
331
if (snd_BUG_ON(codec >= 3))
sound/pci/korg1212/korg1212.c
1217
if (snd_BUG_ON(pos + count > K1212_MAX_SAMPLES))
sound/pci/korg1212/korg1212.c
1250
if (snd_BUG_ON(pos + count > K1212_MAX_SAMPLES))
sound/pci/korg1212/korg1212.c
1286
if (snd_BUG_ON(pos + count > K1212_MAX_SAMPLES))
sound/pci/lx6464es/lx_core.c
210
snd_BUG_ON(cmd >= CMD_14_INVALID);
sound/pci/lx6464es/lx_core.c
290
snd_BUG_ON(rmh->stat_len >= (REG_CRM_NUMBER-1));
sound/pci/maestro3.c
1113
if (snd_BUG_ON(!s))
sound/pci/maestro3.c
1421
if (snd_BUG_ON(!s))
sound/pci/maestro3.c
1480
if (snd_BUG_ON(!s))
sound/pci/mixart/mixart.c
718
snd_BUG_ON(pcm != chip->pcm_dig);
sound/pci/mixart/mixart.c
790
snd_BUG_ON(pcm != chip->pcm_dig);
sound/pci/mixart/mixart_core.c
137
if (snd_BUG_ON(msg->size % 4))
sound/pci/mixart/mixart_core.c
273
if (snd_BUG_ON(!notif_event))
sound/pci/mixart/mixart_core.c
275
if (snd_BUG_ON((notif_event & MSG_TYPE_MASK) != MSG_TYPE_NOTIFY))
sound/pci/mixart/mixart_core.c
277
if (snd_BUG_ON(notif_event & MSG_CANCEL_NOTIFY_MASK))
sound/pci/mixart/mixart_core.c
443
if (snd_BUG_ON(notify->stream_count > ARRAY_SIZE(notify->streams)))
sound/pci/mixart/mixart_mixer.c
832
snd_BUG_ON(idx >= MIXART_PLAYBACK_STREAMS);
sound/pci/mixart/mixart_mixer.c
858
snd_BUG_ON(idx >= MIXART_PLAYBACK_STREAMS);
sound/pci/mixart/mixart_mixer.c
903
snd_BUG_ON(idx >= MIXART_PLAYBACK_STREAMS);
sound/pci/mixart/mixart_mixer.c
920
snd_BUG_ON(idx >= MIXART_PLAYBACK_STREAMS);
sound/pci/nm256/nm256.c
548
if (snd_BUG_ON(!s))
sound/pci/nm256/nm256.c
583
if (snd_BUG_ON(!s))
sound/pci/nm256/nm256.c
618
if (snd_BUG_ON(!s))
sound/pci/nm256/nm256.c
643
if (snd_BUG_ON(!s))
sound/pci/nm256/nm256.c
657
if (snd_BUG_ON(!s))
sound/pci/pcxhr/pcxhr.c
1500
if (snd_BUG_ON(pci_id->driver_data >= PCI_ID_LAST)) {
sound/pci/pcxhr/pcxhr.c
646
snd_BUG_ON(subs->runtime->dma_bytes >= 0x200000);
sound/pci/pcxhr/pcxhr_core.c
332
if (snd_BUG_ON(!dsp->data))
sound/pci/pcxhr/pcxhr_core.c
410
if (snd_BUG_ON(physaddr & 0xff))
sound/pci/pcxhr/pcxhr_core.c
602
if (snd_BUG_ON(rmh->cmd_len >= PCXHR_SIZE_MAX_CMD))
sound/pci/pcxhr/pcxhr_core.c
719
if (snd_BUG_ON(cmd >= CMD_LAST_INDEX))
sound/pci/pcxhr/pcxhr_core.c
733
snd_BUG_ON(param1 > MASK_FIRST_FIELD);
sound/pci/pcxhr/pcxhr_core.c
739
snd_BUG_ON(param2 > MASK_FIRST_FIELD);
sound/pci/pcxhr/pcxhr_core.c
743
snd_BUG_ON(param3 > MASK_DSP_WORD);
sound/pci/pcxhr/pcxhr_mixer.c
725
snd_BUG_ON(clock_items > (HR22_CLOCK_TYPE_MAX+1));
sound/pci/pcxhr/pcxhr_mixer.c
728
snd_BUG_ON(clock_items > (PCXHR_CLOCK_TYPE_MAX+1));
sound/pci/riptide/riptide.c
1451
if (snd_BUG_ON(!cif || !data))
sound/pci/riptide/riptide.c
1732
if (snd_BUG_ON(!cif))
sound/pci/riptide/riptide.c
1751
if (snd_BUG_ON(!cif))
sound/pci/riptide/riptide.c
1766
if (snd_BUG_ON(!chip))
sound/pci/riptide/riptide.c
831
if (snd_BUG_ON(!cif))
sound/pci/rme9652/hdsp.c
1091
snd_BUG_ON(n >> 32);
sound/pci/rme9652/hdsp.c
2749
if (snd_BUG_ON(offset < 0))
sound/pci/rme9652/hdsp.c
3909
if (snd_BUG_ON(channel < 0 || channel >= hdsp->max_channels))
sound/pci/rme9652/hdsp.c
3929
if (snd_BUG_ON(pos + count > HDSP_CHANNEL_BUFFER_BYTES))
sound/pci/rme9652/hdsp.c
3933
if (snd_BUG_ON(!channel_buf))
sound/pci/rme9652/hdsp.c
3947
if (snd_BUG_ON(pos + count > HDSP_CHANNEL_BUFFER_BYTES))
sound/pci/rme9652/hdsp.c
3951
if (snd_BUG_ON(!channel_buf))
sound/pci/rme9652/hdsp.c
3966
if (snd_BUG_ON(!channel_buf))
sound/pci/rme9652/hdsp.c
4073
if (snd_BUG_ON(channel >= hdsp->max_channels))
sound/pci/rme9652/hdspm.c
1590
if (snd_BUG_ON(rate <= 0))
sound/pci/rme9652/hdspm.c
1617
snd_BUG_ON(n >> 32);
sound/pci/rme9652/hdspm.c
3718
if (snd_BUG_ON(channel < 0 || channel >= HDSPM_MAX_CHANNELS))
sound/pci/rme9652/hdspm.c
3741
if (snd_BUG_ON(channel < 0 || channel >= HDSPM_MAX_CHANNELS))
sound/pci/rme9652/hdspm.c
5643
if (snd_BUG_ON(channel >= hdspm->max_channels_out)) {
sound/pci/rme9652/hdspm.c
5661
if (snd_BUG_ON(channel >= hdspm->max_channels_in)) {
sound/pci/rme9652/rme9652.c
1801
if (snd_BUG_ON(channel < 0 || channel >= RME9652_NCHANNELS))
sound/pci/rme9652/rme9652.c
1824
if (snd_BUG_ON(pos + count > RME9652_CHANNEL_BUFFER_BYTES))
sound/pci/rme9652/rme9652.c
1830
if (snd_BUG_ON(!channel_buf))
sound/pci/rme9652/rme9652.c
1844
if (snd_BUG_ON(pos + count > RME9652_CHANNEL_BUFFER_BYTES))
sound/pci/rme9652/rme9652.c
1850
if (snd_BUG_ON(!channel_buf))
sound/pci/rme9652/rme9652.c
1867
if (snd_BUG_ON(!channel_buf))
sound/pci/rme9652/rme9652.c
1966
if (snd_BUG_ON(info->channel >= RME9652_NCHANNELS))
sound/pci/sonicvibes.c
1066
if (snd_BUG_ON(!sonic || !sonic->card))
sound/pci/sonicvibes.c
546
snd_BUG_ON(SV_REFFREQUENCY % 16);
sound/pci/sonicvibes.c
547
snd_BUG_ON(SV_ADCMULT % 512);
sound/pci/sonicvibes.c
839
if (snd_BUG_ON(!pcm))
sound/pci/trident/trident_main.c
2844
if (snd_BUG_ON(!trident || !voice || !substream))
sound/pci/trident/trident_main.c
2860
if (snd_BUG_ON(!trident || !substream))
sound/pci/trident/trident_main.c
3069
if (snd_BUG_ON(!chip))
sound/pci/trident/trident_main.c
3078
if (snd_BUG_ON(!chip))
sound/pci/trident/trident_main.c
3088
if (snd_BUG_ON(!chip))
sound/pci/trident/trident_main.c
3105
if (snd_BUG_ON(!chip))
sound/pci/trident/trident_main.c
3781
if (snd_BUG_ON(v_min > 63 || v_max > 63))
sound/pci/trident/trident_memory.c
165
if (snd_BUG_ON(runtime->dma_bytes <= 0 ||
sound/pci/trident/trident_memory.c
170
if (snd_BUG_ON(!hdr))
sound/pci/trident/trident_memory.c
207
if (snd_BUG_ON(runtime->dma_bytes <= 0 ||
sound/pci/trident/trident_memory.c
212
if (snd_BUG_ON(!hdr))
sound/pci/trident/trident_memory.c
240
if (snd_BUG_ON(!trident || !substream))
sound/pci/trident/trident_memory.c
258
if (snd_BUG_ON(!trident || !blk))
sound/pci/via82xx.c
1032
snd_BUG_ON(rbits & ~0xfffff);
sound/pci/via82xx.c
827
if (snd_BUG_ON(!viadev->tbl_entries))
sound/pci/via82xx.c
858
if (snd_BUG_ON(!viadev->tbl_entries))
sound/pci/via82xx_modem.c
611
if (snd_BUG_ON(!viadev->tbl_entries))
sound/pci/vx222/vx222_ops.c
252
if (snd_BUG_ON(count % 4))
sound/pci/vx222/vx222_ops.c
291
if (snd_BUG_ON(count % 4))
sound/pci/vx222/vx222_ops.c
679
if (snd_BUG_ON(data >= sizeof(vx2_akm_gains_lut)))
sound/pci/vx222/vx222_ops.c
828
if (snd_BUG_ON(preamp >= 4))
sound/pci/ymfpci/ymfpci_main.c
1781
if (snd_BUG_ON(!chip->pcm_spdif))
sound/pci/ymfpci/ymfpci_main.c
2124
snd_BUG_ON(ptr + PAGE_ALIGN(chip->work_size) !=
sound/pci/ymfpci/ymfpci_main.c
237
if (snd_BUG_ON(!rvoice))
sound/pci/ymfpci/ymfpci_main.c
239
if (snd_BUG_ON(pair && type != YMFPCI_PCM))
sound/pci/ymfpci/ymfpci_main.c
255
if (snd_BUG_ON(!pvoice))
sound/pci/ymfpci/ymfpci_main.c
473
if (snd_BUG_ON(!voice))
sound/pcmcia/vx/vxp_ops.c
402
if (snd_BUG_ON(count % 2))
sound/ppc/beep.c
173
if (snd_BUG_ON(!chip->beep))
sound/ppc/beep.c
184
if (snd_BUG_ON(!chip->beep))
sound/ppc/tumbler.c
1034
if (snd_BUG_ON(!mix))
sound/ppc/tumbler.c
978
if (snd_BUG_ON(!mix))
sound/sh/aica.c
89
if (snd_BUG_ON(length % 4))
sound/sparc/amd7930.c
853
if (snd_BUG_ON(!amd || !amd->card))
sound/sparc/cs4231.c
1467
if (snd_BUG_ON(!chip || !chip->pcm))
sound/sparc/dbri.c
2260
if (snd_BUG_ON(!dbri))
sound/sparc/dbri.c
2329
if (snd_BUG_ON(!dbri))
sound/sparc/dbri.c
2356
if (snd_BUG_ON(!dbri))
sound/sparc/dbri.c
2433
if (snd_BUG_ON(!card || !card->private_data))
sound/synth/emux/emux.c
82
if (snd_BUG_ON(!emu->hw || emu->max_voices <= 0))
sound/synth/emux/emux.c
84
if (snd_BUG_ON(!card || !name))
sound/synth/emux/emux_nrpn.c
279
if (snd_BUG_ON(!port || !chan))
sound/synth/emux/emux_nrpn.c
372
if (snd_BUG_ON(!port || !chset))
sound/synth/emux/emux_oss.c
104
if (snd_BUG_ON(!arg || !emu))
sound/synth/emux/emux_oss.c
167
if (snd_BUG_ON(!arg))
sound/synth/emux/emux_oss.c
170
if (snd_BUG_ON(!p))
sound/synth/emux/emux_oss.c
174
if (snd_BUG_ON(!emu))
sound/synth/emux/emux_oss.c
197
if (snd_BUG_ON(!arg))
sound/synth/emux/emux_oss.c
200
if (snd_BUG_ON(!p))
sound/synth/emux/emux_oss.c
204
if (snd_BUG_ON(!emu))
sound/synth/emux/emux_oss.c
242
if (snd_BUG_ON(!arg))
sound/synth/emux/emux_oss.c
245
if (snd_BUG_ON(!p))
sound/synth/emux/emux_oss.c
249
if (snd_BUG_ON(!emu))
sound/synth/emux/emux_oss.c
275
if (snd_BUG_ON(!arg))
sound/synth/emux/emux_oss.c
278
if (snd_BUG_ON(!p))
sound/synth/emux/emux_oss.c
297
if (snd_BUG_ON(!p))
sound/synth/emux/emux_oss.c
300
if (snd_BUG_ON(!emu))
sound/synth/emux/emux_seq.c
240
if (snd_BUG_ON(!port || !ev))
sound/synth/emux/emux_seq.c
302
if (snd_BUG_ON(!p))
sound/synth/emux/emux_seq.c
305
if (snd_BUG_ON(!emu))
sound/synth/emux/emux_seq.c
324
if (snd_BUG_ON(!p))
sound/synth/emux/emux_seq.c
327
if (snd_BUG_ON(!emu))
sound/synth/emux/emux_synth.c
151
if (snd_BUG_ON(!port || !chan))
sound/synth/emux/emux_synth.c
155
if (snd_BUG_ON(!emu || !emu->ops.release))
sound/synth/emux/emux_synth.c
224
if (snd_BUG_ON(!port || !chan))
sound/synth/emux/emux_synth.c
228
if (snd_BUG_ON(!emu || !emu->ops.update))
sound/synth/emux/emux_synth.c
257
if (snd_BUG_ON(!emu || !emu->ops.update))
sound/synth/emux/emux_synth.c
282
if (snd_BUG_ON(!emu || !emu->ops.update))
sound/synth/emux/emux_synth.c
304
if (snd_BUG_ON(!port || !chan))
sound/synth/emux/emux_synth.c
377
if (snd_BUG_ON(!port || !chan))
sound/synth/emux/emux_synth.c
381
if (snd_BUG_ON(!emu || !emu->ops.terminate))
sound/synth/emux/emux_synth.c
426
if (snd_BUG_ON(!port))
sound/synth/emux/emux_synth.c
429
if (snd_BUG_ON(!emu || !emu->ops.terminate))
sound/synth/emux/emux_synth.c
55
if (snd_BUG_ON(!port || !chan))
sound/synth/emux/emux_synth.c
59
if (snd_BUG_ON(!emu || !emu->ops.get_voice || !emu->ops.trigger))
sound/synth/util_mem.c
150
if (snd_BUG_ON(!hdr || !blk))
sound/synth/util_mem.c
66
if (snd_BUG_ON(!hdr || size <= 0))
sound/usb/endpoint.c
1608
if (snd_BUG_ON(!urb))
sound/usb/endpoint.c
1687
if (snd_BUG_ON(!atomic_read(&ep->running)))
sound/usb/endpoint.c
1759
snd_BUG_ON(ep == sender);
sound/usb/format.c
521
if (snd_BUG_ON(altsetting >= 64 - 8))
sound/usb/mixer.c
2868
if (snd_BUG_ON(!itemlist))
sound/usb/pcm.c
681
if (snd_BUG_ON(!subs->data_endpoint))