Home
last modified time | relevance | path

Searched refs:mux_shift (Results 1 – 4 of 4) sorted by relevance

/u-boot/drivers/clk/mediatek/
A Dclk-mtk.h115 signed char mux_shift; member
126 .mux_shift = _shift, \
141 .mux_shift = _shift, \
158 .mux_shift = _shift, \
A Dclk-mtk.c73 val = (mux->mux_mask << mux->mux_shift); in mtk_clk_mux_set_parent()
76 val = (index << mux->mux_shift); in mtk_clk_mux_set_parent()
84 val &= ~(mux->mux_mask << mux->mux_shift); in mtk_clk_mux_set_parent()
86 val |= index << mux->mux_shift; in mtk_clk_mux_set_parent()
319 index &= mux->mux_mask << mux->mux_shift; in mtk_topckgen_get_mux_rate()
320 index = index >> mux->mux_shift; in mtk_topckgen_get_mux_rate()
/u-boot/drivers/clk/mvebu/
A Darmada-37xx-periph.c74 int mux_shift; member
112 .mux_shift = _mux, \
130 .mux_shift = _mux, \
164 .mux_shift = _mux, \
176 .mux_shift = _mux, \
253 int tbg = get_mux(priv, clk->mux_shift); in get_parent_rate()
462 set_mux(priv, periph_clk->mux_shift, parent->id); in armada_37xx_periph_clk_set_parent()
/u-boot/drivers/pinctrl/nxp/
A Dpinctrl-imx.c32 u32 mux_shift = info->mux_mask ? ffs(info->mux_mask) - 1 : 0; in imx_pinctrl_set_state() local
117 mux_mode << mux_shift); in imx_pinctrl_set_state()

Completed in 8 milliseconds