Lines Matching refs:tef_ring
69 struct mcp251xfd_tef_ring *tef_ring; in mcp251xfd_ring_init_tef() local
77 tef_ring = priv->tef; in mcp251xfd_ring_init_tef()
78 tef_ring->head = 0; in mcp251xfd_ring_init_tef()
79 tef_ring->tail = 0; in mcp251xfd_ring_init_tef()
88 len = mcp251xfd_cmd_prepare_write_reg(priv, &tef_ring->irq_enable_buf, in mcp251xfd_ring_init_tef()
90 tef_ring->irq_enable_xfer.tx_buf = &tef_ring->irq_enable_buf; in mcp251xfd_ring_init_tef()
91 tef_ring->irq_enable_xfer.len = len; in mcp251xfd_ring_init_tef()
92 spi_message_init_with_transfers(&tef_ring->irq_enable_msg, in mcp251xfd_ring_init_tef()
93 &tef_ring->irq_enable_xfer, 1); in mcp251xfd_ring_init_tef()
98 len = mcp251xfd_cmd_prepare_write_reg(priv, &tef_ring->uinc_buf, in mcp251xfd_ring_init_tef()
101 for (i = 0; i < ARRAY_SIZE(tef_ring->uinc_xfer); i++) { in mcp251xfd_ring_init_tef()
102 xfer = &tef_ring->uinc_xfer[i]; in mcp251xfd_ring_init_tef()
103 xfer->tx_buf = &tef_ring->uinc_buf; in mcp251xfd_ring_init_tef()
125 &tef_ring->uinc_irq_disable_buf, in mcp251xfd_ring_init_tef()
127 xfer->tx_buf = &tef_ring->uinc_irq_disable_buf; in mcp251xfd_ring_init_tef()