Home
last modified time | relevance | path

Searched refs:SNDRV_RAWMIDI_DEVICES (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/sound/core/seq/
H A Dseq_midi.c53 int ports_per_device[SNDRV_RAWMIDI_DEVICES];
54 struct seq_midisynth *ports[SNDRV_RAWMIDI_DEVICES];
273 if (snd_BUG_ON(!card || device < 0 || device >= SNDRV_RAWMIDI_DEVICES)) in snd_seq_midisynth_probe()
294 if (ports > (256 / SNDRV_RAWMIDI_DEVICES)) in snd_seq_midisynth_probe()
295 ports = 256 / SNDRV_RAWMIDI_DEVICES; in snd_seq_midisynth_probe()
333 port->addr.port = device * (256 / SNDRV_RAWMIDI_DEVICES) + p; in snd_seq_midisynth_probe()
/kernel/linux/linux-6.6/sound/core/seq/
H A Dseq_midi.c54 int ports_per_device[SNDRV_RAWMIDI_DEVICES];
55 struct seq_midisynth *ports[SNDRV_RAWMIDI_DEVICES];
283 if (snd_BUG_ON(!card || device < 0 || device >= SNDRV_RAWMIDI_DEVICES)) in snd_seq_midisynth_probe()
304 if (ports > (256 / SNDRV_RAWMIDI_DEVICES)) in snd_seq_midisynth_probe()
305 ports = 256 / SNDRV_RAWMIDI_DEVICES; in snd_seq_midisynth_probe()
344 port->addr.port = device * (256 / SNDRV_RAWMIDI_DEVICES) + p; in snd_seq_midisynth_probe()
/kernel/linux/linux-5.10/include/sound/
H A Drawmidi.h26 #define SNDRV_RAWMIDI_DEVICES 8 macro
/kernel/linux/linux-6.6/include/sound/
H A Drawmidi.h27 #define SNDRV_RAWMIDI_DEVICES 8 macro
/kernel/linux/linux-5.10/sound/core/
H A Drawmidi.c935 if (device >= SNDRV_RAWMIDI_DEVICES) /* next device is -1 */ in snd_rawmidi_control_ioctl()
936 device = SNDRV_RAWMIDI_DEVICES - 1; in snd_rawmidi_control_ioctl()
939 while (device < SNDRV_RAWMIDI_DEVICES) { in snd_rawmidi_control_ioctl()
944 if (device == SNDRV_RAWMIDI_DEVICES) in snd_rawmidi_control_ioctl()
1773 if (rmidi->device >= SNDRV_RAWMIDI_DEVICES) in snd_rawmidi_dev_register()
1925 if (midi_map[i] < 0 || midi_map[i] >= SNDRV_RAWMIDI_DEVICES) { in alsa_rawmidi_init()
1930 if (amidi_map[i] < 0 || amidi_map[i] >= SNDRV_RAWMIDI_DEVICES) { in alsa_rawmidi_init()
/kernel/linux/linux-6.6/sound/core/
H A Drawmidi.c1026 if (device >= SNDRV_RAWMIDI_DEVICES) /* next device is -1 */ in snd_rawmidi_next_device()
1027 device = SNDRV_RAWMIDI_DEVICES - 1; in snd_rawmidi_next_device()
1030 for (; device < SNDRV_RAWMIDI_DEVICES; device++) { in snd_rawmidi_next_device()
1038 if (device == SNDRV_RAWMIDI_DEVICES) in snd_rawmidi_next_device()
2024 if (rmidi->device >= SNDRV_RAWMIDI_DEVICES) in snd_rawmidi_dev_register()
2179 if (midi_map[i] < 0 || midi_map[i] >= SNDRV_RAWMIDI_DEVICES) { in alsa_rawmidi_init()
2184 if (amidi_map[i] < 0 || amidi_map[i] >= SNDRV_RAWMIDI_DEVICES) { in alsa_rawmidi_init()

Completed in 9 milliseconds