/drivers/net/ethernet/arc/ |
D | emac_main.c | 119 struct buffer_state *tx_buff = &priv->tx_buff[*txbd_dirty]; in arc_emac_tx_clean() local 120 struct sk_buff *skb = tx_buff->skb; in arc_emac_tx_clean() 143 dma_unmap_single(&ndev->dev, dma_unmap_addr(tx_buff, addr), in arc_emac_tx_clean() 144 dma_unmap_len(tx_buff, len), DMA_TO_DEVICE); in arc_emac_tx_clean() 151 tx_buff->skb = NULL; in arc_emac_tx_clean() 555 struct buffer_state *tx_buff = &priv->tx_buff[i]; in arc_free_tx_queue() local 557 if (tx_buff->skb) { in arc_free_tx_queue() 559 dma_unmap_addr(tx_buff, addr), in arc_free_tx_queue() 560 dma_unmap_len(tx_buff, len), in arc_free_tx_queue() 564 dev_kfree_skb_irq(tx_buff->skb); in arc_free_tx_queue() [all …]
|
D | emac.h | 152 struct buffer_state tx_buff[TX_BD_NUM]; member
|
/drivers/net/ethernet/amd/ |
D | ariadne.c | 90 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()
|
/drivers/s390/net/ |
D | netiucv.c | 143 struct sk_buff *tx_buff; member 702 conn->tx_buff->data = conn->tx_buff->head; in conn_action_txdone() 703 skb_reset_tail_pointer(conn->tx_buff); in conn_action_txdone() 704 conn->tx_buff->len = 0; in conn_action_txdone() 707 header.next = conn->tx_buff->len + skb->len + NETIUCV_HDRLEN; in conn_action_txdone() 708 skb_put_data(conn->tx_buff, &header, NETIUCV_HDRLEN); in conn_action_txdone() 710 skb_put(conn->tx_buff, skb->len), in conn_action_txdone() 722 if (conn->tx_buff->len == 0) { in conn_action_txdone() 728 skb_put_data(conn->tx_buff, &header, NETIUCV_HDRLEN); in conn_action_txdone() 733 conn->tx_buff->data, conn->tx_buff->len); in conn_action_txdone() [all …]
|
/drivers/spi/ |
D | spi-tle62x0.c | 32 unsigned char tx_buff[4]; member 40 unsigned char *buff = st->tx_buff; in tle62x0_write() 59 unsigned char *txbuff = st->tx_buff; in tle62x0_read()
|
/drivers/net/hamradio/ |
D | scc.c | 303 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 …]
|
/drivers/net/ethernet/atheros/atl1e/ |
D | atl1e.h | 374 #define ATL1E_SET_PCIMAP_TYPE(tx_buff, type) do { \ argument 375 ((tx_buff)->flags) &= ~ATL1E_TX_PCIMAP_TYPE_MASK; \ 376 ((tx_buff)->flags) |= (type); \
|
/drivers/net/ethernet/ibm/ |
D | ibmvnic.c | 1182 kfree(tx_pool->tx_buff); in release_one_tx_pool() 1222 tx_pool->tx_buff = kcalloc(pool_size, in init_one_tx_pool() 1225 if (!tx_pool->tx_buff) in init_one_tx_pool() 1230 kfree(tx_pool->tx_buff); in init_one_tx_pool() 1231 tx_pool->tx_buff = NULL; in init_one_tx_pool() 2020 struct ibmvnic_tx_buff *tx_buff; in clean_one_tx_pool() local 2024 if (!tx_pool || !tx_pool->tx_buff) in clean_one_tx_pool() 2030 tx_buff = &tx_pool->tx_buff[i]; in clean_one_tx_pool() 2031 if (tx_buff && tx_buff->skb) { in clean_one_tx_pool() 2032 dev_kfree_skb_any(tx_buff->skb); in clean_one_tx_pool() [all …]
|
D | ibmvnic.h | 851 struct ibmvnic_tx_buff *tx_buff; member
|
/drivers/isdn/mISDN/ |
D | dsp.h | 204 u8 tx_buff[CMX_BUFF_SIZE]; member
|
D | dsp_cmx.c | 1357 p = dsp->tx_buff; /* transmit data */ 1728 q = dsp->tx_buff; 1861 p = dsp->tx_buff;
|
/drivers/net/ethernet/altera/ |
D | altera_tse_main.c | 434 struct tse_buffer *tx_buff; in tse_tx_complete() local 446 tx_buff = &priv->tx_ring[entry]; in tse_tx_complete() 452 if (likely(tx_buff->skb)) in tse_tx_complete() 455 tse_free_tx_buffer(priv, tx_buff); in tse_tx_complete()
|
/drivers/net/usb/ |
D | pegasus.h | 96 __u8 tx_buff[PEGASUS_MTU]; member
|
D | pegasus.c | 711 ((__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()
|
/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_main.c | 8636 struct ixgbe_tx_buffer *tx_buff = tx_head; in ixgbe_xmit_xdp_ring() local 8658 dma_unmap_len_set(tx_buff, len, len); in ixgbe_xmit_xdp_ring() 8659 dma_unmap_addr_set(tx_buff, dma, dma); in ixgbe_xmit_xdp_ring() 8665 tx_buff->protocol = 0; in ixgbe_xmit_xdp_ring() 8673 tx_buff = &ring->tx_buffer_info[index]; in ixgbe_xmit_xdp_ring() 8694 tx_buff = &ring->tx_buffer_info[index]; in ixgbe_xmit_xdp_ring() 8695 if (dma_unmap_len(tx_buff, len)) in ixgbe_xmit_xdp_ring() 8696 dma_unmap_page(ring->dev, dma_unmap_addr(tx_buff, dma), in ixgbe_xmit_xdp_ring() 8697 dma_unmap_len(tx_buff, len), in ixgbe_xmit_xdp_ring() 8699 dma_unmap_len_set(tx_buff, len, 0); in ixgbe_xmit_xdp_ring() [all …]
|