Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

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

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
PARAM_VALUE 2 value 0
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
NOCHECK_CALL

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

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
PARAM_VALUE 2 value 255
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
NOCHECK_CALL

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

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
PARAM_VALUE 2 value 63
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
NOCHECK_CALL

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

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
PARAM_VALUE 2 value 63
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
NOCHECK_CALL

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

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 2
PARAM_VALUE 2 value 0
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
NOCHECK_CALL

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

Type Parameter Key Value
PARAM_VALUE 0 opl4 4096-ptr_max
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
BIT_INFO 2 value 0x1,0xff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 value 0-255
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_read_memory() -> snd_opl4_write()

Type Parameter Key Value
PARAM_VALUE 0 opl4 4096-ptr_max
PARAM_VALUE 1 reg 3
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
NOCHECK_CALL
USER_DATA 2 value 0-255[c]
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_read_memory() -> snd_opl4_write()

Type Parameter Key Value
PARAM_VALUE 0 opl4 4096-ptr_max
PARAM_VALUE 1 reg 4
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
NOCHECK_CALL
USER_DATA 2 value 0-255[c]
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_read_memory() -> snd_opl4_write()

Type Parameter Key Value
PARAM_VALUE 0 opl4 4096-ptr_max
PARAM_VALUE 1 reg 5
BUF_SIZE 0 opl4 s32min-(-1),1-s32max
BUF_SIZE 0 opl4 s32min-(-1),1-s32max
CAPPED_DATA 2 value 1
DATA_SOURCE 0 opl4 $0
DATA_SOURCE 2 value $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 2 value 0-255[c]
NO_OVERFLOW_SIMPLE 2 value
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_read_memory() -> snd_opl4_write()

Type Parameter Key Value
PARAM_VALUE 0 opl4 4096-ptr_max
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
DATA_SOURCE 2 value r snd_opl4_read
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 value 0-255
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_write()

Type Parameter Key Value
PARAM_VALUE 0 opl4 4096-ptr_max
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
BIT_INFO 2 value 0x1,0xff
NOCHECK_CALL
HOST_DATA 2 value 0-255
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_write()

Type Parameter Key Value
PARAM_VALUE 0 opl4 4096-ptr_max
PARAM_VALUE 1 reg 3
BUF_SIZE 0 opl4 s32min-(-2),1-s32max
BUF_SIZE 0 opl4 s32min-(-2),1-s32max
DATA_SOURCE 0 opl4 $0
NOCHECK_CALL
USER_DATA 2 value 0-255[c]
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_write()

Type Parameter Key Value
PARAM_VALUE 0 opl4 4096-ptr_max
PARAM_VALUE 1 reg 4
BUF_SIZE 0 opl4 s32min-(-2),1-s32max
BUF_SIZE 0 opl4 s32min-(-2),1-s32max
DATA_SOURCE 0 opl4 $0
NOCHECK_CALL
USER_DATA 2 value 0-255[c]
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_write()

Type Parameter Key Value
PARAM_VALUE 0 opl4 4096-ptr_max
PARAM_VALUE 1 reg 5
BUF_SIZE 0 opl4 s32min-(-2),1-s32max
BUF_SIZE 0 opl4 s32min-(-2),1-s32max
CAPPED_DATA 2 value 1
DATA_SOURCE 0 opl4 $0
DATA_SOURCE 2 value $2
NOCHECK_CALL
USER_DATA 2 value 0-255[c]
NO_OVERFLOW_SIMPLE 2 value
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_write()

Type Parameter Key Value
PARAM_VALUE 0 opl4 4096-ptr_max
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
DATA_SOURCE 2 value r snd_opl4_read
NOCHECK_CALL
HOST_DATA 2 value 0-255
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_put() -> snd_opl4_write()

Type Parameter Key Value
PARAM_VALUE 0 opl4 4096-ptr_max
PARAM_VALUE 2 value 0-63
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
NOCHECK_CALL
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

sound/drivers/opl4/opl4_synth.c snd_opl4_note_on() -> snd_opl4_write()

