Lines Matching refs:propname
39 bool device_property_present(const struct device *dev, const char *propname);
40 bool device_property_read_bool(const struct device *dev, const char *propname);
41 int device_property_read_u8_array(const struct device *dev, const char *propname,
43 int device_property_read_u16_array(const struct device *dev, const char *propname,
45 int device_property_read_u32_array(const struct device *dev, const char *propname,
47 int device_property_read_u64_array(const struct device *dev, const char *propname,
49 int device_property_read_string_array(const struct device *dev, const char *propname,
51 int device_property_read_string(const struct device *dev, const char *propname,
54 const char *propname, const char *string);
57 const char *propname);
59 const char *propname);
61 const char *propname, u8 *val,
64 const char *propname, u16 *val,
67 const char *propname, u32 *val,
70 const char *propname, u64 *val,
73 const char *propname, const char **val,
76 const char *propname, const char **val);
78 const char *propname, const char *string);
127 const char *propname,
132 const char *propname, in device_property_match_property_string() argument
135 return fwnode_property_match_property_string(dev_fwnode(dev), propname, array, n); in device_property_match_property_string()
214 const char *propname, u8 *val) in device_property_read_u8() argument
216 return device_property_read_u8_array(dev, propname, val, 1); in device_property_read_u8()
220 const char *propname, u16 *val) in device_property_read_u16() argument
222 return device_property_read_u16_array(dev, propname, val, 1); in device_property_read_u16()
226 const char *propname, u32 *val) in device_property_read_u32() argument
228 return device_property_read_u32_array(dev, propname, val, 1); in device_property_read_u32()
232 const char *propname, u64 *val) in device_property_read_u64() argument
234 return device_property_read_u64_array(dev, propname, val, 1); in device_property_read_u64()
237 static inline int device_property_count_u8(const struct device *dev, const char *propname) in device_property_count_u8() argument
239 return device_property_read_u8_array(dev, propname, NULL, 0); in device_property_count_u8()
242 static inline int device_property_count_u16(const struct device *dev, const char *propname) in device_property_count_u16() argument
244 return device_property_read_u16_array(dev, propname, NULL, 0); in device_property_count_u16()
247 static inline int device_property_count_u32(const struct device *dev, const char *propname) in device_property_count_u32() argument
249 return device_property_read_u32_array(dev, propname, NULL, 0); in device_property_count_u32()
252 static inline int device_property_count_u64(const struct device *dev, const char *propname) in device_property_count_u64() argument
254 return device_property_read_u64_array(dev, propname, NULL, 0); in device_property_count_u64()
258 const char *propname) in device_property_string_array_count() argument
260 return device_property_read_string_array(dev, propname, NULL, 0); in device_property_string_array_count()
264 const char *propname, u8 *val) in fwnode_property_read_u8() argument
266 return fwnode_property_read_u8_array(fwnode, propname, val, 1); in fwnode_property_read_u8()
270 const char *propname, u16 *val) in fwnode_property_read_u16() argument
272 return fwnode_property_read_u16_array(fwnode, propname, val, 1); in fwnode_property_read_u16()
276 const char *propname, u32 *val) in fwnode_property_read_u32() argument
278 return fwnode_property_read_u32_array(fwnode, propname, val, 1); in fwnode_property_read_u32()
282 const char *propname, u64 *val) in fwnode_property_read_u64() argument
284 return fwnode_property_read_u64_array(fwnode, propname, val, 1); in fwnode_property_read_u64()
288 const char *propname) in fwnode_property_count_u8() argument
290 return fwnode_property_read_u8_array(fwnode, propname, NULL, 0); in fwnode_property_count_u8()
294 const char *propname) in fwnode_property_count_u16() argument
296 return fwnode_property_read_u16_array(fwnode, propname, NULL, 0); in fwnode_property_count_u16()
300 const char *propname) in fwnode_property_count_u32() argument
302 return fwnode_property_read_u32_array(fwnode, propname, NULL, 0); in fwnode_property_count_u32()
306 const char *propname) in fwnode_property_count_u64() argument
308 return fwnode_property_read_u64_array(fwnode, propname, NULL, 0); in fwnode_property_count_u64()
313 const char *propname) in fwnode_property_string_array_count() argument
315 return fwnode_property_read_string_array(fwnode, propname, NULL, 0); in fwnode_property_string_array_count()