Lines Matching refs:ocs

638 void of_changeset_init(struct of_changeset *ocs)  in of_changeset_init()  argument
640 memset(ocs, 0, sizeof(*ocs)); in of_changeset_init()
641 INIT_LIST_HEAD(&ocs->entries); in of_changeset_init()
653 void of_changeset_destroy(struct of_changeset *ocs) in of_changeset_destroy() argument
657 list_for_each_entry_safe_reverse(ce, cen, &ocs->entries, node) in of_changeset_destroy()
672 int __of_changeset_apply_entries(struct of_changeset *ocs, int *ret_revert) in __of_changeset_apply_entries() argument
678 list_for_each_entry(ce, &ocs->entries, node) { in __of_changeset_apply_entries()
682 list_for_each_entry_continue_reverse(ce, &ocs->entries, in __of_changeset_apply_entries()
701 int __of_changeset_apply_notify(struct of_changeset *ocs) in __of_changeset_apply_notify() argument
710 list_for_each_entry(ce, &ocs->entries, node) { in __of_changeset_apply_notify()
729 static int __of_changeset_apply(struct of_changeset *ocs) in __of_changeset_apply() argument
733 ret = __of_changeset_apply_entries(ocs, &ret_revert); in __of_changeset_apply()
735 ret = __of_changeset_apply_notify(ocs); in __of_changeset_apply()
752 int of_changeset_apply(struct of_changeset *ocs) in of_changeset_apply() argument
757 ret = __of_changeset_apply(ocs); in of_changeset_apply()
775 int __of_changeset_revert_entries(struct of_changeset *ocs, int *ret_apply) in __of_changeset_revert_entries() argument
781 list_for_each_entry_reverse(ce, &ocs->entries, node) { in __of_changeset_revert_entries()
785 list_for_each_entry_continue(ce, &ocs->entries, node) { in __of_changeset_revert_entries()
801 int __of_changeset_revert_notify(struct of_changeset *ocs) in __of_changeset_revert_notify() argument
810 list_for_each_entry_reverse(ce, &ocs->entries, node) { in __of_changeset_revert_notify()
821 static int __of_changeset_revert(struct of_changeset *ocs) in __of_changeset_revert() argument
826 ret = __of_changeset_revert_entries(ocs, &ret_reply); in __of_changeset_revert()
829 ret = __of_changeset_revert_notify(ocs); in __of_changeset_revert()
845 int of_changeset_revert(struct of_changeset *ocs) in of_changeset_revert() argument
850 ret = __of_changeset_revert(ocs); in of_changeset_revert()
873 int of_changeset_action(struct of_changeset *ocs, unsigned long action, in of_changeset_action() argument
891 list_add_tail(&ce->node, &ocs->entries); in of_changeset_action()