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()
110 int of_reconfig_get_state_change(unsigned long action, struct of_reconfig_data *pr) in of_reconfig_get_state_change() argument
116 switch (action) { in of_reconfig_get_state_change()
148 switch (action) { in of_reconfig_get_state_change()
188 int of_property_notify(int action, struct device_node *np, in of_property_notify() argument
200 return of_reconfig_notify(action, &pr); in of_property_notify()
465 if (ce->action == OF_RECONFIG_ATTACH_NODE && in __of_changeset_entry_destroy()
483 switch (ce->action) { in __of_changeset_entry_dump()
487 pr_debug("cset<%p> %-15s %pOF/%s\n", ce, action_names[ce->action], in __of_changeset_entry_dump()
492 pr_debug("cset<%p> %-15s %pOF\n", ce, action_names[ce->action], in __of_changeset_entry_dump()
509 switch (ce->action) { in __of_changeset_entry_invert()
511 rce->action = OF_RECONFIG_DETACH_NODE; in __of_changeset_entry_invert()
514 rce->action = OF_RECONFIG_ATTACH_NODE; in __of_changeset_entry_invert()
517 rce->action = OF_RECONFIG_REMOVE_PROPERTY; in __of_changeset_entry_invert()
520 rce->action = OF_RECONFIG_ADD_PROPERTY; in __of_changeset_entry_invert()
527 rce->action = OF_RECONFIG_REMOVE_PROPERTY; in __of_changeset_entry_invert()
546 switch (ce->action) { in __of_changeset_entry_notify()
551 ret = of_reconfig_notify(ce->action, &rd); in __of_changeset_entry_notify()
556 ret = of_property_notify(ce->action, ce->np, ce->prop, ce->old_prop); in __of_changeset_entry_notify()
560 (int)ce->action); in __of_changeset_entry_notify()
578 switch (ce->action) { in __of_changeset_entry_apply()
639 switch (ce->action) { in __of_changeset_entry_apply()
911 int of_changeset_action(struct of_changeset *ocs, unsigned long action, in of_changeset_action() argument
921 ce->action = action; in of_changeset_action()
925 if (action == OF_RECONFIG_UPDATE_PROPERTY && prop) in of_changeset_action()