Lines Matching refs:buffer_start

1071 	u8 *buffer_start, *aligned_start;  in dpaa2_eth_build_single_fd()  local
1075 buffer_start = skb->data - dpaa2_eth_needed_headroom(skb); in dpaa2_eth_build_single_fd()
1080 aligned_start = PTR_ALIGN(buffer_start - DPAA2_ETH_TX_BUF_ALIGN, in dpaa2_eth_build_single_fd()
1083 buffer_start = aligned_start; in dpaa2_eth_build_single_fd()
1089 *swa_addr = (void *)buffer_start; in dpaa2_eth_build_single_fd()
1090 swa = (struct dpaa2_eth_swa *)buffer_start; in dpaa2_eth_build_single_fd()
1094 addr = dma_map_single(dev, buffer_start, in dpaa2_eth_build_single_fd()
1095 skb_tail_pointer(skb) - buffer_start, in dpaa2_eth_build_single_fd()
1102 dpaa2_fd_set_offset(fd, (u16)(skb->data - buffer_start)); in dpaa2_eth_build_single_fd()
1125 unsigned char *buffer_start; in dpaa2_eth_free_tx_fd() local
1135 buffer_start = dpaa2_iova_to_virt(priv->iommu_domain, fd_addr); in dpaa2_eth_free_tx_fd()
1136 swa = (struct dpaa2_eth_swa *)buffer_start; in dpaa2_eth_free_tx_fd()
1145 skb_tail_pointer(skb) - buffer_start, in dpaa2_eth_free_tx_fd()
1167 sgt = (struct dpaa2_sg_entry *)(buffer_start + in dpaa2_eth_free_tx_fd()
1198 sgt = (struct dpaa2_sg_entry *)(buffer_start + in dpaa2_eth_free_tx_fd()
1210 dpaa2_eth_sgt_recycle(priv, buffer_start); in dpaa2_eth_free_tx_fd()
1228 __le64 *ts = dpaa2_get_ts(buffer_start, true); in dpaa2_eth_free_tx_fd()
1243 dpaa2_eth_sgt_recycle(priv, buffer_start); in dpaa2_eth_free_tx_fd()
2812 void *buffer_start, *aligned_start; in dpaa2_eth_xdp_create_fd() local
2826 buffer_start = xdpf->data - needed_headroom; in dpaa2_eth_xdp_create_fd()
2827 aligned_start = PTR_ALIGN(buffer_start - DPAA2_ETH_TX_BUF_ALIGN, in dpaa2_eth_xdp_create_fd()
2830 buffer_start = aligned_start; in dpaa2_eth_xdp_create_fd()
2832 swa = (struct dpaa2_eth_swa *)buffer_start; in dpaa2_eth_xdp_create_fd()
2835 swa->xdp.dma_size = xdpf->data + xdpf->len - buffer_start; in dpaa2_eth_xdp_create_fd()
2838 addr = dma_map_single(dev, buffer_start, in dpaa2_eth_xdp_create_fd()
2845 dpaa2_fd_set_offset(fd, xdpf->data - buffer_start); in dpaa2_eth_xdp_create_fd()