Lines Matching refs:p
645 char *p; in stmmac_get_ethtool_stats() local
646 p = (char *)priv + stmmac_mmc[i].stat_offset; in stmmac_get_ethtool_stats()
649 sizeof(u64)) ? (*(u64 *)p) : in stmmac_get_ethtool_stats()
650 (*(u32 *)p); in stmmac_get_ethtool_stats()
665 char *p = (char *)priv + stmmac_gstrings_stats[i].stat_offset; in stmmac_get_ethtool_stats() local
667 sizeof(u64)) ? (*(u64 *)p) : (*(u32 *)p); in stmmac_get_ethtool_stats()
783 u8 *p = data; in stmmac_get_strings() local
794 memcpy(p, desc, ETH_GSTRING_LEN); in stmmac_get_strings()
795 p += ETH_GSTRING_LEN; in stmmac_get_strings()
801 memcpy(p, stmmac_mmc[i].stat_string, in stmmac_get_strings()
803 p += ETH_GSTRING_LEN; in stmmac_get_strings()
806 memcpy(p, stmmac_gstrings_stats[i].stat_string, ETH_GSTRING_LEN); in stmmac_get_strings()
807 p += ETH_GSTRING_LEN; in stmmac_get_strings()
810 memcpy(p, stmmac_qstats_string[i], ETH_GSTRING_LEN); in stmmac_get_strings()
811 p += ETH_GSTRING_LEN; in stmmac_get_strings()
813 stmmac_get_qstats_string(priv, p); in stmmac_get_strings()
816 stmmac_selftest_get_strings(priv, p); in stmmac_get_strings()