Lines Matching refs:p
1007 u32 *p = &bp->hw_stats.macb.rx_pause_frames; in macb_update_stats() local
1011 WARN_ON((unsigned long)(end - p - 1) != (MACB_TPF - MACB_PFR) / 4); in macb_update_stats()
1013 for (; p < end; p++, offset += 4) in macb_update_stats()
1014 *p += bp->macb_reg_readl(bp, offset); in macb_update_stats()
3056 u32 *p = &bp->hw_stats.gem.tx_octets_31_0; in gem_update_stats() local
3058 for (i = 0; i < GEM_STATS_LEN; ++i, ++p) { in gem_update_stats()
3063 *p += val; in gem_update_stats()
3069 *(++p) += val; in gem_update_stats()
3143 static void gem_get_ethtool_strings(struct net_device *dev, u32 sset, u8 *p) in gem_get_ethtool_strings() argument
3153 for (i = 0; i < GEM_STATS_LEN; i++, p += ETH_GSTRING_LEN) in gem_get_ethtool_strings()
3154 memcpy(p, gem_statistics[i].stat_string, in gem_get_ethtool_strings()
3158 for (i = 0; i < QUEUE_STATS_LEN; i++, p += ETH_GSTRING_LEN) { in gem_get_ethtool_strings()
3161 memcpy(p, stat_string, ETH_GSTRING_LEN); in gem_get_ethtool_strings()
3221 void *p) in macb_get_regs() argument
3225 u32 *regs_buff = p; in macb_get_regs()