/openbmc/linux/drivers/clk/rockchip/ |
H A D | clk.c | 45 u8 gate_shift, u8 gate_flags, unsigned long flags, in rockchip_clk_register_branch() argument 80 gate->bit_idx = gate_shift; in rockchip_clk_register_branch() 210 int gate_offset, u8 gate_shift, u8 gate_flags, in rockchip_clk_register_frac_branch() argument 237 gate->bit_idx = gate_shift; in rockchip_clk_register_frac_branch() 317 int gate_offset, u8 gate_shift, u8 gate_flags, in rockchip_clk_register_factor_branch() argument 337 gate->bit_idx = gate_shift; in rockchip_clk_register_factor_branch() 491 list->gate_offset, list->gate_shift, in rockchip_clk_register_branches() 502 list->gate_offset, list->gate_shift, in rockchip_clk_register_branches() 511 list->gate_shift, list->gate_flags, &ctx->lock); in rockchip_clk_register_branches() 522 list->gate_offset, list->gate_shift, in rockchip_clk_register_branches() [all …]
|
H A D | clk.h | 545 u8 gate_shift; member 567 .gate_shift = gs, \ 589 .gate_shift = gs, \ 607 .gate_shift = gs, \ 626 .gate_shift = gs, \ 644 .gate_shift = gs, \ 700 .gate_shift = gs, \ 717 .gate_shift = gs, \ 841 .gate_shift = b, \ 891 .gate_shift = gb, \ [all …]
|
H A D | clk-half-divider.c | 165 u8 gate_shift, u8 gate_flags, in rockchip_clk_register_halfdiv() argument 197 gate->bit_idx = gate_shift; in rockchip_clk_register_halfdiv()
|
/openbmc/u-boot/drivers/clk/mediatek/ |
H A D | clk-mtk.h | 108 signed char gate_shift; member 120 .gate_shift = _gate, \ 134 .gate_shift = -1, \
|
H A D | clk-mtk.c | 331 if (mux->gate_shift < 0) in mtk_topckgen_enable() 336 val &= ~BIT(mux->gate_shift); in mtk_topckgen_enable() 359 if (mux->gate_shift < 0) in mtk_topckgen_disable() 364 val |= BIT(mux->gate_shift); in mtk_topckgen_disable()
|
/openbmc/linux/drivers/clk/mediatek/ |
H A D | clk-mtk.h | 102 signed char gate_shift; member 120 .gate_shift = _gate, \ 155 .gate_shift = -1, \ 171 .gate_shift = _gate_shift, \
|
H A D | clk-mux.h | 33 u8 gate_shift; member 51 .gate_shift = _gate, \
|
H A D | clk-mux.c | 44 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()
|
H A D | clk-mtk.c | 253 if (mc->gate_shift >= 0) { in mtk_clk_register_composite() 261 gate->bit_idx = mc->gate_shift; in mtk_clk_register_composite()
|
/openbmc/linux/drivers/clk/berlin/ |
H A D | berlin2-div.h | 38 .gate_shift = _sh 60 u8 gate_shift; member
|
H A 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()
|
/openbmc/linux/drivers/clk/ |
H A D | clk-bm1880.c | 73 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()
|
/openbmc/linux/drivers/clk/x86/ |
H A D | clk-cgu.h | 190 u8 gate_shift; member 254 .gate_shift = _shift, \
|
H A D | clk-cgu.c | 301 u8 shift = list->gate_shift; in lgm_clk_register_gate()
|