Lines Matching refs:buffer_start
1041 u8 *buffer_start, *aligned_start; in dpaa2_eth_build_single_fd() local
1045 buffer_start = skb->data - dpaa2_eth_needed_headroom(skb); in dpaa2_eth_build_single_fd()
1050 aligned_start = PTR_ALIGN(buffer_start - DPAA2_ETH_TX_BUF_ALIGN, in dpaa2_eth_build_single_fd()
1053 buffer_start = aligned_start; in dpaa2_eth_build_single_fd()
1059 *swa_addr = (void *)buffer_start; in dpaa2_eth_build_single_fd()
1060 swa = (struct dpaa2_eth_swa *)buffer_start; in dpaa2_eth_build_single_fd()
1064 addr = dma_map_single(dev, buffer_start, in dpaa2_eth_build_single_fd()
1065 skb_tail_pointer(skb) - buffer_start, in dpaa2_eth_build_single_fd()
1072 dpaa2_fd_set_offset(fd, (u16)(skb->data - buffer_start)); in dpaa2_eth_build_single_fd()
1094 unsigned char *buffer_start; in dpaa2_eth_free_tx_fd() local
1104 buffer_start = dpaa2_iova_to_virt(priv->iommu_domain, fd_addr); in dpaa2_eth_free_tx_fd()
1105 swa = (struct dpaa2_eth_swa *)buffer_start; in dpaa2_eth_free_tx_fd()
1114 skb_tail_pointer(skb) - buffer_start, in dpaa2_eth_free_tx_fd()
1136 sgt = (struct dpaa2_sg_entry *)(buffer_start + in dpaa2_eth_free_tx_fd()
1163 sgt = (struct dpaa2_sg_entry *)(buffer_start + in dpaa2_eth_free_tx_fd()
1187 __le64 *ts = dpaa2_get_ts(buffer_start, true); in dpaa2_eth_free_tx_fd()
1202 dpaa2_eth_sgt_recycle(priv, buffer_start); in dpaa2_eth_free_tx_fd()
2668 void *buffer_start, *aligned_start; in dpaa2_eth_xdp_create_fd() local
2682 buffer_start = xdpf->data - needed_headroom; in dpaa2_eth_xdp_create_fd()
2683 aligned_start = PTR_ALIGN(buffer_start - DPAA2_ETH_TX_BUF_ALIGN, in dpaa2_eth_xdp_create_fd()
2686 buffer_start = aligned_start; in dpaa2_eth_xdp_create_fd()
2688 swa = (struct dpaa2_eth_swa *)buffer_start; in dpaa2_eth_xdp_create_fd()
2691 swa->xdp.dma_size = xdpf->data + xdpf->len - buffer_start; in dpaa2_eth_xdp_create_fd()
2694 addr = dma_map_single(dev, buffer_start, in dpaa2_eth_xdp_create_fd()
2701 dpaa2_fd_set_offset(fd, xdpf->data - buffer_start); in dpaa2_eth_xdp_create_fd()