/device/google/contexthub/firmware/inc/ |
D | isr.h | 41 static inline void chainIsr(struct ChainedInterrupt *interrupt, struct ChainedIsr *isr) in chainIsr() argument 43 interrupt->disable(interrupt); in chainIsr() 44 list_add_tail(&interrupt->isrs, &isr->node); in chainIsr() 45 interrupt->enable(interrupt); in chainIsr() 48 static inline void unchainIsr(struct ChainedInterrupt *interrupt, struct ChainedIsr *isr) in unchainIsr() argument 50 interrupt->disable(interrupt); in unchainIsr() 53 if (!list_is_empty(&interrupt->isrs)) in unchainIsr() 54 interrupt->enable(interrupt); in unchainIsr() 57 static inline bool dispatchIsr(struct ChainedInterrupt *interrupt) in dispatchIsr() argument 63 list_iterate(&interrupt->isrs, cur, tmp) { in dispatchIsr() [all …]
|
D | nanohubCommand.h | 32 void nanohubPrefetchTx(uint32_t interrupt, uint32_t wakeup, uint32_t nonwakeup);
|
D | sensors.h | 46 uint8_t interrupt; member 206 uint8_t interrupt; /* interrupt to generate to AP */ member
|
D | hostIntf.h | 49 uint8_t interrupt; member
|
D | nanohubPacket.h | 226 uint8_t interrupt; member 240 uint8_t interrupt; member
|
/device/google/contexthub/firmware/src/ |
D | hostIntf.c | 90 uint8_t interrupt; member 519 if (sensor->interrupt == NANOHUB_INT_WAKEUP) in hostIntfPacketDequeue() 521 else if (sensor->interrupt == NANOHUB_INT_NONWAKEUP) in hostIntfPacketDequeue() 550 if (sensor->interrupt == NANOHUB_INT_WAKEUP) in hostIntfPacketDequeue() 552 else if (sensor->interrupt == NANOHUB_INT_NONWAKEUP) in hostIntfPacketDequeue() 557 if (buffer->interrupt == NANOHUB_INT_WAKEUP) in hostIntfPacketDequeue() 559 else if (buffer->interrupt == NANOHUB_INT_NONWAKEUP) in hostIntfPacketDequeue() 584 if (sensor->interrupt == NANOHUB_INT_WAKEUP) in queueDiscard() 586 else if (sensor->interrupt == NANOHUB_INT_NONWAKEUP) in queueDiscard() 595 if (buffer->interrupt == NANOHUB_INT_WAKEUP) in queueDiscard() [all …]
|
D | nanohubCommand.c | 635 hostIntfSetInterruptMask(req->interrupt); in maskInterrupt() 646 hostIntfClearInterruptMask(req->interrupt); in unmaskInterrupt() 723 packet->firstSample.interrupt = NANOHUB_INT_WAKEUP; in fillBuffer() 729 … if (isSensorEvent(packet->evtType) && packet->firstSample.interrupt == NANOHUB_INT_WAKEUP) in fillBuffer() 730 firstPacket->firstSample.interrupt = NANOHUB_INT_WAKEUP; in fillBuffer() 763 void nanohubPrefetchTx(uint32_t interrupt, uint32_t wakeup, uint32_t nonwakeup) in nanohubPrefetchTx() argument 773 …if (interrupt == HOSTINTF_MAX_INTERRUPTS && !hostIntfGetInterrupt(NANOHUB_INT_WAKEUP) && !hostIntf… in nanohubPrefetchTx() 778 if (interrupt < HOSTINTF_MAX_INTERRUPTS) in nanohubPrefetchTx() 779 hostIntfSetInterrupt(interrupt); in nanohubPrefetchTx()
|
/device/linaro/hikey/gralloc/ |
D | framebuffer_device.cpp | 89 int interrupt; in fb_post() local 107 interrupt = 1; in fb_post() 109 if (ioctl(m->framebuffer->fd, S3CFB_SET_VSYNC_INT, &interrupt) < 0) in fb_post() 134 interrupt = 0; in fb_post() 136 if (ioctl(m->framebuffer->fd, S3CFB_SET_VSYNC_INT, &interrupt) < 0) in fb_post()
|
/device/google/accessory/demokit/firmware/demokit/ |
D | demokit.pde | 40 #define JOY_nINT A10 // active low interrupt input 333 // dummy read of Y_reg to reset interrupt 361 *y = read_joy_reg(0x11) + offset_Y; // reading Y clears the interrupt
|
/device/google/contexthub/util/nanotool/ |
D | sensorevent.h | 33 uint8_t interrupt; member
|
/device/google/contexthub/firmware/src/drivers/vsync/ |
D | vsync.c | 108 .interrupt = NANOHUB_INT_NONWAKEUP,
|
/device/google/contexthub/firmware/src/drivers/hall/ |
D | hall.c | 132 .interrupt = NANOHUB_INT_WAKEUP,
|
/device/google/contexthub/firmware/src/drivers/bosch_bmp280/ |
D | bosch_bmp280.c | 306 .interrupt = NANOHUB_INT_NONWAKEUP, 326 .interrupt = NANOHUB_INT_NONWAKEUP,
|
/device/google/contexthub/firmware/src/drivers/rohm_rpr0521/ |
D | rohm_rpr0521.c | 448 .interrupt = NANOHUB_INT_NONWAKEUP, 469 .interrupt = NANOHUB_INT_WAKEUP,
|
/device/google/contexthub/firmware/src/drivers/hall_twopole/ |
D | hall_twopole.c | 149 .interrupt = NANOHUB_INT_WAKEUP,
|
/device/google/contexthub/firmware/src/drivers/tilt_detection/ |
D | tilt_detection.c | 182 .interrupt = NANOHUB_INT_WAKEUP,
|
/device/google/contexthub/firmware/src/drivers/ams_tmd2772/ |
D | ams_tmd2772.c | 377 .interrupt = NANOHUB_INT_NONWAKEUP, 398 .interrupt = NANOHUB_INT_WAKEUP,
|
/device/google/contexthub/firmware/src/drivers/ams_tmd4903/ |
D | ams_tmd4903.c | 562 .interrupt = NANOHUB_INT_NONWAKEUP, 584 .interrupt = NANOHUB_INT_WAKEUP,
|
/device/google/contexthub/firmware/src/drivers/window_orientation/ |
D | window_orientation.c | 119 .interrupt = NANOHUB_INT_NONWAKEUP,
|
/device/google/contexthub/firmware/src/platform/stm32f4xx/ |
D | platform.c | 143 userData->interrupt = NANOHUB_INT_NONWAKEUP; in platLogAllocUserData()
|
/device/google/contexthub/firmware/src/drivers/orientation/ |
D | orientation.c | 151 .interrupt = inter, \
|
/device/google/contexthub/firmware/src/drivers/bosch_bmi160/ |
D | bosch_bmi160.c | 518 .interrupt = inter, \
|