Lines Matching refs:port

342 	outl(regptr, emu->port + PTR);
343 val = inl(emu->port + DATA);
359 outl(regptr, emu->port + PTR);
360 outl(data, emu->port + DATA);
459 intr_enable = inl(emu->port + INTE) | intrenb;
460 outl(intr_enable, emu->port + INTE);
470 intr_enable = inl(emu->port + INTE) & ~intrenb;
471 outl(intr_enable, emu->port + INTE);
786 hcfg = inl(emu->port + HCFG) ;
788 outl(hcfg, emu->port + HCFG);
888 hcfg = inl(emu->port + HCFG) ;
890 outl(hcfg, emu->port + HCFG);
1142 outb(reg, emu->port + AC97ADDRESS);
1143 val = inw(emu->port + AC97DATA);
1155 outb(reg, emu->port + AC97ADDRESS);
1156 outw(val, emu->port + AC97DATA);
1196 // release the i/o port
1220 status = inl(chip->port + IPR);
1275 outl(status, chip->port+IPR);
1403 outl(0, chip->port + INTE);
1440 outb(AC97_REC_GAIN, chip->port + AC97ADDRESS);
1441 outw(0x8000, chip->port + AC97DATA);
1515 outl(0x0, chip->port+GPIO);
1516 /* outl(0x00f0e000, chip->port+GPIO); */ /* Analog */
1517 outl(0x005f5301, chip->port+GPIO); /* Analog */
1523 outl(0x0, chip->port+GPIO);
1524 /* outl(0x00f0e000, chip->port+GPIO); */ /* Analog */
1525 outl(0x005f5301, chip->port+GPIO); /* Analog */
1527 outl(0x0, chip->port+GPIO);
1528 outl(0x005f03a3, chip->port+GPIO); /* Analog */
1529 /* outl(0x005f02a2, chip->port+GPIO); */ /* SPDIF */
1533 /* outl(HCFG_LOCKSOUNDCACHE|HCFG_AUDIOENABLE, chip->port+HCFG); */
1535 /* outl(0x00001409, chip->port+HCFG); */
1536 /* outl(0x00000009, chip->port+HCFG); */
1538 outl(HCFG_AC97 | HCFG_AUDIOENABLE, chip->port+HCFG);
1580 outl(0, chip->port + INTE);
1584 /* outl(HCFG_LOCKSOUNDCACHE, chip->port + HCFG); */
1585 outl(0, chip->port + HCFG);
1627 chip->port = pci_resource_start(pci, 0);
1628 chip->res_port = request_region(chip->port, 0x20, "snd_ca0106");
1631 dev_err(card->dev, "cannot allocate the port\n");
1675 c->name, chip->port, chip->irq);
1702 midi->port + idx, 0);
1707 snd_ca0106_ptr_write((struct snd_ca0106 *)(midi->dev_id), midi->port + idx, 0, data);
1717 return ((struct snd_ca0106 *)dev_id)->port;
1733 midi->port = MIDI_UART_B_DATA;
1741 midi->port = MIDI_UART_A_DATA;