• Home
  • Raw
  • Download

Lines Matching +full:protected +full:- +full:clocks

22 clk which unifies the framework-level accounting and infrastructure that
28 The second half of the interface is comprised of the hardware-specific
30 hardware-specific structures needed to model a particular clock. For
32 clk_ops, such as .enable or .set_rate, implies the hardware-specific
35 hardware-specific bits for the hypothetical "foo" hardware.
62 api itself defines several driver-facing functions which operate on
66 clk_ops pointer in struct clk_core to perform the hardware-specific parts of
67 the operations defined in clk-provider.h::
107 which abstract the details of struct clk from the hardware-specific bits, and
109 drivers/clk/clk-gate.c::
118 struct clk_gate contains struct clk_hw hw as well as hardware-specific
135 clk->ops->enable(clk->hw);
147 reg = __raw_readl(gate->reg);
148 reg |= BIT(gate->bit_idx);
149 writel(reg, gate->reg);
165 #include <linux/clk-provider.h>
202 optional or must be evaluated on a case-by-case basis.
206 +----------------+------+-------------+---------------+-------------+------+
210 +----------------+------+-------------+---------------+-------------+------+
212 +----------------+------+-------------+---------------+-------------+------+
213 +----------------+------+-------------+---------------+-------------+------+
215 +----------------+------+-------------+---------------+-------------+------+
217 +----------------+------+-------------+---------------+-------------+------+
219 +----------------+------+-------------+---------------+-------------+------+
220 +----------------+------+-------------+---------------+-------------+------+
222 +----------------+------+-------------+---------------+-------------+------+
224 +----------------+------+-------------+---------------+-------------+------+
226 +----------------+------+-------------+---------------+-------------+------+
228 +----------------+------+-------------+---------------+-------------+------+
229 +----------------+------+-------------+---------------+-------------+------+
231 +----------------+------+-------------+---------------+-------------+------+
233 +----------------+------+-------------+---------------+-------------+------+
234 +----------------+------+-------------+---------------+-------------+------+
236 +----------------+------+-------------+---------------+-------------+------+
237 +----------------+------+-------------+---------------+-------------+------+
239 +----------------+------+-------------+---------------+-------------+------+
243 Finally, register your clock at run-time with a hardware-specific
250 See the basic clock types in ``drivers/clk/clk-*.c`` for examples.
252 Disabling clock gating of unused clocks
256 default disabling of unused clocks. For example, if drivers aren't enabling
257 clocks properly but rely on them being on from the bootloader, bypassing
279 a one-shot read of the enabled state, which could just as easily change after
293 clocks or not. However, access to resources that are shared between operations
294 of the two groups needs to be protected by the drivers. An example of such a