Home
last modified time | relevance | path

Searched full:clockdomain (Results 1 – 25 of 73) sorted by relevance

123

/linux/arch/arm/mach-omap2/
H A Dclockdomain.h3 * OMAP2/3 clockdomain framework functions
20 * Clockdomain flags
25 * clockdomain. (Currently, this applies to OMAP3 clockdomains only.)
26 * CLKDM_ACTIVE_WITH_MPU: The PRCM guarantees that this clockdomain is
30 * clocks inside this clockdomain are not taken into account by
31 * the PRCM when determining whether the clockdomain is idle.
32 * Without this flag, if the clockdomain is set to
35 * inside the clockdomain and powerdomain are in use. (An example
36 * of such a clockdomain is the EMU clockdomain on OMAP3/4.) If
37 * this flag is set, and the clockdomain does not support the
[all …]
H A Dclockdomain.c3 * OMAP2/3/4 clockdomain framework functions
31 #include "clockdomain.h"
37 /* array of clockdomain deps to be added/removed when clkdm in hwsup mode */
46 static struct clockdomain *_clkdm_lookup(const char *name) in _clkdm_lookup()
48 struct clockdomain *clkdm, *temp_clkdm; in _clkdm_lookup()
66 * _clkdm_register - register a clockdomain
67 * @clkdm: struct clockdomain * to register
69 * Adds a clockdomain to the internal clockdomain list.
70 * Returns -EINVAL if given a null pointer, -EEXIST if a clockdomain is
73 static int _clkdm_register(struct clockdomain *clkdm) in _clkdm_register()
[all …]
H A Dclockdomains33xx_data.c12 #include "clockdomain.h"
17 static struct clockdomain l4ls_am33xx_clkdm = {
25 static struct clockdomain l3s_am33xx_clkdm = {
33 static struct clockdomain l4fw_am33xx_clkdm = {
41 static struct clockdomain l3_am33xx_clkdm = {
49 static struct clockdomain l4hs_am33xx_clkdm = {
57 static struct clockdomain ocpwp_l3_am33xx_clkdm = {
65 static struct clockdomain pruss_ocp_am33xx_clkdm = {
73 static struct clockdomain cpsw_125mhz_am33xx_clkdm = {
81 static struct clockdomain lcdc_am33xx_clkdm = {
[all …]
H A Dclockdomains3xxx_data.c10 * This file contains clockdomains and clockdomain wakeup/sleep
13 * A useful validation rule for struct clockdomain: Any clockdomain
38 #include "clockdomain.h"
45 * Clockdomain dependencies for wkdeps/sleepdeps
222 static struct clockdomain mpu_3xxx_clkdm = {
231 static struct clockdomain mpu_am35x_clkdm = {
240 static struct clockdomain neon_clkdm = {
248 static struct clockdomain iva2_clkdm = {
257 static struct clockdomain gfx_3430es1_clkdm = {
266 static struct clockdomain sgx_clkdm = {
[all …]
H A Dclockdomains43xx_data.c11 #include "clockdomain.h"
15 static struct clockdomain l4_cefuse_43xx_clkdm = {
24 static struct clockdomain mpu_43xx_clkdm = {
33 static struct clockdomain l4ls_43xx_clkdm = {
42 static struct clockdomain tamper_43xx_clkdm = {
51 static struct clockdomain l4_rtc_43xx_clkdm = {
60 static struct clockdomain pruss_ocp_43xx_clkdm = {
69 static struct clockdomain ocpwp_l3_43xx_clkdm = {
78 static struct clockdomain l3s_tsc_43xx_clkdm = {
87 static struct clockdomain lcdc_43xx_clkdm = {
[all …]
H A Dclockdomains81xx_data.c15 #include "clockdomain.h"
30 static struct clockdomain alwon_l3_slow_81xx_clkdm = {
38 static struct clockdomain alwon_l3_med_81xx_clkdm = {
46 static struct clockdomain alwon_l3_fast_81xx_clkdm = {
54 static struct clockdomain alwon_ethernet_81xx_clkdm = {
62 static struct clockdomain mmu_81xx_clkdm = {
70 static struct clockdomain mmu_cfg_81xx_clkdm = {
78 static struct clockdomain default_l3_slow_81xx_clkdm = {
86 static struct clockdomain default_sata_81xx_clkdm = {
96 static struct clockdomain alwon_mpu_816x_clkdm = {
[all …]
H A Dcm33xx.c17 #include "clockdomain.h"
119 * @cdoffs: Clockdomain register offset (*_CDOFFS macro)
137 * am33xx_cm_is_clkdm_in_hwsup - is a clockdomain in hwsup idle mode?
139 * @cdoffs: Clockdomain register offset (*_CDOFFS macro)
141 * Returns true if the clockdomain referred to by (@inst, @cdoffs)
156 * am33xx_cm_clkdm_enable_hwsup - put a clockdomain in hwsup-idle mode
158 * @cdoffs: Clockdomain register offset (*_CDOFFS macro)
160 * Put a clockdomain referred to by (@inst, @cdoffs) into
169 * am33xx_cm_clkdm_disable_hwsup - put a clockdomain in swsup-idle mode
171 * @cdoffs: Clockdomain register offset (*_CDOFFS macro)
[all …]
H A Dcminst44xx.c21 #include "clockdomain.h"
175 * @cdoffs: Clockdomain register offset (*_CDOFFS macro)
191 * omap4_cminst_is_clkdm_in_hwsup - is a clockdomain in hwsup idle mode?
194 * @cdoffs: Clockdomain register offset (*_CDOFFS macro)
196 * Returns true if the clockdomain referred to by (@part, @inst, @cdoffs)
211 * omap4_cminst_clkdm_enable_hwsup - put a clockdomain in hwsup-idle mode
212 * @part: PRCM partition ID that the clockdomain registers exist in
214 * @cdoffs: Clockdomain register offset (*_CDOFFS macro)
216 * Put a clockdomain referred to by (@part, @inst, @cdoffs) into
225 * omap4_cminst_clkdm_disable_hwsup - put a clockdomain in swsup-idle mode
[all …]
H A Dclockdomains44xx_data.c22 #include "clockdomain.h"
153 static struct clockdomain l4_cefuse_44xx_clkdm = {
162 static struct clockdomain l4_cfg_44xx_clkdm = {
172 static struct clockdomain tesla_44xx_clkdm = {
184 static struct clockdomain l3_gfx_44xx_clkdm = {
196 static struct clockdomain ivahd_44xx_clkdm = {
208 static struct clockdomain l4_secure_44xx_clkdm = {
220 static struct clockdomain l4_per_44xx_clkdm = {
230 static struct clockdomain abe_44xx_clkdm = {
240 static struct clockdomain l3_instr_44xx_clkdm = {
[all …]
H A Dclockdomains54xx_data.c21 #include "clockdomain.h"
164 static struct clockdomain l4sec_54xx_clkdm = {
176 static struct clockdomain iva_54xx_clkdm = {
188 static struct clockdomain mipiext_54xx_clkdm = {
199 static struct clockdomain l3main2_54xx_clkdm = {
209 static struct clockdomain l3main1_54xx_clkdm = {
219 static struct clockdomain custefuse_54xx_clkdm = {
228 static struct clockdomain ipu_54xx_clkdm = {
240 static struct clockdomain l4cfg_54xx_clkdm = {
250 static struct clockdomain abe_54xx_clkdm = {
[all …]
H A Dclockdomains7xx_data.c23 #include "clockdomain.h"
312 static struct clockdomain l4per3_7xx_clkdm = {
322 static struct clockdomain l4per2_7xx_clkdm = {
334 static struct clockdomain mpu0_7xx_clkdm = {
343 static struct clockdomain iva_7xx_clkdm = {
355 static struct clockdomain coreaon_7xx_clkdm = {
364 static struct clockdomain ipu1_7xx_clkdm = {
376 static struct clockdomain ipu2_7xx_clkdm = {
388 static struct clockdomain l3init_7xx_clkdm = {
400 static struct clockdomain l4sec_7xx_clkdm = {
[all …]
H A Dclockdomains2420_data.c10 * This file contains clockdomains and clockdomain wakeup dependencies
13 * A useful validation rule for struct clockdomain: Any clockdomain
40 #include "clockdomain.h"
47 * Clockdomain dependencies for wkdeps
79 static struct clockdomain mpu_2420_clkdm = {
87 static struct clockdomain iva1_2420_clkdm = {
96 static struct clockdomain dsp_2420_clkdm = {
103 static struct clockdomain gfx_2420_clkdm = {
111 static struct clockdomain core_l3_2420_clkdm = {
119 static struct clockdomain core_l4_2420_clkdm = {
[all …]
H A Dclockdomains2430_data.c10 * This file contains clockdomains and clockdomain wakeup dependencies
13 * A useful validation rule for struct clockdomain: Any clockdomain
40 #include "clockdomain.h"
47 * Clockdomain dependencies for wkdeps
90 static struct clockdomain mpu_2430_clkdm = {
99 static struct clockdomain mdm_clkdm = {
108 static struct clockdomain dsp_2430_clkdm = {
117 static struct clockdomain gfx_2430_clkdm = {
130 static struct clockdomain core_l3_2430_clkdm = {
144 static struct clockdomain core_l4_2430_clkdm = {
[all …]
H A Dclockdomains2xxx_3xxx_data.c3 * OMAP2/3 clockdomain common data
10 * This file contains clockdomains and clockdomain wakeup/sleep
13 * A useful validation rule for struct clockdomain: Any clockdomain
39 #include "clockdomain.h"
49 * Clockdomain dependencies for wkdeps/sleepdeps
87 /* This is an implicit clockdomain - it is never defined as such in TRM */
88 struct clockdomain wkup_common_clkdm = {
H A Dcm3xxx.c22 #include "clockdomain.h"
144 /* Clockdomain low-level operations */
146 static int omap3xxx_clkdm_add_sleepdep(struct clockdomain *clkdm1, in omap3xxx_clkdm_add_sleepdep()
147 struct clockdomain *clkdm2) in omap3xxx_clkdm_add_sleepdep()
155 static int omap3xxx_clkdm_del_sleepdep(struct clockdomain *clkdm1, in omap3xxx_clkdm_del_sleepdep()
156 struct clockdomain *clkdm2) in omap3xxx_clkdm_del_sleepdep()
164 static int omap3xxx_clkdm_read_sleepdep(struct clockdomain *clkdm1, in omap3xxx_clkdm_read_sleepdep()
165 struct clockdomain *clkdm2) in omap3xxx_clkdm_read_sleepdep()
172 static int omap3xxx_clkdm_clear_all_sleepdeps(struct clockdomain *clkdm) in omap3xxx_clkdm_clear_all_sleepdeps()
189 static int omap3xxx_clkdm_sleep(struct clockdomain *clkdm) in omap3xxx_clkdm_sleep()
[all …]
H A DMakefile156 # PRCM clockdomain control
157 clockdomain-common += clockdomain.o
158 obj-$(CONFIG_ARCH_OMAP2) += $(clockdomain-common)
162 obj-$(CONFIG_ARCH_OMAP3) += $(clockdomain-common)
165 obj-$(CONFIG_ARCH_OMAP4) += $(clockdomain-common)
167 obj-$(CONFIG_SOC_AM33XX) += $(clockdomain-common)
169 obj-$(CONFIG_SOC_TI81XX) += $(clockdomain-common)
171 obj-$(CONFIG_SOC_AM43XX) += $(clockdomain-common)
173 obj-$(CONFIG_SOC_OMAP5) += $(clockdomain-common)
175 obj-$(CONFIG_SOC_DRA7XX) += $(clockdomain-common)
H A Dprm2xxx_3xxx.c19 #include "clockdomain.h"
195 int omap2_clkdm_add_wkdep(struct clockdomain *clkdm1, in omap2_clkdm_add_wkdep()
196 struct clockdomain *clkdm2) in omap2_clkdm_add_wkdep()
203 int omap2_clkdm_del_wkdep(struct clockdomain *clkdm1, in omap2_clkdm_del_wkdep()
204 struct clockdomain *clkdm2) in omap2_clkdm_del_wkdep()
211 int omap2_clkdm_read_wkdep(struct clockdomain *clkdm1, in omap2_clkdm_read_wkdep()
212 struct clockdomain *clkdm2) in omap2_clkdm_read_wkdep()
219 int omap2_clkdm_clear_all_wkdeps(struct clockdomain *clkdm) in omap2_clkdm_clear_all_wkdeps()
H A Dprm2xxx_3xxx.h116 extern int omap2_clkdm_add_wkdep(struct clockdomain *clkdm1,
117 struct clockdomain *clkdm2);
118 extern int omap2_clkdm_del_wkdep(struct clockdomain *clkdm1,
119 struct clockdomain *clkdm2);
120 extern int omap2_clkdm_read_wkdep(struct clockdomain *clkdm1,
121 struct clockdomain *clkdm2);
122 extern int omap2_clkdm_clear_all_wkdeps(struct clockdomain *clkdm);
H A Dcm2xxx.c22 #include "clockdomain.h"
169 /* Clockdomain low-level functions */
171 static void omap2xxx_clkdm_allow_idle(struct clockdomain *clkdm) in omap2xxx_clkdm_allow_idle()
177 static void omap2xxx_clkdm_deny_idle(struct clockdomain *clkdm) in omap2xxx_clkdm_deny_idle()
183 static int omap2xxx_clkdm_clk_enable(struct clockdomain *clkdm) in omap2xxx_clkdm_clk_enable()
198 static int omap2xxx_clkdm_clk_disable(struct clockdomain *clkdm) in omap2xxx_clkdm_clk_disable()
H A Dpm44xx.c20 #include "clockdomain.h"
39 * @from: from clockdomain
40 * @to: to clockdomain
170 * are part of L4 wakeup clockdomain.
193 struct clockdomain *from, *to; in omap4plus_init_static_deps()
238 * Initializes all powerdomain and clockdomain target states
/linux/drivers/clk/ti/
H A Dclockdomain.c3 * OMAP clockdomain support
26 * Increment the usecount of the clockdomain of the clock pointed to
27 * by @hw; if the usecount is 1, the clockdomain will be "enabled."
31 * clockdomain, or 0 if clock framework-based clockdomain control is
48 pr_err("%s: %s: clkfw-based clockdomain control disabled ?!\n", in omap2_clkops_enable_clkdm()
54 WARN(ret, "%s: could not enable %s's clockdomain %s: %d\n", in omap2_clkops_enable_clkdm()
64 * Decrement the usecount of the clockdomain of the clock pointed to
65 * by @hw; if the usecount is 0, the clockdomain will be "disabled."
82 pr_err("%s: %s: clkfw-based clockdomain control disabled ?!\n", in omap2_clkops_disable_clkdm()
91 * omap2_init_clk_clkdm - look up a clockdomain name, store pointer in clk
[all …]
H A Dclkt_dflt.c187 * clockdomain code to "enable" the corresponding clockdomain if this
188 * is the first enabled user of the clockdomain. Then program the
212 "%s: could not enable %s's clockdomain %s: %d\n", in omap2_dflt_clk_enable()
239 * clockdomain code to "disable" the corresponding clockdomain if all
240 * clocks/hwmods in that clockdomain are now disabled. No return
/linux/Documentation/devicetree/bindings/clock/ti/
H A Dclockdomain.txt1 Binding for Texas Instruments clockdomain.
4 Every clock on TI SoC belongs to one clockdomain, but software
6 their parent clockdomain to be controlled when the clock is
14 - compatible : shall be "ti,clockdomain"
23 compatible = "ti,clockdomain";
/linux/include/linux/platform_data/
H A Dti-prm.h13 struct clockdomain;
16 void (*clkdm_deny_idle)(struct clockdomain *clkdm);
17 void (*clkdm_allow_idle)(struct clockdomain *clkdm);
18 struct clockdomain * (*clkdm_lookup)(const char *name);
/linux/include/linux/clk/
H A Dti.h162 * @clkdm_name: clockdomain name that this clock is contained in
163 * @clkdm: pointer to struct clockdomain, resolved from @clkdm_name at runtime
177 struct clockdomain *clkdm;
235 * @clkdm_clk_enable: pointer to clockdomain enable function
236 * @clkdm_clk_disable: pointer to clockdomain disable function
237 * @clkdm_lookup: pointer to clockdomain lookup function
251 int (*clkdm_clk_enable)(struct clockdomain *clkdm, struct clk *clk);
252 int (*clkdm_clk_disable)(struct clockdomain *clkdm,
254 struct clockdomain * (*clkdm_lookup)(const char *name);

123