Lines Matching refs:bcnt
1633 u32 bcnt;
1663 bcnt = (size > NV_TX2_TSO_MAX_SIZE) ? NV_TX2_TSO_MAX_SIZE : size;
1664 np->put_tx_ctx->dma = pci_map_single(np->pci_dev, skb->data + offset, bcnt,
1666 np->put_tx_ctx->dma_len = bcnt;
1668 put_tx->flaglen = cpu_to_le32((bcnt-1) | tx_flags);
1671 offset += bcnt;
1672 size -= bcnt;
1688 bcnt = (size > NV_TX2_TSO_MAX_SIZE) ? NV_TX2_TSO_MAX_SIZE : size;
1689 np->put_tx_ctx->dma = pci_map_page(np->pci_dev, frag->page, frag->page_offset+offset, bcnt,
1691 np->put_tx_ctx->dma_len = bcnt;
1693 put_tx->flaglen = cpu_to_le32((bcnt-1) | tx_flags);
1695 offset += bcnt;
1696 size -= bcnt;
1749 u32 bcnt;
1779 bcnt = (size > NV_TX2_TSO_MAX_SIZE) ? NV_TX2_TSO_MAX_SIZE : size;
1780 np->put_tx_ctx->dma = pci_map_single(np->pci_dev, skb->data + offset, bcnt,
1782 np->put_tx_ctx->dma_len = bcnt;
1785 put_tx->flaglen = cpu_to_le32((bcnt-1) | tx_flags);
1788 offset += bcnt;
1789 size -= bcnt;
1805 bcnt = (size > NV_TX2_TSO_MAX_SIZE) ? NV_TX2_TSO_MAX_SIZE : size;
1806 np->put_tx_ctx->dma = pci_map_page(np->pci_dev, frag->page, frag->page_offset+offset, bcnt,
1808 np->put_tx_ctx->dma_len = bcnt;
1811 put_tx->flaglen = cpu_to_le32((bcnt-1) | tx_flags);
1813 offset += bcnt;
1814 size -= bcnt;