Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/can/spi/mcp251xfd/
H A 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()
158 struct mcp251xfd_tx_obj *tx_obj = priv->tx_work_obj; in mcp251xfd_tx_obj_write_sync() local
162 err = spi_sync(priv->spi, &tx_obj->msg); in mcp251xfd_tx_obj_write_sync()
168 struct mcp251xfd_tx_obj *tx_obj) in mcp251xfd_tx_obj_write() argument
170 return spi_async(priv->spi, &tx_obj->msg); in mcp251xfd_tx_obj_write()
208 struct mcp251xfd_tx_obj *tx_obj; in mcp251xfd_start_xmit() local
220 tx_obj = mcp251xfd_get_tx_obj_next(tx_ring); in mcp251xfd_start_xmit()
234 err = mcp251xfd_tx_obj_write(priv, tx_obj); in mcp251xfd_start_xmit()
[all …]
H A Dmcp251xfd-ring.c135 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()
[all …]
H A Dmcp251xfd-core.c1261 struct mcp251xfd_tx_obj *tx_obj; in mcp251xfd_handle_eccif_recover() local
1297 tx_obj = &tx_ring->obj[nr]; in mcp251xfd_handle_eccif_recover()
1298 err = spi_sync_transfer(priv->spi, tx_obj->xfer, 1); in mcp251xfd_handle_eccif_recover()
/openbmc/linux/drivers/net/ethernet/emulex/benet/
H A 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;\
H A 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()
H A Dbe_main.c1372 struct be_tx_obj *txo = &adapter->tx_obj[q_idx]; in be_xmit()