Searched refs:clkDiv (Results 1 – 7 of 7) sorted by relevance
211 uint32_t clkDiv = sourceClockFreq_Hz / (sampleRate_Hz * 64U); in SPDIF_TxSetSampleRate() local219 clkDiv += 1U; in SPDIF_TxSetSampleRate()225 if (clkDiv > 256U) in SPDIF_TxSetSampleRate()228 val |= SPDIF_STC_SYSCLK_DF((clkDiv / 128U) - 1U) | SPDIF_STC_TXCLK_DF(127U); in SPDIF_TxSetSampleRate()234 val |= SPDIF_STC_SYSCLK_DF(1U) | SPDIF_STC_TXCLK_DF(clkDiv - 1U); in SPDIF_TxSetSampleRate()242 val |= SPDIF_STC_TXCLK_DF(clkDiv - 1U); in SPDIF_TxSetSampleRate()
705 uint32_t clkDiv; in CLOCK_GetFlexspiClkFreq() local712 clkDiv = CLKCTL0->FLEXSPI0FCLKDIV & CLKCTL0_FLEXSPI0FCLKDIV_DIV_MASK; in CLOCK_GetFlexspiClkFreq()717 clkDiv = CLKCTL0->FLEXSPI1FCLKDIV & CLKCTL0_FLEXSPI1FCLKDIV_DIV_MASK; in CLOCK_GetFlexspiClkFreq()747 return freq / (clkDiv + 1U); in CLOCK_GetFlexspiClkFreq()
262 …*base, uint32_t enableChannelMask, pdm_df_quality_mode_t qualityMode, uint8_t osr, uint32_t clkDiv) in PDM_SetSampleRate() argument267 uint32_t regDiv = clkDiv >> 1U; in PDM_SetSampleRate()
585 …base, uint32_t enableChannelMask, pdm_df_quality_mode_t qualityMode, uint8_t osr, uint32_t clkDiv);
641 uint32_t clkDiv; in I2C_InterruptControl() local649 clkDiv = i2c->resource->GetFreq() / 1000U; in I2C_InterruptControl()650 clkDiv = (clkDiv * 250U) / 1000000U; in I2C_InterruptControl()651 i2c->resource->base->CLKDIV = clkDiv & I2C_CLKDIV_DIVVAL_MASK; in I2C_InterruptControl()