|
PebbleOS v4.48.0-75-g7416f78a1
|
Interrupt controller driver operations, called with interrupts locked. More...
#include <driver.h>
Data Fields | |
| int(* | configure )(const struct pbl_intc *intc, uint32_t hwirq, uint32_t type) |
| Set the trigger type of a disabled line. | |
| int(* | enable )(const struct pbl_intc *intc, uint32_t hwirq) |
| Unmask a line. | |
| int(* | disable )(const struct pbl_intc *intc, uint32_t hwirq) |
| Mask a line. | |
| int(* | set_wake )(const struct pbl_intc *intc, uint32_t hwirq, uint32_t type) |
| Make a line a wake source from power-off with a wake type (see pbl_intc_set_wake()), or not with 0. | |
| void(* | free )(const struct pbl_intc *intc, uint32_t hwirq) |
| Release what configure() took for a disabled line, and its wake setting. | |
| int(* | trigger )(const struct pbl_intc *intc, uint32_t hwirq) |
| Raise a line by software. | |
Interrupt controller driver operations, called with interrupts locked.
| int(* pbl_intc_ops::configure) (const struct pbl_intc *intc, uint32_t hwirq, uint32_t type) |
Set the trigger type of a disabled line.
Returns 0, -ENOTSUP or a negative errno.
| int(* pbl_intc_ops::disable) (const struct pbl_intc *intc, uint32_t hwirq) |
Mask a line.
Returns 0 or a negative errno.
| int(* pbl_intc_ops::enable) (const struct pbl_intc *intc, uint32_t hwirq) |
Unmask a line.
Returns 0 or a negative errno.
| void(* pbl_intc_ops::free) (const struct pbl_intc *intc, uint32_t hwirq) |
Release what configure() took for a disabled line, and its wake setting.
Optional.
| int(* pbl_intc_ops::set_wake) (const struct pbl_intc *intc, uint32_t hwirq, uint32_t type) |
Make a line a wake source from power-off with a wake type (see pbl_intc_set_wake()), or not with 0.
Optional. Returns 0, -ENOTSUP or a negative errno.
| int(* pbl_intc_ops::trigger) (const struct pbl_intc *intc, uint32_t hwirq) |
Raise a line by software.
Optional. Returns 0, -ENOTSUP or a negative errno.