Lines Matching refs:propname

31  * @propname: Name of the property
33 * Check if property @propname is present in the device firmware description.
35 bool device_property_present(struct device *dev, const char *propname)
37 return fwnode_property_present(dev_fwnode(dev), propname);
44 * @propname: Name of the property
47 const char *propname)
51 ret = fwnode_call_bool_op(fwnode, property_present, propname);
55 propname);
63 * @propname: Name of the property
67 * Function reads an array of u8 properties with @propname from the device
78 int device_property_read_u8_array(struct device *dev, const char *propname,
81 return fwnode_property_read_u8_array(dev_fwnode(dev), propname, val, nval);
88 * @propname: Name of the property
92 * Function reads an array of u16 properties with @propname from the device
103 int device_property_read_u16_array(struct device *dev, const char *propname,
106 return fwnode_property_read_u16_array(dev_fwnode(dev), propname, val, nval);
113 * @propname: Name of the property
117 * Function reads an array of u32 properties with @propname from the device
128 int device_property_read_u32_array(struct device *dev, const char *propname,
131 return fwnode_property_read_u32_array(dev_fwnode(dev), propname, val, nval);
138 * @propname: Name of the property
142 * Function reads an array of u64 properties with @propname from the device
153 int device_property_read_u64_array(struct device *dev, const char *propname,
156 return fwnode_property_read_u64_array(dev_fwnode(dev), propname, val, nval);
163 * @propname: Name of the property
167 * Function reads an array of string properties with @propname from the device
178 int device_property_read_string_array(struct device *dev, const char *propname,
181 return fwnode_property_read_string_array(dev_fwnode(dev), propname, val, nval);
188 * @propname: Name of the property
191 * Function reads property @propname from the device firmware description and
200 int device_property_read_string(struct device *dev, const char *propname,
203 return fwnode_property_read_string(dev_fwnode(dev), propname, val);
210 * @propname: Name of the property holding the array
222 int device_property_match_string(struct device *dev, const char *propname,
225 return fwnode_property_match_string(dev_fwnode(dev), propname, string);
230 const char *propname,
236 ret = fwnode_call_int_op(fwnode, property_read_int_array, propname,
241 fwnode->secondary, property_read_int_array, propname,
250 * @propname: Name of the property
254 * Read an array of u8 properties with @propname from @fwnode and stores them to
266 const char *propname, u8 *val, size_t nval)
268 return fwnode_property_read_int_array(fwnode, propname, sizeof(u8),
276 * @propname: Name of the property
280 * Read an array of u16 properties with @propname from @fwnode and store them to
292 const char *propname, u16 *val, size_t nval)
294 return fwnode_property_read_int_array(fwnode, propname, sizeof(u16),
302 * @propname: Name of the property
306 * Read an array of u32 properties with @propname from @fwnode store them to
318 const char *propname, u32 *val, size_t nval)
320 return fwnode_property_read_int_array(fwnode, propname, sizeof(u32),
328 * @propname: Name of the property
332 * Read an array of u64 properties with @propname from @fwnode and store them to
344 const char *propname, u64 *val, size_t nval)
346 return fwnode_property_read_int_array(fwnode, propname, sizeof(u64),
354 * @propname: Name of the property
358 * Read an string list property @propname from the given firmware node and store
370 const char *propname, const char **val,
375 ret = fwnode_call_int_op(fwnode, property_read_string_array, propname,
380 property_read_string_array, propname,
389 * @propname: Name of the property
392 * Read property @propname from the given firmware node and store the value into
402 const char *propname, const char **val)
404 int ret = fwnode_property_read_string_array(fwnode, propname, val, 1);
413 * @propname: Name of the property holding the array
426 const char *propname, const char *string)
431 nval = fwnode_property_read_string_array(fwnode, propname, NULL, 0);
442 ret = fwnode_property_read_string_array(fwnode, propname, values, nval);