• Home
  • Raw
  • Download

Lines Matching full:property

3  * drivers/of/property.c - Procedures for accessing and interpreting
7 * file contains the OF property as well as the OF graph interface
56 * of_property_count_elems_of_size - Count the number of elements in a property
58 * @np: device node from which the property value is to be read.
59 * @propname: name of the property to be searched.
62 * Search for a property in a device node and count the number of elements of
64 * property does not exist or its length does not match a multiple of elem_size
65 * and -ENODATA if the property does not have a value.
70 struct property *prop = of_find_property(np, propname, NULL); in of_property_count_elems_of_size()
90 * @np: device node from which the property value is to be read.
91 * @propname: name of the property to be searched.
92 * @min: minimum allowed length of property value
93 * @max: maximum allowed length of property value (0 means unlimited)
96 * Search for a property in a device node and valid the requested size.
97 * Returns the property value on success, -EINVAL if the property does not
98 * exist, -ENODATA if property does not have a value, and -EOVERFLOW if the
99 * property data is too small or too large.
105 struct property *prop = of_find_property(np, propname, NULL); in of_find_property_value_of_size()
123 * of_property_read_u32_index - Find and read a u32 from a multi-value property.
125 * @np: device node from which the property value is to be read.
126 * @propname: name of the property to be searched.
130 * Search for a property in a device node and read nth 32-bit value from
131 * it. Returns 0 on success, -EINVAL if the property does not exist,
132 * -ENODATA if property does not have a value, and -EOVERFLOW if the
133 * property data isn't large enough.
155 * of_property_read_u64_index - Find and read a u64 from a multi-value property.
157 * @np: device node from which the property value is to be read.
158 * @propname: name of the property to be searched.
162 * Search for a property in a device node and read nth 64-bit value from
163 * it. Returns 0 on success, -EINVAL if the property does not exist,
164 * -ENODATA if property does not have a value, and -EOVERFLOW if the
165 * property data isn't large enough.
187 * property, with bounds on the minimum and maximum array size.
189 * @np: device node from which the property value is to be read.
190 * @propname: name of the property to be searched.
197 * Search for a property in a device node and read 8-bit value(s) from
198 * it. Returns number of elements read on success, -EINVAL if the property
199 * does not exist, -ENODATA if property does not have a value, and -EOVERFLOW
200 * if the property data is smaller than sz_min or longer than sz_max.
203 * property = /bits/ 8 <0x50 0x60 0x70>;
235 * property, with bounds on the minimum and maximum array size.
237 * @np: device node from which the property value is to be read.
238 * @propname: name of the property to be searched.
245 * Search for a property in a device node and read 16-bit value(s) from
246 * it. Returns number of elements read on success, -EINVAL if the property
247 * does not exist, -ENODATA if property does not have a value, and -EOVERFLOW
248 * if the property data is smaller than sz_min or longer than sz_max.
251 * property = /bits/ 16 <0x5000 0x6000 0x7000>;
283 * integers from a property, with bounds on the minimum and maximum array size.
285 * @np: device node from which the property value is to be read.
286 * @propname: name of the property to be searched.
293 * Search for a property in a device node and read 32-bit value(s) from
294 * it. Returns number of elements read on success, -EINVAL if the property
295 * does not exist, -ENODATA if property does not have a value, and -EOVERFLOW
296 * if the property data is smaller than sz_min or longer than sz_max.
327 * of_property_read_u64 - Find and read a 64 bit integer from a property
328 * @np: device node from which the property value is to be read.
329 * @propname: name of the property to be searched.
332 * Search for a property in a device node and read a 64-bit value from
333 * it. Returns 0 on success, -EINVAL if the property does not exist,
334 * -ENODATA if property does not have a value, and -EOVERFLOW if the
335 * property data isn't large enough.
357 * integers from a property, with bounds on the minimum and maximum array size.
359 * @np: device node from which the property value is to be read.
360 * @propname: name of the property to be searched.
367 * Search for a property in a device node and read 64-bit value(s) from
368 * it. Returns number of elements read on success, -EINVAL if the property
369 * does not exist, -ENODATA if property does not have a value, and -EOVERFLOW
370 * if the property data is smaller than sz_min or longer than sz_max.
403 * of_property_read_string - Find and read a string from a property
404 * @np: device node from which the property value is to be read.
405 * @propname: name of the property to be searched.
409 * Search for a property in a device tree node and retrieve a null
411 * success, -EINVAL if the property does not exist, -ENODATA if property
413 * within the length of the property data.
420 const struct property *prop = of_find_property(np, propname, NULL); in of_property_read_string()
434 * @np: pointer to node containing string list property
435 * @propname: string list property name
438 * This function searches a string list property and returns the index
444 const struct property *prop = of_find_property(np, propname, NULL); in of_property_match_string()
471 * @np: device node from which the property value is to be read.
472 * @propname: name of the property to be searched.
484 const struct property *prop = of_find_property(np, propname, NULL); in of_property_read_string_helper()
507 const __be32 *of_prop_next_u32(struct property *prop, const __be32 *cur, in of_prop_next_u32()
530 const char *of_prop_next_string(struct property *prop, const char *cur) in of_prop_next_string()
681 * @port_reg: identifier (value of reg property) of the parent port node
682 * @reg: identifier (value of reg property) of the endpoint node
806 * @port: identifier (value of reg property) of the parent port node
807 * @endpoint: identifier (value of reg property) of the endpoint node
1170 * parse_prop_cells - Property parsing function for suppliers
1173 * @prop_name: Name of property to be parsed. Expected to hold phandle values
1176 * @list_name: Property name that is known to contain list of phandle(s) to
1178 * @cells_name: property name that specifies phandles' arguments count
1224 * parse_suffix_prop_cells - Suffix property parsing function for suppliers
1227 * @prop_name: Name of property to be parsed. Expected to hold phandle values
1230 * @suffix: Property suffix that is known to contain list of phandle(s) to
1232 * @cells_name: property name that specifies phandles' arguments count
1267 * struct supplier_bindings - Property parsing functions for suppliers
1271 * @parse_prop.np: Pointer to device node holding supplier phandle property
1272 * @parse_prop.prop_name: Name of property holding a phandle value
1365 * of_link_property - Create device links to suppliers listed in a property
1367 * @con_np: The consumer device tree node which contains the property
1368 * @prop_name: Name of property to be parsed
1370 * This function checks if the property @prop_name that is present in the
1417 struct property *p; in of_link_to_suppliers()