Lines Matching refs:ocs

673 void of_changeset_init(struct of_changeset *ocs)  in of_changeset_init()  argument
675 memset(ocs, 0, sizeof(*ocs)); in of_changeset_init()
676 INIT_LIST_HEAD(&ocs->entries); in of_changeset_init()
688 void of_changeset_destroy(struct of_changeset *ocs) in of_changeset_destroy() argument
692 list_for_each_entry_safe_reverse(ce, cen, &ocs->entries, node) in of_changeset_destroy()
707 int __of_changeset_apply_entries(struct of_changeset *ocs, int *ret_revert) in __of_changeset_apply_entries() argument
713 list_for_each_entry(ce, &ocs->entries, node) { in __of_changeset_apply_entries()
717 list_for_each_entry_continue_reverse(ce, &ocs->entries, in __of_changeset_apply_entries()
736 int __of_changeset_apply_notify(struct of_changeset *ocs) in __of_changeset_apply_notify() argument
745 list_for_each_entry(ce, &ocs->entries, node) { in __of_changeset_apply_notify()
764 static int __of_changeset_apply(struct of_changeset *ocs) in __of_changeset_apply() argument
768 ret = __of_changeset_apply_entries(ocs, &ret_revert); in __of_changeset_apply()
770 ret = __of_changeset_apply_notify(ocs); in __of_changeset_apply()
787 int of_changeset_apply(struct of_changeset *ocs) in of_changeset_apply() argument
792 ret = __of_changeset_apply(ocs); in of_changeset_apply()
810 int __of_changeset_revert_entries(struct of_changeset *ocs, int *ret_apply) in __of_changeset_revert_entries() argument
816 list_for_each_entry_reverse(ce, &ocs->entries, node) { in __of_changeset_revert_entries()
820 list_for_each_entry_continue(ce, &ocs->entries, node) { in __of_changeset_revert_entries()
836 int __of_changeset_revert_notify(struct of_changeset *ocs) in __of_changeset_revert_notify() argument
845 list_for_each_entry_reverse(ce, &ocs->entries, node) { in __of_changeset_revert_notify()
856 static int __of_changeset_revert(struct of_changeset *ocs) in __of_changeset_revert() argument
861 ret = __of_changeset_revert_entries(ocs, &ret_reply); in __of_changeset_revert()
864 ret = __of_changeset_revert_notify(ocs); in __of_changeset_revert()
880 int of_changeset_revert(struct of_changeset *ocs) in of_changeset_revert() argument
885 ret = __of_changeset_revert(ocs); in of_changeset_revert()
908 int of_changeset_action(struct of_changeset *ocs, unsigned long action, in of_changeset_action() argument
926 list_add_tail(&ce->node, &ocs->entries); in of_changeset_action()