Lines Matching refs:to_enclosure_component
234 struct enclosure_component *cdev = to_enclosure_component(dev); in enclosure_component_release()
480 struct enclosure_component *ecomp = to_enclosure_component(cdev); in get_component_fault()
492 struct enclosure_component *ecomp = to_enclosure_component(cdev); in set_component_fault()
504 struct enclosure_component *ecomp = to_enclosure_component(cdev); in get_component_status()
516 struct enclosure_component *ecomp = to_enclosure_component(cdev); in set_component_status()
538 struct enclosure_component *ecomp = to_enclosure_component(cdev); in get_component_active()
550 struct enclosure_component *ecomp = to_enclosure_component(cdev); in set_component_active()
562 struct enclosure_component *ecomp = to_enclosure_component(cdev); in get_component_locate()
574 struct enclosure_component *ecomp = to_enclosure_component(cdev); in set_component_locate()
587 struct enclosure_component *ecomp = to_enclosure_component(cdev); in get_component_power_status()
604 struct enclosure_component *ecomp = to_enclosure_component(cdev); in set_component_power_status()
624 struct enclosure_component *ecomp = to_enclosure_component(cdev); in get_component_type()
632 struct enclosure_component *ecomp = to_enclosure_component(cdev); in get_component_slot()