Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/core/
DhostIntf.c671 uint32_t totalBlocks = 0; in initSensors() local
730 totalBlocks += maxBlocks; in initSensors()
734 if (totalBlocks > MAX_NUM_BLOCKS) { in initSensors()
735 …osLog(LOG_INFO, "initSensors: totalBlocks of %ld exceeds maximum of %d\n", totalBlocks, MAX_NUM_BL… in initSensors()
736 totalBlocks = MAX_NUM_BLOCKS; in initSensors()
737 } else if (totalBlocks < MIN_NUM_BLOCKS) { in initSensors()
738 totalBlocks = MIN_NUM_BLOCKS; in initSensors()
741 mOutputQ = simpleQueueAlloc(totalBlocks, sizeof(struct HostIntfDataBuffer), queueDiscard); in initSensors()
808 mTotalBlocks = totalBlocks; in initSensors()