Searched refs:ports (Results 1 - 15 of 15) sorted by relevance

/sound/oss/
H A Dad1848.h14 int ad1848_init(char *name, struct resource *ports, int irq, int dma_playback,
18 int ad1848_detect (struct resource *ports, int *flags, int *osp);
21 void attach_ms_sound(struct address_info * hw_config, struct resource *ports, struct module * owner);
23 int probe_ms_sound(struct address_info *hw_config, struct resource *ports);
H A Dmpu401.h9 int probe_mpu401(struct address_info *hw_config, struct resource *ports);
H A Dtrix.c128 struct resource *ports; local
179 ports = request_region(hw_config->io_base + 4, 4, "ad1848");
180 if (!ports) {
217 ret = ad1848_detect(ports, NULL, hw_config->osp);
248 hw_config->slots[0] = ad1848_init("AudioTrix Pro", ports,
H A Dpss.c739 struct resource *ports; local
745 ports = request_region(hw_config->io_base, 2, "mpu401");
747 if (!ports) {
778 if (!probe_mpu401(hw_config, ports))
1031 struct resource *ports; local
1041 ports = request_region(hw_config->io_base + 4, 4, "ad1848");
1042 if (!ports) {
1072 if (!probe_ms_sound(hw_config, ports))
1089 attach_ms_sound(hw_config, ports, THIS_MODULE); /* Slot 0 */
H A Dad1848.c1537 int ad1848_detect(struct resource *ports, int *ad_flags, int *osp) argument
1547 int io_base = ports->start;
1946 int ad1848_init (char *name, struct resource *ports, int irq, int dma_playback, argument
1981 rename_region(ports, devc->name);
2509 int probe_ms_sound(struct address_info *hw_config, struct resource *ports) argument
2518 return ad1848_detect(ports, NULL, hw_config->osp);
2544 if (!(ret = ad1848_detect(ports, NULL, hw_config->osp)))
2557 if (!(ret = ad1848_detect(ports, NULL, hw_config->osp)))
2592 return ad1848_detect(ports, NULL, hw_config->osp);
2595 void attach_ms_sound(struct address_info *hw_config, struct resource *ports, struc argument
2998 struct resource *ports; local
[all...]
H A Dmpu401.c1055 int ports = (devc->revision & 0x08) ? 32 : 16; local
1062 ports,
1186 int probe_mpu401(struct address_info *hw_config, struct resource *ports) argument
1762 struct resource *ports; local
1765 ports = request_region(io, 2, "mpu401");
1766 if (!ports)
1768 if (probe_mpu401(&cfg, ports) == 0) {
H A Dsb_common.c1214 struct resource *ports; local
1215 ports = request_region(hw_config->io_base, 2, "mpu401");
1216 if (!ports) {
1226 if (!probe_mpu401(hw_config, ports)) {
/sound/core/seq/
H A Dseq_midi.c24 - automatic opening of midi ports on first received event or subscription
68 struct seq_midisynth *ports[SNDRV_RAWMIDI_DEVICES]; member in struct:seq_midisynth_client
285 unsigned int p, ports; local
305 ports = output_count;
306 if (ports < input_count)
307 ports = input_count;
308 if (ports == 0) {
312 if (ports > (256 / SNDRV_RAWMIDI_DEVICES))
313 ports = 256 / SNDRV_RAWMIDI_DEVICES;
337 msynth = kcalloc(ports, sizeo
436 int device = dev->device, p, ports; local
[all...]
H A Dseq_dummy.c47 The number of ports to be created can be specified via the module
48 parameter "ports". For example, to create four ports, add the
51 option snd-seq-dummy ports=4
54 In duplex mode, a pair of ports are created instead of single port,
55 and events are tunneled between pair-ports. For example, input to
67 static int ports = 1; variable
70 module_param(ports, int, 0444);
71 MODULE_PARM_DESC(ports, "number of ports t
[all...]
H A Dseq_clientmgr.c705 * broadcast to all ports:
738 * if destination port is also ADDRESS_BROADCAST, deliver to all ports.
1123 info.ports = 256; /* fixed limit */
1347 * SET_PORT_INFO ioctl() (only ports on this/own client)
1358 if (info.addr.client != client->number) /* only set our own ports ! */
/sound/drivers/
H A Dmtpav.c47 * - hwports is between 1 and 8, which specifies the number of hardware ports.
48 * The three global ports, computer, adat and broadcast ports, are created
49 * always after h/w and remote ports.
82 static int hwports = MTPAV_MAX_PORTS; /* use hardware ports 1-8 */
93 MODULE_PARM_DESC(hwports, "Hardware ports # for MotuMTPAV MIDI.");
148 int num_ports; /* number of hw ports (1-8) */
149 struct mtpav_port ports[NUMPORTS]; /* all ports including computer, adat and bc */ member in struct:mtpav
159 * possible hardware ports (selecte
[all...]
/sound/usb/
H A Dmidi.c160 } ports[0x10]; member in struct:snd_usb_midi_out_endpoint
172 } ports[0x10]; member in struct:snd_usb_midi_in_endpoint
224 struct usbmidi_in_port* port = &ep->ports[portidx];
436 struct usbmidi_in_port *port = &ep->ports[cable];
608 /* FIXME: lower-numbered ports can starve higher-numbered ports */
610 struct usbmidi_out_port* port = &ep->ports[p];
686 struct snd_rawmidi_substream *substream = ep->ports[0].substream;
688 if (!ep->ports[0].active)
699 ep->ports[
[all...]
/sound/synth/emux/
H A Demux_proc.c43 snd_iprintf(buf, " %d:%d", emu->client, emu->ports[i]);
H A Demux_seq.c63 * a series of ports.
64 * Each of the ports will contain the 16 midi channels. Applications
65 * can connect to these ports to play midi data.
85 snd_printk(KERN_WARNING "too many ports."
86 "limited max. ports %d\n", SNDRV_EMUX_MAX_PORTS);
109 emu->ports[i] = p->chset.port;
118 * Detach from the ports that were set up for this synthesizer and
373 rdev->port = emu->ports[i];
/sound/pci/
H A Dcmipci.c2865 static int ports[] = { 0x201, 0x200, 0 }; /* FIXME: majority is 0x201? */ local
2874 for (i = 0; ports[i]; i++) {
2875 io_port = ports[i];
2886 printk(KERN_WARNING "cmipci: cannot reserve joystick ports\n");
2975 /* then try legacy ports */

Completed in 3506 milliseconds