Lines Matching refs:dt_ops
36 struct dt_ops { struct
54 extern struct dt_ops dt_ops; argument
101 return (dt_ops.finddevice) ? dt_ops.finddevice(name) : NULL; in finddevice()
106 return (dt_ops.getprop) ? dt_ops.getprop(devp, name, buf, buflen) : -1; in getprop()
112 return (dt_ops.setprop) ? dt_ops.setprop(devp, name, buf, buflen) : -1; in setprop()
122 if (dt_ops.setprop) in setprop_str()
123 return dt_ops.setprop(devp, name, buf, strlen(buf) + 1); in setprop_str()
130 return dt_ops.del_node ? dt_ops.del_node(devp) : -1; in del_node()
135 return dt_ops.get_parent ? dt_ops.get_parent(devp) : NULL; in get_parent()
140 return dt_ops.create_node ? dt_ops.create_node(parent, name) : NULL; in create_node()
148 if (dt_ops.find_node_by_prop_value) in find_node_by_prop_value()
149 return dt_ops.find_node_by_prop_value(prev, propname, in find_node_by_prop_value()
185 if (dt_ops.find_node_by_compatible) in find_node_by_compatible()
186 return dt_ops.find_node_by_compatible(prev, compat); in find_node_by_compatible()
203 if (dt_ops.get_path) in get_path()
204 return dt_ops.get_path(phandle, buf, len); in get_path()