Home
last modified time | relevance | path

Searched refs:clkdm1 (Results 1 – 4 of 4) sorted by relevance

/linux-2.6.39/arch/arm/mach-omap2/
Dclockdomain.c398 int clkdm_add_wkdep(struct clockdomain *clkdm1, struct clockdomain *clkdm2) in clkdm_add_wkdep() argument
403 if (!clkdm1 || !clkdm2) in clkdm_add_wkdep()
406 cd = _clkdm_deps_lookup(clkdm2, clkdm1->wkdep_srcs); in clkdm_add_wkdep()
415 "%s when %s wakes up\n", clkdm1->name, clkdm2->name); in clkdm_add_wkdep()
421 "up\n", clkdm1->name, clkdm2->name); in clkdm_add_wkdep()
423 ret = arch_clkdm->clkdm_add_wkdep(clkdm1, clkdm2); in clkdm_add_wkdep()
439 int clkdm_del_wkdep(struct clockdomain *clkdm1, struct clockdomain *clkdm2) in clkdm_del_wkdep() argument
444 if (!clkdm1 || !clkdm2) in clkdm_del_wkdep()
447 cd = _clkdm_deps_lookup(clkdm2, clkdm1->wkdep_srcs); in clkdm_del_wkdep()
456 "%s when %s wakes up\n", clkdm1->name, clkdm2->name); in clkdm_del_wkdep()
[all …]
Dclockdomain44xx.c20 static int omap4_clkdm_add_wkup_sleep_dep(struct clockdomain *clkdm1, in omap4_clkdm_add_wkup_sleep_dep() argument
24 clkdm1->prcm_partition, in omap4_clkdm_add_wkup_sleep_dep()
25 clkdm1->cm_inst, clkdm1->clkdm_offs + in omap4_clkdm_add_wkup_sleep_dep()
30 static int omap4_clkdm_del_wkup_sleep_dep(struct clockdomain *clkdm1, in omap4_clkdm_del_wkup_sleep_dep() argument
34 clkdm1->prcm_partition, in omap4_clkdm_del_wkup_sleep_dep()
35 clkdm1->cm_inst, clkdm1->clkdm_offs + in omap4_clkdm_del_wkup_sleep_dep()
40 static int omap4_clkdm_read_wkup_sleep_dep(struct clockdomain *clkdm1, in omap4_clkdm_read_wkup_sleep_dep() argument
43 return omap4_cminst_read_inst_reg_bits(clkdm1->prcm_partition, in omap4_clkdm_read_wkup_sleep_dep()
44 clkdm1->cm_inst, clkdm1->clkdm_offs + in omap4_clkdm_read_wkup_sleep_dep()
Dclockdomain.h145 int (*clkdm_add_wkdep)(struct clockdomain *clkdm1, struct clockdomain *clkdm2);
146 int (*clkdm_del_wkdep)(struct clockdomain *clkdm1, struct clockdomain *clkdm2);
147 int (*clkdm_read_wkdep)(struct clockdomain *clkdm1, struct clockdomain *clkdm2);
149 int (*clkdm_add_sleepdep)(struct clockdomain *clkdm1, struct clockdomain *clkdm2);
150 int (*clkdm_del_sleepdep)(struct clockdomain *clkdm1, struct clockdomain *clkdm2);
151 int (*clkdm_read_sleepdep)(struct clockdomain *clkdm1, struct clockdomain *clkdm2);
169 int clkdm_add_wkdep(struct clockdomain *clkdm1, struct clockdomain *clkdm2);
170 int clkdm_del_wkdep(struct clockdomain *clkdm1, struct clockdomain *clkdm2);
171 int clkdm_read_wkdep(struct clockdomain *clkdm1, struct clockdomain *clkdm2);
173 int clkdm_add_sleepdep(struct clockdomain *clkdm1, struct clockdomain *clkdm2);
[all …]
Dclockdomain2xxx_3xxx.c26 static int omap2_clkdm_add_wkdep(struct clockdomain *clkdm1, in omap2_clkdm_add_wkdep() argument
30 clkdm1->pwrdm.ptr->prcm_offs, PM_WKDEP); in omap2_clkdm_add_wkdep()
34 static int omap2_clkdm_del_wkdep(struct clockdomain *clkdm1, in omap2_clkdm_del_wkdep() argument
38 clkdm1->pwrdm.ptr->prcm_offs, PM_WKDEP); in omap2_clkdm_del_wkdep()
42 static int omap2_clkdm_read_wkdep(struct clockdomain *clkdm1, in omap2_clkdm_read_wkdep() argument
45 return omap2_prm_read_mod_bits_shift(clkdm1->pwrdm.ptr->prcm_offs, in omap2_clkdm_read_wkdep()
70 static int omap3_clkdm_add_sleepdep(struct clockdomain *clkdm1, in omap3_clkdm_add_sleepdep() argument
74 clkdm1->pwrdm.ptr->prcm_offs, in omap3_clkdm_add_sleepdep()
79 static int omap3_clkdm_del_sleepdep(struct clockdomain *clkdm1, in omap3_clkdm_del_sleepdep() argument
83 clkdm1->pwrdm.ptr->prcm_offs, in omap3_clkdm_del_sleepdep()
[all …]