Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/clk/rockchip/
Dclk.c45 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()
200 int gate_offset, u8 gate_shift, u8 gate_flags, in rockchip_clk_register_frac_branch() argument
227 gate->bit_idx = gate_shift; in rockchip_clk_register_frac_branch()
307 int gate_offset, u8 gate_shift, u8 gate_flags, in rockchip_clk_register_factor_branch() argument
327 gate->bit_idx = gate_shift; in rockchip_clk_register_factor_branch()
478 list->gate_offset, list->gate_shift, in rockchip_clk_register_branches()
489 list->gate_offset, list->gate_shift, in rockchip_clk_register_branches()
498 list->gate_shift, list->gate_flags, &ctx->lock); in rockchip_clk_register_branches()
508 list->gate_offset, list->gate_shift, in rockchip_clk_register_branches()
[all …]
Dclk.h457 u8 gate_shift; member
479 .gate_shift = gs, \
501 .gate_shift = gs, \
519 .gate_shift = gs, \
538 .gate_shift = gs, \
556 .gate_shift = gs, \
612 .gate_shift = gs, \
629 .gate_shift = gs, \
737 .gate_shift = b, \
787 .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.15/drivers/clk/mediatek/
Dclk-mtk.h72 signed char gate_shift; member
90 .gate_shift = _gate, \
125 .gate_shift = -1, \
141 .gate_shift = _gate_shift, \
Dclk-mux.c31 BIT(mux->data->gate_shift)); in mtk_clk_mux_enable_setclr()
57 BIT(mux->data->gate_shift)); in mtk_clk_mux_disable_setclr()
67 return (val & BIT(mux->data->gate_shift)) == 0; in mtk_clk_mux_is_enabled()
Dclk-mux.h33 u8 gate_shift; member
51 .gate_shift = _gate, \
Dclk-mtk.c185 if (mc->gate_shift >= 0) { in mtk_clk_register_composite()
193 gate->bit_idx = mc->gate_shift; in mtk_clk_register_composite()
/Linux-v5.15/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.15/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.15/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()