Home
last modified time | relevance | path

Searched refs:ChainedIsr (Results 1 – 16 of 16) sorted by relevance

/device/google/contexthub/firmware/os/inc/
Disr.h35 struct ChainedIsr { struct
40 bool (*func)(struct ChainedIsr *); argument
44 static inline void chainIsr(struct ChainedInterrupt *interrupt, struct ChainedIsr *isr) in chainIsr() argument
52 static inline void unchainIsr(struct ChainedInterrupt *interrupt, struct ChainedIsr *isr) in unchainIsr()
68 struct ChainedIsr *curIsr = container_of(cur, struct ChainedIsr, node); in dispatchIsr()
85 struct ChainedIsr *curIsr = container_of(cur, struct ChainedIsr, node); in unchainIsrAll()
101 struct ChainedIsr *curIsr = container_of(cur, struct ChainedIsr, node); in maxLatencyIsr()
/device/google/contexthub/firmware/os/platform/stm32/inc/plat/
Dexti.h67 int extiChainIsr(IRQn_Type n, struct ChainedIsr *isr);
68 int extiUnchainIsr(IRQn_Type n, struct ChainedIsr *isr);
71 int extiSetMaxLatency(struct ChainedIsr *isr, uint32_t maxLatencyNs);
/device/google/contexthub/firmware/os/drivers/hall_twopole/
Dhall_twopole.c62 struct ChainedIsr sIsr;
63 struct ChainedIsr nIsr;
103 static bool hallSouthIsr(struct ChainedIsr *localIsr) in hallSouthIsr()
112 static bool hallNorthIsr(struct ChainedIsr *localIsr) in hallNorthIsr()
121 static bool enableInterrupt(struct Gpio *pin, struct ChainedIsr *isr, IRQn_Type irqn) in enableInterrupt()
130 static bool disableInterrupt(struct Gpio *pin, struct ChainedIsr *isr, IRQn_Type irqn) in disableInterrupt()
/device/google/contexthub/firmware/os/drivers/vsync/
Dvsync.c73 struct ChainedIsr isr;
108 static bool vsyncIsr(struct ChainedIsr *localIsr) in vsyncIsr()
129 static bool enableInterrupt(struct Gpio *pin, struct ChainedIsr *isr) in enableInterrupt()
138 static bool disableInterrupt(struct Gpio *pin, struct ChainedIsr *isr) in disableInterrupt()
/device/google/contexthub/firmware/os/drivers/hall/
Dhall.c53 struct ChainedIsr isr;
83 static bool hallIsr(struct ChainedIsr *localIsr) in hallIsr()
104 static bool enableInterrupt(struct Gpio *pin, struct ChainedIsr *isr) in enableInterrupt()
113 static bool disableInterrupt(struct Gpio *pin, struct ChainedIsr *isr) in disableInterrupt()
/device/google/contexthub/firmware/os/platform/stm32/
DhostIntf.c29 static struct ChainedIsr mShWakeupIsr;
31 static bool platWakeupIsr(struct ChainedIsr *isr) in platWakeupIsr()
Dexti.c166 int extiSetMaxLatency(struct ChainedIsr *isr, uint32_t maxLatencyNs) in extiSetMaxLatency()
184 int extiChainIsr(IRQn_Type n, struct ChainedIsr *isr) in extiChainIsr()
199 int extiUnchainIsr(IRQn_Type n, struct ChainedIsr *isr) in extiUnchainIsr()
Dspi.c90 struct ChainedIsr isrNss;
458 static bool stmSpiExtiIsr(struct ChainedIsr *isr) in stmSpiExtiIsr()
475 struct ChainedIsr *isr = &pdev->state.isrNss; in stmSpiSlaveSetCsInterrupt()
/device/google/contexthub/firmware/os/drivers/st_acc44/
Dst_acc44.c261 struct ChainedIsr Isr1;
464 static void inline enableInterrupt(struct Gpio *pin, struct ChainedIsr *isr) in enableInterrupt()
472 static void inline disableInterrupt(struct Gpio *pin, struct ChainedIsr *isr) in disableInterrupt()
492 static bool st_acc44_int1_isr(struct ChainedIsr *isr) in st_acc44_int1_isr()
/device/google/contexthub/firmware/os/drivers/rohm_rpr0521/
Drohm_rpr0521.c226 struct ChainedIsr isr;
256 static bool proxIsr(struct ChainedIsr *localIsr) in proxIsr()
285 static bool enableInterrupt(struct Gpio *pin, struct ChainedIsr *isr) in enableInterrupt()
292 static bool disableInterrupt(struct Gpio *pin, struct ChainedIsr *isr) in disableInterrupt()
/device/google/contexthub/firmware/os/drivers/st_mag40/
Dst_mag40.c242 struct ChainedIsr Isr1;
680 static void enableInterrupt(struct Gpio *pin, struct ChainedIsr *isr) in enableInterrupt()
688 static void disableInterrupt(struct Gpio *pin, struct ChainedIsr *isr) in disableInterrupt()
694 static bool st_mag40_int1_isr(struct ChainedIsr *isr) in st_mag40_int1_isr()
/device/google/contexthub/firmware/os/drivers/ams_tmd4903/
Dams_tmd4903.c227 struct ChainedIsr isr;
317 static bool proxIsr(struct ChainedIsr *localIsr) in proxIsr()
355 static bool enableInterrupt(struct Gpio *pin, struct ChainedIsr *isr, enum ExtiTrigger trigger) in enableInterrupt()
362 static bool disableInterrupt(struct Gpio *pin, struct ChainedIsr *isr) in disableInterrupt()
/device/google/contexthub/firmware/os/drivers/synaptics_s3708/
Dsynaptics_s3708.c146 struct ChainedIsr isr;
172 static bool touchIsr(struct ChainedIsr *localIsr) in touchIsr()
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/
Dbosch_bmi160.c509 struct ChainedIsr Isr1;
510 struct ChainedIsr Isr2;
895 static bool bmi160Isr1(struct ChainedIsr *isr)
909 static bool bmi160Isr2(struct ChainedIsr *isr)
1019 static bool enableInterrupt(struct Gpio *pin, IRQn_Type irq, struct ChainedIsr *isr)
1028 static bool disableInterrupt(struct Gpio *pin, IRQn_Type irq, struct ChainedIsr *isr)
/device/google/contexthub/firmware/os/drivers/invensense_icm40600/
Dinvensense_icm40600.c621 struct ChainedIsr Isr1;
897 static bool icm40600Isr1(struct ChainedIsr *isr)
1867 static bool enableInterrupt(struct Gpio *pin, IRQn_Type irq, struct ChainedIsr *isr)
1876 static bool disableInterrupt(struct Gpio *pin, IRQn_Type irq, struct ChainedIsr *isr)
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/
Dst_lsm6dsm.c874 struct ChainedIsr isr1;
1473 static bool lsm6dsm_isr1(struct ChainedIsr *isr) in lsm6dsm_isr1()
1492 static void lsm6dsm_enableInterrupt(struct Gpio *pin, struct ChainedIsr *isr) in lsm6dsm_enableInterrupt()
1505 static void lsm6dsm_disableInterrupt(struct Gpio *pin, struct ChainedIsr *isr) in lsm6dsm_disableInterrupt()