Lines Matching refs:dt_ops
37 struct dt_ops { struct
55 extern struct dt_ops dt_ops; argument
103 return (dt_ops.finddevice) ? dt_ops.finddevice(name) : NULL; in finddevice()
108 return (dt_ops.getprop) ? dt_ops.getprop(devp, name, buf, buflen) : -1; in getprop()
114 return (dt_ops.setprop) ? dt_ops.setprop(devp, name, buf, buflen) : -1; in setprop()
124 if (dt_ops.setprop) in setprop_str()
125 return dt_ops.setprop(devp, name, buf, strlen(buf) + 1); in setprop_str()
132 return dt_ops.del_node ? dt_ops.del_node(devp) : -1; in del_node()
137 return dt_ops.get_parent ? dt_ops.get_parent(devp) : NULL; in get_parent()
142 return dt_ops.create_node ? dt_ops.create_node(parent, name) : NULL; in create_node()
150 if (dt_ops.find_node_by_prop_value) in find_node_by_prop_value()
151 return dt_ops.find_node_by_prop_value(prev, propname, in find_node_by_prop_value()
187 if (dt_ops.find_node_by_compatible) in find_node_by_compatible()
188 return dt_ops.find_node_by_compatible(prev, compat); in find_node_by_compatible()
211 if (dt_ops.get_path) in get_path()
212 return dt_ops.get_path(phandle, buf, len); in get_path()