Lines Matching refs:readreg
141 readreg(struct net_device *dev, int portno) in readreg() function
221 rev_type = readreg(dev, PRODUCT_ID_ADD); in mac89x0_device_probe()
241 if ((readreg(dev, PP_SelfST) & (EEPROM_PRESENT | EEPROM_OK)) == 0) { in mac89x0_device_probe()
249 unsigned short s = readreg(dev, PP_IA + i); in mac89x0_device_probe()
291 writereg(dev, PP_BusCTL, readreg(dev, PP_BusCTL) & ~ENABLE_IRQ); in net_open()
308 writereg(dev, PP_LineCTL, readreg(dev, PP_LineCTL) | SERIAL_RX_ON | SERIAL_TX_ON); in net_open()
325 writereg(dev, PP_BusCTL, readreg(dev, PP_BusCTL) | ENABLE_IRQ); in net_open()
351 if ((readreg(dev, PP_BusST) & READY_FOR_TX_NOW) == 0) { in net_send_packet()
442 status = readreg(dev, PP_RxStatus); in net_rx()
458 length = readreg(dev, PP_RxLength); in net_rx()
509 dev->stats.rx_missed_errors += (readreg(dev, PP_RxMiss) >> 6); in net_get_stats()
510 dev->stats.collisions += (readreg(dev, PP_TxCol) >> 6); in net_get_stats()