Lines Matching refs:to_enclosure_component
245 struct enclosure_component *cdev = to_enclosure_component(dev); in enclosure_component_release()
486 struct enclosure_component *ecomp = to_enclosure_component(cdev); in get_component_fault()
498 struct enclosure_component *ecomp = to_enclosure_component(cdev); in set_component_fault()
510 struct enclosure_component *ecomp = to_enclosure_component(cdev); in get_component_status()
522 struct enclosure_component *ecomp = to_enclosure_component(cdev); in set_component_status()
544 struct enclosure_component *ecomp = to_enclosure_component(cdev); in get_component_active()
556 struct enclosure_component *ecomp = to_enclosure_component(cdev); in set_component_active()
568 struct enclosure_component *ecomp = to_enclosure_component(cdev); in get_component_locate()
580 struct enclosure_component *ecomp = to_enclosure_component(cdev); in set_component_locate()
593 struct enclosure_component *ecomp = to_enclosure_component(cdev); in get_component_power_status()
605 struct enclosure_component *ecomp = to_enclosure_component(cdev); in set_component_power_status()
625 struct enclosure_component *ecomp = to_enclosure_component(cdev); in get_component_type()
633 struct enclosure_component *ecomp = to_enclosure_component(cdev); in get_component_slot()