Lines Matching refs:data_buf
635 struct sfi_counter_data *data_buf; in enetc_streamcounter_hw_get() local
646 data_buf = kzalloc(data_size, __GFP_DMA | GFP_KERNEL); in enetc_streamcounter_hw_get()
647 if (!data_buf) in enetc_streamcounter_hw_get()
650 dma = dma_map_single(&priv->si->pdev->dev, data_buf, in enetc_streamcounter_hw_get()
666 cnt->matching_frames_count = ((u64)data_buf->matchh << 32) + in enetc_streamcounter_hw_get()
667 data_buf->matchl; in enetc_streamcounter_hw_get()
669 cnt->not_passing_sdu_count = ((u64)data_buf->msdu_droph << 32) + in enetc_streamcounter_hw_get()
670 data_buf->msdu_dropl; in enetc_streamcounter_hw_get()
676 ((u64)data_buf->stream_gate_droph << 32) + in enetc_streamcounter_hw_get()
677 data_buf->stream_gate_dropl; in enetc_streamcounter_hw_get()
683 cnt->red_frames_count = ((u64)data_buf->flow_meter_droph << 32) + in enetc_streamcounter_hw_get()
684 data_buf->flow_meter_dropl; in enetc_streamcounter_hw_get()
687 kfree(data_buf); in enetc_streamcounter_hw_get()