Lines Matching refs:to_enclosure_device
226 struct enclosure_device *edev = to_enclosure_device(cdev); in enclosure_release()
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()