Type Parameter Key Value
BUF_SIZE 0 opl4 4888,9624
BUF_SIZE 0 opl4 4888,9624
DATA_SOURCE 0 opl4 $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 irq
LOCK2 0 &opl4->reg_lock
TYPE_LOCK (struct snd_opl4)->reg_lock

sound/drivers/opl4/opl4_synth.c snd_opl4_note_on() -> snd_opl4_write()

Type Parameter Key Value
PARAM_VALUE 0 opl4 4096-ptr_max
BUF_SIZE 0 opl4 4888,9624
BUF_SIZE 0 opl4 4888,9624
DATA_SOURCE 0 opl4 $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 irq
LOCK2 0 &opl4->reg_lock
TYPE_LOCK (struct snd_opl4)->reg_lock

sound/drivers/opl4/opl4_synth.c snd_opl4_note_on() -> snd_opl4_write()

Type Parameter Key Value
PARAM_VALUE 0 opl4 4096-ptr_max
BUF_SIZE 0 opl4 4888,9624
BUF_SIZE 0 opl4 4888,9624
DATA_SOURCE 0 opl4 $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 irq
LOCK2 0 &opl4->reg_lock
TYPE_LOCK (struct snd_opl4)->reg_lock

sound/drivers/opl4/opl4_synth.c snd_opl4_synth_reset() -> snd_opl4_write()

Type Parameter Key Value
PARAM_VALUE 0 opl4 4096-ptr_max
PARAM_VALUE 1 reg 104-127
PARAM_VALUE 2 value 64
BUF_SIZE 0 opl4 4,16,72,104,256,288,352,376,408,440,448,608,704,2728,4888,9624
BUF_SIZE 0 opl4 4,16,72,104,256,288,352,376,408,440,448,608,704,2728,4888,9624
DATA_SOURCE 0 opl4 $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 _T->lock
LOCK2 irq
LOCK2 0 &opl4->reg_lock
TYPE_LOCK (struct snd_opl4)->reg_lock

sound/drivers/opl4/opl4_synth.c snd_opl4_synth_shutdown() -> snd_opl4_write()

Type Parameter Key Value
PARAM_VALUE 0 opl4 4096-ptr_max
PARAM_VALUE 1 reg 104-127
BUF_SIZE 0 opl4 4,16,72,104,256,288,352,376,408,440,448,608,704,2728,4888,9624
BUF_SIZE 0 opl4 4,16,72,104,256,288,352,376,408,440,448,608,704,2728,4888,9624
DATA_SOURCE 0 opl4 $0
BIT_INFO 2 value 0x0,0x7f
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 _T->lock
LOCK2 irq
LOCK2 0 &opl4->reg_lock
TYPE_LOCK (struct snd_opl4)->reg_lock

sound/drivers/opl4/opl4_synth.c snd_opl4_terminate_voice() -> snd_opl4_write()

Type Parameter Key Value
PARAM_VALUE 0 opl4 4096-ptr_max
PARAM_VALUE 2 value 128-191
BUF_SIZE 0 opl4 4888,9624
BUF_SIZE 0 opl4 4888,9624
DATA_SOURCE 0 opl4 $0
BIT_INFO 2 value 0x40,0x7f
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 irq
LOCK2 0 &opl4->reg_lock
TYPE_LOCK (struct snd_opl4)->reg_lock

sound/drivers/opl4/opl4_synth.c snd_opl4_update_pan() -> snd_opl4_write()

Type Parameter Key Value
BUF_SIZE 0 opl4 4888,9624
BUF_SIZE 0 opl4 4888,9624
DATA_SOURCE 0 opl4 $0
BIT_INFO 2 value 0x0,0xf7
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 irq
LOCK2 0 &opl4->reg_lock
TYPE_LOCK (struct snd_opl4)->reg_lock

sound/drivers/opl4/opl4_synth.c snd_opl4_update_pitch() -> snd_opl4_write()

