Searched refs:tx_buf (Results 1 - 25 of 410) sorted by last modified time

1234567891011>>

/linux-master/drivers/spi/
H A Dspi.c331 if ((xfer->tx_buf) &&
332 (xfer->tx_buf != ctlr->dummy_tx))
1252 if (xfer->tx_buf != NULL) {
1254 (void *)xfer->tx_buf,
1369 * Restore the original value of tx_buf or rx_buf if they are
1372 if (xfer->tx_buf == ctlr->dummy_tx)
1373 xfer->tx_buf = NULL;
1394 !xfer->tx_buf)
1422 if (!xfer->tx_buf)
1423 xfer->tx_buf
[all...]
H A Dspi-hisi-kunpeng.c392 hs->tx = transfer->tx_buf;
H A Dspi-axi-spi-engine.c90 /** @tx_xfer: Next xfer with tx_buf not yet fully written to TX FIFO. */
92 /** @tx_length: Size of tx_buf in bytes. */
94 /** @tx_buf: Bytes not yet written to TX FIFO. */
95 const uint8_t *tx_buf; member in struct:spi_engine_message_state
98 /** @rx_length: Size of tx_buf in bytes. */
155 if (xfer->tx_buf)
313 } while (xfer && !xfer->tx_buf);
318 st->tx_buf = xfer->tx_buf;
320 st->tx_buf
[all...]
H A Dspi-s3c64xx.c466 const void *buf = xfer->tx_buf;
514 if (xfer->tx_buf != NULL) {
802 const void *tx_buf = NULL; local
833 tx_buf = xfer->tx_buf;
898 xfer->rx_buf ? 1 : 0, xfer->tx_buf ? 1 : 0,
906 if (xfer->tx_buf && (sdd->state & TXBUSY)) {
926 if (xfer->tx_buf)
927 xfer->tx_buf += xfer->len;
941 xfer->tx_buf
[all...]
H A Dspi-fsl-lpspi.c104 const void *tx_buf; member in struct:fsl_lpspi_data
146 if (fsl_lpspi->tx_buf) { \
147 val = *(type *)fsl_lpspi->tx_buf; \
148 fsl_lpspi->tx_buf += sizeof(type); \
698 fsl_lpspi->tx_buf = t->tx_buf;
H A Dspi-pci1xxxx.c419 const u8 *tx_buf; local
426 tx_buf = xfer->tx_buf;
432 if (tx_buf) {
447 &tx_buf[bytes_transfered], len);
488 if (!xfer->tx_buf || !p->tx_sgl) {
/linux-master/drivers/nfc/
H A Dtrf7970a.c500 t[0].tx_buf = &addr;
662 t[0].tx_buf = prefix;
666 t[1].tx_buf = skb->data;
/linux-master/drivers/net/ethernet/intel/i40e/
H A Di40e_main.c4440 struct i40e_tx_buffer *tx_buf; local
4443 tx_buf = &tx_ring->tx_bi[i];
4448 struct i40e_tx_desc *eop_desc = tx_buf->next_to_watch;
4463 tx_buf->next_to_watch = NULL;
4468 tx_buf++;
4473 tx_buf = tx_ring->tx_bi;
4478 dma_unmap_addr(tx_buf, dma),
4479 dma_unmap_len(tx_buf, len),
4481 if (tx_buf->tx_flags & I40E_TX_FLAGS_FD_SB)
4482 kfree(tx_buf
[all...]
H A Di40e_txrx.c84 struct i40e_tx_buffer *tx_buf, *first; local
121 tx_buf = &tx_ring->tx_bi[i];
125 memset(tx_buf, 0, sizeof(struct i40e_tx_buffer));
128 dma_unmap_len_set(tx_buf, len, I40E_FDIR_MAX_RAW_PACKET_SIZE);
129 dma_unmap_addr_set(tx_buf, dma, dma);
134 tx_buf->tx_flags = I40E_TX_FLAGS_FD_SB;
135 tx_buf->raw_buf = (void *)raw_packet;
928 struct i40e_tx_buffer *tx_buf; local
934 tx_buf = &tx_ring->tx_bi[i];
941 struct i40e_tx_desc *eop_desc = tx_buf
[all...]
/linux-master/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.c460 struct bnxt_sw_tx_bd *tx_buf; local
494 tx_buf = &txr->tx_buf_ring[RING_TX(bp, prod)];
495 tx_buf->skb = skb;
496 tx_buf->nr_frags = last_frag;
590 tx_buf->is_push = 1;
620 dma_unmap_addr_set(tx_buf, mapping, mapping);
688 tx_buf = &txr->tx_buf_ring[RING_TX(bp, prod)];
689 dma_unmap_addr_set(tx_buf, mapping, mapping);
721 if (netdev_xmit_more() && !tx_buf->is_push) {
740 tx_buf
775 struct bnxt_sw_tx_bd *tx_buf; local
3217 struct bnxt_sw_tx_bd *tx_buf = &txr->tx_buf_ring[j]; local
[all...]
/linux-master/drivers/hid/intel-ish-hid/ipc/
H A Dipc.c962 struct wr_msg_ctl_info *tx_buf; local
964 tx_buf = devm_kzalloc(&pdev->dev,
967 if (!tx_buf) {
977 list_add_tail(&tx_buf->link, &dev->wr_free_list);
/linux-master/drivers/tty/serial/
H A Dstm32-usart.c737 memcpy(&stm32port->tx_buf[0], &xmit->buf[xmit->tail], count);
746 memcpy(&stm32port->tx_buf[0], &xmit->buf[xmit->tail], one);
748 memcpy(&stm32port->tx_buf[one], &xmit->buf[0], two);
1744 if (stm32port->tx_buf)
1745 dma_free_coherent(&pdev->dev, TX_BUF_L, stm32port->tx_buf,
1758 stm32port->tx_buf = dma_alloc_coherent(dev, TX_BUF_L,
1761 if (!stm32port->tx_buf)
H A Dstm32-usart.h207 unsigned char *tx_buf; /* dma tx buffer cpu address */ member in struct:stm32_port
/linux-master/drivers/misc/mei/
H A Dvsc-tp.c70 void *tx_buf; member in struct:vsc_tp
148 .tx_buf = obuf,
274 struct vsc_tp_packet *pkt = tp->tx_buf;
323 cpu_to_be32_array(tp->tx_buf, obuf, words);
334 ret = vsc_tp_dev_xfer(tp, tp->tx_buf, tp->rx_buf, len);
495 tp->tx_buf = devm_kzalloc(dev, VSC_TP_MAX_XFER_SIZE, GFP_KERNEL);
496 if (!tp->tx_buf)
H A Dplatform-vsc.c53 char tx_buf[MEI_VSC_MAX_MSG_SIZE + sizeof(struct mei_msg_hdr)] ____cacheline_aligned;
186 char *buf = hw->tx_buf;
/linux-master/drivers/comedi/drivers/
H A Dvmk80xx.c398 unsigned char *tx_buf = devpriv->usb_tx_buf; local
413 tx_buf[reg] = s->state;
420 tx_buf[0] = VMK8061_CMD_RD_DO;
566 unsigned char *tx_buf; local
573 tx_buf = devpriv->usb_tx_buf;
579 tx_buf[0] = VMK8061_CMD_RD_PWM;
599 unsigned char *tx_buf; local
606 tx_buf = devpriv->usb_tx_buf;
620 * mov lo, al ; lo is the low part (tx_buf[reg[0]])
623 * mov hi, al ; hi is the high part (tx_buf[re
[all...]
/linux-master/drivers/firmware/arm_ffa/
H A Ddriver.c184 static int ffa_rxtx_map(phys_addr_t tx_buf, phys_addr_t rx_buf, u32 pg_cnt) argument
190 .a1 = tx_buf, .a2 = rx_buf, .a3 = pg_cnt,
/linux-master/drivers/net/ethernet/micrel/
H A Dks8851_spi.c128 xfer->tx_buf = txb;
163 xfer->tx_buf = txb;
168 xfer->tx_buf = NULL;
175 xfer->tx_buf = txb;
227 xfer->tx_buf = txb;
233 xfer->tx_buf = NULL;
275 xfer->tx_buf = &ks->txh.txb[1];
280 xfer->tx_buf = txp->data;
/linux-master/drivers/net/ethernet/amazon/ena/
H A Dena_netdev.c3406 struct ena_tx_buffer *tx_buf; local
3415 tx_buf = &tx_ring->tx_buffer_info[i];
3416 last_jiffies = tx_buf->last_jiffies;
3458 if (tx_buf->print_once)
3465 tx_buf->print_once = 1;
/linux-master/drivers/accel/ivpu/
H A Divpu_ipc.c70 struct ivpu_ipc_tx_buf *tx_buf; local
74 tx_buf_vpu_addr = gen_pool_alloc(ipc->mm_tx, sizeof(*tx_buf));
77 sizeof(*tx_buf));
81 tx_buf = ivpu_to_cpu_addr(ipc->mem_tx, tx_buf_vpu_addr);
82 if (drm_WARN_ON(&vdev->drm, !tx_buf)) {
83 gen_pool_free(ipc->mm_tx, tx_buf_vpu_addr, sizeof(*tx_buf));
89 if (tx_buf->ipc.status != IVPU_IPC_HDR_FREE)
93 if (tx_buf->jsm.status != VPU_JSM_MSG_FREE)
97 memset(tx_buf, 0, sizeof(*tx_buf));
[all...]
/linux-master/drivers/net/ethernet/intel/idpf/
H A Didpf_txrx.c61 * @tx_buf: the buffer to free
63 static void idpf_tx_buf_rel(struct idpf_queue *tx_q, struct idpf_tx_buf *tx_buf) argument
65 if (tx_buf->skb) {
66 if (dma_unmap_len(tx_buf, len))
68 dma_unmap_addr(tx_buf, dma),
69 dma_unmap_len(tx_buf, len),
71 dev_kfree_skb_any(tx_buf->skb);
72 } else if (dma_unmap_len(tx_buf, len)) {
74 dma_unmap_addr(tx_buf, dma),
75 dma_unmap_len(tx_buf, le
1477 idpf_tx_splitq_clean_hdr(struct idpf_queue *tx_q, struct idpf_tx_buf *tx_buf, struct idpf_cleaned_stats *cleaned, int napi_budget) argument
1545 idpf_stash_flow_sch_buffers(struct idpf_queue *txq, struct idpf_tx_buf *tx_buf) argument
1618 struct idpf_tx_buf *tx_buf; local
1711 struct idpf_tx_buf *tx_buf = NULL; local
2128 struct idpf_tx_buf *tx_buf; local
2190 struct idpf_tx_buf *tx_buf; local
[all...]
/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_ethtool.c854 struct ice_tx_buf *tx_buf; local
859 tx_buf = &tx_ring->tx_buf[tx_ring->next_to_use];
876 tx_buf->next_to_watch = tx_desc;
2949 tx_rings[i].tx_buf = NULL;
2978 xdp_rings[i].tx_buf = NULL;
/linux-master/drivers/net/ethernet/freescale/
H A Dfec_main.c373 txq->tx_buf[index].buf_p);
694 txq->tx_buf[index].buf_p = skb;
900 txq->tx_buf[index].buf_p = skb;
990 if (txq->tx_buf[i].type == FEC_TXBUF_T_SKB) {
997 if (txq->tx_buf[i].buf_p)
998 dev_kfree_skb_any(txq->tx_buf[i].buf_p);
999 } else if (txq->tx_buf[i].type == FEC_TXBUF_T_XDP_NDO) {
1006 if (txq->tx_buf[i].buf_p)
1007 xdp_return_frame(txq->tx_buf[i].buf_p);
1009 struct page *page = txq->tx_buf[
[all...]
/linux-master/drivers/usb/misc/
H A Dusb-ljca.c121 * @tx_buf: buffer used to download command to firmware
123 * @lock: spinlock to protect tx_buf and ex_buf
146 void *tx_buf; member in struct:ljca_adapter
218 struct ljca_msg *tx_header = adap->tx_buf;
297 struct ljca_msg *header = adap->tx_buf;
757 adap->tx_buf = devm_kzalloc(dev, LJCA_MAX_PACKET_SIZE, GFP_KERNEL);
758 if (!adap->tx_buf)
/linux-master/drivers/video/fbdev/omap2/omapfb/displays/
H A Dpanel-tpo-td043mtea1.c105 xfer.tx_buf = &w;

Completed in 379 milliseconds

1234567891011>>