Lines Matching refs:clkdm2
193 struct clockdomain *clkdm2) in _clkdm_add_wkdep() argument
198 if (!clkdm1 || !clkdm2) in _clkdm_add_wkdep()
201 cd = _clkdm_deps_lookup(clkdm2, clkdm1->wkdep_srcs); in _clkdm_add_wkdep()
210 clkdm1->name, clkdm2->name); in _clkdm_add_wkdep()
217 clkdm1->name, clkdm2->name); in _clkdm_add_wkdep()
219 ret = arch_clkdm->clkdm_add_wkdep(clkdm1, clkdm2); in _clkdm_add_wkdep()
236 struct clockdomain *clkdm2) in _clkdm_del_wkdep() argument
241 if (!clkdm1 || !clkdm2) in _clkdm_del_wkdep()
244 cd = _clkdm_deps_lookup(clkdm2, clkdm1->wkdep_srcs); in _clkdm_del_wkdep()
253 clkdm1->name, clkdm2->name); in _clkdm_del_wkdep()
260 clkdm1->name, clkdm2->name); in _clkdm_del_wkdep()
262 ret = arch_clkdm->clkdm_del_wkdep(clkdm1, clkdm2); in _clkdm_del_wkdep()
281 struct clockdomain *clkdm2) in _clkdm_add_sleepdep() argument
286 if (!clkdm1 || !clkdm2) in _clkdm_add_sleepdep()
289 cd = _clkdm_deps_lookup(clkdm2, clkdm1->sleepdep_srcs); in _clkdm_add_sleepdep()
298 clkdm1->name, clkdm2->name); in _clkdm_add_sleepdep()
305 clkdm1->name, clkdm2->name); in _clkdm_add_sleepdep()
307 ret = arch_clkdm->clkdm_add_sleepdep(clkdm1, clkdm2); in _clkdm_add_sleepdep()
326 struct clockdomain *clkdm2) in _clkdm_del_sleepdep() argument
331 if (!clkdm1 || !clkdm2) in _clkdm_del_sleepdep()
334 cd = _clkdm_deps_lookup(clkdm2, clkdm1->sleepdep_srcs); in _clkdm_del_sleepdep()
343 clkdm1->name, clkdm2->name); in _clkdm_del_sleepdep()
350 clkdm1->name, clkdm2->name); in _clkdm_del_sleepdep()
352 ret = arch_clkdm->clkdm_del_sleepdep(clkdm1, clkdm2); in _clkdm_del_sleepdep()
593 int clkdm_add_wkdep(struct clockdomain *clkdm1, struct clockdomain *clkdm2) in clkdm_add_wkdep() argument
598 if (!clkdm1 || !clkdm2) in clkdm_add_wkdep()
601 cd = _clkdm_deps_lookup(clkdm2, clkdm1->wkdep_srcs); in clkdm_add_wkdep()
606 ret = _clkdm_add_wkdep(clkdm1, clkdm2); in clkdm_add_wkdep()
622 int clkdm_del_wkdep(struct clockdomain *clkdm1, struct clockdomain *clkdm2) in clkdm_del_wkdep() argument
627 if (!clkdm1 || !clkdm2) in clkdm_del_wkdep()
630 cd = _clkdm_deps_lookup(clkdm2, clkdm1->wkdep_srcs); in clkdm_del_wkdep()
635 ret = _clkdm_del_wkdep(clkdm1, clkdm2); in clkdm_del_wkdep()
655 int clkdm_read_wkdep(struct clockdomain *clkdm1, struct clockdomain *clkdm2) in clkdm_read_wkdep() argument
660 if (!clkdm1 || !clkdm2) in clkdm_read_wkdep()
663 cd = _clkdm_deps_lookup(clkdm2, clkdm1->wkdep_srcs); in clkdm_read_wkdep()
672 clkdm1->name, clkdm2->name); in clkdm_read_wkdep()
677 return arch_clkdm->clkdm_read_wkdep(clkdm1, clkdm2); in clkdm_read_wkdep()
713 int clkdm_add_sleepdep(struct clockdomain *clkdm1, struct clockdomain *clkdm2) in clkdm_add_sleepdep() argument
718 if (!clkdm1 || !clkdm2) in clkdm_add_sleepdep()
721 cd = _clkdm_deps_lookup(clkdm2, clkdm1->wkdep_srcs); in clkdm_add_sleepdep()
726 ret = _clkdm_add_sleepdep(clkdm1, clkdm2); in clkdm_add_sleepdep()
744 int clkdm_del_sleepdep(struct clockdomain *clkdm1, struct clockdomain *clkdm2) in clkdm_del_sleepdep() argument
749 if (!clkdm1 || !clkdm2) in clkdm_del_sleepdep()
752 cd = _clkdm_deps_lookup(clkdm2, clkdm1->wkdep_srcs); in clkdm_del_sleepdep()
757 ret = _clkdm_del_sleepdep(clkdm1, clkdm2); in clkdm_del_sleepdep()
779 int clkdm_read_sleepdep(struct clockdomain *clkdm1, struct clockdomain *clkdm2) in clkdm_read_sleepdep() argument
784 if (!clkdm1 || !clkdm2) in clkdm_read_sleepdep()
787 cd = _clkdm_deps_lookup(clkdm2, clkdm1->sleepdep_srcs); in clkdm_read_sleepdep()
796 clkdm1->name, clkdm2->name); in clkdm_read_sleepdep()
801 return arch_clkdm->clkdm_read_sleepdep(clkdm1, clkdm2); in clkdm_read_sleepdep()