Home
last modified time | relevance | path

Searched refs:tx_buff (Results 1 – 12 of 12) sorted by relevance

/linux/drivers/net/ethernet/arc/
H A Demac_main.c120 struct buffer_state *tx_buff = &priv->tx_buff[*txbd_dirty]; in arc_emac_tx_clean() local
121 struct sk_buff *skb = tx_buff->skb; in arc_emac_tx_clean()
144 dma_unmap_single(dev, dma_unmap_addr(tx_buff, addr), in arc_emac_tx_clean()
145 dma_unmap_len(tx_buff, len), DMA_TO_DEVICE); in arc_emac_tx_clean()
152 tx_buff->skb = NULL; in arc_emac_tx_clean()
559 struct buffer_state *tx_buff = &priv->tx_buff[i]; in arc_free_tx_queue() local
561 if (tx_buff->skb) { in arc_free_tx_queue()
563 dma_unmap_addr(tx_buff, addr), in arc_free_tx_queue()
564 dma_unmap_len(tx_buff, len), in arc_free_tx_queue()
568 dev_kfree_skb_irq(tx_buff->skb); in arc_free_tx_queue()
[all …]
H A Demac.h152 struct buffer_state tx_buff[TX_BD_NUM]; member
/linux/drivers/net/ethernet/amd/
H A Dariadne.c90 volatile u_short *tx_buff[TX_RING_SIZE]; member
102 u_short tx_buff[TX_RING_SIZE][PKT_BUF_SIZE / sizeof(u_short)]; member
132 offsetof(struct lancedata, tx_buff[i])); in ariadne_init_ring()
134 offsetof(struct lancedata, tx_buff[i])) | in ariadne_init_ring()
139 priv->tx_buff[i] = lancedata->tx_buff[i]; in ariadne_init_ring()
141 i, &lancedata->tx_ring[i], lancedata->tx_buff[i]); in ariadne_init_ring()
583 memcpyw(priv->tx_buff[entry], (u_short *)skb->data, len); in ariadne_start_xmit()
587 (void *)priv->tx_buff[entry], in ariadne_start_xmit()
/linux/drivers/net/ethernet/atheros/atl1e/
H A Datl1e.h374 #define ATL1E_SET_PCIMAP_TYPE(tx_buff, type) do { \ argument
375 ((tx_buff)->flags) &= ~ATL1E_TX_PCIMAP_TYPE_MASK; \
376 ((tx_buff)->flags) |= (type); \
/linux/drivers/net/hamradio/
H A Dscc.c303 if (scc->tx_buff != NULL) in scc_discard_buffers()
305 dev_kfree_skb_irq(scc->tx_buff); in scc_discard_buffers()
306 scc->tx_buff = NULL; in scc_discard_buffers()
374 skb = scc->tx_buff; in scc_txint()
381 scc->tx_buff = skb; in scc_txint()
394 scc->tx_buff = NULL; in scc_txint()
420 scc->tx_buff = NULL; in scc_txint()
502 if (scc->tx_buff != NULL) in scc_exint()
504 dev_kfree_skb_irq(scc->tx_buff); in scc_exint()
505 scc->tx_buff = NULL; in scc_exint()
[all …]
/linux/include/linux/
H A Dscc.h76 struct sk_buff *tx_buff; /* pointer to frame currently transmitted */ member
/linux/drivers/isdn/mISDN/
H A Ddsp.h204 u8 tx_buff[CMX_BUFF_SIZE]; member
H A Ddsp_cmx.c1357 p = dsp->tx_buff; /* transmit data */
1728 q = dsp->tx_buff;
1861 p = dsp->tx_buff;
/linux/drivers/net/usb/
H A Dpegasus.h96 __u8 tx_buff[PEGASUS_MTU]; member
H A Dpegasus.c711 ((__le16 *) pegasus->tx_buff)[0] = cpu_to_le16(l16); in pegasus_start_xmit()
712 skb_copy_from_linear_data(skb, pegasus->tx_buff + 2, skb->len); in pegasus_start_xmit()
715 pegasus->tx_buff, count, in pegasus_start_xmit()
/linux/drivers/iio/adc/
H A Dade9000.c313 u8 tx_buff[2] __aligned(IIO_DMA_MINALIGN);
737 put_unaligned_be16(addr, st->tx_buff); in ade9000_configure_scan()
739 st->xfer[0].tx_buf = &st->tx_buff[0]; in ade9000_configure_scan()
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_main.c9291 struct ixgbe_tx_buffer *tx_buff = tx_head; in ixgbe_xmit_xdp_ring() local
9313 dma_unmap_len_set(tx_buff, len, len); in ixgbe_xmit_xdp_ring()
9314 dma_unmap_addr_set(tx_buff, dma, dma); in ixgbe_xmit_xdp_ring()
9320 tx_buff->protocol = 0; in ixgbe_xmit_xdp_ring()
9328 tx_buff = &ring->tx_buffer_info[index]; in ixgbe_xmit_xdp_ring()
9349 tx_buff = &ring->tx_buffer_info[index]; in ixgbe_xmit_xdp_ring()
9350 if (dma_unmap_len(tx_buff, len)) in ixgbe_xmit_xdp_ring()
9351 dma_unmap_page(ring->dev, dma_unmap_addr(tx_buff, dma), in ixgbe_xmit_xdp_ring()
9352 dma_unmap_len(tx_buff, len), in ixgbe_xmit_xdp_ring()
9354 dma_unmap_len_set(tx_buff, len, 0); in ixgbe_xmit_xdp_ring()
[all …]