/device/google/contexthub/firmware/os/platform/stm32/ |
D | exti.c | 127 for (i = 0; i < ARRAY_SIZE(mInterrupts); ++i, ++exti) { in extiCalcMaxLatency() 140 return &mInterrupts[ARRAY_SIZE(mInterrupts) - 2]; in extiForIrq() 142 return &mInterrupts[ARRAY_SIZE(mInterrupts) - 1]; in extiForIrq() 218 for (i = 0; i < ARRAY_SIZE(mInterrupts); ++i, ++exti) in extiUnchainAll()
|
D | i2c.c | 215 static struct StmI2cDev mStmI2cDevs[ARRAY_SIZE(mStmI2cCfgs)]; 797 if (busId >= ARRAY_SIZE(mStmI2cDevs)) in i2cMasterReset() 836 if (busId >= ARRAY_SIZE(mStmI2cDevs)) in i2cMasterRequest() 883 if (busId >= ARRAY_SIZE(mStmI2cDevs)) in i2cMasterRelease() 916 if (busId >= ARRAY_SIZE(mStmI2cDevs)) in i2cMasterTxRx() 982 if (busId >= ARRAY_SIZE(mStmI2cDevs)) in i2cSlaveRequest() 1010 if (busId >= ARRAY_SIZE(mStmI2cDevs)) in i2cSlaveRelease()
|
D | spi.c | 588 static struct StmSpiDev mStmSpiDevs[ARRAY_SIZE(mStmSpiCfgs)]; 609 if (busId >= ARRAY_SIZE(mStmSpiDevs)) in spiRequest() 629 if (busId >= ARRAY_SIZE(mStmSpiDevs)) in spiRxIrq() 639 if (busId >= ARRAY_SIZE(mStmSpiDevs)) in spiTxIrq()
|
/device/google/contexthub/firmware/os/algos/util/ |
D | array.h | 4 #define ARRAY_SIZE(a) (sizeof((a)) / sizeof((a)[0])) macro
|
/device/google/contexthub/firmware/variant/argonkey/src/os/ |
D | led.c | 28 .num = ARRAY_SIZE(local_leds_array),
|
D | i2c.c | 58 if (busId >= ARRAY_SIZE(mStmI2cBoardCfgs)) in boardStmI2cCfg()
|
D | spi.c | 57 if (busId >= ARRAY_SIZE(mStmSpiBoardCfgs)) in boardStmSpiCfg()
|
/device/google/contexthub/firmware/variant/neonkey/src/os/ |
D | led.c | 25 .num = ARRAY_SIZE(leds),
|
D | spi.c | 41 if (busId >= ARRAY_SIZE(mStmSpiBoardCfgs)) in boardStmSpiCfg()
|
D | i2c.c | 47 if (busId >= ARRAY_SIZE(mStmI2cBoardCfgs)) in boardStmI2cCfg()
|
/device/google/contexthub/firmware/variant/lunchbox/src/os/ |
D | i2c.c | 36 if (busId >= ARRAY_SIZE(mStmI2cBoardCfgs)) in boardStmI2cCfg()
|
D | spi.c | 57 if (busId >= ARRAY_SIZE(mStmSpiBoardCfgs)) in boardStmSpiCfg()
|
/device/google/contexthub/firmware/variant/nucleo/src/os/ |
D | i2c.c | 36 if (busId >= ARRAY_SIZE(mStmI2cBoardCfgs)) in boardStmI2cCfg()
|
D | spi.c | 57 if (busId >= ARRAY_SIZE(mStmSpiBoardCfgs)) in boardStmSpiCfg()
|
/device/google/contexthub/firmware/os/inc/ |
D | util.h | 25 #define ARRAY_SIZE(a) (sizeof((a)) / sizeof((a)[0])) macro
|
/device/google/bonito/gpt-utils/ |
D | gpt-utils.h | 94 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) macro
|
/device/google/crosshatch/gpt-utils/ |
D | gpt-utils.h | 93 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) macro
|
/device/google/coral/gpt-utils/ |
D | gpt-utils.h | 94 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) macro
|
/device/linaro/hikey/hifi/xaf/hifi-dpf/core/util/gdbstub/ |
D | gdbstub.c | 528 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(*(a))) macro 551 for (i = 0; i < ARRAY_SIZE(cause); ++i) { in handle_exception() 731 for (i = 0; i < ARRAY_SIZE(cause); ++i) { in handle_exception()
|
/device/linaro/hikey/hifi/xaf/host-apf/playback/tinyalsa/ |
D | pcm.c | 55 #ifndef ARRAY_SIZE 56 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) macro 742 if (element >= ARRAY_SIZE(m->bits)) in pcm_mask_test() 780 "Access", access_lookup, ARRAY_SIZE(access_lookup)); in pcm_params_to_string() 784 "Format", format_lookup, ARRAY_SIZE(format_lookup)); in pcm_params_to_string() 788 "Subformat", subformat_lookup, ARRAY_SIZE(subformat_lookup)); in pcm_params_to_string()
|
/device/google/contexthub/firmware/os/drivers/st_acc44/ |
D | st_acc44.c | 345 for (i = 0; i < (ARRAY_SIZE(st_acc44_Rates) - 1); i++) { in st_acc44_computeOdr() 349 if (i == (ARRAY_SIZE(st_acc44_Rates) -1 )) { in st_acc44_computeOdr() 559 for (i = 0; i < ARRAY_SIZE(mTask.transfers); i++) { in allocXfer()
|
/device/google/coral/vibrator/ |
D | Vibrator.cpp | 32 #ifndef ARRAY_SIZE 33 #define ARRAY_SIZE(x) (sizeof((x)) / sizeof((x)[0])) macro
|
/device/google/contexthub/firmware/os/drivers/synaptics_s3708/ |
D | synaptics_s3708.c | 216 for (i = 0; i < ARRAY_SIZE(mTask.transfers); i++) { in allocXfer() 310 for (i = 0; i < ARRAY_SIZE(mTask.transfers); i++) { in setGesturePower()
|
/device/google/contexthub/firmware/os/drivers/st_mag40/ |
D | st_mag40.c | 310 for (i = 0; i < ARRAY_SIZE(mTask.transfers); i++) { in allocXfer() 436 for (i = 0; i < (ARRAY_SIZE(st_mag40_Rates) - 1); i++) { in st_mag40_computeOdr() 440 if (i == (ARRAY_SIZE(st_mag40_Rates) -1 )) { in st_mag40_computeOdr()
|
/device/google/contexthub/firmware/os/cpu/cortexm4/ |
D | cpu.c | 138 trigName = trigNames[tid_trig.trig < ARRAY_SIZE(trigNames) ? tid_trig.trig : 0]; in cpuDbxDump()
|