Home
last modified time | relevance | path

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

/linux/drivers/clk/mediatek/
H A Dclk-mux.c51 BIT(mux->data->gate_shift)); in mtk_clk_mux_fenc_enable_setclr()
76 BIT(mux->data->gate_shift)); in mtk_clk_mux_enable_setclr()
102 BIT(mux->data->gate_shift)); in mtk_clk_mux_disable_setclr()
122 return (val & BIT(mux->data->gate_shift)) == 0; in mtk_clk_mux_is_enabled()
132 BIT(mux->data->gate_shift)); in mtk_clk_mux_hwv_fenc_enable()
135 val, val & BIT(mux->data->gate_shift), 0, in mtk_clk_mux_hwv_fenc_enable()
153 BIT(mux->data->gate_shift)); in mtk_clk_mux_hwv_disable()
156 val, (val & BIT(mux->data->gate_shift)), in mtk_clk_mux_hwv_disable()
H A Dclk-mtk.h104 signed char gate_shift; member
122 .gate_shift = _gate, \
157 .gate_shift = -1, \
173 .gate_shift = _gate_shift, \
193 .gate_shift = _gate_shift, \
H A Dclk-mux.h39 u8 gate_shift; member
59 .gate_shift = _gate, \
146 .gate_shift = _gate, \
179 .gate_shift = _gate, \
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()
/linux/drivers/clk/rockchip/
H A 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()
312 int gate_offset, u8 gate_shift, u8 gate_flags, in rockchip_clk_register_factor_branch() argument
332 gate->bit_idx = gate_shift; in rockchip_clk_register_factor_branch()
571 list->gate_offset, list->gate_shift, in rockchip_clk_register_branches()
582 list->gate_offset, list->gate_shift, in rockchip_clk_register_branches()
591 list->gate_shift, list->gate_flags, &ctx->lock); in rockchip_clk_register_branches()
597 list->gate_offset, list->gate_shift, in rockchip_clk_register_branches()
[all …]
H A Dclk.h789 u8 gate_shift; member
813 .gate_shift = gs, \
835 .gate_shift = gs, \
853 .gate_shift = gs, \
872 .gate_shift = gs, \
890 .gate_shift = gs, \
946 .gate_shift = gs, \
963 .gate_shift = gs, \
1088 .gate_shift = b, \
1101 .gate_shift = b, \
[all …]
H A Dclk-half-divider.c167 u8 gate_shift, u8 gate_flags, in rockchip_clk_register_halfdiv() argument
199 gate->bit_idx = gate_shift; in rockchip_clk_register_halfdiv()
/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()
/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, \
739 clks[i].gate_shift, 0, in bm1880_clk_register_gate()
793 if (clks->gate_shift >= 0) { in bm1880_clk_register_composite()
801 gate->bit_idx = clks->gate_shift; in bm1880_clk_register_composite()
/linux/drivers/clk/x86/
H A Dclk-cgu.h190 u8 gate_shift; member
254 .gate_shift = _shift, \
H A Dclk-cgu.c302 u8 shift = list->gate_shift; in lgm_clk_register_gate()