Searched refs:ratio (Results 1 – 8 of 8) sorted by relevance
662 uint32_t fvco = 0U, outputDiv = 0U, ratio = 0U; in WM8904_SetFLLConfig() local701 ratio = 4U; in WM8904_SetFLLConfig()705 ratio = 3U; in WM8904_SetFLLConfig()709 ratio = 2U; in WM8904_SetFLLConfig()713 ratio = 1U; in WM8904_SetFLLConfig()717 ratio = 0U; in WM8904_SetFLLConfig()720 n = fvco / ((ratio + 1U) * referenceClock); in WM8904_SetFLLConfig()721 k = (uint32_t)((uint64_t)fvco * 1000000U) / ((ratio + 1U) * referenceClock); in WM8904_SetFLLConfig()735 …ifyRegister(handle, WM8904_FLL_CONTROL_2, 0x3F07U, (uint16_t)(((outputDiv - 1U) << 8U) | ratio)) != in WM8904_SetFLLConfig()953 uint32_t ratio = 0; in WM8904_SetAudioFormat() local[all …]
317 uint32_t ratio = 0U, i = 0U; in ASRC_SetIdealRatioConfig() local321 ratio = (inputSampleRate / outputSampleRate) << ASRC_SAMPLE_RATIO_DECIMAL_DEPTH; in ASRC_SetIdealRatioConfig()334 ratio |= 1UL << (ASRC_SAMPLE_RATIO_DECIMAL_DEPTH - i); in ASRC_SetIdealRatioConfig()348 ASRC_IDEAL_RATIO_HIGH(base, channelPair) = ASRC_ASRIDRHA_IDRATIOA_H(ratio >> 24U); in ASRC_SetIdealRatioConfig()349 ASRC_IDEAL_RATIO_LOW(base, channelPair) = ASRC_ASRIDRLA_IDRATIOA_L(ratio); in ASRC_SetIdealRatioConfig()
39 #define ASRC_ASRCTR_RATIO(ratio, index) \ argument40 …(((uint32_t)((uint32_t)(ratio) << (ASRC_ASRCTR_IDRA_SHIFT + (uint32_t)(index)*2U))) & ASRC_ASRCTR_…
280 uint32_t ratio = mclk / sample_rate; in CS42448_ConfigDataFormat() local290 switch (ratio) in CS42448_ConfigDataFormat()
283 uint32_t ratio = mclk / sample_rate; in CS42888_ConfigDataFormat() local293 switch (ratio) in CS42888_ConfigDataFormat()
298 uint64_t ratio = 0U; in ASRC_SetSampleRateRatioConfig() local318 ratio = ((uint64_t)inRate << fracBits) / outRate; in ASRC_SetSampleRateRatioConfig()320 base->RS_RATIO_LOW[context].RS_RATIO_LOW = (uint32_t)ratio & 0xFFFFFFFFU; in ASRC_SetSampleRateRatioConfig()321 base->RS_RATIO_LOW[context].RS_RATIO_HIGH = ((uint32_t)(ratio >> 32U)) & 0xFFFFFFFFU; in ASRC_SetSampleRateRatioConfig()
194 sdma_clock_ratio_t ratio; /*!< SDMA core clock ratio to ARM platform DMA interface */ member
396 …tmpreg |= (SDMAARM_CONFIG_ACR(config->ratio) | SDMAARM_CONFIG_RTDOBS(config->enableRealTimeDebugPi… in SDMA_Init()432 config->ratio = kSDMA_HalfARMClockFreq; in SDMA_GetDefaultConfig()