Lines Matching full:device
18 typedef int (*isr_t)(const struct device *dev);
21 typedef int (*shared_irq_register_t)(const struct device *dev,
23 const struct device *isr_dev);
24 typedef int (*shared_irq_enable_t)(const struct device *dev,
25 const struct device *isr_dev);
26 typedef int (*shared_irq_disable_t)(const struct device *dev,
27 const struct device *isr_dev);
36 * @brief Register a device ISR
37 * @param dev Pointer to device structure for SHARED_IRQ driver instance.
38 * @param isr_func Pointer to the ISR function for the device.
39 * @param isr_dev Pointer to the device that will service the interrupt.
41 static inline int shared_irq_isr_register(const struct device *dev, in shared_irq_isr_register()
43 const struct device *isr_dev) in shared_irq_isr_register()
52 * @brief Enable ISR for device
53 * @param dev Pointer to device structure for SHARED_IRQ driver instance.
54 * @param isr_dev Pointer to the device that will service the interrupt.
56 static inline int shared_irq_enable(const struct device *dev, in shared_irq_enable()
57 const struct device *isr_dev) in shared_irq_enable()
66 * @brief Disable ISR for device
67 * @param dev Pointer to device structure for SHARED_IRQ driver instance.
68 * @param isr_dev Pointer to the device that will service the interrupt.
70 static inline int shared_irq_disable(const struct device *dev, in shared_irq_disable()
71 const struct device *isr_dev) in shared_irq_disable()