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

Function ciu_bind_intr

freebsd/mips/cavium/ciu.c:274–287  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

272
273#ifdef SMP
274static int
275ciu_bind_intr(device_t bus, device_t child, struct resource *res, int cpu)
276{
277 struct intr_event *event;
278 int irq;
279
280 irq = rman_get_start(res);
281 if (irq <= CIU_IRQ_EN0_END)
282 event = ciu_en0_intr_events[irq - CIU_IRQ_EN0_BEGIN];
283 else
284 event = ciu_en1_intr_events[irq - CIU_IRQ_EN1_BEGIN];
285
286 return (intr_event_bind(event, cpu));
287}
288#endif
289
290static int

Callers

nothing calls this directly

Calls 2

rman_get_startFunction · 0.85
intr_event_bindFunction · 0.50

Tested by

no test coverage detected