/device/google/contexthub/firmware/os/platform/stm32/ |
D | exti.c | 166 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 …]
|
D | spi.c | 458 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()
|
D | dma.c | 230 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()
|
D | hostIntf.c | 31 static bool platWakeupIsr(struct ChainedIsr *isr) in platWakeupIsr() argument
|
/device/google/contexthub/firmware/os/drivers/vsync/ |
D | vsync.c | 73 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/ |
D | hall.c | 53 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/ |
D | ams_tmd4903.c | 227 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/ |
D | isr.h | 44 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/ |
D | rohm_rpr0521.c | 226 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/ |
D | synaptics_s3708.c | 146 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/ |
D | hall_twopole.c | 121 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/ |
D | exti.h | 67 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/ |
D | st_acc44.c | 464 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/ |
D | st_mag40.c | 680 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/ |
D | bosch_bmi160.c | 902 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/ |
D | invensense_icm40600.c | 897 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/ |
D | st_lsm6dsm.c | 1473 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/ |
D | trace-events-all | 2777 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/ |
D | trace-events-all | 2777 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…
|