Home
last modified time | relevance | path

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

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