Lines Matching refs:ether3_outw

109 static inline void ether3_outw(int v, void __iomem *r)  in ether3_outw()  function
122 ether3_outw(priv(dev)->regs.config1 | CFG1_LOCBUFMEM, REG_CONFIG1); in ether3_setbuffer()
123 ether3_outw(priv(dev)->regs.command | CMD_FIFOWRITE, REG_COMMAND); in ether3_setbuffer()
135 ether3_outw(start, REG_DMAADDR); in ether3_setbuffer()
136 ether3_outw(priv(dev)->regs.command | CMD_FIFOREAD, REG_COMMAND); in ether3_setbuffer()
138 ether3_outw(priv(dev)->regs.command | CMD_FIFOWRITE, REG_COMMAND); in ether3_setbuffer()
139 ether3_outw(start, REG_DMAADDR); in ether3_setbuffer()
179 ether3_outw(priv(dev)->regs.config2 |= CFG2_CTRLO, REG_CONFIG2); in ether3_ledoff()
191 ether3_outw(priv(dev)->regs.config2 &= ~CFG2_CTRLO, REG_CONFIG2); in ether3_ledon()
283 ether3_outw(priv(dev)->regs.config1 | CFG1_BUFSELSTAT0, REG_CONFIG1); in ether3_init_2()
299 ether3_outw(priv(dev)->regs.config1 | CFG1_TRANSEND, REG_CONFIG1); in ether3_init_2()
300 ether3_outw((TX_END>>8) - 1, REG_BUFWIN); in ether3_init_2()
301 ether3_outw(priv(dev)->rx_head, REG_RECVPTR); in ether3_init_2()
302 ether3_outw(0, REG_TRANSMITPTR); in ether3_init_2()
303 ether3_outw(priv(dev)->rx_head >> 8, REG_RECVEND); in ether3_init_2()
304 ether3_outw(priv(dev)->regs.config2, REG_CONFIG2); in ether3_init_2()
305 ether3_outw(priv(dev)->regs.config1 | CFG1_LOCBUFMEM, REG_CONFIG1); in ether3_init_2()
306 ether3_outw(priv(dev)->regs.command, REG_COMMAND); in ether3_init_2()
326 ether3_outw(CFG2_RESET, REG_CONFIG2); in ether3_init_for_open()
330 ether3_outw(CMD_RXOFF|CMD_TXOFF, REG_COMMAND); in ether3_init_for_open()
334 ether3_outw(priv(dev)->regs.config1 | CFG1_BUFSELSTAT0, REG_CONFIG1); in ether3_init_for_open()
343 ether3_outw(priv(dev)->regs.config1 | CFG1_TRANSEND, REG_CONFIG1); in ether3_init_for_open()
344 ether3_outw((TX_END>>8) - 1, REG_BUFWIN); in ether3_init_for_open()
345 ether3_outw(priv(dev)->rx_head, REG_RECVPTR); in ether3_init_for_open()
346 ether3_outw(priv(dev)->rx_head >> 8, REG_RECVEND); in ether3_init_for_open()
347 ether3_outw(0, REG_TRANSMITPTR); in ether3_init_for_open()
348 ether3_outw(priv(dev)->regs.config2, REG_CONFIG2); in ether3_init_for_open()
349 ether3_outw(priv(dev)->regs.config1 | CFG1_LOCBUFMEM, REG_CONFIG1); in ether3_init_for_open()
355 ether3_outw(priv(dev)->regs.command | CMD_RXON, REG_COMMAND); in ether3_init_for_open()
384 ether3_outw(val, REG_RECVPTR); in ether3_probe_bus_16()
423 ether3_outw(CMD_RXOFF|CMD_TXOFF, REG_COMMAND); in ether3_close()
428 ether3_outw(0, REG_COMMAND); in ether3_close()
453 ether3_outw(priv(dev)->regs.config1 | CFG1_LOCBUFMEM, REG_CONFIG1); in ether3_setmulticastlist()
476 ether3_outw(priv(dev)->regs.config2, REG_CONFIG2); in ether3_timeout()
533 ether3_outw(ptr, REG_TRANSMITPTR); in ether3_sendpacket()
534 ether3_outw(priv(dev)->regs.command | CMD_TXON, REG_COMMAND); in ether3_sendpacket()
563 ether3_outw(CMD_ACKINTRX | priv(dev)->regs.command, REG_COMMAND); in ether3_interrupt()
569 ether3_outw(CMD_ACKINTTX | priv(dev)->regs.command, REG_COMMAND); in ether3_interrupt()
631 ether3_outw(next_ptr >> 8, REG_RECVEND); in ether3_rx()
647 ether3_outw(next_ptr >> 8, REG_RECVEND); in ether3_rx()
656 ether3_outw(next_ptr >> 8, REG_RECVEND); in ether3_rx()
662 ether3_outw(next_ptr >> 8, REG_RECVEND); in ether3_rx()
681 ether3_outw(next_ptr, REG_RECVPTR); in ether3_rx()
682 ether3_outw(priv(dev)->regs.command | CMD_RXON, REG_COMMAND); in ether3_rx()