Lines Matching defs:iow
170 iow(struct board_info *db, int reg, int value)
185 iow(db, DM9000_NCR, NCR_RST | NCR_MAC_LBK);
190 iow(db, DM9000_NCR, 0);
191 iow(db, DM9000_NCR, NCR_RST | NCR_MAC_LBK);
294 iow(db, DM9000_EPAR, DM9000_PHY | reg);
297 iow(db, DM9000_EPCR, EPCR_ERPRR | EPCR_EPOS);
307 iow(db, DM9000_EPCR, 0x0); /* Clear phyxcer read command */
341 iow(db, DM9000_EPAR, DM9000_PHY | reg);
344 iow(db, DM9000_EPDRL, value);
345 iow(db, DM9000_EPDRH, value >> 8);
348 iow(db, DM9000_EPCR, EPCR_EPOS | EPCR_ERPRW);
358 iow(db, DM9000_EPCR, 0x0); /* Clear phyxcer write command */
486 iow(db, DM9000_EPAR, offset);
487 iow(db, DM9000_EPCR, EPCR_ERPRR);
498 iow(db, DM9000_EPCR, 0x0);
522 iow(db, DM9000_EPAR, offset);
523 iow(db, DM9000_EPDRH, data[1]);
524 iow(db, DM9000_EPDRL, data[0]);
525 iow(db, DM9000_EPCR, EPCR_WEP | EPCR_ERPRW);
533 iow(db, DM9000_EPCR, 0);
599 iow(dm, DM9000_RCSR, (features & NETIF_F_RXCSUM) ? RCSR_CSUM : 0);
718 iow(dm, DM9000_WCR, wcr);
852 iow(db, oft, dev->dev_addr[i]);
868 iow(db, oft++, hash_table[i]);
869 iow(db, oft++, hash_table[i] >> 8);
872 iow(db, DM9000_RCR, rcr);
889 iow(db, DM9000_IMR, IMR_PAR);
895 iow(db, DM9000_IMR, db->imr_all);
918 iow(db, DM9000_RCSR,
921 iow(db, DM9000_GPCR, GPCR_GEP_CNTL); /* Let GPIO0 output */
922 iow(db, DM9000_GPR, 0);
940 iow(db, DM9000_NCR, ncr);
943 iow(db, DM9000_TCR, 0); /* TX Polling clear */
944 iow(db, DM9000_BPTR, 0x3f); /* Less 3Kb, 200us */
945 iow(db, DM9000_FCR, 0xff); /* Flow Control */
946 iow(db, DM9000_SMCR, 0); /* Special Mode */
948 iow(db, DM9000_NSR, NSR_WAKEST | NSR_TX2END | NSR_TX1END);
949 iow(db, DM9000_ISR, ISR_CLR_STATUS); /* Clear interrupt status */
1000 iow(dm, DM9000_TCCR, 0);
1002 iow(dm, DM9000_TCCR, TCCR_IP | TCCR_UDP | TCCR_TCP);
1007 iow(dm, DM9000_TXPLL, pkt_len);
1008 iow(dm, DM9000_TXPLH, pkt_len >> 8);
1011 iow(dm, DM9000_TCR, TCR_TXREQ); /* Cleared after TX complete */
1110 iow(db, DM9000_RCR, 0x00); /* Stop Device */
1213 iow(db, DM9000_ISR, int_status); /* Clear ISR status */
1258 iow(db, DM9000_NSR, NSR_WAKEST);
1310 iow(db, DM9000_GPR, 0); /* REG_1F bit0 activate phyxcer */
1342 iow(db, DM9000_GPR, 0x01); /* Power-Down PHY */
1344 iow(db, DM9000_RCR, 0x00); /* Disable RX */