9#ifndef ZEPHYR_INCLUDE_SHARED_IRQ_H_
10#define ZEPHYR_INCLUDE_SHARED_IRQ_H_
23 const struct device *isr_dev);
25 const struct device *isr_dev);
27 const struct device *isr_dev);
43 const struct device *isr_dev)
57 const struct device *isr_dev)
62 return api->
enable(dev, isr_dev);
71 const struct device *isr_dev)
76 return api->
disable(dev, isr_dev);
int(* shared_irq_enable_t)(const struct device *dev, const struct device *isr_dev)
Definition: shared_irq.h:24
int(* shared_irq_disable_t)(const struct device *dev, const struct device *isr_dev)
Definition: shared_irq.h:26
static int shared_irq_isr_register(const struct device *dev, isr_t isr_func, const struct device *isr_dev)
Register a device ISR.
Definition: shared_irq.h:41
int(* isr_t)(const struct device *dev)
Definition: shared_irq.h:18
static int shared_irq_disable(const struct device *dev, const struct device *isr_dev)
Disable ISR for device.
Definition: shared_irq.h:70
int(* shared_irq_register_t)(const struct device *dev, isr_t isr_func, const struct device *isr_dev)
Definition: shared_irq.h:21
static int shared_irq_enable(const struct device *dev, const struct device *isr_dev)
Enable ISR for device.
Definition: shared_irq.h:56
Runtime device structure (in ROM) per driver instance.
Definition: device.h:367
const void * api
Definition: device.h:373
Definition: shared_irq.h:29
shared_irq_disable_t disable
Definition: shared_irq.h:32
shared_irq_enable_t enable
Definition: shared_irq.h:31
shared_irq_register_t isr_register
Definition: shared_irq.h:30