Home
last modified time | relevance | path

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

/freebsd-14.2/sys/dev/sfxge/
H A Dsfxge_port.c572 efsys_mem_t *esmp = &port->phy_stats.dma_buf; in sfxge_phy_stat_update()
585 if ((unsigned int)(now - port->phy_stats.update_time) < (unsigned int)hz) { in sfxge_phy_stat_update()
590 port->phy_stats.update_time = now; in sfxge_phy_stat_update()
603 port->phy_stats.decode_buf)) != EAGAIN) in sfxge_phy_stat_update()
624 val = ((uint32_t *)sc->port.phy_stats.decode_buf)[id]; in sfxge_phy_stat_handler()
672 sfxge_dma_free(&port->phy_stats.dma_buf); in sfxge_port_fini()
673 free(port->phy_stats.decode_buf, M_SFXGE); in sfxge_port_fini()
758 phy_stats_buf = &port->phy_stats.dma_buf; in sfxge_port_init()
768 port->phy_stats.decode_buf = malloc(EFX_PHY_NSTATS * sizeof(uint32_t), in sfxge_port_init()
816 free(port->phy_stats.decode_buf, M_SFXGE); in sfxge_port_init()
H A Dsfxge.h247 struct sfxge_hw_stats phy_stats; member