Home
last modified time | relevance | path

Searched refs:interrupt (Results 1 – 22 of 22) sorted by relevance

/device/google/contexthub/firmware/inc/
Disr.h41 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 …]
DnanohubCommand.h32 void nanohubPrefetchTx(uint32_t interrupt, uint32_t wakeup, uint32_t nonwakeup);
Dsensors.h46 uint8_t interrupt; member
206 uint8_t interrupt; /* interrupt to generate to AP */ member
DhostIntf.h49 uint8_t interrupt; member
DnanohubPacket.h226 uint8_t interrupt; member
240 uint8_t interrupt; member
/device/google/contexthub/firmware/src/
DhostIntf.c90 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 …]
DnanohubCommand.c635 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/
Dframebuffer_device.cpp89 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/
Ddemokit.pde40 #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/
Dsensorevent.h33 uint8_t interrupt; member
/device/google/contexthub/firmware/src/drivers/vsync/
Dvsync.c108 .interrupt = NANOHUB_INT_NONWAKEUP,
/device/google/contexthub/firmware/src/drivers/hall/
Dhall.c132 .interrupt = NANOHUB_INT_WAKEUP,
/device/google/contexthub/firmware/src/drivers/bosch_bmp280/
Dbosch_bmp280.c306 .interrupt = NANOHUB_INT_NONWAKEUP,
326 .interrupt = NANOHUB_INT_NONWAKEUP,
/device/google/contexthub/firmware/src/drivers/rohm_rpr0521/
Drohm_rpr0521.c448 .interrupt = NANOHUB_INT_NONWAKEUP,
469 .interrupt = NANOHUB_INT_WAKEUP,
/device/google/contexthub/firmware/src/drivers/hall_twopole/
Dhall_twopole.c149 .interrupt = NANOHUB_INT_WAKEUP,
/device/google/contexthub/firmware/src/drivers/tilt_detection/
Dtilt_detection.c182 .interrupt = NANOHUB_INT_WAKEUP,
/device/google/contexthub/firmware/src/drivers/ams_tmd2772/
Dams_tmd2772.c377 .interrupt = NANOHUB_INT_NONWAKEUP,
398 .interrupt = NANOHUB_INT_WAKEUP,
/device/google/contexthub/firmware/src/drivers/ams_tmd4903/
Dams_tmd4903.c562 .interrupt = NANOHUB_INT_NONWAKEUP,
584 .interrupt = NANOHUB_INT_WAKEUP,
/device/google/contexthub/firmware/src/drivers/window_orientation/
Dwindow_orientation.c119 .interrupt = NANOHUB_INT_NONWAKEUP,
/device/google/contexthub/firmware/src/platform/stm32f4xx/
Dplatform.c143 userData->interrupt = NANOHUB_INT_NONWAKEUP; in platLogAllocUserData()
/device/google/contexthub/firmware/src/drivers/orientation/
Dorientation.c151 .interrupt = inter, \
/device/google/contexthub/firmware/src/drivers/bosch_bmi160/
Dbosch_bmi160.c518 .interrupt = inter, \