• Home
  • Raw
  • Download

Lines Matching refs:ioaddr

471 #define STOP_DEPCA(ioaddr) \
472 outw(CSR0, ioaddr + DEPCA_ADDR);\
473 outw(STOP, ioaddr + DEPCA_DATA)
504 outw(CSR1, nic->ioaddr + DEPCA_ADDR); /* initialisation block address LSW */
505 outw((u16) (lp.sh_mem & LA_MASK), nic->ioaddr + DEPCA_DATA);
506 outw(CSR2, nic->ioaddr + DEPCA_ADDR); /* initialisation block address MSW */
507 outw((u16) ((lp.sh_mem & LA_MASK) >> 16), nic->ioaddr + DEPCA_DATA);
508 outw(CSR3, nic->ioaddr + DEPCA_ADDR); /* ALE control */
509 outw(ACON, nic->ioaddr + DEPCA_DATA);
510 outw(CSR0, nic->ioaddr + DEPCA_ADDR); /* Point back to CSR0 */
519 outw(CSR0, nic->ioaddr + DEPCA_ADDR); /* point back to CSR0 */
520 outw(INIT, nic->ioaddr + DEPCA_DATA); /* initialise DEPCA */
522 for (i = 0; i < 100 && !(inw(nic->ioaddr + DEPCA_DATA) & IDON); i++)
526 outw(IDON | STRT, nic->ioaddr + DEPCA_DATA);
542 STOP_DEPCA(nic->ioaddr);
543 nicsr = inb(nic->ioaddr + DEPCA_NICSR);
545 outb(nicsr, nic->ioaddr + DEPCA_NICSR);
546 if (inw(nic->ioaddr + DEPCA_DATA) != STOP)
651 STOP_DEPCA(nic->ioaddr);
694 static int depca_probe1 ( isa_probe_addr_t ioaddr ) {
701 data = inb(ioaddr + DEPCA_PROM); /* clear counter on DEPCA */
702 data = inb(ioaddr + DEPCA_PROM); /* read data */
704 nicsr = inb(ioaddr + DEPCA_NICSR);
706 outb(nicsr, ioaddr + DEPCA_NICSR);
709 data = inb(ioaddr + DEPCA_PROM);
718 STOP_DEPCA(ioaddr);
719 nicsr = ((inb(ioaddr + DEPCA_NICSR) & ~SHE & ~RBE & ~IEN) | IM);
720 outb(nicsr, ioaddr + DEPCA_NICSR);
721 if (inw(ioaddr + DEPCA_DATA) != STOP)
747 nic->ioaddr = isa->ioaddr;
753 sum += (u8)(nic->node_addr[i++] = inb(nic->ioaddr + DEPCA_PROM));
754 sum += (u16)((nic->node_addr[i++] = inb(nic->ioaddr + DEPCA_PROM)) << 8);
760 chksum = (u8)inb(nic->ioaddr + DEPCA_PROM);
761 chksum |= (u16)(inb(nic->ioaddr + DEPCA_PROM) << 8);
770 outb(nicsr |= SHE, nic->ioaddr + DEPCA_NICSR);
772 adapter_name[adapter], nic->ioaddr, mem_start,