Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/clk/mediatek/
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()
Dclk-mtk.h71 signed char gate_shift; member
89 .gate_shift = _gate, \
124 .gate_shift = -1, \
140 .gate_shift = _gate_shift, \
Dclk-mux.h32 u8 gate_shift; member
56 .gate_shift = _gate, \
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()
/Linux-v5.10/drivers/clk/rockchip/
Dclk.c43 u8 gate_shift, u8 gate_flags, unsigned long flags, in rockchip_clk_register_branch() argument
77 gate->bit_idx = gate_shift; in rockchip_clk_register_branch()
211 int gate_offset, u8 gate_shift, u8 gate_flags, in rockchip_clk_register_frac_branch() argument
238 gate->bit_idx = gate_shift; in rockchip_clk_register_frac_branch()
318 int gate_offset, u8 gate_shift, u8 gate_flags, in rockchip_clk_register_factor_branch() argument
338 gate->bit_idx = gate_shift; in rockchip_clk_register_factor_branch()
489 list->gate_offset, list->gate_shift, in rockchip_clk_register_branches()
500 list->gate_offset, list->gate_shift, in rockchip_clk_register_branches()
509 list->gate_shift, list->gate_flags, &ctx->lock); in rockchip_clk_register_branches()
519 list->gate_offset, list->gate_shift, in rockchip_clk_register_branches()
[all …]
Dclk.h420 u8 gate_shift; member
442 .gate_shift = gs, \
464 .gate_shift = gs, \
482 .gate_shift = gs, \
501 .gate_shift = gs, \
519 .gate_shift = gs, \
575 .gate_shift = gs, \
592 .gate_shift = gs, \
700 .gate_shift = b, \
750 .gate_shift = gb, \
[all …]
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()
/Linux-v5.10/drivers/clk/berlin/
Dberlin2-div.h38 .gate_shift = _sh
60 u8 gate_shift; member
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()
/Linux-v5.10/drivers/clk/
Dclk-bm1880.c73 s8 gate_shift; member
118 s8 gate_shift; member
150 .gate_shift = _gate_shift, \
167 .gate_shift = _gate_shift, \
750 clks[i].gate_shift, 0, in bm1880_clk_register_gate()
804 if (clks->gate_shift >= 0) { in bm1880_clk_register_composite()
812 gate->bit_idx = clks->gate_shift; in bm1880_clk_register_composite()
/Linux-v5.10/drivers/clk/x86/
Dclk-cgu.h195 u8 gate_shift; member
257 .gate_shift = _shift, \
Dclk-cgu.c339 u8 shift = list->gate_shift; in lgm_clk_register_gate()