Home
last modified time | relevance | path

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

12

/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/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/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/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/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()
449 enableInterrupt(mTask.pin, &mTask.isr); in sensorPowerProx()
451 disableInterrupt(mTask.pin, &mTask.isr); in sensorPowerProx()
732 mTask.isr.func = proxIsr; in init_app()
745 disableInterrupt(mTask.pin, &mTask.isr); in end_app()
[all …]
/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/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/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/linaro/bootloader/arm-trusted-firmware/plat/mediatek/mt8173/drivers/spm/
Dspm.c217 wakesta->isr = mmio_read_32(SPM_SLEEP_ISR_STATUS); in spm_get_wakeup_status()
351 wakesta->isr); in spm_output_wake_reason()
Dspm.h253 unsigned int isr; member
/device/linaro/bootloader/edk2/MdePkg/Library/BaseLib/Ipf/
DReadCr.s72 (p18) mov ret0=cr.isr // cr17
/device/linaro/hikey/hifi/xaf/hifi-dpf/build_hikey/
DMakefile74 xf-isr.o \
Dmap_hikey.txt135 LOAD objs/hikey/xf-isr.o
971 .text 0xc000a070 0x108 objs/hikey/xf-isr.o
1145 .literal 0xc00192fc 0x0 objs/hikey/xf-isr.o
1262 .data 0xc001a0f0 0x0 objs/hikey/xf-isr.o
1370 .bss 0xc001a3b4 0x0 objs/hikey/xf-isr.o
1485 0x000001a0 0x20 objs/hikey/xf-isr.o
1605 0x000006af 0x42 objs/hikey/xf-isr.o
1662 .debug_info 0x0000a363 0xc73 objs/hikey/xf-isr.o
1724 .debug_abbrev 0x000014d6 0x184 objs/hikey/xf-isr.o
1786 .debug_line 0x00003b8a 0x33e objs/hikey/xf-isr.o
[all …]
/device/linaro/bootloader/edk2/StdLib/Include/Ipf/machine/
D_regset.h76 unsigned long isr; member
Dia64_cpu.h365 IA64_CR(isr)
/device/linaro/bootloader/arm-trusted-firmware/include/lib/aarch32/
Darch_helpers.h231 DEFINE_COPROCR_READ_FUNC(isr, ISR)
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/
Dbosch_bmi160.c895 static bool bmi160Isr1(struct ChainedIsr *isr) argument
897 TASK = container_of(isr, struct BMI160Task, Isr1);
909 static bool bmi160Isr2(struct ChainedIsr *isr) argument
911 TASK = container_of(isr, struct BMI160Task, Isr2);
1019 static bool enableInterrupt(struct Gpio *pin, IRQn_Type irq, struct ChainedIsr *isr) argument
1024 extiChainIsr(irq, isr);
1028 static bool disableInterrupt(struct Gpio *pin, IRQn_Type irq, struct ChainedIsr *isr) argument
1030 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/linaro/bootloader/edk2/MdeModulePkg/Universal/DebugSupportDxe/Ipf/
DAsmFuncs.s857 mov loc0=cr.isr;; // save isr
1015 mov cr.isr=loc0;;

12