Lines Matching refs:clkmgr
529 unsigned int clkmgr = ES8311_CLKMGR1_MCLK_ON; in es8311_hw_params() local
540 clkmgr = ES8311_CLKMGR1_MCLK_SEL; in es8311_hw_params()
555 clkmgr |= ES8311_CLKMGR1_BCLK_ON; in es8311_hw_params()
556 snd_soc_component_update_bits(component, ES8311_CLKMGR1, mask, clkmgr); in es8311_hw_params()
583 clkmgr = (coeff.div - 1) << ES8311_CLKMGR2_DIV_PRE_SHIFT | in es8311_hw_params()
585 snd_soc_component_update_bits(component, ES8311_CLKMGR2, mask, clkmgr); in es8311_hw_params()
588 clkmgr = (coeff.div_adc_dac - 1) << ES8311_CLKMGR5_ADC_DIV_SHIFT | in es8311_hw_params()
590 snd_soc_component_update_bits(component, ES8311_CLKMGR5, mask, clkmgr); in es8311_hw_params()
600 clkmgr = (div_lrclk - 1) >> 8; in es8311_hw_params()
602 clkmgr); in es8311_hw_params()
603 clkmgr = (div_lrclk - 1) & 0xFF; in es8311_hw_params()
604 snd_soc_component_write(component, ES8311_CLKMGR8, clkmgr); in es8311_hw_params()
617 clkmgr = div_bclk - 1; in es8311_hw_params()
632 clkmgr = i + ES8311_BCLK_DIV_IDX_OFFSET; in es8311_hw_params()
635 clkmgr); in es8311_hw_params()
729 unsigned int clkmgr = 0; in es8311_set_dai_fmt() local
738 clkmgr |= ES8311_CLKMGR6_BCLK_INV; in es8311_set_dai_fmt()
741 clkmgr |= ES8311_CLKMGR6_BCLK_INV; in es8311_set_dai_fmt()
750 snd_soc_component_update_bits(component, ES8311_CLKMGR6, mask, clkmgr); in es8311_set_dai_fmt()