Lines Matching refs:writereg
147 writereg(struct net_device *dev, int portno, int value) in writereg() function
291 writereg(dev, PP_BusCTL, readreg(dev, PP_BusCTL) & ~ENABLE_IRQ); in net_open()
299 writereg(dev, PP_CS8900_ISAINT, 0); in net_open()
301 writereg(dev, PP_CS8920_ISAINT, 0); in net_open()
305 writereg(dev, PP_IA+i*2, dev->dev_addr[i*2] | (dev->dev_addr[i*2+1] << 8)); in net_open()
308 writereg(dev, PP_LineCTL, readreg(dev, PP_LineCTL) | SERIAL_RX_ON | SERIAL_TX_ON); in net_open()
312 writereg(dev, PP_RxCTL, DEF_RX_ACCEPT); in net_open()
316 writereg(dev, PP_RxCFG, lp->curr_rx_cfg); in net_open()
318 writereg(dev, PP_TxCFG, TX_LOST_CRS_ENBL | TX_SQE_ERROR_ENBL | TX_OK_ENBL | in net_open()
321 writereg(dev, PP_BufCFG, READY_FOR_TX_ENBL | RX_MISS_COUNT_OVRFLOW_ENBL | in net_open()
325 writereg(dev, PP_BusCTL, readreg(dev, PP_BusCTL) | ENABLE_IRQ); in net_open()
347 writereg(dev, PP_TxCMD, lp->send_cmd); in net_send_packet()
348 writereg(dev, PP_TxLength, skb->len); in net_send_packet()
485 writereg(dev, PP_RxCFG, 0); in net_close()
486 writereg(dev, PP_TxCFG, 0); in net_close()
487 writereg(dev, PP_BufCFG, 0); in net_close()
488 writereg(dev, PP_BusCTL, 0); in net_close()
531 writereg(dev, PP_RxCTL, DEF_RX_ACCEPT | lp->rx_mode); in set_multicast_list()
534 writereg(dev, PP_RxCFG, lp->curr_rx_cfg | in set_multicast_list()
552 writereg(dev, PP_IA+i*2, dev->dev_addr[i*2] | (dev->dev_addr[i*2+1] << 8)); in set_mac_address()