Lines Matching refs:writereg
147 writereg(struct net_device *dev, int portno, int value) in writereg() function
288 writereg(dev, PP_BusCTL, readreg(dev, PP_BusCTL) & ~ENABLE_IRQ); in net_open()
296 writereg(dev, PP_CS8900_ISAINT, 0); in net_open()
298 writereg(dev, PP_CS8920_ISAINT, 0); in net_open()
302 writereg(dev, PP_IA+i*2, dev->dev_addr[i*2] | (dev->dev_addr[i*2+1] << 8)); in net_open()
305 writereg(dev, PP_LineCTL, readreg(dev, PP_LineCTL) | SERIAL_RX_ON | SERIAL_TX_ON); in net_open()
309 writereg(dev, PP_RxCTL, DEF_RX_ACCEPT); in net_open()
313 writereg(dev, PP_RxCFG, lp->curr_rx_cfg); in net_open()
315 writereg(dev, PP_TxCFG, TX_LOST_CRS_ENBL | TX_SQE_ERROR_ENBL | TX_OK_ENBL | in net_open()
318 writereg(dev, PP_BufCFG, READY_FOR_TX_ENBL | RX_MISS_COUNT_OVRFLOW_ENBL | in net_open()
322 writereg(dev, PP_BusCTL, readreg(dev, PP_BusCTL) | ENABLE_IRQ); in net_open()
344 writereg(dev, PP_TxCMD, lp->send_cmd); in net_send_packet()
345 writereg(dev, PP_TxLength, skb->len); in net_send_packet()
482 writereg(dev, PP_RxCFG, 0); in net_close()
483 writereg(dev, PP_TxCFG, 0); in net_close()
484 writereg(dev, PP_BufCFG, 0); in net_close()
485 writereg(dev, PP_BusCTL, 0); in net_close()
528 writereg(dev, PP_RxCTL, DEF_RX_ACCEPT | lp->rx_mode); in set_multicast_list()
531 writereg(dev, PP_RxCFG, lp->curr_rx_cfg | in set_multicast_list()
549 writereg(dev, PP_IA+i*2, dev->dev_addr[i*2] | (dev->dev_addr[i*2+1] << 8)); in set_mac_address()