Home
last modified time | relevance | path

Searched refs:phy_stats (Results 1 – 2 of 2) sorted by relevance

/freebsd-13.1/sys/dev/sfxge/
H A Dsfxge_port.c575 efsys_mem_t *esmp = &port->phy_stats.dma_buf; in sfxge_phy_stat_update()
588 if ((unsigned int)(now - port->phy_stats.update_time) < (unsigned int)hz) { in sfxge_phy_stat_update()
593 port->phy_stats.update_time = now; in sfxge_phy_stat_update()
606 port->phy_stats.decode_buf)) != EAGAIN) in sfxge_phy_stat_update()
627 val = ((uint32_t *)sc->port.phy_stats.decode_buf)[id]; in sfxge_phy_stat_handler()
675 sfxge_dma_free(&port->phy_stats.dma_buf); in sfxge_port_fini()
676 free(port->phy_stats.decode_buf, M_SFXGE); in sfxge_port_fini()
761 phy_stats_buf = &port->phy_stats.dma_buf; in sfxge_port_init()
771 port->phy_stats.decode_buf = malloc(EFX_PHY_NSTATS * sizeof(uint32_t), in sfxge_port_init()
819 free(port->phy_stats.decode_buf, M_SFXGE); in sfxge_port_init()
H A Dsfxge.h249 struct sfxge_hw_stats phy_stats; member