/linux-4.19.296/drivers/clk/actions/ |
D | owl-gate.c | 17 const struct owl_gate_hw *gate_hw, bool enable) in owl_gate_set() argument 19 int set = gate_hw->gate_flags & CLK_GATE_SET_TO_DISABLE ? 1 : 0; in owl_gate_set() 24 regmap_read(common->regmap, gate_hw->reg, ®); in owl_gate_set() 27 reg |= BIT(gate_hw->bit_idx); in owl_gate_set() 29 reg &= ~BIT(gate_hw->bit_idx); in owl_gate_set() 31 regmap_write(common->regmap, gate_hw->reg, reg); in owl_gate_set() 39 owl_gate_set(common, &gate->gate_hw, false); in owl_gate_disable() 47 owl_gate_set(common, &gate->gate_hw, true); in owl_gate_enable() 53 const struct owl_gate_hw *gate_hw) in owl_gate_clk_is_enabled() argument 57 regmap_read(common->regmap, gate_hw->reg, ®); in owl_gate_clk_is_enabled() [all …]
|
D | owl-gate.h | 23 struct owl_gate_hw gate_hw; member 37 .gate_hw = OWL_GATE_HW(_reg, _bit_idx, _gate_flags), \ 50 .gate_hw = OWL_GATE_HW(_reg, _bit_idx, _gate_flags), \ 67 const struct owl_gate_hw *gate_hw, bool enable); 69 const struct owl_gate_hw *gate_hw);
|
D | owl-composite.h | 29 struct owl_gate_hw gate_hw; member 41 .gate_hw = _gate, \ 55 .gate_hw = _gate, \ 70 .gate_hw = _gate, \ 84 .gate_hw = _gate, \ 101 .gate_hw = _gate, \
|
D | owl-composite.c | 35 owl_gate_set(common, &comp->gate_hw, false); in owl_comp_disable() 43 owl_gate_set(common, &comp->gate_hw, true); in owl_comp_enable() 53 return owl_gate_clk_is_enabled(common, &comp->gate_hw); in owl_comp_is_enabled()
|
/linux-4.19.296/drivers/clk/ |
D | clk-composite.c | 185 struct clk_hw *gate_hw = composite->gate_hw; in clk_composite_is_enabled() local 187 __clk_hw_set_clk(gate_hw, hw); in clk_composite_is_enabled() 189 return gate_ops->is_enabled(gate_hw); in clk_composite_is_enabled() 196 struct clk_hw *gate_hw = composite->gate_hw; in clk_composite_enable() local 198 __clk_hw_set_clk(gate_hw, hw); in clk_composite_enable() 200 return gate_ops->enable(gate_hw); in clk_composite_enable() 207 struct clk_hw *gate_hw = composite->gate_hw; in clk_composite_disable() local 209 __clk_hw_set_clk(gate_hw, hw); in clk_composite_disable() 211 gate_ops->disable(gate_hw); in clk_composite_disable() 218 struct clk_hw *gate_hw, const struct clk_ops *gate_ops, in clk_hw_register_composite() argument [all …]
|
D | clk-stm32h7.c | 352 struct clk_hw *gate_hw; member 369 struct clk_hw *gate_hw; in get_cfg_composite_div() local 372 mux_hw = div_hw = gate_hw = NULL; in get_cfg_composite_div() 406 gate_hw = &gate->hw; in get_cfg_composite_div() 418 composite->gate_hw = gate_hw; in get_cfg_composite_div() 1328 c_cfg.gate_hw, c_cfg.gate_ops, in stm32h7_rcc_init() 1351 c_cfg.gate_hw, c_cfg.gate_ops, in stm32h7_rcc_init() 1366 c_cfg.gate_hw, c_cfg.gate_ops, in stm32h7_rcc_init() 1380 c_cfg.gate_hw, c_cfg.gate_ops, in stm32h7_rcc_init()
|
D | clk-stm32mp1.c | 539 struct clk_hw *gate_hw; in _get_stm32_gate() local 554 gate_hw = &mgate->gate.hw; in _get_stm32_gate() 566 gate_hw = &gate->hw; in _get_stm32_gate() 569 return gate_hw; in _get_stm32_gate() 616 struct clk_hw *mux_hw, *div_hw, *gate_hw; in clk_stm32_register_composite() local 620 gate_hw = NULL; in clk_stm32_register_composite() 648 gate_hw = _get_stm32_gate(base, cfg->gate, lock); in clk_stm32_register_composite() 650 if (!IS_ERR(gate_hw)) { in clk_stm32_register_composite() 660 gate_hw, gate_ops, flags); in clk_stm32_register_composite()
|
D | clk-stm32f4.c | 1371 struct clk_hw *mux_hw = NULL, *gate_hw = NULL; in stm32_register_aux_clk() local 1385 gate_hw = &gate->hw; in stm32_register_aux_clk() 1404 if (mux_hw == NULL && gate_hw == NULL) { in stm32_register_aux_clk() 1412 gate_hw, gate_ops, in stm32_register_aux_clk()
|
/linux-4.19.296/drivers/clk/tegra/ |
D | clk-sdmmc-mux.c | 169 struct clk_hw *gate_hw = &sdmmc_mux->gate.hw; in clk_sdmmc_mux_is_enabled() local 171 __clk_hw_set_clk(gate_hw, hw); in clk_sdmmc_mux_is_enabled() 173 return gate_ops->is_enabled(gate_hw); in clk_sdmmc_mux_is_enabled() 180 struct clk_hw *gate_hw = &sdmmc_mux->gate.hw; in clk_sdmmc_mux_enable() local 182 __clk_hw_set_clk(gate_hw, hw); in clk_sdmmc_mux_enable() 184 return gate_ops->enable(gate_hw); in clk_sdmmc_mux_enable() 191 struct clk_hw *gate_hw = &sdmmc_mux->gate.hw; in clk_sdmmc_mux_disable() local 193 gate_ops->disable(gate_hw); in clk_sdmmc_mux_disable()
|
D | clk-periph.c | 86 struct clk_hw *gate_hw = &periph->gate.hw; in clk_periph_is_enabled() local 88 __clk_hw_set_clk(gate_hw, hw); in clk_periph_is_enabled() 90 return gate_ops->is_enabled(gate_hw); in clk_periph_is_enabled() 97 struct clk_hw *gate_hw = &periph->gate.hw; in clk_periph_enable() local 99 __clk_hw_set_clk(gate_hw, hw); in clk_periph_enable() 101 return gate_ops->enable(gate_hw); in clk_periph_enable() 108 struct clk_hw *gate_hw = &periph->gate.hw; in clk_periph_disable() local 110 gate_ops->disable(gate_hw); in clk_periph_disable()
|
/linux-4.19.296/drivers/clk/mvebu/ |
D | armada-37xx-periph.c | 89 struct clk_hw *gate_hw; member 195 .gate_hw = &gate_##_name.hw, \ 205 .gate_hw = &gate_##_name.hw, \ 214 .gate_hw = &gate_##_name.hw, \ 221 .gate_hw = &gate_##_name.hw, \ 610 struct clk_hw *mux_hw = NULL, *gate_hw = NULL, *rate_hw = NULL; in armada_3700_add_composite_clk() local 622 if (data->gate_hw) { in armada_3700_add_composite_clk() 625 gate_hw = data->gate_hw; in armada_3700_add_composite_clk() 626 gate = to_clk_gate(gate_hw); in armada_3700_add_composite_clk() 628 gate_ops = gate_hw->init->ops; in armada_3700_add_composite_clk() [all …]
|
/linux-4.19.296/drivers/clk/ti/ |
D | adpll.c | 543 struct clk_hw *gate_hw = &co->gate.hw; in ti_adpll_clkout_enable() local 545 __clk_hw_set_clk(gate_hw, hw); in ti_adpll_clkout_enable() 547 return clk_gate_ops.enable(gate_hw); in ti_adpll_clkout_enable() 553 struct clk_hw *gate_hw = &co->gate.hw; in ti_adpll_clkout_disable() local 555 __clk_hw_set_clk(gate_hw, hw); in ti_adpll_clkout_disable() 556 clk_gate_ops.disable(gate_hw); in ti_adpll_clkout_disable() 562 struct clk_hw *gate_hw = &co->gate.hw; in ti_adpll_clkout_is_enabled() local 564 __clk_hw_set_clk(gate_hw, hw); in ti_adpll_clkout_is_enabled() 566 return clk_gate_ops.is_enabled(gate_hw); in ti_adpll_clkout_is_enabled()
|
/linux-4.19.296/drivers/clk/mediatek/ |
D | clk-mtk.c | 154 struct clk_hw *mux_hw = NULL, *gate_hw = NULL, *div_hw = NULL; in mtk_clk_register_composite() local 194 gate_hw = &gate->hw; in mtk_clk_register_composite() 217 gate_hw, gate_ops, in mtk_clk_register_composite()
|
/linux-4.19.296/drivers/clk/sunxi/ |
D | clk-factors.c | 188 struct clk_hw *gate_hw = NULL; in __sunxi_factors_register() local 229 gate_hw = &gate->hw; in __sunxi_factors_register() 252 gate_hw, &clk_gate_ops, CLK_IS_CRITICAL); in __sunxi_factors_register()
|
D | clk-sunxi.c | 958 struct clk_hw *gate_hw, *rate_hw; in sunxi_divs_clk_setup() local 1036 gate_hw = NULL; in sunxi_divs_clk_setup() 1050 gate_hw = &gate->hw; in sunxi_divs_clk_setup() 1087 gate_hw, &clk_gate_ops, in sunxi_divs_clk_setup()
|
/linux-4.19.296/include/linux/ |
D | clk-provider.h | 681 struct clk_hw *gate_hw; member 694 struct clk_hw *gate_hw, const struct clk_ops *gate_ops, 701 struct clk_hw *gate_hw, const struct clk_ops *gate_ops,
|
/linux-4.19.296/drivers/clk/nxp/ |
D | clk-lpc32xx.c | 1440 struct clk_hw *mux_hw = NULL, *div_hw = NULL, *gate_hw = NULL; in lpc32xx_clk_register() local 1457 gate_hw = &gate0->clk.hw; in lpc32xx_clk_register() 1463 gate_hw, gops, lpc32xx_clk->flags); in lpc32xx_clk_register()
|