Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/clk/rockchip/
Dclk.c46 u8 gate_shift, u8 gate_flags, unsigned long flags, in rockchip_clk_register_branch() argument
81 gate->bit_idx = gate_shift; in rockchip_clk_register_branch()
205 int gate_offset, u8 gate_shift, u8 gate_flags, in rockchip_clk_register_frac_branch() argument
232 gate->bit_idx = gate_shift; in rockchip_clk_register_frac_branch()
314 int gate_offset, u8 gate_shift, u8 gate_flags, in rockchip_clk_register_factor_branch() argument
334 gate->bit_idx = gate_shift; in rockchip_clk_register_factor_branch()
495 list->gate_offset, list->gate_shift, in rockchip_clk_register_branches()
506 list->gate_offset, list->gate_shift, in rockchip_clk_register_branches()
515 list->gate_shift, list->gate_flags, &ctx->lock); in rockchip_clk_register_branches()
526 list->gate_offset, list->gate_shift, in rockchip_clk_register_branches()
[all …]
Dclk.h477 u8 gate_shift; member
499 .gate_shift = gs, \
521 .gate_shift = gs, \
539 .gate_shift = gs, \
558 .gate_shift = gs, \
576 .gate_shift = gs, \
632 .gate_shift = gs, \
649 .gate_shift = gs, \
773 .gate_shift = b, \
823 .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-6.1.9/drivers/clk/mediatek/
Dclk-mtk.h78 signed char gate_shift; member
96 .gate_shift = _gate, \
131 .gate_shift = -1, \
147 .gate_shift = _gate_shift, \
Dclk-mux.h33 u8 gate_shift; member
51 .gate_shift = _gate, \
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()
Dclk-mtk.c235 if (mc->gate_shift >= 0) { in mtk_clk_register_composite()
243 gate->bit_idx = mc->gate_shift; in mtk_clk_register_composite()
/linux-6.1.9/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-6.1.9/drivers/clk/
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()
/linux-6.1.9/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()