Lines Matching full:ioaddr
101 unsigned int ioaddr;
112 static int eeprom_read(long ioaddr, int location);
139 dev->ioaddr = pci->membase;
142 prev_eedata = eeprom_read(dev->ioaddr, 6);
144 int eedata = eeprom_read(dev->ioaddr, i + 7);
169 writel(virt_to_bus(dev->rx_ring), dev->ioaddr + RxRingPtr);
170 writel(virt_to_bus(dev->tx_ring), dev->ioaddr + TxRingPtr);
174 writel(i, dev->ioaddr + RxFilterAddr);
176 dev->ioaddr + RxFilterData);
181 if (readl(dev->ioaddr + ChipConfig) & 0x20000000)
191 writel(tx_config, dev->ioaddr + TxConfig);
192 writel(rx_config, dev->ioaddr + RxConfig);
194 duplex = readl(dev->ioaddr + ChipConfig) & 0x20000000 ? 1 : 0;
202 writew(tx_config, dev->ioaddr + TxConfig);
203 writew(rx_config, dev->ioaddr + RxConfig);
206 dev->ioaddr + RxFilterAddr);
208 writel(RxOn | TxOn, dev->ioaddr + ChipCmd);
209 writel(4, dev->ioaddr + StatsCtrl); /* Clear Stats */
220 outl(ChipReset, dev->ioaddr + ChipCmd);
222 if ((readl(dev->ioaddr + ChipConfig) & 0xe000) != 0xe000)
224 chip_config = readl(dev->ioaddr + ChipConfig);
249 readl(dev->ioaddr + IntrStatus); /* clear interrrupt bits */
265 writel(RxOn, dev->ioaddr + ChipCmd);
303 writel(TxOn, dev->ioaddr + ChipCmd);
316 readl(dev->ioaddr + IntrStatus); /* clear interrrupt bits */
325 writel(RxOff | TxOff, dev->ioaddr + ChipCmd);