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(®s->conf, config); in grcan_reset()
478 grcan_write_reg(®s->rxmask, 0); in grcan_reset()
487 grcan_write_reg(®s->imr, GRCAN_IRQ_NONE); in grcan_stop_hardware()
563 grcan_write_reg(®s->txrd, txrd); in grcan_lost_one_shot_frame()
776 grcan_write_reg(®s->picr, sources); in grcan_interrupt()
844 grcan_write_reg(®s->txaddr, txaddr); in grcan_running_reset()
845 grcan_write_reg(®s->txsize, txsize); in grcan_running_reset()
846 grcan_write_reg(®s->txwr, txwr); in grcan_running_reset()
847 grcan_write_reg(®s->txrd, txrd); in grcan_running_reset()
850 grcan_write_reg(®s->rxaddr, rxaddr); in grcan_running_reset()
851 grcan_write_reg(®s->rxsize, rxsize); in grcan_running_reset()
852 grcan_write_reg(®s->rxwr, rxwr); in grcan_running_reset()
853 grcan_write_reg(®s->rxrd, rxrd); in grcan_running_reset()
856 grcan_write_reg(®s->imr, imr); in grcan_running_reset()
858 grcan_write_reg(®s->txctrl, GRCAN_TXCTRL_ENABLE in grcan_running_reset()
861 grcan_write_reg(®s->rxctrl, GRCAN_RXCTRL_ENABLE); in grcan_running_reset()
862 grcan_write_reg(®s->ctrl, GRCAN_CTRL_ENABLE); in grcan_running_reset()
986 grcan_write_reg(®s->txaddr, priv->dma.tx.handle); in grcan_start()
987 grcan_write_reg(®s->txsize, priv->dma.tx.size); in grcan_start()
990 grcan_write_reg(®s->rxaddr, priv->dma.rx.handle); in grcan_start()
991 grcan_write_reg(®s->rxsize, priv->dma.rx.size); in grcan_start()
996 grcan_write_reg(®s->imr, GRCAN_IRQ_DEFAULT); in grcan_start()
1011 grcan_write_reg(®s->txctrl, txctrl); in grcan_start()
1012 grcan_write_reg(®s->rxctrl, GRCAN_RXCTRL_ENABLE); in grcan_start()
1013 grcan_write_reg(®s->ctrl, GRCAN_CTRL_ENABLE); in grcan_start()
1234 grcan_write_reg(®s->rxrd, rd); in grcan_receive()
1462 grcan_write_reg(®s->txwr, in grcan_start_xmit()
1652 grcan_write_reg(®s->ctrl, GRCAN_CTRL_RESET); in grcan_setup_netdev()