Lines Matching refs:audioInterface
316 uint16_t audioInterface = 0U; in wm8904_set_master_clock() local
328 wm8904_read_reg(dev, WM8904_REG_AUDIO_IF_2, &audioInterface); in wm8904_set_master_clock()
330 audioInterface &= ~(uint16_t)0x1FU; in wm8904_set_master_clock()
336 audioInterface |= 0U; in wm8904_set_master_clock()
339 audioInterface |= 1U; in wm8904_set_master_clock()
351 audioInterface |= (uint16_t)bclkDiv / 10U; in wm8904_set_master_clock()
354 audioInterface |= 6U; in wm8904_set_master_clock()
357 audioInterface |= 7U; in wm8904_set_master_clock()
360 audioInterface |= 8U; in wm8904_set_master_clock()
369 audioInterface |= (uint16_t)bclkDiv / 10U - 1U; in wm8904_set_master_clock()
372 audioInterface |= 12U; in wm8904_set_master_clock()
375 audioInterface |= 13U; in wm8904_set_master_clock()
378 audioInterface |= 14U; in wm8904_set_master_clock()
381 audioInterface |= 15U; in wm8904_set_master_clock()
384 audioInterface |= 16U; in wm8904_set_master_clock()
387 audioInterface |= 17U; in wm8904_set_master_clock()
390 audioInterface |= 18U; in wm8904_set_master_clock()
393 audioInterface |= 19U; in wm8904_set_master_clock()
396 audioInterface |= 20U; in wm8904_set_master_clock()
404 wm8904_write_reg(dev, WM8904_REG_AUDIO_IF_2, audioInterface); in wm8904_set_master_clock()
410 audioInterface = (uint16_t)((1UL << 11U) | (bclk / sampleRate)); in wm8904_set_master_clock()
411 wm8904_update_reg(dev, WM8904_REG_AUDIO_IF_3, 0xFFFU, audioInterface); in wm8904_set_master_clock()