Lines Matching defs:writereg
163 writereg(struct net_device *dev, int portno, int value)
315 writereg(dev, PP_BusCTL, readreg(dev, PP_BusCTL) & ~ENABLE_IRQ);
323 writereg(dev, PP_CS8900_ISAINT, 0);
325 writereg(dev, PP_CS8920_ISAINT, 0);
329 writereg(dev, PP_IA+i*2, dev->dev_addr[i*2] | (dev->dev_addr[i*2+1] << 8));
332 writereg(dev, PP_LineCTL, readreg(dev, PP_LineCTL) | SERIAL_RX_ON | SERIAL_TX_ON);
336 writereg(dev, PP_RxCTL, DEF_RX_ACCEPT);
340 writereg(dev, PP_RxCFG, lp->curr_rx_cfg);
342 writereg(dev, PP_TxCFG, TX_LOST_CRS_ENBL | TX_SQE_ERROR_ENBL | TX_OK_ENBL |
345 writereg(dev, PP_BufCFG, READY_FOR_TX_ENBL | RX_MISS_COUNT_OVRFLOW_ENBL |
349 writereg(dev, PP_BusCTL, readreg(dev, PP_BusCTL) | ENABLE_IRQ);
373 writereg(dev, PP_TxCMD, lp->send_cmd);
374 writereg(dev, PP_TxLength, skb->len);
511 writereg(dev, PP_RxCFG, 0);
512 writereg(dev, PP_TxCFG, 0);
513 writereg(dev, PP_BufCFG, 0);
514 writereg(dev, PP_BusCTL, 0);
560 writereg(dev, PP_RxCTL, DEF_RX_ACCEPT | lp->rx_mode);
563 writereg(dev, PP_RxCFG, lp->curr_rx_cfg |
577 writereg(dev, PP_IA+i*2, dev->dev_addr[i*2] | (dev->dev_addr[i*2+1] << 8));