Searched refs:buff_start (Results 1 – 2 of 2) sorted by relevance
1929 unsigned char *buff_start; in skb_to_contig_fd() local1937 buff_start = skb->data - priv->tx_headroom; in skb_to_contig_fd()1940 swbp = (struct dpaa_eth_swbp *)buff_start; in skb_to_contig_fd()1949 buff_start + DPAA_TX_PRIV_DATA_SIZE); in skb_to_contig_fd()1962 addr = dma_map_single(priv->tx_dma_dev, buff_start, in skb_to_contig_fd()1982 void *buff_start; in skb_to_sg_fd() local1995 buff_start = page_address(p); in skb_to_sg_fd()2003 buff_start + DPAA_TX_PRIV_DATA_SIZE); in skb_to_sg_fd()2012 sgt = (struct qm_sg_entry *)(buff_start + priv->tx_headroom); in skb_to_sg_fd()2054 swbp = (struct dpaa_eth_swbp *)buff_start; in skb_to_sg_fd()[all …]
1043 u8 *buff_start; in dpaa2_switch_build_single_fd() local1046 buff_start = PTR_ALIGN(skb->data - DPAA2_SWITCH_TX_DATA_OFFSET - in dpaa2_switch_build_single_fd()1054 hwa = buff_start + DPAA2_SWITCH_SWA_SIZE; in dpaa2_switch_build_single_fd()1061 skbh = (struct sk_buff **)buff_start; in dpaa2_switch_build_single_fd()1064 addr = dma_map_single(dev, buff_start, in dpaa2_switch_build_single_fd()1065 skb_tail_pointer(skb) - buff_start, in dpaa2_switch_build_single_fd()1074 dpaa2_fd_set_offset(fd, (u16)(skb->data - buff_start)); in dpaa2_switch_build_single_fd()