Searched refs:enclosure_device (Results 1 – 3 of 3) sorted by relevance
/linux/include/linux/ |
H A D | enclosure.h | 52 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 *, 98 struct enclosure_device { global() struct 107 componentenclosure_device global() argument [all...] |
/linux/drivers/misc/ |
H A D | enclosure.c | 44 struct enclosure_device *enclosure_find(struct device *dev, in enclosure_find() 45 struct enclosure_device *start) in enclosure_find() 47 struct enclosure_device *edev; in enclosure_find() 85 int enclosure_for_each_device(int (*fn)(struct enclosure_device *, void *), in enclosure_for_each_device() argument 89 struct enclosure_device *edev; in enclosure_for_each_device() 115 struct enclosure_device * 119 struct enclosure_device *edev = in enclosure_register() 164 void enclosure_unregister(struct enclosure_device *edev) in enclosure_unregister() 187 strcpy(name, "enclosure_device:"); in enclosure_link_name() 227 struct enclosure_device *ede in enclosure_release() [all...] |
/linux/drivers/scsi/ |
H A D | ses.c | 38 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 *ede [all...] |