Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

sound/pci/als4000.c snd_als4000_capture_prepare() -> snd_als4_cr_write()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->capture_format 0-7
PARAM_VALUE 0 chip->mode 16-u32max
PARAM_VALUE 1 reg 28
BUF_SIZE 0 chip s32min-(-2),1-s32max
BUF_SIZE 0 chip s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 chip unit_byte
LOCK2 irq
LOCK2 0 &chip->mixer_lock
TYPE_LOCK (struct snd_sb)->mixer_lock

sound/pci/als4000.c snd_als4000_capture_prepare() -> snd_als4_cr_write()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->capture_format 0-7
PARAM_VALUE 0 chip->mode 16-u32max
PARAM_VALUE 1 reg 29
BUF_SIZE 0 chip s32min-(-2),1-s32max
BUF_SIZE 0 chip s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 chip unit_byte
LOCK2 irq
LOCK2 0 &chip->mixer_lock
TYPE_LOCK (struct snd_sb)->mixer_lock

sound/pci/als4000.c snd_als4000_capture_trigger() -> snd_als4_cr_write()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 0 chip->mode 0,32-u32max
PARAM_VALUE 1 reg 30
PARAM_VALUE 2 data 128,132,144,148,160,164,176,180
BUF_SIZE 0 chip s32min-(-2),1-s32max
BUF_SIZE 0 chip s32min-(-2),1-s32max
BIT_INFO 0 chip->mode 0x20,0xffffffff
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 chip unit_byte
LOCK2 0 &chip->mixer_lock
LOCK2 0 &chip->reg_lock
HALF_LOCKED2 &substream->runtime->buffer_mutex
HALF_LOCKED2 &substream->self_group.lock
HALF_LOCKED2 &substream->self_group.mutex
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct snd_sb)->mixer_lock
TYPE_LOCK (struct snd_sb)->reg_lock

sound/pci/als4000.c snd_als4000_capture_trigger() -> snd_als4_cr_write()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 1 reg 30
PARAM_VALUE 2 data 128,132,144,148,160,164,176,180
BUF_SIZE 0 chip s32min-(-2),1-s32max
BUF_SIZE 0 chip s32min-(-2),1-s32max
BIT_INFO 0 chip->mode 0x0,0xffffffdf
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 chip unit_byte
LOCK2 0 &chip->mixer_lock
LOCK2 0 &chip->reg_lock
HALF_LOCKED2 &substream->runtime->buffer_mutex
HALF_LOCKED2 &substream->self_group.lock
HALF_LOCKED2 &substream->self_group.mutex
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct snd_sb)->mixer_lock
TYPE_LOCK (struct snd_sb)->reg_lock

sound/pci/als4000.c snd_als4000_configure() -> snd_als4_cr_write()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 1 reg 0
BUF_SIZE 0 chip->pci (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,7472,8064
DATA_SOURCE 0 chip $0
BIT_INFO 2 data 0x80,0xff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 chip->pci->current_state 0-3[c]
HOST_DATA 0 chip->port 544-640[c]
HOST_DATA 0 chip->version 0[c]
HOST_DATA 2 data 0-255
LOCK2 irq
LOCK2 0 &chip->mixer_lock
TYPE_LOCK (struct snd_sb)->mixer_lock

sound/pci/als4000.c snd_als4000_configure() -> snd_als4_cr_write()

Type Parameter Key Value
PARAM_VALUE 0 chip 4096-ptr_max
PARAM_VALUE 1 reg 0
PARAM_VALUE 2 data 0-127
BUF_SIZE 0 chip->pci (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,7472,8064
DATA_SOURCE 0 chip $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 chip->pci->current_state 0-3[c]
HOST_DATA 0 chip->port 544-640[c]
HOST_DATA 0 chip->version 0[c]
HOST_DATA 2 data 0-127
LOCK2 irq
LOCK2 0 &chip->mixer_lock
TYPE_LOCK (struct snd_sb)->mixer_lock