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

Function pmu_fdt_attach

freebsd/arm/arm/pmu_fdt.c:211–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

209}
210
211static int
212pmu_fdt_attach(device_t dev)
213{
214 struct pmu_softc *sc;
215 int err;
216
217 sc = device_get_softc(dev);
218 err = pmu_parse_intr(dev, sc);
219 if (err != 0)
220 return (err);
221
222 return (pmu_attach(dev));
223}
224
225static device_method_t pmu_fdt_methods[] = {
226 DEVMETHOD(device_probe, pmu_fdt_probe),

Callers

nothing calls this directly

Calls 3

device_get_softcFunction · 0.85
pmu_parse_intrFunction · 0.85
pmu_attachFunction · 0.85

Tested by

no test coverage detected