Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/arc/
Demac_main.c119 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 …]
Demac.h152 struct buffer_state tx_buff[TX_BD_NUM]; member
/kernel/linux/linux-5.10/drivers/net/ethernet/amd/
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()
/kernel/linux/linux-5.10/drivers/s390/net/
Dnetiucv.c161 struct sk_buff *tx_buff; member
724 conn->tx_buff->data = conn->tx_buff->head; in conn_action_txdone()
725 skb_reset_tail_pointer(conn->tx_buff); in conn_action_txdone()
726 conn->tx_buff->len = 0; in conn_action_txdone()
729 header.next = conn->tx_buff->len + skb->len + NETIUCV_HDRLEN; in conn_action_txdone()
730 skb_put_data(conn->tx_buff, &header, NETIUCV_HDRLEN); in conn_action_txdone()
732 skb_put(conn->tx_buff, skb->len), in conn_action_txdone()
744 if (conn->tx_buff->len == 0) { in conn_action_txdone()
750 skb_put_data(conn->tx_buff, &header, NETIUCV_HDRLEN); in conn_action_txdone()
755 conn->tx_buff->data, conn->tx_buff->len); in conn_action_txdone()
[all …]
/kernel/linux/linux-5.10/drivers/spi/
Dspi-tle62x0.c32 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/atheros/atl1e/
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); \
/kernel/linux/linux-5.10/drivers/net/hamradio/
Dscc.c301 if (scc->tx_buff != NULL) in scc_discard_buffers()
303 dev_kfree_skb_irq(scc->tx_buff); in scc_discard_buffers()
304 scc->tx_buff = NULL; in scc_discard_buffers()
372 skb = scc->tx_buff; in scc_txint()
379 scc->tx_buff = skb; in scc_txint()
392 scc->tx_buff = NULL; in scc_txint()
418 scc->tx_buff = NULL; in scc_txint()
500 if (scc->tx_buff != NULL) in scc_exint()
502 dev_kfree_skb_irq(scc->tx_buff); in scc_exint()
503 scc->tx_buff = NULL; in scc_exint()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/ibm/
Dibmvnic.c636 memset(tx_pool->tx_buff, 0, in reset_one_tx_pool()
684 kfree(tx_pool->tx_buff); in release_one_tx_pool()
715 tx_pool->tx_buff = kcalloc(num_entries, in init_one_tx_pool()
718 if (!tx_pool->tx_buff) in init_one_tx_pool()
1259 struct ibmvnic_tx_buff *tx_buff; in clean_one_tx_pool() local
1263 if (!tx_pool || !tx_pool->tx_buff) in clean_one_tx_pool()
1269 tx_buff = &tx_pool->tx_buff[i]; in clean_one_tx_pool()
1270 if (tx_buff && tx_buff->skb) { in clean_one_tx_pool()
1271 dev_kfree_skb_any(tx_buff->skb); in clean_one_tx_pool()
1272 tx_buff->skb = NULL; in clean_one_tx_pool()
[all …]
Dibmvnic.h897 struct ibmvnic_tx_buff *tx_buff; member
/kernel/linux/linux-5.10/include/linux/
Dscc.h76 struct sk_buff *tx_buff; /* pointer to frame currently transmitted */ member
/kernel/linux/linux-5.10/drivers/isdn/mISDN/
Ddsp.h204 u8 tx_buff[CMX_BUFF_SIZE]; member
Ddsp_cmx.c1368 p = dsp->tx_buff; /* transmit data */
1739 q = dsp->tx_buff;
1872 p = dsp->tx_buff;
/kernel/linux/linux-5.10/sound/drivers/
Dserial-u16550.c145 unsigned char tx_buff[TX_BUFF_SIZE]; member
181 outb(uart->tx_buff[buff_out], uart->base + UART_TX); in snd_uart16550_buffer_output()
586 uart->tx_buff[buff_in] = byte; in snd_uart16550_write_buffer()
/kernel/linux/linux-5.10/drivers/net/usb/
Dpegasus.h96 __u8 tx_buff[PEGASUS_MTU]; member
Dpegasus.c737 ((__le16 *) pegasus->tx_buff)[0] = cpu_to_le16(l16); in pegasus_start_xmit()
738 skb_copy_from_linear_data(skb, pegasus->tx_buff + 2, skb->len); in pegasus_start_xmit()
741 pegasus->tx_buff, count, in pegasus_start_xmit()
/kernel/linux/linux-5.10/drivers/net/ethernet/altera/
Daltera_tse_main.c453 struct tse_buffer *tx_buff; in tse_tx_complete() local
463 tx_buff = &priv->tx_ring[entry]; in tse_tx_complete()
469 if (likely(tx_buff->skb)) in tse_tx_complete()
472 tse_free_tx_buffer(priv, tx_buff); in tse_tx_complete()