Home
last modified time | relevance | path

Searched refs:enclosure_device (Results 1 – 3 of 3) sorted by relevance

/linux/include/linux/
H A Denclosure.h52 struct enclosure_device;
55 void (*get_status)(struct enclosure_device *,
57 int (*set_status)(struct enclosure_device *,
60 void (*get_fault)(struct enclosure_device *,
62 int (*set_fault)(struct enclosure_device *,
65 void (*get_active)(struct enclosure_device *,
67 int (*set_active)(struct enclosure_device *,
70 void (*get_locate)(struct enclosure_device *,
72 int (*set_locate)(struct enclosure_device *,
75 void (*get_power_status)(struct enclosure_device *,
[all …]
/linux/drivers/misc/
H A Denclosure.c43 struct enclosure_device *enclosure_find(struct device *dev, in enclosure_find()
44 struct enclosure_device *start) in enclosure_find()
46 struct enclosure_device *edev; in enclosure_find()
84 int enclosure_for_each_device(int (*fn)(struct enclosure_device *, void *), in enclosure_for_each_device() argument
88 struct enclosure_device *edev; in enclosure_for_each_device()
114 struct enclosure_device *
118 struct enclosure_device *edev = in enclosure_register()
163 void enclosure_unregister(struct enclosure_device *edev) in enclosure_unregister()
226 struct enclosure_device *edev = to_enclosure_device(cdev); in enclosure_release()
244 enclosure_component_find_by_name(struct enclosure_device *edev, in enclosure_component_find_by_name()
[all …]
/linux/drivers/scsi/
H A Dses.c38 static bool ses_page2_supported(struct enclosure_device *edev) in ses_page2_supported()
179 static int ses_set_page2_descriptor(struct enclosure_device *edev, in ses_set_page2_descriptor()
210 static unsigned char *ses_get_page2_descriptor(struct enclosure_device *edev, in ses_get_page2_descriptor()
239 static void ses_get_fault(struct enclosure_device *edev, in ses_get_fault()
253 static int ses_set_fault(struct enclosure_device *edev, in ses_set_fault()
285 static void ses_get_status(struct enclosure_device *edev, in ses_get_status()
299 static void ses_get_locate(struct enclosure_device *edev, in ses_get_locate()
313 static int ses_set_locate(struct enclosure_device *edev, in ses_set_locate()
344 static int ses_set_active(struct enclosure_device *edev, in ses_set_active()
377 static int ses_show_id(struct enclosure_device *edev, char *buf) in ses_show_id()
[all …]