Lines Matching defs:propname
37 * @propname: name of the property to be searched.
44 bool of_property_read_bool(const struct device_node *np, const char *propname)
46 struct property *prop = of_find_property(np, propname, NULL);
54 pr_warn("%pOF: Read of boolean property '%s' with a value.\n", np, propname);
84 * @propname: name of the property to be searched.
95 const char *propname, int elem_size)
97 const struct property *prop = of_find_property(np, propname, NULL);
106 propname, np, elem_size);
118 * @propname: name of the property to be searched.
131 const char *propname, u32 min, u32 max, size_t *len)
133 const struct property *prop = of_find_property(np, propname, NULL);
154 * @propname: name of the property to be searched.
168 const char *propname,
171 const u16 *val = of_find_property_value_of_size(np, propname,
187 * @propname: name of the property to be searched.
201 const char *propname,
204 const u32 *val = of_find_property_value_of_size(np, propname,
221 * @propname: name of the property to be searched.
235 const char *propname,
238 const u64 *val = of_find_property_value_of_size(np, propname,
255 * @propname: name of the property to be searched.
275 const char *propname, u8 *out_values,
279 const u8 *val = of_find_property_value_of_size(np, propname,
305 * @propname: name of the property to be searched.
325 const char *propname, u16 *out_values,
329 const __be16 *val = of_find_property_value_of_size(np, propname,
355 * @propname: name of the property to be searched.
372 const char *propname, u32 *out_values,
376 const __be32 *val = of_find_property_value_of_size(np, propname,
400 * @propname: name of the property to be searched.
412 int of_property_read_u64(const struct device_node *np, const char *propname,
415 const __be32 *val = of_find_property_value_of_size(np, propname,
433 * @propname: name of the property to be searched.
450 const char *propname, u64 *out_values,
454 const __be32 *val = of_find_property_value_of_size(np, propname,
480 * @propname: name of the property to be searched.
496 int of_property_read_string(const struct device_node *np, const char *propname,
499 const struct property *prop = of_find_property(np, propname, NULL);
515 * @propname: string list property name
526 int of_property_match_string(const struct device_node *np, const char *propname,
529 const struct property *prop = of_find_property(np, propname, NULL);
557 * @propname: name of the property to be searched.
566 const char *propname, const char **out_strs,
569 const struct property *prop = of_find_property(np, propname, NULL);
1026 const char *propname)
1028 return of_property_present(to_of_node(fwnode), propname);
1032 const char *propname)
1034 return of_property_read_bool(to_of_node(fwnode), propname);
1038 const char *propname,
1045 return of_property_count_elems_of_size(node, propname,
1050 return of_property_read_u8_array(node, propname, val, nval);
1052 return of_property_read_u16_array(node, propname, val, nval);
1054 return of_property_read_u32_array(node, propname, val, nval);
1056 return of_property_read_u64_array(node, propname, val, nval);
1064 const char *propname, const char **val,
1070 of_property_read_string_array(node, propname, val, nval) :
1071 of_property_count_strings(node, propname);