Lines Matching refs:base_addr

123 		printk(" %04x", inw(dev->base_addr + z));  in dumpregs()
196 if ((inw(dev->base_addr + regoffs) & mask) == value) in wait_timeout()
211 bcmval = inb(dev->base_addr + BCMREG); in ResetBoard()
216 outb(bcmval, dev->base_addr + BCMREG); in ResetBoard()
219 outb(bcmval, dev->base_addr + BCMREG); in ResetBoard()
224 outb(bcmval, dev->base_addr + BCMREG); in ResetBoard()
320 outw(priv->rrastart, dev->base_addr + SONIC_RSA); in InitSONIC()
322 dev->base_addr + SONIC_REA); in InitSONIC()
323 outw(priv->rrastart, dev->base_addr + SONIC_RRP); in InitSONIC()
324 outw(priv->rrastart, dev->base_addr + SONIC_RWP); in InitSONIC()
328 outw((PKTSIZE - 4) >> 1, dev->base_addr + SONIC_EOBC); in InitSONIC()
332 outw(CMDREG_RRRA, dev->base_addr + SONIC_CMDREG); in InitSONIC()
342 outw(0, dev->base_addr + SONIC_URDA); in InitSONIC()
343 outw(priv->rdastart, dev->base_addr + SONIC_CRDA); in InitSONIC()
347 outw(0, dev->base_addr + SONIC_UTDA); in InitSONIC()
358 outb(inb(dev->base_addr + BCMREG) & (~BCMREG_IEN), in StopSONIC()
359 dev->base_addr + BCMREG); in StopSONIC()
360 outb(0, dev->base_addr + SONIC_IMREG); in StopSONIC()
364 outw(CMDREG_RST, dev->base_addr + SONIC_CMDREG); in StopSONIC()
366 outw(CMDREG_RST, dev->base_addr + SONIC_CMDREG); in StopSONIC()
393 outw(CMDREG_RST, dev->base_addr + SONIC_CMDREG); in InitBoard()
398 outw(inw(dev->base_addr + SONIC_ISREG), in InitBoard()
399 dev->base_addr + SONIC_ISREG); in InitBoard()
405 dev->base_addr + SONIC_DCREG); in InitBoard()
406 outw(0, dev->base_addr + SONIC_DCREG2); in InitBoard()
410 outw(0, dev->base_addr + SONIC_CMDREG); in InitBoard()
415 outw(0, dev->base_addr + SONIC_URRA); in InitBoard()
446 outw(0, dev->base_addr + SONIC_CAMPTR); in InitBoard()
447 outw(camcnt, dev->base_addr + SONIC_CAMCNT); in InitBoard()
448 outw(CMDREG_LCAM, dev->base_addr + SONIC_CMDREG); in InitBoard()
457 outw(ISREG_LCD, dev->base_addr + SONIC_ISREG); in InitBoard()
461 inw(dev->base_addr + SONIC_URRA), in InitBoard()
462 inw(dev->base_addr + SONIC_CAMPTR)); in InitBoard()
467 inw(dev->base_addr + SONIC_CAMPTR), in InitBoard()
468 inw(dev->base_addr + SONIC_CAMCNT)); in InitBoard()
469 outw(CMDREG_RST, dev->base_addr + SONIC_CMDREG); in InitBoard()
471 outw(z, dev->base_addr + SONIC_CAMEPTR); in InitBoard()
473 inw(dev->base_addr + in InitBoard()
475 inw(dev->base_addr + in InitBoard()
477 inw(dev->base_addr + in InitBoard()
480 outw(0, dev->base_addr + SONIC_CMDREG); in InitBoard()
500 outw(rcrval, dev->base_addr + SONIC_RCREG); in InitBoard()
513 outw(0xffff, dev->base_addr + SONIC_ISREG); in InitBoard()
517 outw(CMDREG_RXEN, dev->base_addr + SONIC_CMDREG); in InitBoard()
519 dev->base_addr + SONIC_IMREG); in InitBoard()
523 outb(inb(dev->base_addr + BCMREG) | BCMREG_IEN, in InitBoard()
524 dev->base_addr + BCMREG); in InitBoard()
543 outw(addr, dev->base_addr + SONIC_CTDA); in StartTx()
548 outw(CMDREG_TXP, dev->base_addr + SONIC_CMDREG); in StartTx()
563 outw(priv->rrastart, dev->base_addr + SONIC_RRP); in irqrbe_handler()
564 outw(priv->rrastart, dev->base_addr + SONIC_RWP); in irqrbe_handler()
761 if (!(inb(dev->base_addr + BCMREG) & BCMREG_IPEND)) in irq_handler()
775 ival = inw(dev->base_addr + SONIC_ISREG); in irq_handler()
779 outw(ISREG_RBE, dev->base_addr + SONIC_ISREG); in irq_handler()
784 outw(ISREG_PKTRX, dev->base_addr + SONIC_ISREG); in irq_handler()
789 outw(ISREG_TXDN, dev->base_addr + SONIC_ISREG); in irq_handler()
794 outw(ISREG_TXER, dev->base_addr + SONIC_ISREG); in irq_handler()
832 len += sprintf(buf + len, "I/O: %#lx\n", dev->base_addr); in ibmlana_getinfo()
1144 dev->base_addr = iobase; in ibmlana_probe()
1164 dev->dev_addr[z] = inb(dev->base_addr + MACADDRPROM + z); in ibmlana_probe()
1170 dev->name, priv->realirq, dev->base_addr, in ibmlana_probe()
1212 moddevs[z].base_addr = io; in init_module()
1240 release_region(dev->base_addr, IBM_LANA_IORANGE); in cleanup_module()