Lines Matching defs:txrd
63 u32 txrd; /* 0x210 */
471 priv->eskbp = grcan_read_reg(®s->txrd);
490 /* Let priv->eskbp catch up to regs->txrd and echo back the skbs if echo
494 * continue until priv->eskbp catches up to regs->txrd.
510 u32 txrd = grcan_read_reg(®s->txrd);
513 if (priv->eskbp == txrd)
529 txrd = grcan_read_reg(®s->txrd);
539 u32 txrd;
558 txrd = grcan_read_reg(®s->txrd);
559 txrd = grcan_ring_add(txrd, GRCAN_MSG_SIZE, dma->tx.size);
560 grcan_write_reg(®s->txrd, txrd);
830 u32 txrd = grcan_read_reg(®s->txrd);
844 grcan_write_reg(®s->txrd, txrd);
985 /* regs->txwr, regs->txrd and priv->eskbp already set to 0 by reset */
1293 grcan_read_reg(®s->txrd) == txwr) {
1313 * then the interrupt handler increases txrd on TXLOSS,
1332 * regs->txrd - the next slot for the device to read data
1338 * The device sends messages until regs->txrd reaches regs->txwr
1341 * priv->eskbp reaches regs->txrd
1350 u32 id, txwr, txrd, space, txctrl;
1424 * in the same clock cycle as the controller updates txrd to
1428 txrd = grcan_read_reg(®s->txrd);
1429 if (unlikely(grcan_ring_sub(txwr, txrd, dma->tx.size) == 1)) {