Lines Matching defs:iow
169 iow(struct board_info *db, int reg, int value)
184 iow(db, DM9000_NCR, NCR_RST | NCR_MAC_LBK);
189 iow(db, DM9000_NCR, 0);
190 iow(db, DM9000_NCR, NCR_RST | NCR_MAC_LBK);
290 iow(db, DM9000_EPAR, DM9000_PHY | reg);
293 iow(db, DM9000_EPCR, EPCR_ERPRR | EPCR_EPOS);
303 iow(db, DM9000_EPCR, 0x0); /* Clear phyxcer read command */
337 iow(db, DM9000_EPAR, DM9000_PHY | reg);
340 iow(db, DM9000_EPDRL, value);
341 iow(db, DM9000_EPDRH, value >> 8);
344 iow(db, DM9000_EPCR, EPCR_EPOS | EPCR_ERPRW);
354 iow(db, DM9000_EPCR, 0x0); /* Clear phyxcer write command */
482 iow(db, DM9000_EPAR, offset);
483 iow(db, DM9000_EPCR, EPCR_ERPRR);
494 iow(db, DM9000_EPCR, 0x0);
518 iow(db, DM9000_EPAR, offset);
519 iow(db, DM9000_EPDRH, data[1]);
520 iow(db, DM9000_EPDRL, data[0]);
521 iow(db, DM9000_EPCR, EPCR_WEP | EPCR_ERPRW);
529 iow(db, DM9000_EPCR, 0);
595 iow(dm, DM9000_RCSR, (features & NETIF_F_RXCSUM) ? RCSR_CSUM : 0);
714 iow(dm, DM9000_WCR, wcr);
848 iow(db, oft, dev->dev_addr[i]);
864 iow(db, oft++, hash_table[i]);
865 iow(db, oft++, hash_table[i] >> 8);
868 iow(db, DM9000_RCR, rcr);
885 iow(db, DM9000_IMR, IMR_PAR);
891 iow(db, DM9000_IMR, db->imr_all);
914 iow(db, DM9000_RCSR,
917 iow(db, DM9000_GPCR, GPCR_GEP_CNTL); /* Let GPIO0 output */
918 iow(db, DM9000_GPR, 0);
936 iow(db, DM9000_NCR, ncr);
939 iow(db, DM9000_TCR, 0); /* TX Polling clear */
940 iow(db, DM9000_BPTR, 0x3f); /* Less 3Kb, 200us */
941 iow(db, DM9000_FCR, 0xff); /* Flow Control */
942 iow(db, DM9000_SMCR, 0); /* Special Mode */
944 iow(db, DM9000_NSR, NSR_WAKEST | NSR_TX2END | NSR_TX1END);
945 iow(db, DM9000_ISR, ISR_CLR_STATUS); /* Clear interrupt status */
996 iow(dm, DM9000_TCCR, 0);
998 iow(dm, DM9000_TCCR, TCCR_IP | TCCR_UDP | TCCR_TCP);
1003 iow(dm, DM9000_TXPLL, pkt_len);
1004 iow(dm, DM9000_TXPLH, pkt_len >> 8);
1007 iow(dm, DM9000_TCR, TCR_TXREQ); /* Cleared after TX complete */
1106 iow(db, DM9000_RCR, 0x00); /* Stop Device */
1209 iow(db, DM9000_ISR, int_status); /* Clear ISR status */
1254 iow(db, DM9000_NSR, NSR_WAKEST);
1306 iow(db, DM9000_GPR, 0); /* REG_1F bit0 activate phyxcer */
1338 iow(db, DM9000_GPR, 0x01); /* Power-Down PHY */
1340 iow(db, DM9000_RCR, 0x00); /* Disable RX */