Home
last modified time | relevance | path

Searched refs:gate_shift (Results 1 – 14 of 14) sorted by relevance

/openbmc/linux/drivers/clk/rockchip/
H A Dclk.c45 u8 gate_shift, u8 gate_flags, unsigned long flags, in rockchip_clk_register_branch() argument
80 gate->bit_idx = gate_shift; in rockchip_clk_register_branch()
210 int gate_offset, u8 gate_shift, u8 gate_flags, in rockchip_clk_register_frac_branch() argument
237 gate->bit_idx = gate_shift; in rockchip_clk_register_frac_branch()
317 int gate_offset, u8 gate_shift, u8 gate_flags, in rockchip_clk_register_factor_branch() argument
337 gate->bit_idx = gate_shift; in rockchip_clk_register_factor_branch()
490 list->gate_offset, list->gate_shift, in rockchip_clk_register_branches()
501 list->gate_offset, list->gate_shift, in rockchip_clk_register_branches()
510 list->gate_shift, list->gate_flags, &ctx->lock); in rockchip_clk_register_branches()
521 list->gate_offset, list->gate_shift, in rockchip_clk_register_branches()
[all …]
H A Dclk.h545 u8 gate_shift; member
567 .gate_shift = gs, \
589 .gate_shift = gs, \
607 .gate_shift = gs, \
626 .gate_shift = gs, \
644 .gate_shift = gs, \
700 .gate_shift = gs, \
717 .gate_shift = gs, \
841 .gate_shift = b, \
891 .gate_shift = gb, \
[all …]
H A Dclk-half-divider.c165 u8 gate_shift, u8 gate_flags, in rockchip_clk_register_halfdiv() argument
197 gate->bit_idx = gate_shift; in rockchip_clk_register_halfdiv()
/openbmc/u-boot/drivers/clk/mediatek/
H A Dclk-mtk.h108 signed char gate_shift; member
120 .gate_shift = _gate, \
134 .gate_shift = -1, \
H A Dclk-mtk.c331 if (mux->gate_shift < 0) in mtk_topckgen_enable()
336 val &= ~BIT(mux->gate_shift); in mtk_topckgen_enable()
359 if (mux->gate_shift < 0) in mtk_topckgen_disable()
364 val |= BIT(mux->gate_shift); in mtk_topckgen_disable()
/openbmc/linux/drivers/clk/mediatek/
H A Dclk-mtk.h102 signed char gate_shift; member
120 .gate_shift = _gate, \
155 .gate_shift = -1, \
171 .gate_shift = _gate_shift, \
H A Dclk-mux.h33 u8 gate_shift; member
51 .gate_shift = _gate, \
H A Dclk-mux.c44 BIT(mux->data->gate_shift)); in mtk_clk_mux_enable_setclr()
70 BIT(mux->data->gate_shift)); in mtk_clk_mux_disable_setclr()
80 return (val & BIT(mux->data->gate_shift)) == 0; in mtk_clk_mux_is_enabled()
H A Dclk-mtk.c253 if (mc->gate_shift >= 0) { in mtk_clk_register_composite()
261 gate->bit_idx = mc->gate_shift; in mtk_clk_register_composite()
/openbmc/linux/drivers/clk/berlin/
H A Dberlin2-div.h38 .gate_shift = _sh
60 u8 gate_shift; member
H A Dberlin2-div.c75 reg >>= map->gate_shift; in berlin2_div_is_enabled()
93 reg |= BIT(map->gate_shift); in berlin2_div_enable()
112 reg &= ~BIT(map->gate_shift); in berlin2_div_disable()
/openbmc/linux/drivers/clk/
H A Dclk-bm1880.c73 s8 gate_shift; member
118 s8 gate_shift; member
150 .gate_shift = _gate_shift, \
167 .gate_shift = _gate_shift, \
734 clks[i].gate_shift, 0, in bm1880_clk_register_gate()
788 if (clks->gate_shift >= 0) { in bm1880_clk_register_composite()
796 gate->bit_idx = clks->gate_shift; in bm1880_clk_register_composite()
/openbmc/linux/drivers/clk/x86/
H A Dclk-cgu.h190 u8 gate_shift; member
254 .gate_shift = _shift, \
H A Dclk-cgu.c301 u8 shift = list->gate_shift; in lgm_clk_register_gate()