Home
last modified time | relevance | path

Searched refs:to_enclosure_component (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/misc/
Denclosure.c245 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()
[all …]
/Linux-v4.19/include/linux/
Denclosure.h125 to_enclosure_component(struct device *dev) in to_enclosure_component() function