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);
127 const char *propname) in device_property_read_bool() argument
129 return device_property_present(dev, propname); in device_property_read_bool()
133 const char *propname, u8 *val) in device_property_read_u8() argument
135 return device_property_read_u8_array(dev, propname, val, 1); in device_property_read_u8()
139 const char *propname, u16 *val) in device_property_read_u16() argument
141 return device_property_read_u16_array(dev, propname, val, 1); in device_property_read_u16()
145 const char *propname, u32 *val) in device_property_read_u32() argument
147 return device_property_read_u32_array(dev, propname, val, 1); in device_property_read_u32()
151 const char *propname, u64 *val) in device_property_read_u64() argument
153 return device_property_read_u64_array(dev, propname, val, 1); in device_property_read_u64()
156 static inline int device_property_count_u8(struct device *dev, const char *propname) in device_property_count_u8() argument
158 return device_property_read_u8_array(dev, propname, NULL, 0); in device_property_count_u8()
161 static inline int device_property_count_u16(struct device *dev, const char *propname) in device_property_count_u16() argument
163 return device_property_read_u16_array(dev, propname, NULL, 0); in device_property_count_u16()
166 static inline int device_property_count_u32(struct device *dev, const char *propname) in device_property_count_u32() argument
168 return device_property_read_u32_array(dev, propname, NULL, 0); in device_property_count_u32()
171 static inline int device_property_count_u64(struct device *dev, const char *propname) in device_property_count_u64() argument
173 return device_property_read_u64_array(dev, propname, NULL, 0); in device_property_count_u64()
177 const char *propname) in device_property_string_array_count() argument
179 return device_property_read_string_array(dev, propname, NULL, 0); in device_property_string_array_count()
183 const char *propname) in fwnode_property_read_bool() argument
185 return fwnode_property_present(fwnode, propname); in fwnode_property_read_bool()
189 const char *propname, u8 *val) in fwnode_property_read_u8() argument
191 return fwnode_property_read_u8_array(fwnode, propname, val, 1); in fwnode_property_read_u8()
195 const char *propname, u16 *val) in fwnode_property_read_u16() argument
197 return fwnode_property_read_u16_array(fwnode, propname, val, 1); in fwnode_property_read_u16()
201 const char *propname, u32 *val) in fwnode_property_read_u32() argument
203 return fwnode_property_read_u32_array(fwnode, propname, val, 1); in fwnode_property_read_u32()
207 const char *propname, u64 *val) in fwnode_property_read_u64() argument
209 return fwnode_property_read_u64_array(fwnode, propname, val, 1); in fwnode_property_read_u64()
213 const char *propname) in fwnode_property_count_u8() argument
215 return fwnode_property_read_u8_array(fwnode, propname, NULL, 0); in fwnode_property_count_u8()
219 const char *propname) in fwnode_property_count_u16() argument
221 return fwnode_property_read_u16_array(fwnode, propname, NULL, 0); in fwnode_property_count_u16()
225 const char *propname) in fwnode_property_count_u32() argument
227 return fwnode_property_read_u32_array(fwnode, propname, NULL, 0); in fwnode_property_count_u32()
231 const char *propname) in fwnode_property_count_u64() argument
233 return fwnode_property_read_u64_array(fwnode, propname, NULL, 0); in fwnode_property_count_u64()
238 const char *propname) in fwnode_property_string_array_count() argument
240 return fwnode_property_read_string_array(fwnode, propname, NULL, 0); in fwnode_property_string_array_count()