Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/clk/tegra/
Dclk-tegra-pmc.c34 u8 gate_shift; member
47 .gate_shift = _gate_shift,\
101 data->gate_shift, 0, &clk_out_lock); in tegra_pmc_clk_init()
/Linux-v5.4/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.4/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()
213 int gate_offset, u8 gate_shift, u8 gate_flags, in rockchip_clk_register_frac_branch() argument
240 gate->bit_idx = gate_shift; in rockchip_clk_register_frac_branch()
320 int gate_offset, u8 gate_shift, u8 gate_flags, in rockchip_clk_register_factor_branch() argument
340 gate->bit_idx = gate_shift; in rockchip_clk_register_factor_branch()
486 list->gate_offset, list->gate_shift, in rockchip_clk_register_branches()
497 list->gate_offset, list->gate_shift, in rockchip_clk_register_branches()
506 list->gate_shift, list->gate_flags, &ctx->lock); in rockchip_clk_register_branches()
516 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.c166 u8 gate_shift, u8 gate_flags, in rockchip_clk_register_halfdiv() argument
198 gate->bit_idx = gate_shift; in rockchip_clk_register_halfdiv()
/Linux-v5.4/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()