Lines Matching full:ioaddr
109 static unsigned short ioaddr;
118 outb(CARD_DISABLE, ioaddr + DLCR_ENABLE);
119 outb(CLEAR_STATUS, ioaddr + DLCR_XMIT_STAT);
120 outb(NO_TX_IRQS, ioaddr + DLCR_XMIT_MASK);
121 outb(CLR_RCV_STATUS, ioaddr + DLCR_RECV_STAT);
122 outb(XMIT_MODE, ioaddr + DLCR_XMIT_MODE);
123 outb(RECV_MODE, ioaddr + DLCR_RECV_MODE);
125 while ((inb(ioaddr + DLCR_RECV_MODE) & BUF_EMPTY) == 0)
126 inb(ioaddr + BMPR_MEM_PORT);
129 outb(nic->node_addr[i], ioaddr + DLCR_NODE_ID + i);
130 outb(CLR_RCV_STATUS, ioaddr + DLCR_RECV_STAT);
131 outb(CARD_ENABLE, ioaddr + DLCR_ENABLE);
141 if (inb(ioaddr + DLCR_RECV_MODE) & BUF_EMPTY)
144 outw(CLR_RCV_STATUS, ioaddr + DLCR_RECV_STAT);
145 len = inw(ioaddr + BMPR_MEM_PORT); /* throw away status */
146 len = inw(ioaddr + BMPR_MEM_PORT);
150 insw(ioaddr + BMPR_MEM_PORT, nic->packet, len / 2);
175 outsw(ioaddr + BMPR_MEM_PORT, d, ETH_ALEN / 2);
176 outsw(ioaddr + BMPR_MEM_PORT, nic->node_addr, ETH_ALEN / 2);
177 outw(t, ioaddr + BMPR_MEM_PORT);
178 outsw(ioaddr + BMPR_MEM_PORT, p, s / 2);
180 outb(p[s-1], ioaddr + BMPR_MEM_PORT);
182 outb(0, ioaddr + BMPR_MEM_PORT);
183 outw(len | (TMST << 8), ioaddr + BMPR_PKT_LEN);
186 while (currticks() < time && (inb(ioaddr) & (TMT_OK|TMT_16COLL)) == 0)
188 if ((inb(ioaddr) & (TMT_OK|TMT_16COLL)) == 0)
199 outb(CARD_DISABLE, ioaddr + DLCR_ENABLE);
210 nic->node_addr[i] = inb(ioaddr + PROM_ID + i);
215 printf("\nTiara ioaddr %#hX, addr %!\n", ioaddr, nic->node_addr);
239 for (p = probe_addrs; (ioaddr = *p) != 0; ++p)
243 if (ioaddr != 0)