Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 11 files:
- sound/core/oss/pcm_oss.c
- sound/core/oss/pcm_plugin.c, line 672
- sound/core/pcm_lib.c, line 2081
- sound/core/pcm_misc.c, line 468
- sound/core/pcm_native.c, line 768
- sound/core/sound_kunit.c
- sound/drivers/aloop.c
- sound/isa/gus/gus_pcm.c, line 378
- sound/parisc/harmony.c, line 373
- tools/testing/selftests/alsa/pcm-test.c
- tools/testing/selftests/alsa/test-pcmtest-driver.c
Smatch caller information:
sound/core/sound_kunit.c _test_fill_silence() -> snd_pcm_format_set_silence()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | data | 16,4096-ptr_max |
| BUF_SIZE | 1 | data | 2080 |
| DATA_SOURCE | 1 | data | $2 |
| DATA_SOURCE | 2 | samples | $3 |
sound/core/sound_kunit.c test_format_fill_silence() -> snd_pcm_format_set_silence()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | format | 53 |
| PARAM_VALUE | 1 | data | 16,4096-ptr_max |
| PARAM_VALUE | 2 | samples | 20 |
| BUF_SIZE | 1 | data | 2080 |
| DATA_SOURCE | 1 | data | r kunit_kzalloc |
sound/core/sound_kunit.c test_format_fill_silence() -> snd_pcm_format_set_silence()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | format | 52 |
| PARAM_VALUE | 1 | data | 16,4096-ptr_max |
| PARAM_VALUE | 2 | samples | 0 |
| BUF_SIZE | 1 | data | 2080 |
| DATA_SOURCE | 1 | data | r kunit_kzalloc |
sound/drivers/aloop.c clear_capture_buf() -> snd_pcm_format_set_silence()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | data | 4096-ptr_max |
| PARAM_VALUE | 1 | *data | 0-255 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | data | unit_byte |
| LOCK2 | &cable->lock | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct loopback_cable)->lock |
sound/drivers/aloop.c loopback_prepare() -> snd_pcm_format_set_silence()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 1 | data | 1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | data | unit_byte |
sound/core/pcm_lib.c fill_silence() -> snd_pcm_format_set_silence()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 2 | samples | 0-u32max[c] |
| HALF_LOCKED2 | &substream->runtime->buffer_mutex | ||
| HALF_LOCKED2 | &substream->self_group.lock | ||
| HALF_LOCKED2 | &substream->self_group.mutex |
sound/core/oss/pcm_plugin.c snd_pcm_area_silence() -> snd_pcm_format_set_silence()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | format | 0-52 |
| PARAM_VALUE | 1 | data | 4096-ptr_max |
| CAPPED_DATA | 2 | samples | 1 |
| DATA_SOURCE | 0 | format | $3 |
| DATA_SOURCE | 2 | samples | $2 |
| HARD_MAX | 0 | format | 52 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | data | unit_byte |
| LOCK2 | &runtime->oss.params_lock | ||
| TYPE_LOCK | (struct snd_pcm_oss_runtime)->params_lock |
sound/core/pcm_native.c snd_pcm_runtime_buffer_set_silence() -> snd_pcm_format_set_silence()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | data | 1-u64max |
| BUF_SIZE | 1 | data | 1-s32max |
| NOCHECK_CALL | |||
| UNITS | 1 | data | unit_byte |
| LOCK2 | &runtime->buffer_mutex | ||
| TYPE_LOCK | (struct snd_pcm_runtime)->buffer_mutex |
sound/isa/gus/gus_pcm.c snd_gf1_pcm_playback_silence() -> snd_pcm_format_set_silence()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | data | 4096-ptr_max |
| PARAM_VALUE | 1 | *data | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 2 | samples | 0-u32max[c] |
| UNITS | 1 | data | unit_byte |
| HALF_LOCKED2 | &substream->runtime->buffer_mutex | ||
| HALF_LOCKED2 | &substream->self_group.lock | ||
| HALF_LOCKED2 | &substream->self_group.mutex |
sound/core/oss/pcm_oss.c snd_pcm_oss_sync() -> snd_pcm_format_set_silence()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | format | 0-7,10-11,14,18,20-23,32 |
| PARAM_VALUE | 1 | data | 4096-ptr_max |
| PARAM_VALUE | 1 | *data | 0-255 |
| DATA_SOURCE | 0 | format | r snd_pcm_oss_format_from |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | data | unit_byte |
| LOCK2 | &runtime->oss.params_lock | ||
| TYPE_LOCK | (struct snd_pcm_oss_runtime)->params_lock |
sound/core/oss/pcm_oss.c snd_pcm_oss_sync() -> snd_pcm_format_set_silence()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | format | 0-7,10-11,14,18,20-23,32 |
| DATA_SOURCE | 0 | format | r snd_pcm_oss_format_from |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &runtime->oss.params_lock | ||
| TYPE_LOCK | (struct snd_pcm_oss_runtime)->params_lock |