Lines Matching refs:clkdm1

398 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()
462 "after %s wakes up\n", clkdm1->name, clkdm2->name); in clkdm_del_wkdep()
464 ret = arch_clkdm->clkdm_del_wkdep(clkdm1, clkdm2); in clkdm_del_wkdep()
484 int clkdm_read_wkdep(struct clockdomain *clkdm1, struct clockdomain *clkdm2) in clkdm_read_wkdep() argument
489 if (!clkdm1 || !clkdm2) in clkdm_read_wkdep()
492 cd = _clkdm_deps_lookup(clkdm2, clkdm1->wkdep_srcs); in clkdm_read_wkdep()
501 "%s when %s wakes up\n", clkdm1->name, clkdm2->name); in clkdm_read_wkdep()
506 return arch_clkdm->clkdm_read_wkdep(clkdm1, clkdm2); in clkdm_read_wkdep()
542 int clkdm_add_sleepdep(struct clockdomain *clkdm1, struct clockdomain *clkdm2) in clkdm_add_sleepdep() argument
547 if (!clkdm1 || !clkdm2) in clkdm_add_sleepdep()
550 cd = _clkdm_deps_lookup(clkdm2, clkdm1->sleepdep_srcs); in clkdm_add_sleepdep()
559 "dependency affecting %s from %s\n", clkdm1->name, in clkdm_add_sleepdep()
566 "is active\n", clkdm1->name, clkdm2->name); in clkdm_add_sleepdep()
568 ret = arch_clkdm->clkdm_add_sleepdep(clkdm1, clkdm2); in clkdm_add_sleepdep()
586 int clkdm_del_sleepdep(struct clockdomain *clkdm1, struct clockdomain *clkdm2) in clkdm_del_sleepdep() argument
591 if (!clkdm1 || !clkdm2) in clkdm_del_sleepdep()
594 cd = _clkdm_deps_lookup(clkdm2, clkdm1->sleepdep_srcs); in clkdm_del_sleepdep()
603 "dependency affecting %s from %s\n", clkdm1->name, in clkdm_del_sleepdep()
610 "sleeping if %s is active\n", clkdm1->name, in clkdm_del_sleepdep()
613 ret = arch_clkdm->clkdm_del_sleepdep(clkdm1, clkdm2); in clkdm_del_sleepdep()
635 int clkdm_read_sleepdep(struct clockdomain *clkdm1, struct clockdomain *clkdm2) in clkdm_read_sleepdep() argument
640 if (!clkdm1 || !clkdm2) in clkdm_read_sleepdep()
643 cd = _clkdm_deps_lookup(clkdm2, clkdm1->sleepdep_srcs); in clkdm_read_sleepdep()
652 "dependency affecting %s from %s\n", clkdm1->name, in clkdm_read_sleepdep()
658 return arch_clkdm->clkdm_read_sleepdep(clkdm1, clkdm2); in clkdm_read_sleepdep()