Lines Matching defs:cdev

184 static void enclosure_link_name(struct enclosure_component *cdev, char *name)  in enclosure_link_name()
190 static void enclosure_remove_links(struct enclosure_component *cdev) in enclosure_remove_links()
207 static int enclosure_add_links(struct enclosure_component *cdev) in enclosure_add_links()
224 static void enclosure_release(struct device *cdev) in enclosure_release()
234 struct enclosure_component *cdev = to_enclosure_component(dev); in enclosure_component_release() local
287 struct device *cdev; in enclosure_component_alloc() local
334 struct device *cdev; in enclosure_component_register() local
366 struct enclosure_component *cdev; in enclosure_add_device() local
401 struct enclosure_component *cdev; in enclosure_remove_device() local
424 static ssize_t components_show(struct device *cdev, in components_show()
433 static ssize_t id_show(struct device *cdev, in id_show()
476 static ssize_t get_component_fault(struct device *cdev, in get_component_fault()
487 static ssize_t set_component_fault(struct device *cdev, in set_component_fault()
500 static ssize_t get_component_status(struct device *cdev, in get_component_status()
511 static ssize_t set_component_status(struct device *cdev, in set_component_status()
534 static ssize_t get_component_active(struct device *cdev, in get_component_active()
545 static ssize_t set_component_active(struct device *cdev, in set_component_active()
558 static ssize_t get_component_locate(struct device *cdev, in get_component_locate()
569 static ssize_t set_component_locate(struct device *cdev, in set_component_locate()
582 static ssize_t get_component_power_status(struct device *cdev, in get_component_power_status()
599 static ssize_t set_component_power_status(struct device *cdev, in set_component_power_status()
621 static ssize_t get_component_type(struct device *cdev, in get_component_type()
629 static ssize_t get_component_slot(struct device *cdev, in get_component_slot()