Lines Matching refs:buf
90 static void tse_gstrings(struct net_device *dev, u32 stringset, u8 *buf) in tse_gstrings() argument
92 memcpy(buf, stat_gstrings, TSE_STATS_LEN * ETH_GSTRING_LEN); in tse_gstrings()
96 u64 *buf) in tse_fill_stats() argument
101 buf[0] = csrrd32(priv->mac_dev, in tse_fill_stats()
103 buf[1] = csrrd32(priv->mac_dev, in tse_fill_stats()
105 buf[2] = csrrd32(priv->mac_dev, in tse_fill_stats()
107 buf[3] = csrrd32(priv->mac_dev, in tse_fill_stats()
116 buf[4] = ext; in tse_fill_stats()
124 buf[5] = ext; in tse_fill_stats()
126 buf[6] = csrrd32(priv->mac_dev, in tse_fill_stats()
128 buf[7] = csrrd32(priv->mac_dev, in tse_fill_stats()
130 buf[8] = csrrd32(priv->mac_dev, in tse_fill_stats()
132 buf[9] = csrrd32(priv->mac_dev, in tse_fill_stats()
134 buf[10] = csrrd32(priv->mac_dev, in tse_fill_stats()
136 buf[11] = csrrd32(priv->mac_dev, in tse_fill_stats()
138 buf[12] = csrrd32(priv->mac_dev, in tse_fill_stats()
140 buf[13] = csrrd32(priv->mac_dev, in tse_fill_stats()
142 buf[14] = csrrd32(priv->mac_dev, in tse_fill_stats()
144 buf[15] = csrrd32(priv->mac_dev, in tse_fill_stats()
146 buf[16] = csrrd32(priv->mac_dev, in tse_fill_stats()
148 buf[17] = csrrd32(priv->mac_dev, in tse_fill_stats()
156 buf[18] = ext; in tse_fill_stats()
158 buf[19] = csrrd32(priv->mac_dev, in tse_fill_stats()
160 buf[20] = csrrd32(priv->mac_dev, in tse_fill_stats()
162 buf[21] = csrrd32(priv->mac_dev, in tse_fill_stats()
164 buf[22] = csrrd32(priv->mac_dev, in tse_fill_stats()
166 buf[23] = csrrd32(priv->mac_dev, in tse_fill_stats()
168 buf[24] = csrrd32(priv->mac_dev, in tse_fill_stats()
170 buf[25] = csrrd32(priv->mac_dev, in tse_fill_stats()
172 buf[26] = csrrd32(priv->mac_dev, in tse_fill_stats()
174 buf[27] = csrrd32(priv->mac_dev, in tse_fill_stats()
176 buf[28] = csrrd32(priv->mac_dev, in tse_fill_stats()
178 buf[29] = csrrd32(priv->mac_dev, in tse_fill_stats()
180 buf[30] = csrrd32(priv->mac_dev, in tse_fill_stats()
216 u32 *buf = regbuf; in tse_get_regs() local
233 buf[i] = csrrd32(priv->mac_dev, i * 4); in tse_get_regs()