| /Linux-v5.4/drivers/clk/ |
| D | clk-composite.c | 172 const struct clk_ops *gate_ops = composite->gate_ops; in clk_composite_is_enabled() local 177 return gate_ops->is_enabled(gate_hw); in clk_composite_is_enabled() 183 const struct clk_ops *gate_ops = composite->gate_ops; in clk_composite_enable() local 188 return gate_ops->enable(gate_hw); in clk_composite_enable() 194 const struct clk_ops *gate_ops = composite->gate_ops; in clk_composite_disable() local 199 gate_ops->disable(gate_hw); in clk_composite_disable() 206 struct clk_hw *gate_hw, const struct clk_ops *gate_ops, in clk_hw_register_composite() argument 276 if (gate_hw && gate_ops) { in clk_hw_register_composite() 277 if (!gate_ops->is_enabled || !gate_ops->enable || in clk_hw_register_composite() 278 !gate_ops->disable) { in clk_hw_register_composite() [all …]
|
| D | clk-stm32h7.c | 356 const struct clk_ops *gate_ops; member 366 const struct clk_ops *mux_ops, *div_ops, *gate_ops; in get_cfg_composite_div() local 371 mux_ops = div_ops = gate_ops = NULL; in get_cfg_composite_div() 407 gate_ops = gcfg->gate->ops ? in get_cfg_composite_div() 419 composite->gate_ops = gate_ops; 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 | 615 const struct clk_ops *mux_ops, *div_ops, *gate_ops; in clk_stm32_register_composite() local 623 gate_ops = NULL; in clk_stm32_register_composite() 651 gate_ops = &clk_gate_ops; in clk_stm32_register_composite() 654 gate_ops = cfg->gate->ops; in clk_stm32_register_composite() 660 gate_hw, gate_ops, flags); in clk_stm32_register_composite()
|
| D | clk-stm32f4.c | 1636 const struct clk_ops *mux_ops = NULL, *gate_ops = NULL; in stm32_register_aux_clk() local 1650 gate_ops = &clk_gate_ops; in stm32_register_aux_clk() 1676 gate_hw, gate_ops, in stm32_register_aux_clk()
|
| /Linux-v5.4/drivers/clk/tegra/ |
| D | clk-sdmmc-mux.c | 169 const struct clk_ops *gate_ops = sdmmc_mux->gate_ops; in clk_sdmmc_mux_is_enabled() local 174 return gate_ops->is_enabled(gate_hw); in clk_sdmmc_mux_is_enabled() 180 const struct clk_ops *gate_ops = sdmmc_mux->gate_ops; in clk_sdmmc_mux_enable() local 185 return gate_ops->enable(gate_hw); in clk_sdmmc_mux_enable() 191 const struct clk_ops *gate_ops = sdmmc_mux->gate_ops; in clk_sdmmc_mux_disable() local 194 gate_ops->disable(gate_hw); in clk_sdmmc_mux_disable() 241 sdmmc_mux->gate_ops = &tegra_clk_periph_gate_ops; in tegra_clk_register_sdmmc_mux_div()
|
| D | clk-periph.c | 74 const struct clk_ops *gate_ops = periph->gate_ops; in clk_periph_is_enabled() local 79 return gate_ops->is_enabled(gate_hw); in clk_periph_is_enabled() 85 const struct clk_ops *gate_ops = periph->gate_ops; in clk_periph_enable() local 90 return gate_ops->enable(gate_hw); in clk_periph_enable() 96 const struct clk_ops *gate_ops = periph->gate_ops; in clk_periph_disable() local 99 gate_ops->disable(gate_hw); in clk_periph_disable()
|
| D | clk.h | 564 const struct clk_ops *gate_ops; member 606 .gate_ops = &tegra_clk_periph_gate_ops, \ 713 const struct clk_ops *gate_ops; member
|
| /Linux-v5.4/drivers/clk/rockchip/ |
| D | clk-half-divider.c | 175 *gate_ops = NULL; in rockchip_clk_register_halfdiv() local 200 gate_ops = &clk_gate_ops; in rockchip_clk_register_halfdiv() 219 gate ? &gate->hw : NULL, gate_ops, in rockchip_clk_register_halfdiv()
|
| D | clk.c | 51 *gate_ops = NULL; in rockchip_clk_register_branch() local 79 gate_ops = &clk_gate_ops; in rockchip_clk_register_branch() 106 gate ? &gate->hw : NULL, gate_ops, in rockchip_clk_register_branch() 221 const struct clk_ops *div_ops = NULL, *gate_ops = NULL; in rockchip_clk_register_frac_branch() local 242 gate_ops = &clk_gate_ops; in rockchip_clk_register_frac_branch() 261 gate ? &gate->hw : NULL, gate_ops, in rockchip_clk_register_frac_branch()
|
| /Linux-v5.4/drivers/clk/berlin/ |
| D | berlin2-div.c | 235 const struct clk_ops *gate_ops = &berlin2_div_gate_ops; in berlin2_div_register() local 248 gate_ops = NULL; in berlin2_div_register() 254 &div->hw, gate_ops, flags); in berlin2_div_register()
|
| /Linux-v5.4/drivers/clk/mediatek/ |
| D | clk-mtk.c | 157 const struct clk_ops *mux_ops = NULL, *gate_ops = NULL, *div_ops = NULL; in mtk_clk_register_composite() local 197 gate_ops = &clk_gate_ops; in mtk_clk_register_composite() 219 gate_hw, gate_ops, in mtk_clk_register_composite()
|
| /Linux-v5.4/drivers/clk/mvebu/ |
| D | armada-37xx-periph.c | 611 const struct clk_ops *mux_ops = NULL, *gate_ops = NULL, in armada_3700_add_composite_clk() local 631 gate_ops = gate_hw->init->ops; in armada_3700_add_composite_clk() 680 gate_hw, gate_ops, CLK_IGNORE_UNUSED); in armada_3700_add_composite_clk()
|
| /Linux-v5.4/include/linux/ |
| D | clk-provider.h | 735 const struct clk_ops *gate_ops; member 744 struct clk_hw *gate_hw, const struct clk_ops *gate_ops, 751 struct clk_hw *gate_hw, const struct clk_ops *gate_ops,
|