Lines Matching defs:port
141 #define ALI_REG(codec, x) ((codec)->port + x)
215 unsigned long port;
267 unsigned int port)
269 return (unsigned int)inl(ALI_REG(codec, port));
273 unsigned int port,
276 outl((unsigned int)val, ALI_REG(codec, port));
280 unsigned int port)
288 res = snd_ali_5451_peek(codec,port);
296 snd_ali_5451_poke(codec, port, res & ~0x8000);
327 unsigned int port;
335 port = codec->chregs.regs.ac97write;
337 if (snd_ali_codec_ready(codec, port) < 0)
349 snd_ali_5451_poke(codec, port, dwVal);
359 unsigned int port;
367 port = codec->chregs.regs.ac97read;
369 if (snd_ali_codec_ready(codec, port) < 0)
379 snd_ali_5451_poke(codec, port, dwVal);
383 if (snd_ali_codec_ready(codec, port) < 0)
386 return (snd_ali_5451_peek(codec, port) & 0xffff0000) >> 16;
2010 codec->port = pci_resource_start(codec->pci, 0);
2162 card->shortname, codec->port, codec->irq);