Lines Matching refs:propname
36 bool device_property_present(struct device *dev, const char *propname);
37 int device_property_read_u8_array(struct device *dev, const char *propname,
39 int device_property_read_u16_array(struct device *dev, const char *propname,
41 int device_property_read_u32_array(struct device *dev, const char *propname,
43 int device_property_read_u64_array(struct device *dev, const char *propname,
45 int device_property_read_string_array(struct device *dev, const char *propname,
47 int device_property_read_string(struct device *dev, const char *propname,
50 const char *propname, const char *string);
54 const char *propname);
56 const char *propname, u8 *val,
59 const char *propname, u16 *val,
62 const char *propname, u32 *val,
65 const char *propname, u64 *val,
68 const char *propname, const char **val,
71 const char *propname, const char **val);
73 const char *propname, const char *string);
124 const char *propname) in device_property_read_bool() argument
126 return device_property_present(dev, propname); in device_property_read_bool()
130 const char *propname, u8 *val) in device_property_read_u8() argument
132 return device_property_read_u8_array(dev, propname, val, 1); in device_property_read_u8()
136 const char *propname, u16 *val) in device_property_read_u16() argument
138 return device_property_read_u16_array(dev, propname, val, 1); in device_property_read_u16()
142 const char *propname, u32 *val) in device_property_read_u32() argument
144 return device_property_read_u32_array(dev, propname, val, 1); in device_property_read_u32()
148 const char *propname, u64 *val) in device_property_read_u64() argument
150 return device_property_read_u64_array(dev, propname, val, 1); in device_property_read_u64()
153 static inline int device_property_count_u8(struct device *dev, const char *propname) in device_property_count_u8() argument
155 return device_property_read_u8_array(dev, propname, NULL, 0); in device_property_count_u8()
158 static inline int device_property_count_u16(struct device *dev, const char *propname) in device_property_count_u16() argument
160 return device_property_read_u16_array(dev, propname, NULL, 0); in device_property_count_u16()
163 static inline int device_property_count_u32(struct device *dev, const char *propname) in device_property_count_u32() argument
165 return device_property_read_u32_array(dev, propname, NULL, 0); in device_property_count_u32()
168 static inline int device_property_count_u64(struct device *dev, const char *propname) in device_property_count_u64() argument
170 return device_property_read_u64_array(dev, propname, NULL, 0); in device_property_count_u64()
174 const char *propname) in device_property_string_array_count() argument
176 return device_property_read_string_array(dev, propname, NULL, 0); in device_property_string_array_count()
180 const char *propname) in fwnode_property_read_bool() argument
182 return fwnode_property_present(fwnode, propname); in fwnode_property_read_bool()
186 const char *propname, u8 *val) in fwnode_property_read_u8() argument
188 return fwnode_property_read_u8_array(fwnode, propname, val, 1); in fwnode_property_read_u8()
192 const char *propname, u16 *val) in fwnode_property_read_u16() argument
194 return fwnode_property_read_u16_array(fwnode, propname, val, 1); in fwnode_property_read_u16()
198 const char *propname, u32 *val) in fwnode_property_read_u32() argument
200 return fwnode_property_read_u32_array(fwnode, propname, val, 1); in fwnode_property_read_u32()
204 const char *propname, u64 *val) in fwnode_property_read_u64() argument
206 return fwnode_property_read_u64_array(fwnode, propname, val, 1); in fwnode_property_read_u64()
210 const char *propname) in fwnode_property_count_u8() argument
212 return fwnode_property_read_u8_array(fwnode, propname, NULL, 0); in fwnode_property_count_u8()
216 const char *propname) in fwnode_property_count_u16() argument
218 return fwnode_property_read_u16_array(fwnode, propname, NULL, 0); in fwnode_property_count_u16()
222 const char *propname) in fwnode_property_count_u32() argument
224 return fwnode_property_read_u32_array(fwnode, propname, NULL, 0); in fwnode_property_count_u32()
228 const char *propname) in fwnode_property_count_u64() argument
230 return fwnode_property_read_u64_array(fwnode, propname, NULL, 0); in fwnode_property_count_u64()
235 const char *propname) in fwnode_property_string_array_count() argument
237 return fwnode_property_read_string_array(fwnode, propname, NULL, 0); in fwnode_property_string_array_count()