Type Parameter Key Value
BUF_SIZE 0 opl4 4888,9624
BUF_SIZE 0 opl4 4888,9624
DATA_SOURCE 0 opl4 $0
BIT_INFO 2 value 0x0,0x77
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 irq
LOCK2 0 &opl4->reg_lock
TYPE_LOCK (struct snd_opl4)->reg_lock

sound/drivers/opl4/opl4_synth.c snd_opl4_update_pitch() -> snd_opl4_write()

Type Parameter Key Value
PARAM_VALUE 0 opl4 4096-ptr_max
BUF_SIZE 0 opl4 4888,9624
BUF_SIZE 0 opl4 4888,9624
DATA_SOURCE 0 opl4 $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 irq
LOCK2 0 &opl4->reg_lock
TYPE_LOCK (struct snd_opl4)->reg_lock

sound/drivers/opl4/opl4_synth.c snd_opl4_update_tone_parameters() -> snd_opl4_write()

Type Parameter Key Value
PARAM_VALUE 0 opl4 4096-ptr_max
BUF_SIZE 0 opl4 4888,9624
BUF_SIZE 0 opl4 4888,9624
DATA_SOURCE 0 opl4 $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 irq
LOCK2 0 &opl4->reg_lock
TYPE_LOCK (struct snd_opl4)->reg_lock

sound/drivers/opl4/opl4_synth.c snd_opl4_update_tone_parameters() -> snd_opl4_write()

Type Parameter Key Value
PARAM_VALUE 0 opl4 4096-ptr_max
BUF_SIZE 0 opl4 4888,9624
BUF_SIZE 0 opl4 4888,9624
DATA_SOURCE 0 opl4 $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 irq
LOCK2 0 &opl4->reg_lock
TYPE_LOCK (struct snd_opl4)->reg_lock

sound/drivers/opl4/opl4_synth.c snd_opl4_update_tone_parameters() -> snd_opl4_write()

Type Parameter Key Value
PARAM_VALUE 0 opl4 4096-ptr_max
BUF_SIZE 0 opl4 4888,9624
BUF_SIZE 0 opl4 4888,9624
DATA_SOURCE 0 opl4 $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 irq
LOCK2 0 &opl4->reg_lock
TYPE_LOCK (struct snd_opl4)->reg_lock

sound/drivers/opl4/opl4_synth.c snd_opl4_update_tone_parameters() -> snd_opl4_write()

Type Parameter Key Value
PARAM_VALUE 0 opl4 4096-ptr_max
BUF_SIZE 0 opl4 4888,9624
BUF_SIZE 0 opl4 4888,9624
DATA_SOURCE 0 opl4 $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 irq
LOCK2 0 &opl4->reg_lock
TYPE_LOCK (struct snd_opl4)->reg_lock

sound/drivers/opl4/opl4_synth.c snd_opl4_update_vibrato_depth() -> snd_opl4_write()

Type Parameter Key Value
BUF_SIZE 0 opl4 4888,9624
BUF_SIZE 0 opl4 4888,9624
DATA_SOURCE 0 opl4 $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 irq
LOCK2 0 &opl4->reg_lock
TYPE_LOCK (struct snd_opl4)->reg_lock

sound/drivers/opl4/opl4_synth.c snd_opl4_update_volume() -> snd_opl4_write()

Type Parameter Key Value
PARAM_VALUE 0 opl4 4096-ptr_max
BUF_SIZE 0 opl4 4888,9624
BUF_SIZE 0 opl4 4888,9624
DATA_SOURCE 0 opl4 $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 irq
LOCK2 0 &opl4->reg_lock
TYPE_LOCK (struct snd_opl4)->reg_lock

sound/drivers/opl4/opl4_synth.c snd_opl4_voice_off() -> snd_opl4_write()

Type Parameter Key Value
PARAM_VALUE 0 opl4 4096-ptr_max
PARAM_VALUE 2 value 0-127
BUF_SIZE 0 opl4 4888,9624
BUF_SIZE 0 opl4 4888,9624
DATA_SOURCE 0 opl4 $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 irq
LOCK2 0 &opl4->reg_lock
TYPE_LOCK (struct snd_opl4)->reg_lock