Lines Matching refs:datareg
134 unsigned int datareg, statusreg; /* I/O ports */ member
247 #define is_8bit(cosa) (!(cosa->datareg & 0x08))
251 #define cosa_getdata16(cosa) (cosa_inw(cosa->datareg))
252 #define cosa_getdata8(cosa) (cosa_inb(cosa->datareg))
253 #define cosa_putdata16(cosa, dt) (cosa_outw(dt, cosa->datareg))
254 #define cosa_putdata8(cosa, dt) (cosa_outb(dt, cosa->datareg))
413 release_region(cosa->datareg, is_8bit(cosa) ? 2 : 4); in cosa_exit()
460 cosa->datareg = base; in cosa_probe()
515 irq, cosa->datareg); in cosa_probe()
521 cosa->datareg); in cosa_probe()
575 chan->netdev->base_addr = chan->cosa->datareg; in cosa_probe()
589 cosa->datareg, cosa->irq, cosa->dma, cosa->nchannels); in cosa_probe()
606 release_region(cosa->datareg,is_8bit(cosa)?2:4); in cosa_probe()