Searched refs:enclosure_device (Results 1 – 3 of 3) sorted by relevance
/linux-2.6.39/include/linux/ |
D | enclosure.h | 59 struct enclosure_device; 62 void (*get_status)(struct enclosure_device *, 64 int (*set_status)(struct enclosure_device *, 67 void (*get_fault)(struct enclosure_device *, 69 int (*set_fault)(struct enclosure_device *, 72 void (*get_active)(struct enclosure_device *, 74 int (*set_active)(struct enclosure_device *, 77 void (*get_locate)(struct enclosure_device *, 79 int (*set_locate)(struct enclosure_device *, 97 struct enclosure_device { struct [all …]
|
/linux-2.6.39/drivers/misc/ |
D | enclosure.c | 54 struct enclosure_device *enclosure_find(struct device *dev, in enclosure_find() 55 struct enclosure_device *start) in enclosure_find() 57 struct enclosure_device *edev; in enclosure_find() 95 int enclosure_for_each_device(int (*fn)(struct enclosure_device *, void *), in enclosure_for_each_device() argument 99 struct enclosure_device *edev; in enclosure_for_each_device() 123 struct enclosure_device * 127 struct enclosure_device *edev = in enclosure_register() 128 kzalloc(sizeof(struct enclosure_device) + in enclosure_register() 171 void enclosure_unregister(struct enclosure_device *edev) in enclosure_unregister() 225 struct enclosure_device *edev = to_enclosure_device(cdev); in enclosure_release() [all …]
|
/linux-2.6.39/drivers/scsi/ |
D | ses.c | 108 static int ses_set_page2_descriptor(struct enclosure_device *edev, in ses_set_page2_descriptor() 139 static unsigned char *ses_get_page2_descriptor(struct enclosure_device *edev, in ses_get_page2_descriptor() 163 static void ses_get_fault(struct enclosure_device *edev, in ses_get_fault() 173 static int ses_set_fault(struct enclosure_device *edev, in ses_set_fault() 194 static void ses_get_status(struct enclosure_device *edev, in ses_get_status() 204 static void ses_get_locate(struct enclosure_device *edev, in ses_get_locate() 214 static int ses_set_locate(struct enclosure_device *edev, in ses_set_locate() 234 static int ses_set_active(struct enclosure_device *edev, in ses_set_active() 267 struct enclosure_device *edev; 271 int ses_match_host(struct enclosure_device *edev, void *data) [all …]
|