Searched refs:bclk (Results 1 – 11 of 11) sorted by relevance
/Zephyr-latest/drivers/audio/ |
D | wm8904.c | 314 uint32_t bclk = sampleRate * bitWidth * 2U; in wm8904_set_master_clock() local 323 if ((sysclk / bclk > 48U) || (bclk / sampleRate > 2047U) || (bclk / sampleRate < 8U)) { in wm8904_set_master_clock() 331 bclkDiv = (sysclk * 10U) / bclk; in wm8904_set_master_clock() 332 LOG_INF("blk %d", bclk); in wm8904_set_master_clock() 410 audioInterface = (uint16_t)((1UL << 11U) | (bclk / sampleRate)); in wm8904_set_master_clock()
|
/Zephyr-latest/drivers/dai/intel/ssp/ |
D | ssp.c | 424 static bool dai_ssp_find_mn(uint32_t freq, uint32_t bclk, uint32_t *out_scr_div, uint32_t *out_m, in dai_ssp_find_mn() argument 428 uint32_t scr_div = freq / bclk; in dai_ssp_find_mn() 430 LOG_INF("for freq %d bclk %d", freq, bclk); in dai_ssp_find_mn() 432 if (freq % bclk == 0 && scr_div < (SSCR0_SCR_MASK >> 8) + 1) { in dai_ssp_find_mn() 441 if ((bclk * 2) >= freq) { in dai_ssp_find_mn() 459 mn_div = dai_ssp_gcd(bclk, freq / scr_div); in dai_ssp_find_mn() 461 m = bclk / mn_div; in dai_ssp_find_mn() 487 static int dai_ssp_find_bclk_source(struct dai_intel_ssp *dp, uint32_t bclk, uint32_t *scr_div, in dai_ssp_find_bclk_source() argument 496 if (dai_ssp_find_mn(ft[mp->mclk_source_clock].freq, bclk, scr_div, m, n)) { in dai_ssp_find_bclk_source() 500 LOG_WRN("BCLK %d warning: cannot use MCLK source %d", bclk, in dai_ssp_find_bclk_source() [all …]
|
/Zephyr-latest/dts/arm/renesas/ra/ra6/ |
D | r7fa6m1ad3cfp.dtsi | 136 bclk: bclk { label
|
D | r7fa6m2ax.dtsi | 180 bclk: bclk { label
|
D | r7fa6m3ax.dtsi | 234 bclk: bclk { label
|
D | r7fa6m4ax.dtsi | 333 bclk: bclk { label
|
D | r7fa6m5xh.dtsi | 384 bclk: bclk { label
|
/Zephyr-latest/dts/arm/renesas/ra/ra8/ |
D | r7fa8t1xh.dtsi | 172 bclk: bclk { label
|
D | r7fa8m1xh.dtsi | 175 bclk: bclk { label
|
D | r7fa8d1xh.dtsi | 205 bclk: bclk { label
|
/Zephyr-latest/drivers/i2s/ |
D | i2s_esp32.c | 100 i2s_hal_clock_info->bclk = in i2s_esp32_calculate_clock() 104 i2s_hal_clock_info->bclk = in i2s_esp32_calculate_clock() 107 i2s_hal_clock_info->bclk_div = i2s_hal_clock_info->mclk / i2s_hal_clock_info->bclk; in i2s_esp32_calculate_clock()
|