MCPcopy Create free account
hub / github.com/F-Stack/f-stack / emac_tick

Function emac_tick

freebsd/arm/allwinner/if_emac.c:478–490  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

476}
477
478static void
479emac_tick(void *arg)
480{
481 struct emac_softc *sc;
482 struct mii_data *mii;
483
484 sc = (struct emac_softc *)arg;
485 mii = device_get_softc(sc->emac_miibus);
486 mii_tick(mii);
487
488 emac_watchdog(sc);
489 callout_reset(&sc->emac_tick_ch, hz, emac_tick, sc);
490}
491
492static void
493emac_init(void *xcs)

Callers

nothing calls this directly

Calls 2

device_get_softcFunction · 0.85
emac_watchdogFunction · 0.85

Tested by

no test coverage detected