Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/clk/rockchip/regmap/
H A Dclk-regmap.h132 u8 gate_shift; member
153 .gate_shift = _gate_shift, \
170 .gate_shift = _gate_shift, \
196 .gate_shift = _gate_shift, \
210 .gate_shift = _gate_shift, \
305 u32 gate_reg, u8 gate_shift,
H A Dclk-regmap-composite.c212 u32 gate_reg, u8 gate_shift, in devm_clk_regmap_register_composite() argument
250 gate->shift = gate_shift; in devm_clk_regmap_register_composite()
H A Dclk-rk618.c262 data->gate_shift, in rk618_clk_register_composites()
H A Dclk-rk628.c341 data->gate_shift, in rk628_clk_register_composites()
/OK3568_Linux_fs/kernel/drivers/clk/mediatek/
H A Dclk-mux.c23 u32 mask = BIT(mux->data->gate_shift); in mtk_clk_mux_enable()
32 u32 mask = BIT(mux->data->gate_shift); in mtk_clk_mux_disable()
42 BIT(mux->data->gate_shift)); in mtk_clk_mux_enable_setclr()
50 BIT(mux->data->gate_shift)); in mtk_clk_mux_disable_setclr()
60 return (val & BIT(mux->data->gate_shift)) == 0; in mtk_clk_mux_is_enabled()
H A Dclk-mtk.h71 signed char gate_shift; member
89 .gate_shift = _gate, \
124 .gate_shift = -1, \
140 .gate_shift = _gate_shift, \
H A Dclk-mux.h32 u8 gate_shift; member
56 .gate_shift = _gate, \
H A Dclk-mtk.c184 if (mc->gate_shift >= 0) { in mtk_clk_register_composite()
192 gate->bit_idx = mc->gate_shift; in mtk_clk_register_composite()
/OK3568_Linux_fs/kernel/drivers/clk/rockchip/
H A Dclk.c44 u8 gate_shift, u8 gate_flags, unsigned long flags, in rockchip_clk_register_branch() argument
79 gate->bit_idx = gate_shift; in rockchip_clk_register_branch()
237 int gate_offset, u8 gate_shift, u8 gate_flags, in rockchip_clk_register_frac_branch() argument
264 gate->bit_idx = gate_shift; in rockchip_clk_register_frac_branch()
346 int gate_offset, u8 gate_shift, u8 gate_flags, in rockchip_clk_register_factor_branch() argument
366 gate->bit_idx = gate_shift; in rockchip_clk_register_factor_branch()
537 list->gate_offset, list->gate_shift, in rockchip_clk_register_branches()
549 list->gate_shift, list->gate_flags, in rockchip_clk_register_branches()
558 list->gate_shift, list->gate_flags, &ctx->lock); in rockchip_clk_register_branches()
566 list->gate_shift, list->gate_flags, &ctx->lock); in rockchip_clk_register_branches()
[all …]
H A Dclk.h757 u8 gate_shift; member
779 .gate_shift = gs, \
801 .gate_shift = gs, \
823 .gate_shift = gs, \
841 .gate_shift = gs, \
860 .gate_shift = gs, \
878 .gate_shift = gs, \
934 .gate_shift = gs, \
951 .gate_shift = gs, \
1090 .gate_shift = b, \
[all …]
H A Dclk-dclk-divider.c101 u8 gate_shift, u8 gate_flags, in rockchip_clk_register_dclk_branch() argument
134 gate->bit_idx = gate_shift; in rockchip_clk_register_dclk_branch()
H A Dclk-half-divider.c157 int gate_offset, u8 gate_shift, in rockchip_clk_register_halfdiv() argument
189 gate->bit_idx = gate_shift; in rockchip_clk_register_halfdiv()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/drivers/clk/x86/
H A Dclk-cgu.h195 u8 gate_shift; member
257 .gate_shift = _shift, \
H A Dclk-cgu.c339 u8 shift = list->gate_shift; in lgm_clk_register_gate()