Lines Matching refs:ether3_outw

106 static inline void ether3_outw(int v, void __iomem *r)  in ether3_outw()  function
119 ether3_outw(priv(dev)->regs.config1 | CFG1_LOCBUFMEM, REG_CONFIG1); in ether3_setbuffer()
120 ether3_outw(priv(dev)->regs.command | CMD_FIFOWRITE, REG_COMMAND); in ether3_setbuffer()
132 ether3_outw(start, REG_DMAADDR); in ether3_setbuffer()
133 ether3_outw(priv(dev)->regs.command | CMD_FIFOREAD, REG_COMMAND); in ether3_setbuffer()
135 ether3_outw(priv(dev)->regs.command | CMD_FIFOWRITE, REG_COMMAND); in ether3_setbuffer()
136 ether3_outw(start, REG_DMAADDR); in ether3_setbuffer()
176 ether3_outw(priv(dev)->regs.config2 |= CFG2_CTRLO, REG_CONFIG2); in ether3_ledoff()
188 ether3_outw(priv(dev)->regs.config2 &= ~CFG2_CTRLO, REG_CONFIG2); in ether3_ledon()
280 ether3_outw(priv(dev)->regs.config1 | CFG1_BUFSELSTAT0, REG_CONFIG1); in ether3_init_2()
296 ether3_outw(priv(dev)->regs.config1 | CFG1_TRANSEND, REG_CONFIG1); in ether3_init_2()
297 ether3_outw((TX_END>>8) - 1, REG_BUFWIN); in ether3_init_2()
298 ether3_outw(priv(dev)->rx_head, REG_RECVPTR); in ether3_init_2()
299 ether3_outw(0, REG_TRANSMITPTR); in ether3_init_2()
300 ether3_outw(priv(dev)->rx_head >> 8, REG_RECVEND); in ether3_init_2()
301 ether3_outw(priv(dev)->regs.config2, REG_CONFIG2); in ether3_init_2()
302 ether3_outw(priv(dev)->regs.config1 | CFG1_LOCBUFMEM, REG_CONFIG1); in ether3_init_2()
303 ether3_outw(priv(dev)->regs.command, REG_COMMAND); in ether3_init_2()
323 ether3_outw(CFG2_RESET, REG_CONFIG2); in ether3_init_for_open()
327 ether3_outw(CMD_RXOFF|CMD_TXOFF, REG_COMMAND); in ether3_init_for_open()
331 ether3_outw(priv(dev)->regs.config1 | CFG1_BUFSELSTAT0, REG_CONFIG1); in ether3_init_for_open()
340 ether3_outw(priv(dev)->regs.config1 | CFG1_TRANSEND, REG_CONFIG1); in ether3_init_for_open()
341 ether3_outw((TX_END>>8) - 1, REG_BUFWIN); in ether3_init_for_open()
342 ether3_outw(priv(dev)->rx_head, REG_RECVPTR); in ether3_init_for_open()
343 ether3_outw(priv(dev)->rx_head >> 8, REG_RECVEND); in ether3_init_for_open()
344 ether3_outw(0, REG_TRANSMITPTR); in ether3_init_for_open()
345 ether3_outw(priv(dev)->regs.config2, REG_CONFIG2); in ether3_init_for_open()
346 ether3_outw(priv(dev)->regs.config1 | CFG1_LOCBUFMEM, REG_CONFIG1); in ether3_init_for_open()
352 ether3_outw(priv(dev)->regs.command | CMD_RXON, REG_COMMAND); in ether3_init_for_open()
381 ether3_outw(val, REG_RECVPTR); in ether3_probe_bus_16()
420 ether3_outw(CMD_RXOFF|CMD_TXOFF, REG_COMMAND); in ether3_close()
425 ether3_outw(0, REG_COMMAND); in ether3_close()
450 ether3_outw(priv(dev)->regs.config1 | CFG1_LOCBUFMEM, REG_CONFIG1); in ether3_setmulticastlist()
473 ether3_outw(priv(dev)->regs.config2, REG_CONFIG2); in ether3_timeout()
530 ether3_outw(ptr, REG_TRANSMITPTR); in ether3_sendpacket()
531 ether3_outw(priv(dev)->regs.command | CMD_TXON, REG_COMMAND); in ether3_sendpacket()
560 ether3_outw(CMD_ACKINTRX | priv(dev)->regs.command, REG_COMMAND); in ether3_interrupt()
566 ether3_outw(CMD_ACKINTTX | priv(dev)->regs.command, REG_COMMAND); in ether3_interrupt()
625 ether3_outw(next_ptr >> 8, REG_RECVEND); in ether3_rx()
641 ether3_outw(next_ptr >> 8, REG_RECVEND); in ether3_rx()
650 ether3_outw(next_ptr >> 8, REG_RECVEND); in ether3_rx()
656 ether3_outw(next_ptr >> 8, REG_RECVEND); in ether3_rx()
675 ether3_outw(next_ptr, REG_RECVPTR); in ether3_rx()
676 ether3_outw(priv(dev)->regs.command | CMD_RXON, REG_COMMAND); in ether3_rx()