Lines Matching defs:port
81 MODULE_PARM_DESC(mpu_port, "MPU-401 port. (VT82C686x only)");
123 #define VIAREG(via, x) ((via)->port + VIA_REG_##x)
124 #define VIADEV_REG(viadev, x) ((viadev)->port + VIA_REG_##x)
311 unsigned long port;
343 unsigned long port;
1416 chip->devs[idx].port = chip->port + reg_offset;
1599 unsigned long port = chip->port + (kcontrol->id.index ? (VIA_REG_CAPTURE_CHANNEL + 0x10) : VIA_REG_CAPTURE_CHANNEL);
1600 ucontrol->value.enumerated.item[0] = inb(port) & VIA_REG_CAPTURE_CHANNEL_MIC ? 1 : 0;
1608 unsigned long port = chip->port + (kcontrol->id.index ? (VIA_REG_CAPTURE_CHANNEL + 0x10) : VIA_REG_CAPTURE_CHANNEL);
1612 oval = inb(port);
1617 outb(val, port);
1705 unsigned long port = chip->port + 0x10 * idx;
1717 outb(val, port + VIA_REG_OFS_PLAYBACK_VOLUME_L + i);
1740 unsigned long port = chip->port + 0x10 * idx;
1742 outb(val, port + VIA_REG_OFS_PLAYBACK_VOLUME_L + i);
1920 dev_warn(chip->card->dev, "cannot reserve joystick port %#x\n",
1937 /* Enable legacy joystick port */
2108 snd_iprintf(buffer, "%02x: %08x\n", i, inl(chip->port + i));
2225 unsigned long port = chip->port + 0x10 * idx;
2229 port + VIA_REG_OFS_PLAYBACK_VOLUME_L + i);
2255 chip->capture_src_saved[0] = inb(chip->port + VIA_REG_CAPTURE_CHANNEL);
2256 chip->capture_src_saved[1] = inb(chip->port + VIA_REG_CAPTURE_CHANNEL + 0x10);
2277 outb(chip->capture_src_saved[0], chip->port + VIA_REG_CAPTURE_CHANNEL);
2278 outb(chip->capture_src_saved[1], chip->port + VIA_REG_CAPTURE_CHANNEL + 0x10);
2343 chip->port = pci_resource_start(pci, 0);
2557 snd_ac97_get_short_name(chip->ac97), chip->port, chip->irq);