Home
last modified time | relevance | path

Searched refs:buff_start (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/ethernet/freescale/dpaa/
H A Ddpaa_eth.c1929 unsigned char *buff_start; in skb_to_contig_fd() local
1937 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() local
1995 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 …]
/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-switch.c1043 u8 *buff_start; in dpaa2_switch_build_single_fd() local
1046 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()