Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

sound/drivers/opl4/opl4_lib.c snd_opl4_detect() -> snd_opl4_read()

Type Parameter Key Value
PARAM_VALUE 0 opl4 4096-ptr_max
PARAM_VALUE 0 opl4->fm_port 2-9223372036854775807
PARAM_VALUE 1 reg 2
BUF_SIZE 0 opl4 1696
BUF_SIZE 0 opl4->res_fm_port 64
BUF_SIZE 0 opl4->res_pcm_port 64
DATA_SOURCE 0 opl4 $0
RX_PATH
TASK_NOT_RUNNING

sound/drivers/opl4/opl4_lib.c snd_opl4_detect() -> snd_opl4_read()

Type Parameter Key Value
PARAM_VALUE 0 opl4 4096-ptr_max
PARAM_VALUE 0 opl4->fm_port 2-9223372036854775807
PARAM_VALUE 0 opl4->hardware 1024-1025
PARAM_VALUE 1 reg 248
BUF_SIZE 0 opl4 1696
BUF_SIZE 0 opl4->res_fm_port 64
BUF_SIZE 0 opl4->res_pcm_port 64
DATA_SOURCE 0 opl4 $0
FUZZY_MAX 0 opl4->hardware 1025
BIT_INFO 0 opl4->hardware 0x400,0x401
HARD_MAX 0 opl4->hardware 1025
RX_PATH
TASK_NOT_RUNNING

sound/drivers/opl4/opl4_lib.c snd_opl4_detect() -> snd_opl4_read()

Type Parameter Key Value
PARAM_VALUE 0 opl4 4096-ptr_max
PARAM_VALUE 0 opl4->fm_port 2-9223372036854775807
PARAM_VALUE 0 opl4->hardware 1024-1025
PARAM_VALUE 1 reg 249
BUF_SIZE 0 opl4 1696
BUF_SIZE 0 opl4->res_fm_port 64
BUF_SIZE 0 opl4->res_pcm_port 64
DATA_SOURCE 0 opl4 $0
FUZZY_MAX 0 opl4->hardware 1025
BIT_INFO 0 opl4->hardware 0x400,0x401
HARD_MAX 0 opl4->hardware 1025
RX_PATH
TASK_NOT_RUNNING

sound/drivers/opl4/opl4_lib.c snd_opl4_read_memory() -> snd_opl4_read()

Type Parameter Key Value
PARAM_VALUE 1 reg 2
BUF_SIZE 0 opl4 s32min-(-1),1-s32max
BUF_SIZE 0 opl4 s32min-(-1),1-s32max
DATA_SOURCE 0 opl4 $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 opl4 unit_byte
LOCK2 irq
LOCK2 0 &opl4->reg_lock
TYPE_LOCK (struct snd_opl4)->reg_lock

sound/drivers/opl4/opl4_lib.c snd_opl4_write_memory() -> snd_opl4_read()

Type Parameter Key Value
PARAM_VALUE 1 reg 2
BUF_SIZE 0 opl4 s32min-(-2),1-s32max
BUF_SIZE 0 opl4 s32min-(-2),1-s32max
DATA_SOURCE 0 opl4 $0
UNITS 0 opl4 unit_byte
LOCK2 irq
LOCK2 0 &opl4->reg_lock
TYPE_LOCK (struct snd_opl4)->reg_lock

sound/drivers/opl4/opl4_mixer.c snd_opl4_ctl_get() -> snd_opl4_read()

Type Parameter Key Value
BUF_SIZE 0 opl4 s32min-(-2),1-s32max
BUF_SIZE 0 opl4 s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 opl4 unit_byte
LOCK2 irq
LOCK2 0 &opl4->reg_lock
HALF_LOCKED2 &card->controls_rwsem
HALF_LOCKED2 &card->mutex
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct snd_opl4)->reg_lock

sound/drivers/opl4/opl4_mixer.c snd_opl4_ctl_put() -> snd_opl4_read()

Type Parameter Key Value
BUF_SIZE 0 opl4 (-1),72,104,256,376,448,2728
BUF_SIZE 0 opl4 (-1),72,104,256,376,448,2728
RX_PATH
TASK_NOT_RUNNING
UNITS 0 opl4 unit_byte
LOCK2 irq
LOCK2 0 &opl4->reg_lock
HALF_LOCKED2 &card->controls_rwsem
HALF_LOCKED2 &card->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct snd_opl4)->reg_lock