Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 27 files:
- drivers/usb/gadget/function/f_midi.c, line 643
- sound/core/rawmidi.c, line 1494
- sound/core/seq/seq_virmidi.c, line 152
- sound/core/ump.c
- sound/drivers/mtpav.c
- sound/drivers/portman2x4.c, line 515
- sound/drivers/serial-u16550.c, line 641
- sound/firewire/amdtp-am824.c, line 309
- sound/firewire/digi00x/amdtp-dot.c, line 264
- sound/firewire/motu/amdtp-motu.c, line 223
- sound/firewire/oxfw/oxfw-scs1x.c, line 197
- sound/isa/gus/gus_uart.c
- sound/isa/wavefront/wavefront_midi.c
- sound/pci/ca0106/ca_midi.c
- sound/pci/cs4281.c
- sound/pci/cs46xx/cs46xx_lib.c
- sound/pci/emu10k1/emu10k1x.c
- sound/pci/emu10k1/emumpu401.c
- sound/pci/ens1370.c
- sound/pci/ice1712/ice1724.c, line 248
- sound/pci/rme9652/hdsp.c, line 1316
- sound/pci/rme9652/hdspm.c, line 1858
- sound/usb/6fire/midi.c
- sound/usb/bcd2000/bcd2000.c, line 148
- sound/usb/caiaq/midi.c, line 60
- sound/usb/midi.c
- sound/usb/usx2y/us144mkii_midi.c, line 252
Smatch caller information:
sound/firewire/motu/amdtp-motu.c write_midi_messages() -> snd_rawmidi_transmit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 1-u64max |
| PARAM_VALUE | 1 | buffer | 4096-ptr_max |
| PARAM_VALUE | 2 | count | 1 |
| TASK_NOT_RUNNING |
sound/pci/ens1370.c snd_ensoniq_midi_interrupt() -> snd_rawmidi_transmit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | buffer | 5771202684428791808 |
| PARAM_VALUE | 2 | count | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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/ens1370.c snd_ensoniq_midi_output_trigger() -> snd_rawmidi_transmit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->opened | 1 |
| PARAM_VALUE | 0 | substream->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->ops->drain | 0,4096-ptr_max |
| PARAM_VALUE | 0 | substream->rmidi | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->rmidi->private_data | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer | 7788155720721453056 |
| PARAM_VALUE | 2 | count | 1 |
| BUF_SIZE | 0 | substream | (-1),8,16 |
| BUF_SIZE | 0 | substream | (-1),8,16 |
| DATA_SOURCE | 0 | substream | $0 |
| NOSPEC | 0 | substream->runtime->avail | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | substream->runtime->avail | 1-9223372039002259453[c] |
| LOCK2 | &ensoniq->reg_lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct ensoniq)->reg_lock |
sound/isa/gus/gus_uart.c snd_gf1_interrupt_midi_out() -> snd_rawmidi_transmit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | buffer | 2821906178531532800 |
| PARAM_VALUE | 2 | count | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &gus->uart_cmd_lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct snd_gus_card)->uart_cmd_lock |
sound/isa/gus/gus_uart.c snd_gf1_uart_output_trigger() -> snd_rawmidi_transmit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->opened | 1 |
| PARAM_VALUE | 0 | substream->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->ops->drain | 0,4096-ptr_max |
| PARAM_VALUE | 0 | substream->rmidi | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->rmidi->private_data | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer | 3811203325807808512 |
| PARAM_VALUE | 2 | count | 1 |
| BUF_SIZE | 0 | substream | (-1),8,16 |
| BUF_SIZE | 0 | substream | (-1),8,16 |
| DATA_SOURCE | 0 | substream | $0 |
| NOSPEC | 0 | substream->runtime->avail | |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | substream->runtime->avail | 1-9223372036854775806[c] |
| LOCK2 | &gus->uart_cmd_lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct snd_gus_card)->uart_cmd_lock |
sound/usb/usx2y/us144mkii_midi.c tascam_midi_out_work_handler() -> snd_rawmidi_transmit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->opened | 1 |
| PARAM_VALUE | 0 | substream->runtime | 4096-ptr_max |
| PARAM_VALUE | 2 | count | 8 |
| BUF_SIZE | 1 | buffer | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | buffer | s32min-(-2),1-s32max |
| UNITS | 1 | buffer | unit_byte |
| LOCK2 | &tascam->midi_out_lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct tascam_card)->midi_out_lock |
sound/usb/caiaq/midi.c snd_usb_caiaq_midi_send() -> snd_rawmidi_transmit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 1-u64max |
| PARAM_VALUE | 0 | substream->ops->drain | 0,4096-ptr_max |
| PARAM_VALUE | 2 | count | 61 |
| BUF_SIZE | 0 | substream | (-1),8,16 |
| BUF_SIZE | 0 | substream | (-1),8,16 |
| BUF_SIZE | 1 | buffer | 61 |
| DATA_SOURCE | 0 | substream | $1 |
| NOSPEC | 0 | substream->runtime->avail | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | substream->runtime->avail | 1-9223372036854775806[c] |
sound/pci/emu10k1/emumpu401.c do_emu10k1_midi_interrupt() -> snd_rawmidi_transmit()
| 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 | |||
| HOST_DATA | 1 | *buffer | 0-255 |
| LOCK2 | &midi->output_lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct snd_emu10k1_midi)->output_lock |
sound/pci/emu10k1/emumpu401.c snd_emu10k1_midi_output_trigger() -> snd_rawmidi_transmit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->opened | 1 |
| PARAM_VALUE | 0 | substream->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->ops->drain | 0,4096-ptr_max |
| PARAM_VALUE | 0 | substream->rmidi | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->rmidi->private_data | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer | 2139703967004823552 |
| PARAM_VALUE | 2 | count | 1 |
| BUF_SIZE | 0 | substream | (-1),8,16 |
| BUF_SIZE | 0 | substream | (-1),8,16 |
| DATA_SOURCE | 0 | substream | $0 |
| NOSPEC | 0 | substream->runtime->avail | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | substream->runtime->avail | 1-9223372039002259453[c] |
| LOCK2 | &midi->output_lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct snd_emu10k1_midi)->output_lock |
sound/pci/cs46xx/cs46xx_lib.c snd_cs46xx_interrupt() -> snd_rawmidi_transmit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | buffer | 3011477319407169536 |
| PARAM_VALUE | 2 | count | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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/cs46xx/cs46xx_lib.c snd_cs46xx_midi_output_trigger() -> snd_rawmidi_transmit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->opened | 1 |
| PARAM_VALUE | 0 | substream->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->ops->drain | 0,4096-ptr_max |
| PARAM_VALUE | 0 | substream->rmidi | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->rmidi->private_data | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer | 1996316582153117696 |
| PARAM_VALUE | 2 | count | 1 |
| BUF_SIZE | 0 | substream | (-1),8,16 |
| BUF_SIZE | 0 | substream | (-1),8,16 |
| DATA_SOURCE | 0 | substream | $0 |
| NOSPEC | 0 | substream->runtime->avail | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | substream->runtime->avail | 1-9223372039002259453[c] |
| LOCK2 | &chip->reg_lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct snd_cs46xx)->reg_lock |
sound/pci/cs4281.c snd_cs4281_interrupt() -> snd_rawmidi_transmit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | buffer | 2393045488551936000 |
| PARAM_VALUE | 2 | count | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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/pci/cs4281.c snd_cs4281_midi_output_trigger() -> snd_rawmidi_transmit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->opened | 1 |
| PARAM_VALUE | 0 | substream->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->ops->drain | 0,4096-ptr_max |
| PARAM_VALUE | 0 | substream->rmidi | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->rmidi->private_data | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer | 3056703842083274752 |
| PARAM_VALUE | 2 | count | 1 |
| BUF_SIZE | 0 | substream | (-1),8,16 |
| BUF_SIZE | 0 | substream | (-1),8,16 |
| DATA_SOURCE | 0 | substream | $0 |
| NOSPEC | 0 | substream->runtime->avail | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | substream->runtime->avail | 1-9223372039002259453[c] |
| LOCK2 | &chip->reg_lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct cs4281)->reg_lock |
sound/core/seq/seq_virmidi.c snd_vmidi_output_work() -> snd_rawmidi_transmit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | buffer | 6356930589472239616 |
| PARAM_VALUE | 2 | count | 1 |
| HALF_LOCKED2 | &pool->lock |
sound/drivers/portman2x4.c snd_portman_midi_output_trigger() -> snd_rawmidi_transmit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->opened | 1 |
| PARAM_VALUE | 0 | substream->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->ops->drain | 0,4096-ptr_max |
| PARAM_VALUE | 0 | substream->rmidi | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer | 8837051977651523584 |
| PARAM_VALUE | 2 | count | 1 |
| BUF_SIZE | 0 | substream | (-1),8,16 |
| BUF_SIZE | 0 | substream | (-1),8,16 |
| DATA_SOURCE | 0 | substream | $0 |
| NOSPEC | 0 | substream->runtime->avail | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | substream->runtime->avail | 1-9223372039002259453[c] |
| LOCK2 | &pm->reg_lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct portman)->reg_lock |
sound/drivers/portman2x4.c snd_portman_midi_output_trigger() -> snd_rawmidi_transmit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->opened | 1 |
| PARAM_VALUE | 0 | substream->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->ops->drain | 0,4096-ptr_max |
| PARAM_VALUE | 0 | substream->rmidi | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->avail_min | 1-u64max |
| PARAM_VALUE | 0 | substream->runtime->buffer | 1-u64max |
| PARAM_VALUE | 1 | buffer | 8837051977651523584 |
| PARAM_VALUE | 2 | count | 1 |
| BUF_SIZE | 0 | substream | (-1),8,16 |
| BUF_SIZE | 0 | substream | (-1),8,16 |
| CAPPED_DATA | 0 | substream->runtime->buffer_size | 1 |
| DATA_SOURCE | 0 | substream | $0 |
| NOSPEC | 0 | substream->runtime->avail | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | substream->runtime->avail | 1-9223372039002259453[c] |
| LOCK2 | &pm->reg_lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct portman)->reg_lock |
sound/pci/ice1712/ice1724.c vt1724_midi_write() -> snd_rawmidi_transmit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | buffer | 4613429511113658368 |
| PARAM_VALUE | 2 | count | 1-31 |
| BUF_SIZE | 1 | buffer | 32 |
| DATA_SOURCE | 0 | substream | r get_rawmidi_substream |
| FUZZY_MAX | 2 | count | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 2 | count | 1-31 |
| 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_out_handler() -> snd_rawmidi_transmit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 1-u64max |
| PARAM_VALUE | 1 | buffer | 4096-ptr_max |
| PARAM_VALUE | 2 | count | 60 |
| BUF_SIZE | 1 | buffer | 60 |
| LOCK2 | &rt->out_lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct midi_runtime)->out_lock |
sound/usb/6fire/midi.c usb6fire_midi_out_trigger() -> snd_rawmidi_transmit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->opened | 1 |
| PARAM_VALUE | 0 | substream->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->ops->drain | 0,4096-ptr_max |
| PARAM_VALUE | 0 | substream->rmidi | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->rmidi->private_data | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer | 4096-ptr_max |
| PARAM_VALUE | 2 | count | 60 |
| BUF_SIZE | 0 | substream | (-1),8,16 |
| BUF_SIZE | 0 | substream | (-1),8,16 |
| BUF_SIZE | 1 | buffer | 60 |
| DATA_SOURCE | 0 | substream | $0 |
| NOSPEC | 0 | substream->runtime->avail | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | substream->runtime->avail | 1-9223372036854775806[c] |
| LOCK2 | &rt->out_lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct midi_runtime)->out_lock |
sound/usb/bcd2000/bcd2000.c bcd2000_midi_send() -> snd_rawmidi_transmit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 1-u64max |
| PARAM_VALUE | 1 | buffer | 4096-ptr_max |
| PARAM_VALUE | 2 | count | 61 |
| BUF_SIZE | 0 | substream | (-1),8,16 |
| BUF_SIZE | 0 | substream | (-1),8,16 |
| BUF_SIZE | 1 | buffer | 61 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
sound/drivers/mtpav.c snd_mtpav_output_port_write() -> snd_rawmidi_transmit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 1-u64max |
| PARAM_VALUE | 0 | substream->ops->drain | 0,4096-ptr_max |
| PARAM_VALUE | 1 | buffer | 4511369777567219712 |
| PARAM_VALUE | 2 | count | 1 |
| BUF_SIZE | 0 | substream | (-1),8,16 |
| BUF_SIZE | 0 | substream | (-1),8,16 |
| DATA_SOURCE | 0 | substream | $2 |
| NOSPEC | 0 | substream->runtime->avail | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | substream->runtime->avail | 1-9223372036854775806[c] |
| LOCK2 | &mtp_card->spinlock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct mtpav)->spinlock |
sound/drivers/mtpav.c snd_mtpav_output_port_write() -> snd_rawmidi_transmit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->opened | 1 |
| PARAM_VALUE | 0 | substream->ops->drain | 0,4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->avail_min | 1-u64max |
| PARAM_VALUE | 0 | substream->runtime->buffer | 1-u64max |
| PARAM_VALUE | 1 | buffer | 4511369777567219712 |
| PARAM_VALUE | 2 | count | 1 |
| BUF_SIZE | 0 | substream | (-1),8,16 |
| BUF_SIZE | 0 | substream | (-1),8,16 |
| CAPPED_DATA | 0 | substream->runtime->buffer_size | 1 |
| DATA_SOURCE | 0 | substream | $2 |
| NOSPEC | 0 | substream->runtime->avail | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | substream->runtime->avail | 1-9223372039002259453[c] |
| LOCK2 | &mtp_card->spinlock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct mtpav)->spinlock |
sound/usb/midi.c snd_usbmidi_emagic_output() -> snd_rawmidi_transmit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->opened | 1 |
| PARAM_VALUE | 0 | substream->runtime | 4096-ptr_max |
| PARAM_VALUE | 2 | count | 1-s32max |
| BUF_SIZE | 1 | buffer | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | buffer | s32min-(-1),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | buffer | unit_byte |
| UNITS | 2 | count | unit_byte |
| LOCK2 | &ep->buffer_lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &umidi->disc_lock | ||
| TYPE_LOCK | (struct snd_usb_midi_out_endpoint)->buffer_lock |
sound/usb/midi.c snd_usbmidi_novation_output() -> snd_rawmidi_transmit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | buffer | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | count | unit_byte |
| LOCK2 | &ep->buffer_lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &umidi->disc_lock | ||
| TYPE_LOCK | (struct snd_usb_midi_out_endpoint)->buffer_lock |
sound/usb/midi.c snd_usbmidi_raw_output() -> snd_rawmidi_transmit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 1 | buffer | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | buffer | unit_byte |
| UNITS | 2 | count | unit_byte |
| LOCK2 | &ep->buffer_lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &umidi->disc_lock | ||
| TYPE_LOCK | (struct snd_usb_midi_out_endpoint)->buffer_lock |
sound/usb/midi.c snd_usbmidi_standard_output() -> snd_rawmidi_transmit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | buffer | 5626364350726672384 |
| PARAM_VALUE | 2 | count | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ep->buffer_lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &umidi->disc_lock | ||
| TYPE_LOCK | (struct snd_usb_midi_out_endpoint)->buffer_lock |
sound/usb/midi.c snd_usbmidi_us122l_output() -> snd_rawmidi_transmit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | count | 1-2 |
| BUF_SIZE | 1 | buffer | s32min-(-2),1-s32max |
| FUZZY_MAX | 2 | count | 2 |
| HARD_MAX | 2 | count | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | buffer | unit_byte |
| LOCK2 | &ep->buffer_lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &umidi->disc_lock | ||
| TYPE_LOCK | (struct snd_usb_midi_out_endpoint)->buffer_lock |
sound/core/ump.c process_legacy_output() -> snd_rawmidi_transmit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 1-u64max |
| PARAM_VALUE | 1 | buffer | 2103253377380728832 |
| PARAM_VALUE | 2 | count | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &ep->lock |
sound/core/ump.c process_legacy_output() -> snd_rawmidi_transmit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->opened | 1 |
| PARAM_VALUE | 0 | substream->runtime->avail_min | 1-u64max |
| PARAM_VALUE | 0 | substream->runtime->buffer | 1-u64max |
| PARAM_VALUE | 1 | buffer | 2103253377380728832 |
| PARAM_VALUE | 2 | count | 1 |
| CAPPED_DATA | 0 | substream->runtime->buffer_size | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &ep->lock |
sound/core/ump.c snd_ump_transmit() -> snd_rawmidi_transmit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 1-u64max |
| BUF_SIZE | 1 | buffer | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | buffer | s32min-(-1),1-s32max |
| DATA_SOURCE | 1 | buffer | $1 |
| DATA_SOURCE | 2 | count | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | buffer | unit_byte |
| UNITS | 2 | count | unit_byte |
| HALF_LOCKED2 | &ep->lock | ||
| HALF_LOCKED2 | irq |
sound/firewire/digi00x/amdtp-dot.c write_midi_messages() -> snd_rawmidi_transmit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 1-u64max |
| PARAM_VALUE | 2 | count | 2 |
| TASK_NOT_RUNNING |
sound/pci/rme9652/hdspm.c snd_hdspm_midi_output_write() -> snd_rawmidi_transmit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->opened | 1 |
| PARAM_VALUE | 0 | substream->runtime | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->avail | 0-18446744073709551614 |
| PARAM_VALUE | 0 | substream->runtime->buffer | 1-u64max |
| PARAM_VALUE | 0 | substream->runtime->buffer_size | 1-u64max |
| PARAM_VALUE | 1 | buffer | 315959010420457472 |
| PARAM_VALUE | 2 | count | 1-128 |
| BUF_SIZE | 1 | buffer | 128 |
| CAPPED_DATA | 0 | substream->runtime->avail | 1 |
| CAPPED_DATA | 0 | substream->runtime->buffer_size | 1 |
| FUZZY_MAX | 2 | count | 128 |
| PARAM_COMPARE | 0 | substream->runtime->avail | < $0->runtime->buffer_size |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 2 | count | 1-128[c] |
| UNITS | 2 | count | unit_byte |
| LOCK2 | &hmidi->lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct hdspm_midi)->lock |
sound/firewire/oxfw/oxfw-scs1x.c scs_output_work() -> snd_rawmidi_transmit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 1-u64max |
| PARAM_VALUE | 1 | buffer | 5771890259897581568 |
| PARAM_VALUE | 2 | count | 1 |
| HALF_LOCKED2 | &pool->lock |
sound/pci/ens1371.c snd_ensoniq_midi_interrupt() -> snd_rawmidi_transmit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | buffer | 8314235700222578688 |
| PARAM_VALUE | 2 | count | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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/ens1371.c snd_ensoniq_midi_output_trigger() -> snd_rawmidi_transmit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->opened | 1 |
| PARAM_VALUE | 0 | substream->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->ops->drain | 0,4096-ptr_max |
| PARAM_VALUE | 0 | substream->rmidi | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->rmidi->private_data | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer | 8106270599541932032 |
| PARAM_VALUE | 2 | count | 1 |
| BUF_SIZE | 0 | substream | (-1),8,16 |
| BUF_SIZE | 0 | substream | (-1),8,16 |
| DATA_SOURCE | 0 | substream | $0 |
| NOSPEC | 0 | substream->runtime->avail | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | substream->runtime->avail | 1-9223372039002259453[c] |
| LOCK2 | &ensoniq->reg_lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct ensoniq)->reg_lock |
sound/pci/emu10k1/emu10k1x.c do_emu10k1x_midi_interrupt() -> snd_rawmidi_transmit()
| 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 | |||
| HOST_DATA | 1 | *buffer | 0-255 |
| LOCK2 | &midi->output_lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct emu10k1x_midi)->output_lock |
sound/pci/emu10k1/emu10k1x.c snd_emu10k1x_midi_output_trigger() -> snd_rawmidi_transmit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->opened | 1 |
| PARAM_VALUE | 0 | substream->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->ops->drain | 0,4096-ptr_max |
| PARAM_VALUE | 0 | substream->rmidi | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->rmidi->private_data | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer | 636552346441342976 |
| PARAM_VALUE | 2 | count | 1 |
| BUF_SIZE | 0 | substream | (-1),8,16 |
| BUF_SIZE | 0 | substream | (-1),8,16 |
| DATA_SOURCE | 0 | substream | $0 |
| NOSPEC | 0 | substream->runtime->avail | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | substream->runtime->avail | 1-9223372039002259453[c] |
| LOCK2 | &midi->output_lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct emu10k1x_midi)->output_lock |
sound/pci/ca0106/ca_midi.c ca_midi_interrupt() -> snd_rawmidi_transmit()
| 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 | |||
| HOST_DATA | 1 | *buffer | 0-255 |
| LOCK2 | &midi->output_lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct snd_ca_midi)->output_lock |
sound/pci/ca0106/ca_midi.c ca_midi_output_trigger() -> snd_rawmidi_transmit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->opened | 1 |
| PARAM_VALUE | 0 | substream->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->ops->drain | 0,4096-ptr_max |
| PARAM_VALUE | 0 | substream->rmidi | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->rmidi->private_data | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer | 1506031471362646016 |
| PARAM_VALUE | 2 | count | 1 |
| BUF_SIZE | 0 | substream | (-1),8,16 |
| BUF_SIZE | 0 | substream | (-1),8,16 |
| DATA_SOURCE | 0 | substream | $0 |
| NOSPEC | 0 | substream->runtime->avail | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | substream->runtime->avail | 1-9223372039002259453[c] |
| LOCK2 | &midi->output_lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct snd_ca_midi)->output_lock |
drivers/usb/gadget/function/f_midi.c f_midi_do_transmit() -> snd_rawmidi_transmit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 1-u64max |
| PARAM_VALUE | 1 | buffer | 726256717435617280 |
| PARAM_VALUE | 2 | count | 1 |
| LOCK2 | &midi->transmit_lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct f_midi)->transmit_lock |
sound/drivers/serial-u16550.c snd_uart16550_output_write() -> snd_rawmidi_transmit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->opened | 1 |
| PARAM_VALUE | 0 | substream->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->ops->drain | 0,4096-ptr_max |
| PARAM_VALUE | 0 | substream->rmidi | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->rmidi->private_data | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer | 2505692175550160896 |
| PARAM_VALUE | 2 | count | 1 |
| BUF_SIZE | 0 | substream | (-1),8,16 |
| BUF_SIZE | 0 | substream | (-1),8,16 |
| DATA_SOURCE | 0 | substream | $0 |
| NOSPEC | 0 | substream->runtime->avail | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | substream->runtime->avail | 1-9223372039002259453[c] |
| LOCK2 | &uart->open_lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct snd_uart16550)->open_lock |
sound/firewire/amdtp-am824.c write_midi_messages() -> snd_rawmidi_transmit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 1-u64max |
| PARAM_VALUE | 1 | buffer | 4096-ptr_max |
| PARAM_VALUE | 2 | count | 1 |
| TASK_NOT_RUNNING |
sound/pci/rme9652/hdsp.c snd_hdsp_midi_output_write() -> snd_rawmidi_transmit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->opened | 1 |
| PARAM_VALUE | 0 | substream->runtime | 4096-ptr_max |
| PARAM_VALUE | 0 | substream->runtime->avail | 0-18446744073709551614 |
| PARAM_VALUE | 0 | substream->runtime->buffer | 1-u64max |
| PARAM_VALUE | 0 | substream->runtime->buffer_size | 1-u64max |
| PARAM_VALUE | 1 | buffer | 4567516481759072256 |
| PARAM_VALUE | 2 | count | 1-128 |
| BUF_SIZE | 1 | buffer | 128 |
| CAPPED_DATA | 0 | substream->runtime->avail | 1 |
| CAPPED_DATA | 0 | substream->runtime->buffer_size | 1 |
| FUZZY_MAX | 2 | count | 128 |
| PARAM_COMPARE | 0 | substream->runtime->avail | < $0->runtime->buffer_size |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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_output_write() -> snd_rawmidi_transmit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 1-u64max |
| PARAM_VALUE | 1 | buffer | 2927482528488198144 |
| PARAM_VALUE | 2 | count | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &midi->virtual | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct _snd_wavefront_midi)->virtual |
sound/isa/wavefront/wavefront_midi.c snd_wavefront_midi_output_write() -> snd_rawmidi_transmit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | substream | 4096-ptr_max |
| PARAM_VALUE | 1 | buffer | 2927482528488198144 |
| PARAM_VALUE | 2 | count | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &midi->virtual | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct _snd_wavefront_midi)->virtual |