Home
last modified time | relevance | path

Searched refs:tx_obj (Results 1 – 7 of 7) sorted by relevance

/linux-5.19.10/drivers/net/can/spi/mcp251xfd/
Dmcp251xfd-tx.c32 struct mcp251xfd_tx_obj *tx_obj, in mcp251xfd_tx_obj_from_skb() argument
87 load_buf = &tx_obj->buf; in mcp251xfd_tx_obj_from_skb()
131 tx_obj->xfer[0].len = len; in mcp251xfd_tx_obj_from_skb()
135 struct mcp251xfd_tx_obj *tx_obj) in mcp251xfd_tx_obj_write() argument
137 return spi_async(priv->spi, &tx_obj->msg); in mcp251xfd_tx_obj_write()
170 struct mcp251xfd_tx_obj *tx_obj; in mcp251xfd_start_xmit() local
181 tx_obj = mcp251xfd_get_tx_obj_next(tx_ring); in mcp251xfd_start_xmit()
182 mcp251xfd_tx_obj_from_skb(priv, tx_obj, skb, tx_ring->head); in mcp251xfd_start_xmit()
195 err = mcp251xfd_tx_obj_write(priv, tx_obj); in mcp251xfd_start_xmit()
Dmcp251xfd-ring.c125 struct mcp251xfd_tx_obj *tx_obj, in mcp251xfd_tx_ring_init_tx_obj() argument
135 mcp251xfd_spi_cmd_write_crc_set_addr(&tx_obj->buf.crc.cmd, in mcp251xfd_tx_ring_init_tx_obj()
138 mcp251xfd_spi_cmd_write_nocrc(&tx_obj->buf.nocrc.cmd, in mcp251xfd_tx_ring_init_tx_obj()
141 xfer = &tx_obj->xfer[0]; in mcp251xfd_tx_ring_init_tx_obj()
142 xfer->tx_buf = &tx_obj->buf; in mcp251xfd_tx_ring_init_tx_obj()
149 xfer = &tx_obj->xfer[1]; in mcp251xfd_tx_ring_init_tx_obj()
154 spi_message_init_with_transfers(&tx_obj->msg, tx_obj->xfer, in mcp251xfd_tx_ring_init_tx_obj()
155 ARRAY_SIZE(tx_obj->xfer)); in mcp251xfd_tx_ring_init_tx_obj()
162 struct mcp251xfd_tx_obj *tx_obj; in mcp251xfd_ring_init_tx() local
184 mcp251xfd_for_each_tx_obj(tx_ring, tx_obj, i) in mcp251xfd_ring_init_tx()
[all …]
Dmcp251xfd-core.c1251 struct mcp251xfd_tx_obj *tx_obj; in mcp251xfd_handle_eccif_recover() local
1287 tx_obj = &tx_ring->obj[nr]; in mcp251xfd_handle_eccif_recover()
1288 err = spi_sync_transfer(priv->spi, tx_obj->xfer, 1); in mcp251xfd_handle_eccif_recover()
/linux-5.19.10/drivers/net/can/
Dpch_can.c170 int tx_obj; /* Point next Tx Obj index */ member
886 tx_obj_no = priv->tx_obj; in pch_xmit()
887 if (priv->tx_obj == PCH_TX_OBJ_END) { in pch_xmit()
891 priv->tx_obj = PCH_TX_OBJ_START; in pch_xmit()
893 priv->tx_obj++; in pch_xmit()
1182 priv->tx_obj = PCH_TX_OBJ_START; /* Point head of Tx Obj */ in pch_can_probe()
/linux-5.19.10/drivers/net/ethernet/emulex/benet/
Dbe.h578 struct be_tx_obj tx_obj[MAX_TX_QS]; member
798 for (i = 0, txo = &adapter->tx_obj[i]; i < adapter->num_tx_qs; \
810 for (i = eqo->idx, txo = &adapter->tx_obj[i]; i < adapter->num_tx_qs;\
Dbe_ethtool.c694 ring->tx_max_pending = adapter->tx_obj[0].q.len; in be_get_ringparam()
695 ring->tx_pending = adapter->tx_obj[0].q.len; in be_get_ringparam()
Dbe_main.c1372 struct be_tx_obj *txo = &adapter->tx_obj[q_idx]; in be_xmit()