Lines Matching +full:clock +full:- +full:names
24 * struct clk - an machine class defined object / cookie.
29 * clk_get - lookup and obtain a reference to a clock producer.
30 * @dev: device for clock "consumer"
31 * @id: clock comsumer ID
33 * Returns a struct clk corresponding to the clock producer, or
35 * uses @dev and @id to determine the clock consumer, and thereby
36 * the clock producer. (IOW, @id may be identical strings, but
37 * clk_get may return different clock producers depending on @dev.)
39 * Drivers must assume that the clock source is not enabled.
46 * clk_prepare - prepare a clock source
47 * @clk: clock source
49 * This prepares the clock source for use.
64 * clk_enable - inform the system when the clock source should be running.
65 * @clk: clock source
67 * If the clock can not be enabled/disabled, this should return success.
76 * clk_disable - inform the system when the clock source is no longer required.
77 * @clk: clock source
79 * Inform the system that a clock source is no longer required by
84 * Implementation detail: if the clock source is shared between
86 * same number of clk_disable() calls for the clock source to be
93 * clk_unprepare - undo preparation of a clock source
94 * @clk: clock source
96 * This undoes a previously prepared clock. The caller must balance
110 /* clk_prepare_enable helps cases using clk_enable in non-atomic context. */
125 /* clk_disable_unprepare helps cases using clk_disable in non-atomic context. */
133 * clk_get_rate - obtain the current clock rate (in Hz) for a clock source.
134 * This is only valid once the clock source has been enabled.
135 * @clk: clock source
140 * clk_put - "free" the clock source
141 * @clk: clock source
144 * clock source are balanced by clk_disable calls prior to calling
158 * clk_round_rate - adjust a rate to the exact rate a clock can provide
159 * @clk: clock source
160 * @rate: desired clock rate in Hz
162 * Returns rounded clock rate in Hz, or negative errno.
167 * clk_set_rate - set the clock rate for a clock source
168 * @clk: clock source
169 * @rate: desired clock rate in Hz
176 * clk_set_parent - set the parent clock source for this clock
177 * @clk: clock source
178 * @parent: parent clock source
185 * clk_get_parent - get the parent clock source for this clock
186 * @clk: clock source
188 * Returns struct clk corresponding to parent clock source, or
194 * clk_get_sys - get a clock based upon the device name
198 * Returns a struct clk corresponding to the clock producer, or
200 * uses @dev_id and @con_id to determine the clock consumer, and
201 * thereby the clock producer. In contrast to clk_get() this function
204 * Drivers must assume that the clock source is not enabled.
211 * clk_add_alias - add a new clock alias
212 * @alias: name for clock alias
214 * @id: platform specific clock name
217 * Allows using generic clock names for drivers by adding a new alias.