/linux-master/drivers/spi/ |
H A D | spi.c | 331 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 D | spi-hisi-kunpeng.c | 392 hs->tx = transfer->tx_buf;
|
H A D | spi-axi-spi-engine.c | 90 /** @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 D | spi-s3c64xx.c | 466 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 D | spi-fsl-lpspi.c | 104 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 D | spi-pci1xxxx.c | 419 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 D | trf7970a.c | 500 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 D | i40e_main.c | 4440 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 D | i40e_txrx.c | 84 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 D | bnxt.c | 460 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 D | ipc.c | 962 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 D | stm32-usart.c | 737 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 D | stm32-usart.h | 207 unsigned char *tx_buf; /* dma tx buffer cpu address */ member in struct:stm32_port
|
/linux-master/drivers/misc/mei/ |
H A D | vsc-tp.c | 70 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 D | platform-vsc.c | 53 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 D | vmk80xx.c | 398 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 D | driver.c | 184 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 D | ks8851_spi.c | 128 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 D | ena_netdev.c | 3406 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 D | ivpu_ipc.c | 70 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 D | idpf_txrx.c | 61 * @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 D | ice_ethtool.c | 854 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 D | fec_main.c | 373 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 D | usb-ljca.c | 121 * @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 D | panel-tpo-td043mtea1.c | 105 xfer.tx_buf = &w;
|