Searched refs:bytePerSample (Results 1 – 2 of 2) sorted by relevance
175 uint8_t bytePerSample; in SRTM_PdmSdmaAdaptor_ResetLocalBuf() local181 bytePerSample = (rtm->bitWidth >> 3U) * rtm->pdmChannels; in SRTM_PdmSdmaAdaptor_ResetLocalBuf()186 if ((bytePerSample % SRTM_PDM_SDMA_MAX_LOCAL_PERIOD_ALIGNMENT) != 0U) in SRTM_PdmSdmaAdaptor_ResetLocalBuf()188 bytePerSample *= SRTM_PDM_SDMA_MAX_LOCAL_PERIOD_ALIGNMENT; in SRTM_PdmSdmaAdaptor_ResetLocalBuf()191 rtm->localRtm.periodSize = rtm->localRtm.periodSize / bytePerSample * bytePerSample; in SRTM_PdmSdmaAdaptor_ResetLocalBuf()197 rtm->localRtm.periodSize = bytePerSample * rtm->localBuf.samplesPerPeriod; in SRTM_PdmSdmaAdaptor_ResetLocalBuf()950 uint32_t bytePerSample; in SRTM_PdmSdmaAdapter_SetParam() local991 bytePerSample = ((uint32_t)rtm->bitWidth >> 3U) * channels; in SRTM_PdmSdmaAdapter_SetParam()992 rtm->maxXferSize = (uint32_t)SRTM_SDMA_MAX_TRANSFER_SIZE / bytePerSample * bytePerSample; in SRTM_PdmSdmaAdapter_SetParam()
1341 uint32_t bytePerSample; in SRTM_SaiSdmaAdapter_SetParam() local1379 …bytePerSample = ((uint32_t)(rtm->bitWidth) >> 3U) * (channels != 0U ? (uint32_t)channels : 1UL); in SRTM_SaiSdmaAdapter_SetParam()1380 rtm->maxXferSize = (uint32_t)SRTM_SDMA_MAX_TRANSFER_SIZE / bytePerSample * bytePerSample; in SRTM_SaiSdmaAdapter_SetParam()