Documented in 1 files:
Defined in 1 files as a function:
Referenced in 18 files:
- sound/aoa/soundbus/i2sbus/pcm.c, line 176
- sound/atmel/ac97c.c
- sound/core/pcm_dmaengine.c, line 464
- sound/drivers/aloop.c, line 530
- sound/drivers/dummy.c, line 924
- sound/isa/sb/sb16_main.c, line 38
- sound/pci/asihpi/asihpi.c
- sound/soc/codecs/framer-codec.c, line 180
- sound/soc/fsl/fsl_asrc.c, line 1378
- sound/soc/fsl/fsl_asrc_m2m.c
- sound/soc/fsl/fsl_easrc.c, line 2228
- sound/soc/fsl/fsl_qmc_audio.c, line 738
- sound/usb/format.c, line 767
- sound/usb/implicit.c, line 415
- sound/usb/pcm.c
- sound/usb/proc.c, line 106
- sound/virtio/virtio_pcm.c, line 142
- sound/xen/xen_snd_front_alsa.c
Smatch caller information:
sound/usb/format.c parse_audio_format_i() -> pcm_format_to_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pcm_format | 2-3 |
| FUZZY_MAX | 0 | pcm_format | 3 |
| BIT_INFO | 0 | pcm_format | 0x2,0x3 |
| HARD_MAX | 0 | pcm_format | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock |
sound/soc/codecs/framer-codec.c framer_formats() -> pcm_format_to_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pcm_format | 0-1 |
| FUZZY_MAX | 0 | pcm_format | 1 |
| PARAM_COMPARE | 0 | pcm_format | == $0 |
| HARD_MAX | 0 | pcm_format | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/usb/implicit.c match_endpoint_audioformats() -> pcm_format_to_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | pcm_format | $4 |
| BIT_INFO | 0 | pcm_format | 0x0,0x7fffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &runtime->buffer_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &qdev_mutex |
sound/soc/fsl/fsl_easrc.c fsl_easrc_probe() -> pcm_format_to_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BIT_INFO | 0 | pcm_format | 0x0,0x7fffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/soc/fsl/fsl_asrc_m2m.c fsl_asrc_m2m_comp_set_params() -> pcm_format_to_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| USER_DATA | 0 | pcm_format | s32min-s32max |
| LOCK2 | _T->lock |
sound/soc/fsl/fsl_asrc_m2m.c fsl_asrc_m2m_comp_set_params() -> pcm_format_to_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| USER_DATA | 0 | pcm_format | s32min-s32max |
| LOCK2 | _T->lock |
sound/soc/fsl/fsl_asrc_m2m.c fsl_asrc_m2m_fill_codec_caps() -> pcm_format_to_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pcm_format | 0-1 |
| FUZZY_MAX | 0 | pcm_format | 1 |
| PARAM_COMPARE | 0 | pcm_format | == $0 |
| HARD_MAX | 0 | pcm_format | 1 |
| LOCK2 | _T->lock |
sound/xen/xen_snd_front_alsa.c to_alsa_formats_mask() -> pcm_format_to_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &runtime->buffer_mutex | ||
| HALF_LOCKED2 | &runtime->oss.params_lock |
sound/xen/xen_snd_front_alsa.c to_sndif_formats_mask() -> pcm_format_to_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &runtime->buffer_mutex | ||
| HALF_LOCKED2 | &runtime->oss.params_lock |
sound/isa/sb/sb16_main.c snd_sb16_csp_capture_prepare() -> pcm_format_to_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/isa/sb/sb16_main.c snd_sb16_csp_playback_prepare() -> pcm_format_to_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/isa/sb/sb16_main.c snd_sb16_csp_playback_prepare() -> pcm_format_to_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/drivers/aloop.c params_change() -> pcm_format_to_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &substream->runtime->buffer_mutex | ||
| HALF_LOCKED2 | &substream->self_group.lock | ||
| HALF_LOCKED2 | &substream->self_group.mutex |
sound/usb/proc.c proc_dump_substream_formats() -> pcm_format_to_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pcm_format | 0-1 |
| FUZZY_MAX | 0 | pcm_format | 1 |
| PARAM_COMPARE | 0 | pcm_format | == $0 |
| HARD_MAX | 0 | pcm_format | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &seq->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
sound/soc/fsl/fsl_asrc.c fsl_asrc_probe() -> pcm_format_to_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BIT_INFO | 0 | pcm_format | 0x0,0x7fffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/virtio/virtio_pcm.c virtsnd_pcm_build_hw() -> pcm_format_to_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pcm_format | 0-2,4,6,8,10,12,14,16,18,20-22,25,27,32,34,36,38,40,42,48-50 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/core/pcm_dmaengine.c snd_dmaengine_pcm_refine_runtime_hwparams() -> pcm_format_to_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pcm_format | 0-1 |
| FUZZY_MAX | 0 | pcm_format | 1 |
| PARAM_COMPARE | 0 | pcm_format | == $0 |
| HARD_MAX | 0 | pcm_format | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/usb/pcm.c find_format() -> pcm_format_to_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | pcm_format | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/usb/pcm.c hw_rule_format() -> pcm_format_to_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &runtime->buffer_mutex | ||
| HALF_LOCKED2 | &runtime->oss.params_lock |
sound/usb/pcm.c hw_rule_format() -> pcm_format_to_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &runtime->buffer_mutex | ||
| HALF_LOCKED2 | &runtime->oss.params_lock |
sound/pci/asihpi/asihpi.c snd_card_asihpi_capture_formats() -> pcm_format_to_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pcm_format | s32min-(-2),0-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pcm->open_mutex |
sound/pci/asihpi/asihpi.c snd_card_asihpi_playback_formats() -> pcm_format_to_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pcm_format | s32min-(-2),0-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pcm->open_mutex |
sound/drivers/dummy.c print_formats() -> pcm_format_to_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pcm_format | 0-1 |
| FUZZY_MAX | 0 | pcm_format | 1 |
| PARAM_COMPARE | 0 | pcm_format | == $0 |
| HARD_MAX | 0 | pcm_format | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &seq->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |