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()
475 static ssize_t get_component_fault(struct device *cdev, in get_component_fault()
486 static ssize_t set_component_fault(struct device *cdev, in set_component_fault()
499 static ssize_t get_component_status(struct device *cdev, in get_component_status()
510 static ssize_t set_component_status(struct device *cdev, in set_component_status()
533 static ssize_t get_component_active(struct device *cdev, in get_component_active()
544 static ssize_t set_component_active(struct device *cdev, in set_component_active()
557 static ssize_t get_component_locate(struct device *cdev, in get_component_locate()
568 static ssize_t set_component_locate(struct device *cdev, in set_component_locate()
581 static ssize_t get_component_power_status(struct device *cdev, in get_component_power_status()
598 static ssize_t set_component_power_status(struct device *cdev, in set_component_power_status()
620 static ssize_t get_component_type(struct device *cdev, in get_component_type()
628 static ssize_t get_component_slot(struct device *cdev, in get_component_slot()