Lines Matching full:device
17 typedef int (*isr_t)(const struct device *dev);
20 typedef int (*shared_irq_register_t)(const struct device *dev,
22 const struct device *isr_dev);
23 typedef int (*shared_irq_enable_t)(const struct device *dev,
24 const struct device *isr_dev);
25 typedef int (*shared_irq_disable_t)(const struct device *dev,
26 const struct device *isr_dev);
35 * @brief Register a device ISR
36 * @param dev Pointer to device structure for SHARED_IRQ driver instance.
37 * @param isr_func Pointer to the ISR function for the device.
38 * @param isr_dev Pointer to the device that will service the interrupt.
40 static inline int shared_irq_isr_register(const struct device *dev, in shared_irq_isr_register()
42 const struct device *isr_dev) in shared_irq_isr_register()
51 * @brief Enable ISR for device
52 * @param dev Pointer to device structure for SHARED_IRQ driver instance.
53 * @param isr_dev Pointer to the device that will service the interrupt.
55 static inline int shared_irq_enable(const struct device *dev, in shared_irq_enable()
56 const struct device *isr_dev) in shared_irq_enable()
65 * @brief Disable ISR for device
66 * @param dev Pointer to device structure for SHARED_IRQ driver instance.
67 * @param isr_dev Pointer to the device that will service the interrupt.
69 static inline int shared_irq_disable(const struct device *dev, in shared_irq_disable()
70 const struct device *isr_dev) in shared_irq_disable()