Lines Matching refs:grcan_write_reg

327 static inline void grcan_write_reg(u32 __iomem *reg, u32 val)  in grcan_write_reg()  function
337 static inline void grcan_write_reg(u32 __iomem *reg, u32 val) in grcan_write_reg() function
345 grcan_write_reg(reg, grcan_read_reg(reg) & ~mask); in grcan_clear_bits()
350 grcan_write_reg(reg, grcan_read_reg(reg) | mask); in grcan_set_bits()
362 grcan_write_reg(reg, (old & ~mask) | (value & mask)); in grcan_write_bits()
472 grcan_write_reg(&regs->conf, config); in grcan_reset()
478 grcan_write_reg(&regs->rxmask, 0); in grcan_reset()
487 grcan_write_reg(&regs->imr, GRCAN_IRQ_NONE); in grcan_stop_hardware()
563 grcan_write_reg(&regs->txrd, txrd); in grcan_lost_one_shot_frame()
776 grcan_write_reg(&regs->picr, sources); in grcan_interrupt()
844 grcan_write_reg(&regs->txaddr, txaddr); in grcan_running_reset()
845 grcan_write_reg(&regs->txsize, txsize); in grcan_running_reset()
846 grcan_write_reg(&regs->txwr, txwr); in grcan_running_reset()
847 grcan_write_reg(&regs->txrd, txrd); in grcan_running_reset()
850 grcan_write_reg(&regs->rxaddr, rxaddr); in grcan_running_reset()
851 grcan_write_reg(&regs->rxsize, rxsize); in grcan_running_reset()
852 grcan_write_reg(&regs->rxwr, rxwr); in grcan_running_reset()
853 grcan_write_reg(&regs->rxrd, rxrd); in grcan_running_reset()
856 grcan_write_reg(&regs->imr, imr); in grcan_running_reset()
858 grcan_write_reg(&regs->txctrl, GRCAN_TXCTRL_ENABLE in grcan_running_reset()
861 grcan_write_reg(&regs->rxctrl, GRCAN_RXCTRL_ENABLE); in grcan_running_reset()
862 grcan_write_reg(&regs->ctrl, GRCAN_CTRL_ENABLE); in grcan_running_reset()
986 grcan_write_reg(&regs->txaddr, priv->dma.tx.handle); in grcan_start()
987 grcan_write_reg(&regs->txsize, priv->dma.tx.size); in grcan_start()
990 grcan_write_reg(&regs->rxaddr, priv->dma.rx.handle); in grcan_start()
991 grcan_write_reg(&regs->rxsize, priv->dma.rx.size); in grcan_start()
996 grcan_write_reg(&regs->imr, GRCAN_IRQ_DEFAULT); in grcan_start()
1011 grcan_write_reg(&regs->txctrl, txctrl); in grcan_start()
1012 grcan_write_reg(&regs->rxctrl, GRCAN_RXCTRL_ENABLE); in grcan_start()
1013 grcan_write_reg(&regs->ctrl, GRCAN_CTRL_ENABLE); in grcan_start()
1234 grcan_write_reg(&regs->rxrd, rd); in grcan_receive()
1462 grcan_write_reg(&regs->txwr, in grcan_start_xmit()
1652 grcan_write_reg(&regs->ctrl, GRCAN_CTRL_RESET); in grcan_setup_netdev()