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

Function nexus_setup_intr

freebsd/arm/arm/nexus.c:307–316  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

305}
306
307static int
308nexus_setup_intr(device_t dev, device_t child, struct resource *res, int flags,
309 driver_filter_t *filt, driver_intr_t *intr, void *arg, void **cookiep)
310{
311
312 if ((rman_get_flags(res) & RF_SHAREABLE) == 0)
313 flags |= INTR_EXCL;
314
315 return(intr_setup_irq(child, res, filt, intr, arg, flags, cookiep));
316}
317
318static int
319nexus_teardown_intr(device_t dev, device_t child, struct resource *r, void *ih)

Callers

nothing calls this directly

Calls 2

rman_get_flagsFunction · 0.85
intr_setup_irqFunction · 0.85

Tested by

no test coverage detected