Searched refs:clock1 (Results 1 – 2 of 2) sorted by relevance
1458 u16 clock1 = snd_soc_component_read(component, WM8903_CLOCK_RATES_1); in wm8903_hw_params() local1479 clock1 &= ~WM8903_SAMPLE_RATE_MASK; in wm8903_hw_params()1480 clock1 |= sample_rates[dsp_config].value; in wm8903_hw_params()1534 clock1 &= ~(WM8903_CLK_SYS_RATE_MASK | in wm8903_hw_params()1536 clock1 |= clk_sys_ratios[clk_config].rate << WM8903_CLK_SYS_RATE_SHIFT; in wm8903_hw_params()1537 clock1 |= clk_sys_ratios[clk_config].mode << WM8903_CLK_SYS_MODE_SHIFT; in wm8903_hw_params()1575 snd_soc_component_write(component, WM8903_CLOCK_RATES_1, clock1); in wm8903_hw_params()
1303 unsigned int clock1 = 0; in wm8904_hw_params() local1355 clock1 |= (clk_sys_rates[best].clk_sys_rate in wm8904_hw_params()1371 clock1 |= (sample_rates[best].sample_rate in wm8904_hw_params()1411 WM8904_CLK_SYS_RATE_MASK, clock1); in wm8904_hw_params()