Lines Matching refs:data_buf
631 struct sfi_counter_data *data_buf; in enetc_streamcounter_hw_get() local
642 data_buf = kzalloc(data_size, __GFP_DMA | GFP_KERNEL); in enetc_streamcounter_hw_get()
643 if (!data_buf) in enetc_streamcounter_hw_get()
646 dma = dma_map_single(&priv->si->pdev->dev, data_buf, in enetc_streamcounter_hw_get()
662 cnt->matching_frames_count = ((u64)data_buf->matchh << 32) + in enetc_streamcounter_hw_get()
663 data_buf->matchl; in enetc_streamcounter_hw_get()
665 cnt->not_passing_sdu_count = ((u64)data_buf->msdu_droph << 32) + in enetc_streamcounter_hw_get()
666 data_buf->msdu_dropl; in enetc_streamcounter_hw_get()
672 ((u64)data_buf->stream_gate_droph << 32) + in enetc_streamcounter_hw_get()
673 data_buf->stream_gate_dropl; in enetc_streamcounter_hw_get()
679 cnt->red_frames_count = ((u64)data_buf->flow_meter_droph << 32) + in enetc_streamcounter_hw_get()
680 data_buf->flow_meter_dropl; in enetc_streamcounter_hw_get()
683 kfree(data_buf); in enetc_streamcounter_hw_get()