Home
last modified time | relevance | path

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

/freebsd-12.1/sys/dev/sfxge/
H A Dsfxge_port.c574 efsys_mem_t *esmp = &port->phy_stats.dma_buf; in sfxge_phy_stat_update()
587 if ((unsigned int)(now - port->phy_stats.update_time) < (unsigned int)hz) { in sfxge_phy_stat_update()
592 port->phy_stats.update_time = now; in sfxge_phy_stat_update()
605 port->phy_stats.decode_buf)) != EAGAIN) in sfxge_phy_stat_update()
626 val = ((uint32_t *)sc->port.phy_stats.decode_buf)[id]; in sfxge_phy_stat_handler()
676 sfxge_dma_free(&port->phy_stats.dma_buf); in sfxge_port_fini()
677 free(port->phy_stats.decode_buf, M_SFXGE); in sfxge_port_fini()
760 phy_stats_buf = &port->phy_stats.dma_buf; in sfxge_port_init()
770 port->phy_stats.decode_buf = malloc(EFX_PHY_NSTATS * sizeof(uint32_t), in sfxge_port_init()
814 free(port->phy_stats.decode_buf, M_SFXGE); in sfxge_port_init()
H A Dsfxge.h255 struct sfxge_hw_stats phy_stats; member