Lines Matching refs:grcan_write_reg

325 static inline void grcan_write_reg(u32 __iomem *reg, u32 val)
335 static inline void grcan_write_reg(u32 __iomem *reg, u32 val)
343 grcan_write_reg(reg, grcan_read_reg(reg) & ~mask);
348 grcan_write_reg(reg, grcan_read_reg(reg) | mask);
360 grcan_write_reg(reg, (old & ~mask) | (value & mask));
470 grcan_write_reg(&regs->conf, config);
476 grcan_write_reg(&regs->rxmask, 0);
485 grcan_write_reg(&regs->imr, GRCAN_IRQ_NONE);
559 grcan_write_reg(&regs->txrd, txrd);
773 grcan_write_reg(&regs->picr, sources);
841 grcan_write_reg(&regs->txaddr, txaddr);
842 grcan_write_reg(&regs->txsize, txsize);
843 grcan_write_reg(&regs->txwr, txwr);
844 grcan_write_reg(&regs->txrd, txrd);
847 grcan_write_reg(&regs->rxaddr, rxaddr);
848 grcan_write_reg(&regs->rxsize, rxsize);
849 grcan_write_reg(&regs->rxwr, rxwr);
850 grcan_write_reg(&regs->rxrd, rxrd);
853 grcan_write_reg(&regs->imr, imr);
855 grcan_write_reg(&regs->txctrl, GRCAN_TXCTRL_ENABLE
858 grcan_write_reg(&regs->rxctrl, GRCAN_RXCTRL_ENABLE);
859 grcan_write_reg(&regs->ctrl, GRCAN_CTRL_ENABLE);
983 grcan_write_reg(&regs->txaddr, priv->dma.tx.handle);
984 grcan_write_reg(&regs->txsize, priv->dma.tx.size);
987 grcan_write_reg(&regs->rxaddr, priv->dma.rx.handle);
988 grcan_write_reg(&regs->rxsize, priv->dma.rx.size);
993 grcan_write_reg(&regs->imr, GRCAN_IRQ_DEFAULT);
1008 grcan_write_reg(&regs->txctrl, txctrl);
1009 grcan_write_reg(&regs->rxctrl, GRCAN_RXCTRL_ENABLE);
1010 grcan_write_reg(&regs->ctrl, GRCAN_CTRL_ENABLE);
1223 grcan_write_reg(&regs->rxrd, rd);
1444 grcan_write_reg(&regs->txwr,
1635 grcan_write_reg(&regs->ctrl, GRCAN_CTRL_RESET);