Lines Matching refs:data_buf
629 struct sfi_counter_data *data_buf; in enetc_streamcounter_hw_get() local
640 data_buf = kzalloc(data_size, __GFP_DMA | GFP_KERNEL); in enetc_streamcounter_hw_get()
641 if (!data_buf) in enetc_streamcounter_hw_get()
644 dma = dma_map_single(&priv->si->pdev->dev, data_buf, in enetc_streamcounter_hw_get()
661 ((u64)le32_to_cpu(data_buf->matchh) << 32) in enetc_streamcounter_hw_get()
662 + data_buf->matchl; in enetc_streamcounter_hw_get()
665 ((u64)le32_to_cpu(data_buf->msdu_droph) << 32) in enetc_streamcounter_hw_get()
666 + data_buf->msdu_dropl; in enetc_streamcounter_hw_get()
672 ((u64)le32_to_cpu(data_buf->stream_gate_droph) << 32) in enetc_streamcounter_hw_get()
673 + le32_to_cpu(data_buf->stream_gate_dropl); in enetc_streamcounter_hw_get()
680 ((u64)le32_to_cpu(data_buf->flow_meter_droph) << 32) in enetc_streamcounter_hw_get()
681 + le32_to_cpu(data_buf->flow_meter_dropl); in enetc_streamcounter_hw_get()
684 kfree(data_buf); in enetc_streamcounter_hw_get()