Lines Matching refs:enclosure_device

43 struct enclosure_device *enclosure_find(struct device *dev,  in enclosure_find()
44 struct enclosure_device *start) in enclosure_find()
46 struct enclosure_device *edev; in enclosure_find()
84 int enclosure_for_each_device(int (*fn)(struct enclosure_device *, void *), in enclosure_for_each_device() argument
88 struct enclosure_device *edev; in enclosure_for_each_device()
114 struct enclosure_device *
118 struct enclosure_device *edev = in enclosure_register()
163 void enclosure_unregister(struct enclosure_device *edev) in enclosure_unregister()
226 struct enclosure_device *edev = to_enclosure_device(cdev); in enclosure_release()
244 enclosure_component_find_by_name(struct enclosure_device *edev, in enclosure_component_find_by_name()
281 enclosure_component_alloc(struct enclosure_device *edev, in enclosure_component_alloc()
363 int enclosure_add_device(struct enclosure_device *edev, int component, in enclosure_add_device()
399 int enclosure_remove_device(struct enclosure_device *edev, struct device *dev) in enclosure_remove_device()
427 struct enclosure_device *edev = to_enclosure_device(cdev); in components_show()
437 struct enclosure_device *edev = to_enclosure_device(cdev); in id_show()
478 struct enclosure_device *edev = to_enclosure_device(cdev->parent); in get_component_fault()
490 struct enclosure_device *edev = to_enclosure_device(cdev->parent); in set_component_fault()
502 struct enclosure_device *edev = to_enclosure_device(cdev->parent); in get_component_status()
514 struct enclosure_device *edev = to_enclosure_device(cdev->parent); in set_component_status()
536 struct enclosure_device *edev = to_enclosure_device(cdev->parent); in get_component_active()
548 struct enclosure_device *edev = to_enclosure_device(cdev->parent); in set_component_active()
560 struct enclosure_device *edev = to_enclosure_device(cdev->parent); in get_component_locate()
572 struct enclosure_device *edev = to_enclosure_device(cdev->parent); in set_component_locate()
585 struct enclosure_device *edev = to_enclosure_device(cdev->parent); in get_component_power_status()
602 struct enclosure_device *edev = to_enclosure_device(cdev->parent); in set_component_power_status()