Searched refs:SNDRV_RAWMIDI_DEVICES (Results 1 – 3 of 3) sorted by relevance
54 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()302 if (ports > (256 / SNDRV_RAWMIDI_DEVICES)) in snd_seq_midisynth_probe()303 ports = 256 / SNDRV_RAWMIDI_DEVICES; in snd_seq_midisynth_probe()337 port->addr.port = device * (256 / SNDRV_RAWMIDI_DEVICES) + p; in snd_seq_midisynth_probe()
27 #define SNDRV_RAWMIDI_DEVICES 8 macro
998 if (device >= SNDRV_RAWMIDI_DEVICES) /* next device is -1 */ in snd_rawmidi_next_device()999 device = SNDRV_RAWMIDI_DEVICES - 1; in snd_rawmidi_next_device()1002 for (; device < SNDRV_RAWMIDI_DEVICES; device++) { in snd_rawmidi_next_device()1010 if (device == SNDRV_RAWMIDI_DEVICES) in snd_rawmidi_next_device()1959 if (rmidi->device >= SNDRV_RAWMIDI_DEVICES) in snd_rawmidi_dev_register()2111 if (midi_map[i] < 0 || midi_map[i] >= SNDRV_RAWMIDI_DEVICES) { in alsa_rawmidi_init()2116 if (amidi_map[i] < 0 || amidi_map[i] >= SNDRV_RAWMIDI_DEVICES) { in alsa_rawmidi_init()
Completed in 16 milliseconds