Lines Matching refs:grcan_read_reg

320 static inline u32 grcan_read_reg(u32 __iomem *reg)  in grcan_read_reg()  function
330 static inline u32 grcan_read_reg(u32 __iomem *reg) in grcan_read_reg() function
343 grcan_write_reg(reg, grcan_read_reg(reg) & ~mask); in grcan_clear_bits()
348 grcan_write_reg(reg, grcan_read_reg(reg) | mask); in grcan_set_bits()
353 return grcan_read_reg(reg) & mask; in grcan_read_bits()
358 u32 old = grcan_read_reg(reg); in grcan_write_bits()
453 u32 status = grcan_read_reg(&regs->stat); in grcan_get_berr_counter()
467 u32 config = grcan_read_reg(&regs->conf); in grcan_reset()
472 priv->eskbp = grcan_read_reg(&regs->txrd); in grcan_reset()
511 u32 txrd = grcan_read_reg(&regs->txrd); in catch_up_echo_skb()
528 txrd = grcan_read_reg(&regs->txrd); in catch_up_echo_skb()
557 txrd = grcan_read_reg(&regs->txrd); in grcan_lost_one_shot_frame()
694 u32 txwr = grcan_read_reg(&regs->txwr); in grcan_err()
770 sources = grcan_read_reg(&regs->pimsr); in grcan_interrupt()
774 status = grcan_read_reg(&regs->stat); in grcan_interrupt()
825 u32 imr = grcan_read_reg(&regs->imr); in grcan_running_reset()
827 u32 txaddr = grcan_read_reg(&regs->txaddr); in grcan_running_reset()
828 u32 txsize = grcan_read_reg(&regs->txsize); in grcan_running_reset()
829 u32 txwr = grcan_read_reg(&regs->txwr); in grcan_running_reset()
830 u32 txrd = grcan_read_reg(&regs->txrd); in grcan_running_reset()
833 u32 rxaddr = grcan_read_reg(&regs->rxaddr); in grcan_running_reset()
834 u32 rxsize = grcan_read_reg(&regs->rxsize); in grcan_running_reset()
835 u32 rxwr = grcan_read_reg(&regs->rxwr); in grcan_running_reset()
836 u32 rxrd = grcan_read_reg(&regs->rxrd); in grcan_running_reset()
992 grcan_read_reg(&regs->pir); in grcan_start()
1168 rd = grcan_read_reg(&regs->rxrd); in grcan_receive()
1172 wr = grcan_read_reg(&regs->rxwr); in grcan_receive()
1284 grcan_read_reg(&regs->txrd) == txwr) { in grcan_txbug_workaround()
1364 txwr = grcan_read_reg(&regs->txwr); in grcan_start_xmit()
1407 txctrl = grcan_read_reg(&regs->txctrl); in grcan_start_xmit()
1419 txrd = grcan_read_reg(&regs->txrd); in grcan_start_xmit()