Lines Matching refs:nic_stats
1545 struct cp_dma_stats *nic_stats; in cp_get_ethtool_stats() local
1549 nic_stats = dma_alloc_coherent(&cp->pdev->dev, sizeof(*nic_stats), in cp_get_ethtool_stats()
1551 if (!nic_stats) in cp_get_ethtool_stats()
1569 tmp_stats[i++] = le64_to_cpu(nic_stats->tx_ok); in cp_get_ethtool_stats()
1570 tmp_stats[i++] = le64_to_cpu(nic_stats->rx_ok); in cp_get_ethtool_stats()
1571 tmp_stats[i++] = le64_to_cpu(nic_stats->tx_err); in cp_get_ethtool_stats()
1572 tmp_stats[i++] = le32_to_cpu(nic_stats->rx_err); in cp_get_ethtool_stats()
1573 tmp_stats[i++] = le16_to_cpu(nic_stats->rx_fifo); in cp_get_ethtool_stats()
1574 tmp_stats[i++] = le16_to_cpu(nic_stats->frame_align); in cp_get_ethtool_stats()
1575 tmp_stats[i++] = le32_to_cpu(nic_stats->tx_ok_1col); in cp_get_ethtool_stats()
1576 tmp_stats[i++] = le32_to_cpu(nic_stats->tx_ok_mcol); in cp_get_ethtool_stats()
1577 tmp_stats[i++] = le64_to_cpu(nic_stats->rx_ok_phys); in cp_get_ethtool_stats()
1578 tmp_stats[i++] = le64_to_cpu(nic_stats->rx_ok_bcast); in cp_get_ethtool_stats()
1579 tmp_stats[i++] = le32_to_cpu(nic_stats->rx_ok_mcast); in cp_get_ethtool_stats()
1580 tmp_stats[i++] = le16_to_cpu(nic_stats->tx_abort); in cp_get_ethtool_stats()
1581 tmp_stats[i++] = le16_to_cpu(nic_stats->tx_underrun); in cp_get_ethtool_stats()
1585 dma_free_coherent(&cp->pdev->dev, sizeof(*nic_stats), nic_stats, dma); in cp_get_ethtool_stats()