Lines Matching defs:port
37 static unsigned long port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT;
50 module_param_hw_array(port, long, ioport, NULL, 0444);
51 MODULE_PARM_DESC(port, "Port # for jazz16 driver.");
53 MODULE_PARM_DESC(mpu_port, "MPU-401 port # for jazz16 driver.");
78 static int jazz16_configure_ports(unsigned long port,
84 snd_printk(KERN_ERR "config port region is already in use.\n");
91 val = port & 0x70;
99 static int jazz16_detect_board(unsigned long port,
106 if (!request_region(port, 0x10, "jazz16")) {
107 snd_printk(KERN_ERR "I/O port region is already in use.\n");
111 chip.port = port;
116 err = jazz16_configure_ports(port, mpu_port, val);
152 release_region(port, 0x10);
187 if (port[dev] == SNDRV_AUTO_PORT) {
188 snd_printk(KERN_ERR "please specify port\n");
190 } else if (port[dev] == 0x200 || (port[dev] & ~0x270)) {
191 snd_printk(KERN_ERR "incorrect port specified\n");
264 err = jazz16_detect_board(port[dev], xmpu_port);
269 err = snd_sbdsp_create(card, port[dev], irq[dev],
292 port[dev], xirq, xdma8, xdma16);
301 err = snd_opl3_create(card, chip->port, chip->port + 2,
305 chip->port, chip->port + 2);