Lines Matching refs:device
19 struct device;
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,
49 int device_property_match_string(struct device *dev,
73 struct fwnode_handle *device_get_next_child_node(struct device *dev,
82 unsigned int device_get_child_node_count(struct device *dev);
84 static inline bool device_property_read_bool(struct device *dev, in device_property_read_bool()
90 static inline int device_property_read_u8(struct device *dev, in device_property_read_u8()
96 static inline int device_property_read_u16(struct device *dev, in device_property_read_u16()
102 static inline int device_property_read_u32(struct device *dev, in device_property_read_u32()
108 static inline int device_property_read_u64(struct device *dev, in device_property_read_u64()
175 void device_add_property_set(struct device *dev, struct property_set *pset);
177 bool device_dma_supported(struct device *dev);
179 enum dev_dma_attr device_get_dma_attr(struct device *dev);
181 int device_get_phy_mode(struct device *dev);
183 void *device_get_mac_address(struct device *dev, char *addr, int alen);