Lines Matching refs:sysfs_device

30 static int get_dev_driver(struct sysfs_device *dev)  in get_dev_driver()
58 int sysfs_get_device_bus(struct sysfs_device *dev) in sysfs_get_device_bus()
85 static int get_dev_subsystem(struct sysfs_device *dev) in get_dev_subsystem()
111 sysfs_close_device_tree((struct sysfs_device *)dev); in sysfs_close_dev_tree()
119 void sysfs_close_device_tree(struct sysfs_device *devroot) in sysfs_close_device_tree()
123 struct sysfs_device *child = NULL; in sysfs_close_device_tree()
126 struct sysfs_device) in sysfs_close_device_tree()
138 void sysfs_close_device(struct sysfs_device *dev) in sysfs_close_device()
155 static struct sysfs_device *alloc_device(void) in alloc_device()
157 return (struct sysfs_device *) calloc(1, sizeof(struct sysfs_device)); in alloc_device()
165 struct sysfs_device *sysfs_open_device_path(const char *path) in sysfs_open_device_path()
167 struct sysfs_device *dev; in sysfs_open_device_path()
223 struct sysfs_device *sysfs_open_device_tree(const char *path) in sysfs_open_device_tree()
225 struct sysfs_device *rootdev = NULL, *new = NULL; in sysfs_open_device_tree()
226 struct sysfs_device *cur = NULL; in sysfs_open_device_tree()
227 struct sysfs_device *devlist; in sysfs_open_device_tree()
242 struct sysfs_device) { in sysfs_open_device_tree()
252 (sizeof(struct sysfs_device), in sysfs_open_device_tree()
267 struct sysfs_attribute *sysfs_get_device_attr(struct sysfs_device *dev, in sysfs_get_device_attr()
282 struct dlist *sysfs_get_device_attributes(struct sysfs_device *dev) in sysfs_get_device_attributes()
344 struct sysfs_device *sysfs_open_device(const char *bus, const char *bus_id) in sysfs_open_device()
347 struct sysfs_device *device; in sysfs_open_device()
374 struct sysfs_device *sysfs_get_device_parent(struct sysfs_device *dev) in sysfs_get_device_parent()