Lines Matching refs:writew

775 	writew(0x0400, ioaddr + ANXchngCtrl);	/* Enable legacy links. */  in hamachi_init_one()
776 writew(0x08e0, ioaddr + ANAdvertise); /* Set our advertise word. */ in hamachi_init_one()
777 writew(0x1000, ioaddr + ANCtrl); /* Enable negotiation */ in hamachi_init_one()
804 writew(location, ioaddr + EEAddr); in read_eeprom()
827 writew((phy_id<<8) + location, ioaddr + MII_Addr); in mdio_read()
828 writew(0x0001, ioaddr + MII_Cmd); in mdio_read()
844 writew((phy_id<<8) + location, ioaddr + MII_Addr); in mdio_write()
845 writew(value, ioaddr + MII_Wr_Data); in mdio_write()
898 writew(0x0000, ioaddr + FIFOcfg); in hamachi_open()
902 writew(0x0028, ioaddr + FIFOcfg); in hamachi_open()
906 writew(0x004C, ioaddr + FIFOcfg); in hamachi_open()
910 writew(0x006C, ioaddr + FIFOcfg); in hamachi_open()
916 writew(0x0000, ioaddr + FIFOcfg); in hamachi_open()
930 writew(0x0001, ioaddr + RxChecksum); in hamachi_open()
932 writew(0x0001, ioaddr + TxChecksum); in hamachi_open()
934 writew(0x0000, ioaddr + TxChecksum); in hamachi_open()
936 writew(0x8000, ioaddr + MACCnfg); /* Soft reset the MAC */ in hamachi_open()
937 writew(0x215F, ioaddr + MACCnfg); in hamachi_open()
938 writew(0x000C, ioaddr + FrameGap0); in hamachi_open()
940 writew(0x1018, ioaddr + FrameGap1); in hamachi_open()
942 writew(0x0780, ioaddr + MACCnfg2); /* Upper 16 bits control LEDs. */ in hamachi_open()
945 writew(MAX_FRAME_SIZE, ioaddr + MaxFrameSize); /* dev->mtu+14 ??? */ in hamachi_open()
948 writew(0x0400, ioaddr + ANXchngCtrl); /* Enable legacy links. */ in hamachi_open()
977 writew(0x0000, ioaddr + EventStatus); /* Clear non-interrupting events */ in hamachi_open()
982 writew(0x005D, ioaddr + RxDMACtrl); /* 128 dword bursts */ in hamachi_open()
983 writew(0x005D, ioaddr + TxDMACtrl); in hamachi_open()
985 writew(0x001D, ioaddr + RxDMACtrl); in hamachi_open()
986 writew(0x001D, ioaddr + TxDMACtrl); in hamachi_open()
988 writew(0x0001, dev->base_addr + RxCmd); in hamachi_open()
1116 writew(0x0002, dev->base_addr + RxCmd); /* STOP Rx */ in hamachi_tx_timeout()
1158 writew(0x0002, dev->base_addr + TxCmd); /* STOP Tx */ in hamachi_tx_timeout()
1159 writew(0x0001, dev->base_addr + TxCmd); /* START Tx */ in hamachi_tx_timeout()
1160 writew(0x0001, dev->base_addr + RxCmd); /* START Rx */ in hamachi_tx_timeout()
1278 writew(0x0001, dev->base_addr + TxCmd); in hamachi_start_xmit()
1346 writew(0x0001, dev->base_addr + TxCmd); in hamachi_start_xmit()
1572 writew(0x0001, dev->base_addr + RxCmd); in hamachi_rx()
1738 writew(2, ioaddr + TxCmd); in hamachi_close()
1837 writew(0x000F, ioaddr + AddrMode); in set_rx_mode()
1840 writew(0x000B, ioaddr + AddrMode); in set_rx_mode()
1853 writew(0x0003, ioaddr + AddrMode); in set_rx_mode()
1855 writew(0x0001, ioaddr + AddrMode); in set_rx_mode()