Home
last modified time | relevance | path

Searched refs:sel_shift (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/sound/soc/codecs/
H A Dwm8580.c755 int ret, sel, sel_mask, sel_shift; in wm8580_set_sysclk() local
760 sel_shift = 0; in wm8580_set_sysclk()
765 sel_shift = 2; in wm8580_set_sysclk()
777 sel = 0 << sel_shift; in wm8580_set_sysclk()
780 sel = 1 << sel_shift; in wm8580_set_sysclk()
783 sel = 2 << sel_shift; in wm8580_set_sysclk()
786 sel = 3 << sel_shift; in wm8580_set_sysclk()
/openbmc/u-boot/drivers/clk/rockchip/
H A Dclk_rk3368.c361 uint8_t sel_shift; member
368 [0] = { .reg = 45, .div_shift = 0, .sel_shift = 7, },
369 [1] = { .reg = 45, .div_shift = 8, .sel_shift = 15, },
370 [2] = { .reg = 46, .div_shift = 8, .sel_shift = 15, },
420 (0x1 << spiclk->sel_shift)), in rk3368_spi_set_clk()
422 (1 << spiclk->sel_shift))); in rk3368_spi_set_clk()
H A Dclk_rk3399.c602 uint8_t sel_shift; member
614 .sel_shift = CLK_SPI0_PLL_SEL_SHIFT, },
617 .sel_shift = CLK_SPI1_PLL_SEL_SHIFT, },
620 .sel_shift = CLK_SPI2_PLL_SEL_SHIFT, },
623 .sel_shift = CLK_SPI4_PLL_SEL_SHIFT, },
626 .sel_shift = CLK_SPI5_PLL_SEL_SHIFT, },
671 (CLK_SPI_PLL_SEL_GPLL << spiclk->sel_shift)), in rk3399_spi_set_clk()
673 (CLK_SPI_PLL_SEL_GPLL << spiclk->sel_shift))); in rk3399_spi_set_clk()
/openbmc/linux/sound/soc/mediatek/mt8195/
H A Dmt8195-afe-pcm.c141 unsigned int sel_shift; member
158 .sel_shift = 30,
172 .sel_shift = 30,
186 .sel_shift = 30,
248 cm->sel_maskbit << cm->sel_shift, in mt8195_afe_config_cm()
249 cm->sel_default << cm->sel_shift); in mt8195_afe_config_cm()
/openbmc/linux/sound/soc/mediatek/mt8188/
H A Dmt8188-afe-pcm.c163 unsigned int sel_shift; member
180 .sel_shift = 30,
194 .sel_shift = 30,
208 .sel_shift = 30,
269 cm->sel_maskbit << cm->sel_shift, in mt8188_afe_config_cm()
270 cm->sel_default << cm->sel_shift); in mt8188_afe_config_cm()