tx_swbd 86 drivers/net/ethernet/freescale/enetc/enetc.c struct enetc_tx_swbd *tx_swbd) tx_swbd 88 drivers/net/ethernet/freescale/enetc/enetc.c if (tx_swbd->is_dma_page) tx_swbd 89 drivers/net/ethernet/freescale/enetc/enetc.c dma_unmap_page(tx_ring->dev, tx_swbd->dma, tx_swbd 90 drivers/net/ethernet/freescale/enetc/enetc.c tx_swbd->len, DMA_TO_DEVICE); tx_swbd 92 drivers/net/ethernet/freescale/enetc/enetc.c dma_unmap_single(tx_ring->dev, tx_swbd->dma, tx_swbd 93 drivers/net/ethernet/freescale/enetc/enetc.c tx_swbd->len, DMA_TO_DEVICE); tx_swbd 94 drivers/net/ethernet/freescale/enetc/enetc.c tx_swbd->dma = 0; tx_swbd 98 drivers/net/ethernet/freescale/enetc/enetc.c struct enetc_tx_swbd *tx_swbd) tx_swbd 100 drivers/net/ethernet/freescale/enetc/enetc.c if (tx_swbd->dma) tx_swbd 101 drivers/net/ethernet/freescale/enetc/enetc.c enetc_unmap_tx_buff(tx_ring, tx_swbd); tx_swbd 103 drivers/net/ethernet/freescale/enetc/enetc.c if (tx_swbd->skb) { tx_swbd 104 drivers/net/ethernet/freescale/enetc/enetc.c dev_kfree_skb_any(tx_swbd->skb); tx_swbd 105 drivers/net/ethernet/freescale/enetc/enetc.c tx_swbd->skb = NULL; tx_swbd 112 drivers/net/ethernet/freescale/enetc/enetc.c struct enetc_tx_swbd *tx_swbd; tx_swbd 135 drivers/net/ethernet/freescale/enetc/enetc.c tx_swbd = &tx_ring->tx_swbd[i]; tx_swbd 136 drivers/net/ethernet/freescale/enetc/enetc.c tx_swbd->dma = dma; tx_swbd 137 drivers/net/ethernet/freescale/enetc/enetc.c tx_swbd->len = len; tx_swbd 138 drivers/net/ethernet/freescale/enetc/enetc.c tx_swbd->is_dma_page = 0; tx_swbd 144 drivers/net/ethernet/freescale/enetc/enetc.c tx_swbd->do_tstamp = do_tstamp; tx_swbd 145 drivers/net/ethernet/freescale/enetc/enetc.c tx_swbd->check_wb = tx_swbd->do_tstamp; tx_swbd 164 drivers/net/ethernet/freescale/enetc/enetc.c tx_swbd++; tx_swbd 169 drivers/net/ethernet/freescale/enetc/enetc.c tx_swbd = tx_ring->tx_swbd; tx_swbd 201 drivers/net/ethernet/freescale/enetc/enetc.c tx_swbd++; tx_swbd 206 drivers/net/ethernet/freescale/enetc/enetc.c tx_swbd = tx_ring->tx_swbd; tx_swbd 214 drivers/net/ethernet/freescale/enetc/enetc.c tx_swbd->dma = dma; tx_swbd 215 drivers/net/ethernet/freescale/enetc/enetc.c tx_swbd->len = len; tx_swbd 216 drivers/net/ethernet/freescale/enetc/enetc.c tx_swbd->is_dma_page = 1; tx_swbd 225 drivers/net/ethernet/freescale/enetc/enetc.c tx_ring->tx_swbd[i].skb = skb; tx_swbd 239 drivers/net/ethernet/freescale/enetc/enetc.c tx_swbd = &tx_ring->tx_swbd[i]; tx_swbd 240 drivers/net/ethernet/freescale/enetc/enetc.c enetc_free_tx_skb(tx_ring, tx_swbd); tx_swbd 335 drivers/net/ethernet/freescale/enetc/enetc.c struct enetc_tx_swbd *tx_swbd; tx_swbd 341 drivers/net/ethernet/freescale/enetc/enetc.c tx_swbd = &tx_ring->tx_swbd[i]; tx_swbd 347 drivers/net/ethernet/freescale/enetc/enetc.c bool is_eof = !!tx_swbd->skb; tx_swbd 349 drivers/net/ethernet/freescale/enetc/enetc.c if (unlikely(tx_swbd->check_wb)) { tx_swbd 356 drivers/net/ethernet/freescale/enetc/enetc.c tx_swbd->do_tstamp) { tx_swbd 363 drivers/net/ethernet/freescale/enetc/enetc.c if (likely(tx_swbd->dma)) tx_swbd 364 drivers/net/ethernet/freescale/enetc/enetc.c enetc_unmap_tx_buff(tx_ring, tx_swbd); tx_swbd 368 drivers/net/ethernet/freescale/enetc/enetc.c enetc_tstamp_tx(tx_swbd->skb, tstamp); tx_swbd 371 drivers/net/ethernet/freescale/enetc/enetc.c napi_consume_skb(tx_swbd->skb, napi_budget); tx_swbd 372 drivers/net/ethernet/freescale/enetc/enetc.c tx_swbd->skb = NULL; tx_swbd 375 drivers/net/ethernet/freescale/enetc/enetc.c tx_byte_cnt += tx_swbd->len; tx_swbd 378 drivers/net/ethernet/freescale/enetc/enetc.c tx_swbd++; tx_swbd 382 drivers/net/ethernet/freescale/enetc/enetc.c tx_swbd = tx_ring->tx_swbd; tx_swbd 771 drivers/net/ethernet/freescale/enetc/enetc.c txr->tx_swbd = vzalloc(txr->bd_count * sizeof(struct enetc_tx_swbd)); tx_swbd 772 drivers/net/ethernet/freescale/enetc/enetc.c if (!txr->tx_swbd) tx_swbd 777 drivers/net/ethernet/freescale/enetc/enetc.c vfree(txr->tx_swbd); tx_swbd 792 drivers/net/ethernet/freescale/enetc/enetc.c enetc_free_tx_skb(txr, &txr->tx_swbd[i]); tx_swbd 799 drivers/net/ethernet/freescale/enetc/enetc.c vfree(txr->tx_swbd); tx_swbd 800 drivers/net/ethernet/freescale/enetc/enetc.c txr->tx_swbd = NULL; tx_swbd 897 drivers/net/ethernet/freescale/enetc/enetc.c if (!tx_ring->tx_swbd) tx_swbd 901 drivers/net/ethernet/freescale/enetc/enetc.c struct enetc_tx_swbd *tx_swbd = &tx_ring->tx_swbd[i]; tx_swbd 903 drivers/net/ethernet/freescale/enetc/enetc.c enetc_free_tx_skb(tx_ring, tx_swbd); tx_swbd 63 drivers/net/ethernet/freescale/enetc/enetc.h struct enetc_tx_swbd *tx_swbd;