Home
last modified time | relevance | path

Searched refs:SNDRV_RAWMIDI_DEVICES (Results 1 – 3 of 3) sorted by relevance

/linux-6.3-rc2/sound/core/seq/
A Dseq_midi.c53 int ports_per_device[SNDRV_RAWMIDI_DEVICES];
54 struct seq_midisynth *ports[SNDRV_RAWMIDI_DEVICES];
278 if (snd_BUG_ON(!card || device < 0 || device >= SNDRV_RAWMIDI_DEVICES)) in snd_seq_midisynth_probe()
299 if (ports > (256 / SNDRV_RAWMIDI_DEVICES)) in snd_seq_midisynth_probe()
300 ports = 256 / SNDRV_RAWMIDI_DEVICES; in snd_seq_midisynth_probe()
338 port->addr.port = device * (256 / SNDRV_RAWMIDI_DEVICES) + p; in snd_seq_midisynth_probe()
/linux-6.3-rc2/include/sound/
A Drawmidi.h26 #define SNDRV_RAWMIDI_DEVICES 8 macro
/linux-6.3-rc2/sound/core/
A Drawmidi.c1016 if (device >= SNDRV_RAWMIDI_DEVICES) /* next device is -1 */ in snd_rawmidi_control_ioctl()
1017 device = SNDRV_RAWMIDI_DEVICES - 1; in snd_rawmidi_control_ioctl()
1020 while (device < SNDRV_RAWMIDI_DEVICES) { in snd_rawmidi_control_ioctl()
1025 if (device == SNDRV_RAWMIDI_DEVICES) in snd_rawmidi_control_ioctl()
1934 if (rmidi->device >= SNDRV_RAWMIDI_DEVICES) in snd_rawmidi_dev_register()
2086 if (midi_map[i] < 0 || midi_map[i] >= SNDRV_RAWMIDI_DEVICES) { in alsa_rawmidi_init()
2091 if (amidi_map[i] < 0 || amidi_map[i] >= SNDRV_RAWMIDI_DEVICES) { in alsa_rawmidi_init()

Completed in 8 milliseconds