Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 37 files:
- drivers/hid/hid-prodikeys.c, line 220
- drivers/usb/gadget/function/f_midi.c, line 254
- sound/core/rawmidi.c, line 1215
- sound/core/seq/seq_virmidi.c
- sound/core/ump.c
- sound/drivers/mpu401/mpu401_uart.c, line 385
- sound/drivers/mtpav.c, line 475
- sound/drivers/mts64.c, line 817
- sound/drivers/portman2x4.c
- sound/drivers/serial-generic.c, line 114
- sound/drivers/serial-u16550.c
- sound/firewire/amdtp-am824.c, line 341
- sound/firewire/digi00x/amdtp-dot.c, line 315
- sound/firewire/fireface/ff-protocol-former.c
- sound/firewire/fireface/ff-protocol-latter.c, line 433
- sound/firewire/motu/amdtp-motu.c, line 250
- sound/firewire/oxfw/oxfw-scs1x.c
- sound/firewire/tascam/tascam-transaction.c, line 286
- sound/isa/gus/gus_uart.c, line 42
- sound/isa/sb/sb8_midi.c, line 43
- sound/isa/wavefront/wavefront_midi.c, line 424
- sound/pci/ca0106/ca_midi.c, line 55
- sound/pci/cs4281.c, line 1770
- sound/pci/cs46xx/cs46xx_lib.c, line 1359
- sound/pci/echoaudio/echoaudio.c, line 1835
- sound/pci/emu10k1/emu10k1x.c, line 1196
- sound/pci/emu10k1/emumpu401.c, line 78
- sound/pci/ens1370.c, line 2066
- sound/pci/ice1712/ice1724.c, line 271
- sound/pci/rme9652/hdsp.c, line 1342
- sound/pci/rme9652/hdspm.c, line 1889
- sound/usb/6fire/midi.c, line 52
- sound/usb/bcd2000/bcd2000.c, line 122
- sound/usb/caiaq/midi.c, line 112
- sound/usb/line6/midi.c, line 30
- sound/usb/midi.c, line 221
- sound/usb/usx2y/us144mkii_midi.c, line 34
Smatch caller information:
sound/drivers/mpu401/mpu401_uart.c snd_mpu401_uart_input_read() -> snd_rawmidi_receive()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | buffer | 4609853643083968512 |
| PARAM_VALUE | 2 | count | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | substream->runtime->hw_ptr | 0-6442451003[c] |
| HOST_DATA | 0 | *substream->runtime->buffer | 0-255 |
| HOST_DATA | 1 | *buffer | 0-255 |
| LOCK2 | &mpu->input_lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct snd_mpu401)->input_lock |
sound/firewire/fireface/ff-protocol-former.c ff800_handle_midi_msg() -> snd_rawmidi_receive()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 1-u64max |
| PARAM_VALUE | 1 | buffer | 2834188867768397824 |
| PARAM_VALUE | 2 | count | 1 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ff->lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct snd_ff)->lock |
sound/firewire/fireface/ff-protocol-former.c parse_midi_msg() -> snd_rawmidi_receive()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 1-u64max |
| PARAM_VALUE | 1 | buffer | 8623271826602119168 |
| PARAM_VALUE | 2 | count | 1 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ff->lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct snd_ff)->lock |
sound/firewire/motu/amdtp-motu.c read_midi_messages() -> snd_rawmidi_receive()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 1-u64max |
| PARAM_VALUE | 2 | count | 1 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
sound/pci/ens1370.c snd_ensoniq_midi_interrupt() -> snd_rawmidi_receive()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | buffer | 5771202684428791808 |
| PARAM_VALUE | 2 | count | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | substream->runtime->hw_ptr | 0-6442451003[c] |
| HOST_DATA | 0 | *substream->runtime->buffer | 0-255 |
| HOST_DATA | 1 | *buffer | 0-255 |
| LOCK2 | &ensoniq->reg_lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct ensoniq)->reg_lock |
sound/isa/gus/gus_uart.c snd_gf1_interrupt_midi_in() -> snd_rawmidi_receive()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | buffer | 1979227372731469824 |
| PARAM_VALUE | 2 | count | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | substream->runtime->hw_ptr | 0-6442451003[c] |
| HOST_DATA | 0 | *substream->runtime->buffer | 0-255 |
| HOST_DATA | 1 | *buffer | 0-255 |
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags |
sound/drivers/mts64.c snd_mts64_interrupt() -> snd_rawmidi_receive()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer | 5939963425326903296 |
| PARAM_VALUE | 2 | count | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &mts->lock | ||
| LOCK2 | &port->cad_lock | ||
| TYPE_LOCK | (struct mts64)->lock | ||
| TYPE_LOCK | (struct parport)->cad_lock |
sound/pci/echoaudio/layla24.c snd_echo_interrupt() -> snd_rawmidi_receive()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 1-u64max |
| PARAM_VALUE | 1 | *buffer | 0 |
| PARAM_VALUE | 2 | count | 1-s16max |
| BUF_SIZE | 1 | buffer | 256 |
| DATA_SOURCE | 2 | count | r service_irq |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags |
sound/usb/usx2y/us144mkii_midi.c tascam_midi_in_work_handler() -> snd_rawmidi_receive()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 1-u64max |
| PARAM_VALUE | 1 | buffer | 4096-ptr_max |
| PARAM_VALUE | 2 | count | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | buffer | 8 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
sound/usb/caiaq/midi.c snd_usb_caiaq_midi_handle_input() -> snd_rawmidi_receive()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 1-u64max |
| PARAM_VALUE | 2 | count | 0-255 |
| DATA_SOURCE | 1 | buffer | $2 |
| DATA_SOURCE | 2 | count | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | buffer | unit_byte |
| HALF_LOCKED2 | &pool->lock |
sound/usb/line6/midi.c line6_midi_receive() -> snd_rawmidi_receive()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 1-u64max |
| PARAM_VALUE | 2 | count | 1-257 |
| BUF_SIZE | 1 | buffer | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | buffer | s32min-(-2),1-s32max |
| CAPPED_DATA | 2 | count | 1 |
| DATA_SOURCE | 1 | buffer | $1 |
| DATA_SOURCE | 2 | count | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 2 | count | |
| UNITS | 1 | buffer | unit_byte |
| UNITS | 2 | count | unit_byte |
| HALF_LOCKED2 | &pool->lock |
sound/pci/emu10k1/emumpu401.c do_emu10k1_midi_interrupt() -> snd_rawmidi_receive()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 1-u64max |
| PARAM_VALUE | 1 | buffer | 3001659555221532672 |
| PARAM_VALUE | 2 | count | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | *buffer | 0-255 |
| LOCK2 | &midi->input_lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct snd_emu10k1_midi)->input_lock |
sound/firewire/tascam/tascam-transaction.c handle_midi_tx() -> snd_rawmidi_receive()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 1-u64max |
| PARAM_VALUE | 2 | count | 1-3 |
| CAPPED_DATA | 2 | count | 1 |
| FUZZY_MAX | 2 | count | 3 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
sound/pci/cs46xx/cs46xx_lib.c snd_cs46xx_interrupt() -> snd_rawmidi_receive()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | buffer | 3011477319407169536 |
| PARAM_VALUE | 2 | count | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | substream->runtime->hw_ptr | 0-6442451003[c] |
| HOST_DATA | 0 | *substream->runtime->buffer | 0-255 |
| HOST_DATA | 1 | *buffer | 0-255 |
| LOCK2 | &chip->reg_lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct snd_cs46xx)->reg_lock |
sound/pci/cs4281.c snd_cs4281_interrupt() -> snd_rawmidi_receive()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | buffer | 2393045488551936000 |
| PARAM_VALUE | 2 | count | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | substream->runtime->hw_ptr | 0-6442451003[c] |
| HOST_DATA | 0 | *substream->runtime->buffer | 0-255 |
| HOST_DATA | 1 | *buffer | 0-255 |
| LOCK2 | &chip->reg_lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct cs4281)->reg_lock |
sound/firewire/fireface/ff-protocol-latter.c latter_handle_midi_msg() -> snd_rawmidi_receive()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 1-u64max |
| PARAM_VALUE | 1 | buffer | 4096-ptr_max |
| PARAM_VALUE | 2 | count | 1-3 |
| BUF_SIZE | 1 | buffer | 3 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ff->lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct snd_ff)->lock |
sound/core/seq/seq_virmidi.c dump_to_rawmidi() -> snd_rawmidi_receive()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | buffer | 4096-ptr_max |
| BUF_SIZE | 0 | substream | (-1),8,16 |
| BUF_SIZE | 1 | buffer | (-1),32 |
| DATA_SOURCE | 0 | substream | $0 |
| DATA_SOURCE | 1 | buffer | $1 |
| DATA_SOURCE | 2 | count | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | *buffer | 0-255 |
| USER_DATA | 2 | count | s32min-s32max |
| UNITS | 1 | buffer | unit_byte |
| UNITS | 2 | count | unit_byte |
| USER_PTR | 1 | buffer |
sound/core/seq/seq_virmidi.c snd_virmidi_dev_receive_event() -> snd_rawmidi_receive()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | buffer | 2464334008060026880 |
| PARAM_VALUE | 2 | count | 1-s32max |
| BUF_SIZE | 1 | buffer | 4 |
| CAPPED_DATA | 2 | count | 1 |
| DATA_SOURCE | 2 | count | r snd_midi_event_decode |
| NOSPEC | 2 | count | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | substream->runtime->hw_ptr | 0-6442451003[c] |
| USER_DATA | 0 | *substream->runtime->buffer | 0-255 |
| USER_DATA | 1 | *buffer | 0-255 |
| USER_DATA | 2 | count | 1-4[c] |
| USER_PTR | 1 | buffer | |
| HALF_LOCKED2 | &rdev->filelist_sem | ||
| HALF_LOCKED2 | rcu_read |
sound/drivers/portman2x4.c snd_portman_interrupt() -> snd_rawmidi_receive()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | buffer | 4081112938428055552 |
| PARAM_VALUE | 2 | count | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &pm->reg_lock | ||
| LOCK2 | &port->cad_lock | ||
| TYPE_LOCK | (struct parport)->cad_lock | ||
| TYPE_LOCK | (struct portman)->reg_lock |
sound/drivers/portman2x4.c snd_portman_interrupt() -> snd_rawmidi_receive()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | buffer | 4081112938428055552 |
| PARAM_VALUE | 2 | count | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &pm->reg_lock | ||
| LOCK2 | &port->cad_lock | ||
| TYPE_LOCK | (struct parport)->cad_lock | ||
| TYPE_LOCK | (struct portman)->reg_lock |
sound/pci/ice1712/ice1724.c vt1724_midi_read() -> snd_rawmidi_receive()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | buffer | 4096-ptr_max |
| PARAM_VALUE | 2 | count | 1-32 |
| BUF_SIZE | 1 | buffer | 32 |
| CAPPED_DATA | 2 | count | 1 |
| DATA_SOURCE | 0 | substream | r get_rawmidi_substream |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | count | 1-31[c] |
| LOCK2 | &ice->reg_lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct snd_ice1712)->reg_lock |
sound/usb/6fire/midi.c usb6fire_midi_in_received() -> snd_rawmidi_receive()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 1-u64max |
| PARAM_VALUE | 2 | count | 0-62 |
| BUF_SIZE | 1 | buffer | 62 |
| BUF_SIZE | 1 | buffer | 62 |
| DATA_SOURCE | 1 | buffer | $1 |
| DATA_SOURCE | 2 | count | $2 |
| FUZZY_MAX | 2 | count | 62 |
| HARD_MAX | 2 | count | 62 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &rt->in_lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct midi_runtime)->in_lock |
sound/usb/bcd2000/bcd2000.c bcd2000_midi_handle_input() -> snd_rawmidi_receive()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 1-u64max |
| PARAM_VALUE | 1 | buffer | 4096-ptr_max |
| PARAM_VALUE | 2 | count | 1-255 |
| CAPPED_DATA | 2 | count | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 2 | count | 2-255[c] |
| UNITS | 2 | count | unit_byte |
| HALF_LOCKED2 | &pool->lock |
sound/drivers/mtpav.c snd_mtpav_inmidi_process() -> snd_rawmidi_receive()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | *buffer | 0-244,246-255 |
| PARAM_VALUE | 2 | count | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &mcrd->spinlock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct mtpav)->spinlock |
sound/usb/midi.c snd_usbmidi_input_data() -> snd_rawmidi_receive()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| BUF_SIZE | 1 | buffer | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | buffer | s32min-(-1),1-s32max |
| DATA_SOURCE | 1 | buffer | $2 |
| DATA_SOURCE | 2 | count | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 2 | count | 0-s32max[c][u] |
| NO_OVERFLOW_SIMPLE | 2 | count | |
| HALF_LOCKED2 | &pool->lock |
sound/core/ump.c process_legacy_input() -> snd_rawmidi_receive()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 1-u64max |
| PARAM_VALUE | 1 | buffer | 163595274176131072 |
| PARAM_VALUE | 2 | count | 1-s32max |
| BUF_SIZE | 1 | buffer | 16 |
| DATA_SOURCE | 2 | count | r snd_ump_convert_from_ump |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &ep->lock | ||
| HALF_LOCKED2 | &pool->lock |
sound/core/ump.c snd_ump_receive() -> snd_rawmidi_receive()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 1-u64max |
| BUF_SIZE | 1 | buffer | s32min-s32max |
| CAPPED_DATA | 2 | count | 1 |
| DATA_SOURCE | 1 | buffer | $1 |
| DATA_SOURCE | 2 | count | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 2 | count | 0,4-s32max[c] |
| USER_DATA | 1 | *buffer | 0-255 |
| USER_DATA | 2 | count | 4-2147483644[c] |
| UNITS | 1 | buffer | unit_byte |
| UNITS | 2 | count | unit_byte |
| USER_PTR | 1 | buffer | |
| HALF_LOCKED2 | &ep->lock | ||
| HALF_LOCKED2 | irq |
sound/firewire/digi00x/amdtp-dot.c read_midi_messages() -> snd_rawmidi_receive()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 1-u64max |
| PARAM_VALUE | 2 | count | 1-15 |
| CAPPED_DATA | 2 | count | 1 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
sound/pci/rme9652/hdspm.c snd_hdspm_midi_input_read() -> snd_rawmidi_receive()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 1-u64max |
| PARAM_VALUE | 1 | buffer | 4096-ptr_max |
| PARAM_VALUE | 2 | count | 1-128 |
| BUF_SIZE | 1 | buffer | 128 |
| CAPPED_DATA | 2 | count | 1 |
| FUZZY_MAX | 2 | count | 128 |
| HARD_MAX | 2 | count | 128 |
| NOCHECK_CALL | |||
| HOST_DATA | 2 | count | 1-128[c] |
| UNITS | 2 | count | unit_byte |
| LOCK2 | &hmidi->lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct hdspm_midi)->lock |
sound/firewire/oxfw/oxfw-scs1x.c midi_input_byte() -> snd_rawmidi_receive()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer | 7743934989878747136 |
| PARAM_VALUE | 1 | *buffer | 247 |
| PARAM_VALUE | 2 | count | 1 |
| DATA_SOURCE | 0 | substream | $1 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | count | unit_byte |
| HALF_LOCKED2 | &pool->lock |
sound/firewire/oxfw/oxfw-scs1x.c midi_input_byte() -> snd_rawmidi_receive()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 1-u64max |
| PARAM_VALUE | 1 | buffer | 5996417477265289216 |
| PARAM_VALUE | 2 | count | 7 |
| BUF_SIZE | 1 | buffer | 7 |
| DATA_SOURCE | 0 | substream | $1 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | count | unit_byte |
| HALF_LOCKED2 | &pool->lock |
sound/firewire/oxfw/oxfw-scs1x.c midi_input_byte() -> snd_rawmidi_receive()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 1-u64max |
| PARAM_VALUE | 1 | *buffer | 0-248,250-255 |
| PARAM_VALUE | 2 | count | 1 |
| DATA_SOURCE | 0 | substream | $1 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
sound/firewire/oxfw/oxfw-scs1x.c midi_input_escaped_byte() -> snd_rawmidi_receive()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 1-u64max |
| PARAM_VALUE | 1 | buffer | 4096-ptr_max |
| PARAM_VALUE | 2 | count | 2 |
| BUF_SIZE | 1 | buffer | 2 |
| DATA_SOURCE | 0 | substream | $0 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
sound/firewire/oxfw/oxfw-scs1x.c midi_input_packet() -> snd_rawmidi_receive()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 1-u64max |
| PARAM_VALUE | 1 | buffer | 5996417477265289216 |
| PARAM_VALUE | 2 | count | 7 |
| BUF_SIZE | 1 | buffer | 7 |
| DATA_SOURCE | 0 | substream | $1 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | count | unit_byte |
| HALF_LOCKED2 | &pool->lock |
sound/firewire/oxfw/oxfw-scs1x.c midi_input_packet() -> snd_rawmidi_receive()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer | 1596753032383569920 |
| PARAM_VALUE | 1 | *buffer | 247 |
| PARAM_VALUE | 2 | count | 1 |
| DATA_SOURCE | 0 | substream | $1 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | count | unit_byte |
| HALF_LOCKED2 | &pool->lock |
sound/pci/ens1371.c snd_ensoniq_midi_interrupt() -> snd_rawmidi_receive()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | buffer | 8314235700222578688 |
| PARAM_VALUE | 2 | count | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | substream->runtime->hw_ptr | 0-6442451003[c] |
| HOST_DATA | 0 | *substream->runtime->buffer | 0-255 |
| HOST_DATA | 1 | *buffer | 0-255 |
| LOCK2 | &ensoniq->reg_lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct ensoniq)->reg_lock |
sound/pci/emu10k1/emu10k1x.c do_emu10k1x_midi_interrupt() -> snd_rawmidi_receive()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 1-u64max |
| PARAM_VALUE | 1 | buffer | 5888846906910593024 |
| PARAM_VALUE | 2 | count | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | *buffer | 0-255 |
| LOCK2 | &midi->input_lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct emu10k1x_midi)->input_lock |
sound/pci/ca0106/ca_midi.c ca_midi_interrupt() -> snd_rawmidi_receive()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 1-u64max |
| PARAM_VALUE | 1 | buffer | 3937715657484693504 |
| PARAM_VALUE | 2 | count | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | *buffer | 0-255 |
| LOCK2 | &midi->input_lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct snd_ca_midi)->input_lock |
sound/pci/echoaudio/layla20.c snd_echo_interrupt() -> snd_rawmidi_receive()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 1-u64max |
| PARAM_VALUE | 1 | *buffer | 0 |
| PARAM_VALUE | 2 | count | 1-s16max |
| BUF_SIZE | 1 | buffer | 256 |
| DATA_SOURCE | 2 | count | r service_irq |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags |
drivers/usb/gadget/function/f_midi.c f_midi_read_data() -> snd_rawmidi_receive()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 1-u64max |
| PARAM_VALUE | 1 | buffer | 4096-ptr_max |
| PARAM_VALUE | 2 | count | 0-3 |
| DATA_SOURCE | 1 | buffer | $2 |
| DATA_SOURCE | 2 | count | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | *buffer | 0-255 |
| USER_PTR | 1 | buffer | |
| HALF_LOCKED2 | &pdev->lock | ||
| HALF_LOCKED2 | &priv_dev->lock | ||
| HALF_LOCKED2 | &udc->lock | ||
| HALF_LOCKED2 | flags |
sound/drivers/serial-generic.c snd_serial_generic_receive_buf() -> snd_rawmidi_receive()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | buffer | 4096-ptr_max |
| DATA_SOURCE | 1 | buffer | $1 |
| DATA_SOURCE | 2 | count | $2 |
| LOCK2 | &buf->lock | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct tty_bufhead)->lock |
drivers/hid/hid-prodikeys.c pcmidi_send_note() -> snd_rawmidi_receive()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer | 4096-ptr_max |
| PARAM_VALUE | 2 | count | 3 |
| BUF_SIZE | 1 | buffer | 3 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &pm->rawmidi_in_lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct pcmidi_snd)->rawmidi_in_lock |
sound/drivers/serial-u16550.c snd_uart16550_io_loop() -> snd_rawmidi_receive()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 1-u64max |
| PARAM_VALUE | 1 | buffer | 8602944796739108864 |
| PARAM_VALUE | 2 | count | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | *buffer | 0-255 |
| LOCK2 | &uart->open_lock | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct snd_uart16550)->open_lock |
sound/drivers/serial-u16550.c snd_uart16550_io_loop() -> snd_rawmidi_receive()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 1-u64max |
| PARAM_VALUE | 1 | buffer | 8602944796739108864 |
| PARAM_VALUE | 2 | count | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | *buffer | 0-255 |
| LOCK2 | &uart->open_lock | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct snd_uart16550)->open_lock |
sound/pci/echoaudio/mia.c snd_echo_interrupt() -> snd_rawmidi_receive()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 1-u64max |
| PARAM_VALUE | 1 | *buffer | 0 |
| PARAM_VALUE | 2 | count | 1-s16max |
| BUF_SIZE | 1 | buffer | 256 |
| DATA_SOURCE | 2 | count | r service_irq |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags |
sound/firewire/amdtp-am824.c read_midi_messages() -> snd_rawmidi_receive()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 1-u64max |
| PARAM_VALUE | 2 | count | 1-3 |
| CAPPED_DATA | 2 | count | 1 |
| FUZZY_MAX | 2 | count | 3 |
| HARD_MAX | 2 | count | 3 |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
sound/isa/sb/sb8_midi.c snd_sb8dsp_midi_interrupt() -> snd_rawmidi_receive()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | buffer | 6915072966777470976 |
| PARAM_VALUE | 2 | count | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | substream->runtime->hw_ptr | 0-6442451003[c] |
| HOST_DATA | 0 | *substream->runtime->buffer | 0-255 |
| HOST_DATA | 1 | *buffer | 0-255 |
| LOCK2 | &chip->midi_input_lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct snd_sb)->midi_input_lock |
sound/pci/rme9652/hdsp.c snd_hdsp_midi_input_read() -> snd_rawmidi_receive()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 1-u64max |
| PARAM_VALUE | 1 | buffer | 4096-ptr_max |
| PARAM_VALUE | 2 | count | 1-128 |
| BUF_SIZE | 1 | buffer | 128 |
| CAPPED_DATA | 2 | count | 1 |
| FUZZY_MAX | 2 | count | 128 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | count | unit_byte |
| LOCK2 | &hmidi->lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct hdsp_midi)->lock |
sound/isa/wavefront/wavefront_midi.c snd_wavefront_midi_interrupt() -> snd_rawmidi_receive()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 1-u64max |
| PARAM_VALUE | 1 | buffer | 1974478152875184128 |
| PARAM_VALUE | 2 | count | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | substream->runtime->hw_ptr | 0-6442451003[c] |
| HOST_DATA | 0 | *substream->runtime->buffer | 0-255 |
| HOST_DATA | 1 | *buffer | 0-255 |
| LOCK2 | &midi->virtual | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct _snd_wavefront_midi)->virtual |
sound/pci/echoaudio/echo3g.c snd_echo_interrupt() -> snd_rawmidi_receive()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 1-u64max |
| PARAM_VALUE | 1 | *buffer | 0 |
| PARAM_VALUE | 2 | count | 1-s16max |
| BUF_SIZE | 1 | buffer | 256 |
| DATA_SOURCE | 2 | count | r service_irq |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags |