Lines Matching refs:propname
37 bool device_property_present(struct device *dev, const char *propname);
38 int device_property_read_u8_array(struct device *dev, const char *propname,
40 int device_property_read_u16_array(struct device *dev, const char *propname,
42 int device_property_read_u32_array(struct device *dev, const char *propname,
44 int device_property_read_u64_array(struct device *dev, const char *propname,
46 int device_property_read_string_array(struct device *dev, const char *propname,
48 int device_property_read_string(struct device *dev, const char *propname,
51 const char *propname, const char *string);
55 const char *propname);
57 const char *propname, u8 *val,
60 const char *propname, u16 *val,
63 const char *propname, u32 *val,
66 const char *propname, u64 *val,
69 const char *propname, const char **val,
72 const char *propname, const char **val);
74 const char *propname, const char *string);
133 const char *propname) in device_property_read_bool() argument
135 return device_property_present(dev, propname); in device_property_read_bool()
139 const char *propname, u8 *val) in device_property_read_u8() argument
141 return device_property_read_u8_array(dev, propname, val, 1); in device_property_read_u8()
145 const char *propname, u16 *val) in device_property_read_u16() argument
147 return device_property_read_u16_array(dev, propname, val, 1); in device_property_read_u16()
151 const char *propname, u32 *val) in device_property_read_u32() argument
153 return device_property_read_u32_array(dev, propname, val, 1); in device_property_read_u32()
157 const char *propname, u64 *val) in device_property_read_u64() argument
159 return device_property_read_u64_array(dev, propname, val, 1); in device_property_read_u64()
162 static inline int device_property_count_u8(struct device *dev, const char *propname) in device_property_count_u8() argument
164 return device_property_read_u8_array(dev, propname, NULL, 0); in device_property_count_u8()
167 static inline int device_property_count_u16(struct device *dev, const char *propname) in device_property_count_u16() argument
169 return device_property_read_u16_array(dev, propname, NULL, 0); in device_property_count_u16()
172 static inline int device_property_count_u32(struct device *dev, const char *propname) in device_property_count_u32() argument
174 return device_property_read_u32_array(dev, propname, NULL, 0); in device_property_count_u32()
177 static inline int device_property_count_u64(struct device *dev, const char *propname) in device_property_count_u64() argument
179 return device_property_read_u64_array(dev, propname, NULL, 0); in device_property_count_u64()
183 const char *propname) in device_property_string_array_count() argument
185 return device_property_read_string_array(dev, propname, NULL, 0); in device_property_string_array_count()
189 const char *propname) in fwnode_property_read_bool() argument
191 return fwnode_property_present(fwnode, propname); in fwnode_property_read_bool()
195 const char *propname, u8 *val) in fwnode_property_read_u8() argument
197 return fwnode_property_read_u8_array(fwnode, propname, val, 1); in fwnode_property_read_u8()
201 const char *propname, u16 *val) in fwnode_property_read_u16() argument
203 return fwnode_property_read_u16_array(fwnode, propname, val, 1); in fwnode_property_read_u16()
207 const char *propname, u32 *val) in fwnode_property_read_u32() argument
209 return fwnode_property_read_u32_array(fwnode, propname, val, 1); in fwnode_property_read_u32()
213 const char *propname, u64 *val) in fwnode_property_read_u64() argument
215 return fwnode_property_read_u64_array(fwnode, propname, val, 1); in fwnode_property_read_u64()
219 const char *propname) in fwnode_property_count_u8() argument
221 return fwnode_property_read_u8_array(fwnode, propname, NULL, 0); in fwnode_property_count_u8()
225 const char *propname) in fwnode_property_count_u16() argument
227 return fwnode_property_read_u16_array(fwnode, propname, NULL, 0); in fwnode_property_count_u16()
231 const char *propname) in fwnode_property_count_u32() argument
233 return fwnode_property_read_u32_array(fwnode, propname, NULL, 0); in fwnode_property_count_u32()
237 const char *propname) in fwnode_property_count_u64() argument
239 return fwnode_property_read_u64_array(fwnode, propname, NULL, 0); in fwnode_property_count_u64()
244 const char *propname) in fwnode_property_string_array_count() argument
246 return fwnode_property_read_string_array(fwnode, propname, NULL, 0); in fwnode_property_string_array_count()