Searched refs:captureBufInfo (Results 1 – 7 of 7) sorted by relevance
140 platformData->captureBufInfo.chnId = 0; in AudioSetPcmInfo()225 data->captureBufInfo.periodSize = param->period * data->capturePcmInfo.bitWidth * in AudioSetCaptureBufInfo()227 data->captureBufInfo.periodCount = PERIOD_COUNT; in AudioSetCaptureBufInfo()234 data->captureBufInfo.trafBufSize = param->silenceThreshold; in AudioSetCaptureBufInfo()235 …data->captureBufInfo.cirBufSize = data->captureBufInfo.periodSize * data->captureBufInfo.periodCou… in AudioSetCaptureBufInfo()236 if (data->captureBufInfo.cirBufSize > data->captureBufInfo.cirBufMax) { in AudioSetCaptureBufInfo()237 AUDIO_DRIVER_LOG_ERR("cirBufSize is invalid %d.", data->captureBufInfo.cirBufSize); in AudioSetCaptureBufInfo()276 rptr = data->captureBufInfo.rptrOffSet; in AudioDmaBuffStatus()278 data->captureBufInfo.pointer = pointer; in AudioDmaBuffStatus()282 if (dataAvailable < data->captureBufInfo.trafBufSize) { in AudioDmaBuffStatus()[all …]
143 if (data->captureBufInfo.wbufOffSet == data->captureBufInfo.rbufOffSet) { in AudioDmaTransferStatusIsNormal()144 data->captureBufInfo.trafCompCount++; in AudioDmaTransferStatusIsNormal()145 if (data->captureBufInfo.trafCompCount > DMA_TRANSFER_MAX_COUNT) { in AudioDmaTransferStatusIsNormal()150 data->captureBufInfo.wbufOffSet = data->captureBufInfo.rbufOffSet; in AudioDmaTransferStatusIsNormal()151 data->captureBufInfo.trafCompCount = 0; in AudioDmaTransferStatusIsNormal()
169 if (data->captureBufInfo.virtAddr == NULL) { in AudioUsbDmaBufAlloc()170 preallocBufSize = data->captureBufInfo.cirBufMax; in AudioUsbDmaBufAlloc()171 data->captureBufInfo.virtAddr = __vmalloc(preallocBufSize, GFP_KERNEL | __GFP_HIGHMEM); in AudioUsbDmaBufAlloc()202 vfree(data->captureBufInfo.virtAddr); in AudioUsbDmaBufFree()619 audioUsbDriver->captureBufInfo = data->captureBufInfo; in AudioUsbDmaConfigChannel()620 …audioUsbDriver->captureBufInfo.periodSize = data->captureBufInfo.periodSize / data->capturePcmInfo… in AudioUsbDmaConfigChannel()621 …audioUsbDriver->captureBufInfo.cirBufSize = data->captureBufInfo.cirBufSize / data->capturePcmInfo… in AudioUsbDmaConfigChannel()733 bufInfo = data->captureBufInfo; in AudioUsbConfigureEndpoint()1069 if (audioUsbDriver->captureHwptr >= audioUsbDriver->captureBufInfo.cirBufSize * frameSize) in AudioUsbRetireCaptureUrb()1070 audioUsbDriver->captureHwptr -= audioUsbDriver->captureBufInfo.cirBufSize * frameSize; in AudioUsbRetireCaptureUrb()[all …]
88 OsalMutexInit(&platformUsbData->captureBufInfo.buffMutex); in AudioUsbDmaDriverInit()121 OsalMutexDestroy(&platformUsbData->captureBufInfo.buffMutex); in AudioUsbDmaDriverRelease()
45 struct CircleBufInfo captureBufInfo; /**< Capture pcm stream transfer */ member
132 struct CircleBufInfo captureBufInfo; /**< Capture pcm stream transfer */ member
1021 if (!HdfSbufWriteUint64(reply, platformData->captureBufInfo.framesPosition)) { in StreamHostMmapPositionRead()