Home | History | Annotate | Download | only in linux

Lines Matching full:clock

27  * clk_get - lookup and obtain a reference to a clock producer.
28 * @dev: device for clock "consumer"
29 * @id: clock comsumer ID
31 * Returns a struct clk corresponding to the clock producer, or
33 * uses @dev and @id to determine the clock consumer, and thereby
34 * the clock producer. (IOW, @id may be identical strings, but
35 * clk_get may return different clock producers depending on @dev.)
37 * Drivers must assume that the clock source is not enabled.
42 * clk_enable - inform the system when the clock source should be running.
43 * @clk: clock source
45 * If the clock can not be enabled/disabled, this should return success.
52 * clk_disable - inform the system when the clock source is no longer required.
53 * @clk: clock source
55 * Inform the system that a clock source is no longer required by
58 * Implementation detail: if the clock source is shared between
60 * same number of clk_disable() calls for the clock source to be
66 * clk_get_rate - obtain the current clock rate (in Hz) for a clock source.
67 * This is only valid once the clock source has been enabled.
68 * @clk: clock source
73 * clk_put - "free" the clock source
74 * @clk: clock source
77 * clock source are balanced by clk_disable calls prior to calling
89 * clk_round_rate - adjust a rate to the exact rate a clock can provide
90 * @clk: clock source
91 * @rate: desired clock rate in Hz
93 * Returns rounded clock rate in Hz, or negative errno.
98 * clk_set_rate - set the clock rate for a clock source
99 * @clk: clock source
100 * @rate: desired clock rate in Hz
107 * clk_set_parent - set the parent clock source for this clock
108 * @clk: clock source
109 * @parent: parent clock source
116 * clk_get_parent - get the parent clock source for this clock
117 * @clk: clock source
119 * Returns struct clk corresponding to parent clock source, or