MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / rt_ofw_map_irq

Function rt_ofw_map_irq

components/drivers/ofw/irq.c:566–580  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

564}
565
566int rt_ofw_map_irq(struct rt_ofw_cell_args *irq_args)
567{
568 int irq;
569
570 if (irq_args && irq_args->data && irq_args->args_count > 0)
571 {
572 irq = ofw_map_irq(irq_args);
573 }
574 else
575 {
576 irq = -RT_EINVAL;
577 }
578
579 return irq;
580}
581
582int rt_ofw_get_irq_count(struct rt_ofw_node *np)
583{

Callers 1

Calls 1

ofw_map_irqFunction · 0.85

Tested by

no test coverage detected