Lines Matching refs:propname
30 bool device_property_present(struct device *dev, const char *propname);
31 int device_property_read_u8_array(struct device *dev, const char *propname,
33 int device_property_read_u16_array(struct device *dev, const char *propname,
35 int device_property_read_u32_array(struct device *dev, const char *propname,
37 int device_property_read_u64_array(struct device *dev, const char *propname,
39 int device_property_read_string_array(struct device *dev, const char *propname,
41 int device_property_read_string(struct device *dev, const char *propname,
44 bool fwnode_property_present(struct fwnode_handle *fwnode, const char *propname);
46 const char *propname, u8 *val,
49 const char *propname, u16 *val,
52 const char *propname, u32 *val,
55 const char *propname, u64 *val,
58 const char *propname, const char **val,
61 const char *propname, const char **val);
75 const char *propname) in device_property_read_bool() argument
77 return device_property_present(dev, propname); in device_property_read_bool()
81 const char *propname, u8 *val) in device_property_read_u8() argument
83 return device_property_read_u8_array(dev, propname, val, 1); in device_property_read_u8()
87 const char *propname, u16 *val) in device_property_read_u16() argument
89 return device_property_read_u16_array(dev, propname, val, 1); in device_property_read_u16()
93 const char *propname, u32 *val) in device_property_read_u32() argument
95 return device_property_read_u32_array(dev, propname, val, 1); in device_property_read_u32()
99 const char *propname, u64 *val) in device_property_read_u64() argument
101 return device_property_read_u64_array(dev, propname, val, 1); in device_property_read_u64()
105 const char *propname) in fwnode_property_read_bool() argument
107 return fwnode_property_present(fwnode, propname); in fwnode_property_read_bool()
111 const char *propname, u8 *val) in fwnode_property_read_u8() argument
113 return fwnode_property_read_u8_array(fwnode, propname, val, 1); in fwnode_property_read_u8()
117 const char *propname, u16 *val) in fwnode_property_read_u16() argument
119 return fwnode_property_read_u16_array(fwnode, propname, val, 1); in fwnode_property_read_u16()
123 const char *propname, u32 *val) in fwnode_property_read_u32() argument
125 return fwnode_property_read_u32_array(fwnode, propname, val, 1); in fwnode_property_read_u32()
129 const char *propname, u64 *val) in fwnode_property_read_u64() argument
131 return fwnode_property_read_u64_array(fwnode, propname, val, 1); in fwnode_property_read_u64()