Lines Matching refs:action
90 int of_reconfig_notify(unsigned long action, struct of_reconfig_data *p) in of_reconfig_notify() argument
96 switch (action) { in of_reconfig_notify()
99 pr_debug("of/notify %-15s %s\n", action_names[action], in of_reconfig_notify()
105 pr_debug("of/notify %-15s %s:%s\n", action_names[action], in of_reconfig_notify()
111 rc = blocking_notifier_call_chain(&of_reconfig_chain, action, p); in of_reconfig_notify()
124 int of_reconfig_get_state_change(unsigned long action, struct of_reconfig_data *pr) in of_reconfig_get_state_change() argument
130 switch (action) { in of_reconfig_get_state_change()
162 switch (action) { in of_reconfig_get_state_change()
202 int of_property_notify(int action, struct device_node *np, in of_property_notify() argument
214 return of_reconfig_notify(action, &pr); in of_property_notify()
458 switch (ce->action) { in __of_changeset_entry_dump()
462 pr_debug("of/cset<%p> %-15s %s/%s\n", ce, action_names[ce->action], in __of_changeset_entry_dump()
467 pr_debug("of/cset<%p> %-15s %s\n", ce, action_names[ce->action], in __of_changeset_entry_dump()
484 switch (ce->action) { in __of_changeset_entry_invert()
486 rce->action = OF_RECONFIG_DETACH_NODE; in __of_changeset_entry_invert()
489 rce->action = OF_RECONFIG_ATTACH_NODE; in __of_changeset_entry_invert()
492 rce->action = OF_RECONFIG_REMOVE_PROPERTY; in __of_changeset_entry_invert()
495 rce->action = OF_RECONFIG_ADD_PROPERTY; in __of_changeset_entry_invert()
515 switch (ce->action) { in __of_changeset_entry_notify()
520 ret = of_reconfig_notify(ce->action, &rd); in __of_changeset_entry_notify()
525 ret = of_property_notify(ce->action, ce->np, ce->prop, ce->old_prop); in __of_changeset_entry_notify()
529 (int)ce->action); in __of_changeset_entry_notify()
546 switch (ce->action) { in __of_changeset_entry_apply()
607 switch (ce->action) { in __of_changeset_entry_apply()
760 int of_changeset_action(struct of_changeset *ocs, unsigned long action, in of_changeset_action() argument
771 ce->action = action; in of_changeset_action()
775 if (action == OF_RECONFIG_UPDATE_PROPERTY && prop) in of_changeset_action()