Searched refs:gate_shift (Results 1 – 10 of 10) sorted by relevance
| /Linux-v5.4/drivers/clk/tegra/ |
| D | clk-tegra-pmc.c | 34 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/ |
| D | clk-mux.c | 23 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()
|
| D | clk-mtk.h | 71 signed char gate_shift; member 89 .gate_shift = _gate, \ 124 .gate_shift = -1, \ 140 .gate_shift = _gate_shift, \
|
| D | clk-mux.h | 32 u8 gate_shift; member 56 .gate_shift = _gate, \
|
| D | clk-mtk.c | 184 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/ |
| D | clk.c | 43 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 …]
|
| D | clk.h | 420 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 …]
|
| D | clk-half-divider.c | 166 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/ |
| D | berlin2-div.h | 38 .gate_shift = _sh 60 u8 gate_shift; member
|
| D | berlin2-div.c | 75 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()
|