Lines Matching refs:to_enclosure_component
245 struct enclosure_component *cdev = to_enclosure_component(dev); in enclosure_component_release()
492 struct enclosure_component *ecomp = to_enclosure_component(cdev); in get_component_fault()
504 struct enclosure_component *ecomp = to_enclosure_component(cdev); in set_component_fault()
516 struct enclosure_component *ecomp = to_enclosure_component(cdev); in get_component_status()
528 struct enclosure_component *ecomp = to_enclosure_component(cdev); in set_component_status()
550 struct enclosure_component *ecomp = to_enclosure_component(cdev); in get_component_active()
562 struct enclosure_component *ecomp = to_enclosure_component(cdev); in set_component_active()
574 struct enclosure_component *ecomp = to_enclosure_component(cdev); in get_component_locate()
586 struct enclosure_component *ecomp = to_enclosure_component(cdev); in set_component_locate()
599 struct enclosure_component *ecomp = to_enclosure_component(cdev); in get_component_power_status()
616 struct enclosure_component *ecomp = to_enclosure_component(cdev); in set_component_power_status()
636 struct enclosure_component *ecomp = to_enclosure_component(cdev); in get_component_type()
644 struct enclosure_component *ecomp = to_enclosure_component(cdev); in get_component_slot()