Home
last modified time | relevance | path

Searched refs:isr (Results 1 – 19 of 19) sorted by relevance

/device/google/contexthub/firmware/os/platform/stm32/
Dexti.c166 int extiSetMaxLatency(struct ChainedIsr *isr, uint32_t maxLatencyNs) in extiSetMaxLatency() argument
170 if (!isr) in extiSetMaxLatency()
173 if (maxLatencyNs != isr->maxLatencyNs) { in extiSetMaxLatency()
174 latency = isr->maxLatencyNs; in extiSetMaxLatency()
175 isr->maxLatencyNs = maxLatencyNs; in extiSetMaxLatency()
184 int extiChainIsr(IRQn_Type n, struct ChainedIsr *isr) in extiChainIsr() argument
189 else if (!list_is_empty(&isr->node)) in extiChainIsr()
192 chainIsr(&exti->base, isr); in extiChainIsr()
193 if (!mMaxLatency || (isr->maxLatencyNs && isr->maxLatencyNs < mMaxLatency)) in extiChainIsr()
194 extiUpdateMaxLatency(isr->maxLatencyNs); in extiChainIsr()
[all …]
Dspi.c458 static bool stmSpiExtiIsr(struct ChainedIsr *isr) in stmSpiExtiIsr() argument
460 struct StmSpiState *state = container_of(isr, struct StmSpiState, isrNss); in stmSpiExtiIsr()
475 struct ChainedIsr *isr = &pdev->state.isrNss; in stmSpiSlaveSetCsInterrupt() local
478 isr->func = stmSpiExtiIsr; in stmSpiSlaveSetCsInterrupt()
484 extiChainIsr(pdev->board->irqNss, isr); in stmSpiSlaveSetCsInterrupt()
486 extiUnchainIsr(pdev->board->irqNss, isr); in stmSpiSlaveSetCsInterrupt()
Ddma.c230 uint8_t isr = dmaGetIsr(busId, stream); in dmaIsr() local
232 if (isr & STM_DMA_ISR_TEIFx) in dmaIsr()
234 else if (isr & STM_DMA_ISR_TCIFx) in dmaIsr()
DhostIntf.c31 static bool platWakeupIsr(struct ChainedIsr *isr) in platWakeupIsr() argument
/device/google/contexthub/firmware/os/drivers/vsync/
Dvsync.c73 struct ChainedIsr isr; member
110 struct SensorTask *data = container_of(localIsr, struct SensorTask, isr); in vsyncIsr()
129 static bool enableInterrupt(struct Gpio *pin, struct ChainedIsr *isr) in enableInterrupt() argument
134 extiChainIsr(VSYNC_IRQ, isr); in enableInterrupt()
138 static bool disableInterrupt(struct Gpio *pin, struct ChainedIsr *isr) in disableInterrupt() argument
140 extiUnchainIsr(VSYNC_IRQ, isr); in disableInterrupt()
160 enableInterrupt(mTask.pin, &mTask.isr); in vsyncPower()
162 disableInterrupt(mTask.pin, &mTask.isr); in vsyncPower()
205 mTask.isr.func = vsyncIsr; in startTask()
206 mTask.isr.maxLatencyNs = MAX_VSYNC_INT_LATENCY; in startTask()
[all …]
/device/google/contexthub/firmware/os/drivers/hall/
Dhall.c53 struct ChainedIsr isr; member
85 struct SensorTask *data = container_of(localIsr, struct SensorTask, isr); in hallIsr()
104 static bool enableInterrupt(struct Gpio *pin, struct ChainedIsr *isr) in enableInterrupt() argument
109 extiChainIsr(HALL_IRQ, isr); in enableInterrupt()
113 static bool disableInterrupt(struct Gpio *pin, struct ChainedIsr *isr) in disableInterrupt() argument
115 extiUnchainIsr(HALL_IRQ, isr); in disableInterrupt()
140 enableInterrupt(mTask.pin, &mTask.isr); in hallPower()
142 disableInterrupt(mTask.pin, &mTask.isr); in hallPower()
213 mTask.isr.func = hallIsr; in startTask()
220 disableInterrupt(mTask.pin, &mTask.isr); in endTask()
[all …]
/device/google/contexthub/firmware/os/drivers/ams_tmd4903/
Dams_tmd4903.c227 struct ChainedIsr isr; member
319 struct SensorData *data = container_of(localIsr, struct SensorData, isr); in proxIsr()
355 static bool enableInterrupt(struct Gpio *pin, struct ChainedIsr *isr, enum ExtiTrigger trigger) in enableInterrupt() argument
358 extiChainIsr(PROX_IRQ, isr); in enableInterrupt()
362 static bool disableInterrupt(struct Gpio *pin, struct ChainedIsr *isr) in disableInterrupt() argument
364 extiUnchainIsr(PROX_IRQ, isr); in disableInterrupt()
538 enableInterrupt(mTask.pin, &mTask.isr, EXTI_TRIGGER_FALLING); in sensorCalibrateAls()
573 enableInterrupt(mTask.pin, &mTask.isr, EXTI_TRIGGER_FALLING); in sensorPowerProx()
575 disableInterrupt(mTask.pin, &mTask.isr); in sensorPowerProx()
624 enableInterrupt(mTask.pin, &mTask.isr, EXTI_TRIGGER_FALLING); in sensorCalibrateProx()
[all …]
/device/google/contexthub/firmware/os/inc/
Disr.h44 static inline void chainIsr(struct ChainedInterrupt *interrupt, struct ChainedIsr *isr) in chainIsr() argument
47 isr->tid = osGetCurrentTid(); in chainIsr()
48 list_add_tail(&interrupt->isrs, &isr->node); in chainIsr()
52 static inline void unchainIsr(struct ChainedInterrupt *interrupt, struct ChainedIsr *isr) in unchainIsr() argument
55 isr->tid = 0; in unchainIsr()
56 list_delete(&isr->node); in unchainIsr()
/device/google/contexthub/firmware/os/drivers/rohm_rpr0521/
Drohm_rpr0521.c226 struct ChainedIsr isr; member
258 struct SensorData *data = container_of(localIsr, struct SensorData, isr); in proxIsr()
285 static bool enableInterrupt(struct Gpio *pin, struct ChainedIsr *isr) in enableInterrupt() argument
288 extiChainIsr(PROX_IRQ, isr); in enableInterrupt()
292 static bool disableInterrupt(struct Gpio *pin, struct ChainedIsr *isr) in disableInterrupt() argument
294 extiUnchainIsr(PROX_IRQ, isr); in disableInterrupt()
482 enableInterrupt(mTask.pin, &mTask.isr); in sensorPowerProx()
484 disableInterrupt(mTask.pin, &mTask.isr); in sensorPowerProx()
759 mTask.isr.func = proxIsr; in init_app()
772 disableInterrupt(mTask.pin, &mTask.isr); in end_app()
[all …]
/device/google/contexthub/firmware/os/drivers/synaptics_s3708/
Dsynaptics_s3708.c146 struct ChainedIsr isr; member
164 extiChainIsr(TOUCH_IRQ, &mTask.isr); in enableInterrupt()
166 extiUnchainIsr(TOUCH_IRQ, &mTask.isr); in enableInterrupt()
174 struct TaskStruct *data = container_of(localIsr, struct TaskStruct, isr); in touchIsr()
579 mTask.isr.func = touchIsr; in startTask()
591 extiUnchainIsr(TOUCH_IRQ, &mTask.isr); in endTask()
/device/google/contexthub/firmware/os/drivers/hall_twopole/
Dhall_twopole.c121 static bool enableInterrupt(struct Gpio *pin, struct ChainedIsr *isr, IRQn_Type irqn) in enableInterrupt() argument
126 extiChainIsr(irqn, isr); in enableInterrupt()
130 static bool disableInterrupt(struct Gpio *pin, struct ChainedIsr *isr, IRQn_Type irqn) in disableInterrupt() argument
132 extiUnchainIsr(irqn, isr); in disableInterrupt()
/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/st_acc44/
Dst_acc44.c464 static void inline enableInterrupt(struct Gpio *pin, struct ChainedIsr *isr) in enableInterrupt() argument
469 extiChainIsr(ST_ACC44_INT_IRQ, isr); in enableInterrupt()
472 static void inline disableInterrupt(struct Gpio *pin, struct ChainedIsr *isr) in disableInterrupt() argument
474 extiUnchainIsr(ST_ACC44_INT_IRQ, isr); in disableInterrupt()
492 static bool st_acc44_int1_isr(struct ChainedIsr *isr) in st_acc44_int1_isr() argument
/device/google/contexthub/firmware/os/drivers/st_mag40/
Dst_mag40.c680 static void enableInterrupt(struct Gpio *pin, struct ChainedIsr *isr) in enableInterrupt() argument
685 extiChainIsr(ST_MAG40_INT_IRQ, isr); in enableInterrupt()
688 static void disableInterrupt(struct Gpio *pin, struct ChainedIsr *isr) in disableInterrupt() argument
690 extiUnchainIsr(ST_MAG40_INT_IRQ, isr); in disableInterrupt()
694 static bool st_mag40_int1_isr(struct ChainedIsr *isr) in st_mag40_int1_isr() argument
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/
Dbosch_bmi160.c902 static bool bmi160Isr1(struct ChainedIsr *isr) argument
904 TASK = container_of(isr, struct BMI160Task, Isr1);
916 static bool bmi160Isr2(struct ChainedIsr *isr) argument
918 TASK = container_of(isr, struct BMI160Task, Isr2);
1026 static bool enableInterrupt(struct Gpio *pin, IRQn_Type irq, struct ChainedIsr *isr) argument
1031 extiChainIsr(irq, isr);
1035 static bool disableInterrupt(struct Gpio *pin, IRQn_Type irq, struct ChainedIsr *isr) argument
1037 extiUnchainIsr(irq, isr);
/device/google/contexthub/firmware/os/drivers/invensense_icm40600/
Dinvensense_icm40600.c897 static bool icm40600Isr1(struct ChainedIsr *isr) argument
899 TASK = container_of(isr, struct ICM40600Task, Isr1);
1867 static bool enableInterrupt(struct Gpio *pin, IRQn_Type irq, struct ChainedIsr *isr) argument
1872 extiChainIsr(irq, isr);
1876 static bool disableInterrupt(struct Gpio *pin, IRQn_Type irq, struct ChainedIsr *isr) argument
1878 extiUnchainIsr(irq, isr);
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/
Dst_lsm6dsm.c1473 static bool lsm6dsm_isr1(struct ChainedIsr *isr) in lsm6dsm_isr1() argument
1492 static void lsm6dsm_enableInterrupt(struct Gpio *pin, struct ChainedIsr *isr) in lsm6dsm_enableInterrupt() argument
1497 extiChainIsr(LSM6DSM_INT_IRQ, isr); in lsm6dsm_enableInterrupt()
1505 static void lsm6dsm_disableInterrupt(struct Gpio *pin, struct ChainedIsr *isr) in lsm6dsm_disableInterrupt() argument
1507 extiUnchainIsr(LSM6DSM_INT_IRQ, isr); in lsm6dsm_disableInterrupt()
/device/google/cuttlefish_vmm/qemu/x86_64-linux-gnu/usr/share/qemu/
Dtrace-events-all2777 mipsnet_irq(uint32_t isr, uint32_t intctl) "set irq to %d (0x%02x)"
2802 pcnet_isr_change(void *s, uint32_t isr, uint32_t isr_old) "s=%p INTA=%d<=%d"
3240 dp8393x_raise_irq(int isr) "raise irq, isr is 0x%04x"
3267 xlnx_can_update_irq(uint32_t isr, uint32_t ier, uint32_t irq) "ISR: 0x%08x IER: 0x%08x IRQ: 0x%08x"
3277 xlnx_canfd_update_irq(char *path, uint32_t isr, uint32_t ier, uint32_t irq) "%s: ISR: 0x%08x IER: 0…
/device/google/cuttlefish_vmm/qemu/aarch64-linux-gnu/usr/share/qemu/
Dtrace-events-all2777 mipsnet_irq(uint32_t isr, uint32_t intctl) "set irq to %d (0x%02x)"
2802 pcnet_isr_change(void *s, uint32_t isr, uint32_t isr_old) "s=%p INTA=%d<=%d"
3240 dp8393x_raise_irq(int isr) "raise irq, isr is 0x%04x"
3267 xlnx_can_update_irq(uint32_t isr, uint32_t ier, uint32_t irq) "ISR: 0x%08x IER: 0x%08x IRQ: 0x%08x"
3277 xlnx_canfd_update_irq(char *path, uint32_t isr, uint32_t ier, uint32_t irq) "%s: ISR: 0x%08x IER: 0…