Searched refs:to_enclosure_component (Results 1 – 2 of 2) sorted by relevance
234 struct enclosure_component *cdev = to_enclosure_component(dev); in enclosure_component_release()479 struct enclosure_component *ecomp = to_enclosure_component(cdev); in get_component_fault()491 struct enclosure_component *ecomp = to_enclosure_component(cdev); in set_component_fault()503 struct enclosure_component *ecomp = to_enclosure_component(cdev); in get_component_status()515 struct enclosure_component *ecomp = to_enclosure_component(cdev); in set_component_status()537 struct enclosure_component *ecomp = to_enclosure_component(cdev); in get_component_active()549 struct enclosure_component *ecomp = to_enclosure_component(cdev); in set_component_active()561 struct enclosure_component *ecomp = to_enclosure_component(cdev); in get_component_locate()573 struct enclosure_component *ecomp = to_enclosure_component(cdev); in set_component_locate()586 struct enclosure_component *ecomp = to_enclosure_component(cdev); in get_component_power_status()[all …]
114 to_enclosure_component(struct device *dev) in to_enclosure_component() function