Lines Matching refs:action
76 int of_reconfig_notify(unsigned long action, struct of_reconfig_data *p) in of_reconfig_notify() argument
82 switch (action) { in of_reconfig_notify()
85 pr_debug("notify %-15s %pOF\n", action_names[action], in of_reconfig_notify()
91 pr_debug("notify %-15s %pOF:%s\n", action_names[action], in of_reconfig_notify()
97 rc = blocking_notifier_call_chain(&of_reconfig_chain, action, p); in of_reconfig_notify()
111 int of_reconfig_get_state_change(unsigned long action, struct of_reconfig_data *pr) in of_reconfig_get_state_change() argument
117 switch (action) { in of_reconfig_get_state_change()
149 switch (action) { in of_reconfig_get_state_change()
189 int of_property_notify(int action, struct device_node *np, in of_property_notify() argument
201 return of_reconfig_notify(action, &pr); in of_property_notify()
466 if (ce->action == OF_RECONFIG_ATTACH_NODE && in __of_changeset_entry_destroy()
484 switch (ce->action) { in __of_changeset_entry_dump()
488 pr_debug("cset<%p> %-15s %pOF/%s\n", ce, action_names[ce->action], in __of_changeset_entry_dump()
493 pr_debug("cset<%p> %-15s %pOF\n", ce, action_names[ce->action], in __of_changeset_entry_dump()
510 switch (ce->action) { in __of_changeset_entry_invert()
512 rce->action = OF_RECONFIG_DETACH_NODE; in __of_changeset_entry_invert()
515 rce->action = OF_RECONFIG_ATTACH_NODE; in __of_changeset_entry_invert()
518 rce->action = OF_RECONFIG_REMOVE_PROPERTY; in __of_changeset_entry_invert()
521 rce->action = OF_RECONFIG_ADD_PROPERTY; in __of_changeset_entry_invert()
528 rce->action = OF_RECONFIG_REMOVE_PROPERTY; in __of_changeset_entry_invert()
547 switch (ce->action) { in __of_changeset_entry_notify()
552 ret = of_reconfig_notify(ce->action, &rd); in __of_changeset_entry_notify()
557 ret = of_property_notify(ce->action, ce->np, ce->prop, ce->old_prop); in __of_changeset_entry_notify()
561 (int)ce->action); in __of_changeset_entry_notify()
579 switch (ce->action) { in __of_changeset_entry_apply()
640 switch (ce->action) { in __of_changeset_entry_apply()
915 int of_changeset_action(struct of_changeset *ocs, unsigned long action, in of_changeset_action() argument
925 ce->action = action; in of_changeset_action()
929 if (action == OF_RECONFIG_UPDATE_PROPERTY && prop) in of_changeset_action()