Lines Matching refs:tx_obj
135 struct mcp251xfd_tx_obj *tx_obj, in mcp251xfd_tx_ring_init_tx_obj() argument
145 mcp251xfd_spi_cmd_write_crc_set_addr(&tx_obj->buf.crc.cmd, in mcp251xfd_tx_ring_init_tx_obj()
148 mcp251xfd_spi_cmd_write_nocrc(&tx_obj->buf.nocrc.cmd, in mcp251xfd_tx_ring_init_tx_obj()
151 xfer = &tx_obj->xfer[0]; in mcp251xfd_tx_ring_init_tx_obj()
152 xfer->tx_buf = &tx_obj->buf; in mcp251xfd_tx_ring_init_tx_obj()
159 xfer = &tx_obj->xfer[1]; in mcp251xfd_tx_ring_init_tx_obj()
164 spi_message_init_with_transfers(&tx_obj->msg, tx_obj->xfer, in mcp251xfd_tx_ring_init_tx_obj()
165 ARRAY_SIZE(tx_obj->xfer)); in mcp251xfd_tx_ring_init_tx_obj()
172 struct mcp251xfd_tx_obj *tx_obj; in mcp251xfd_ring_init_tx() local
194 mcp251xfd_for_each_tx_obj(tx_ring, tx_obj, i) in mcp251xfd_ring_init_tx()
195 mcp251xfd_tx_ring_init_tx_obj(priv, tx_ring, tx_obj, len, i); in mcp251xfd_ring_init_tx()