Home
last modified time | relevance | path

Searched refs:ecomp (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/misc/
H A Denclosure.c260 return ecomp; in enclosure_component_find_by_name()
296 if (ecomp->number != -1) in enclosure_component_alloc()
299 ecomp->type = type; in enclosure_component_alloc()
300 ecomp->number = number; in enclosure_component_alloc()
301 cdev = &ecomp->cdev; in enclosure_component_alloc()
322 return ecomp; in enclosure_component_alloc()
337 cdev = &ecomp->cdev; in enclosure_component_register()
340 ecomp->number = -1; in enclosure_component_register()
635 if (ecomp->slot >= 0) in get_component_slot()
636 slot = ecomp->slot; in get_component_slot()
[all …]
/openbmc/linux/drivers/scsi/
H A Dses.c219 ecomp->fault = 0; in ses_get_fault()
265 ecomp->status = 0; in ses_get_status()
279 ecomp->locate = 0; in ses_get_locate()
338 ecomp->active = 0; in ses_set_active()
342 ecomp->active = 1; in ses_set_active()
365 ecomp->power_status = 0; in ses_get_power_status()
402 ecomp->power_status = val; in ses_set_power_status()
494 ecomp->slot = slot; in ses_process_descriptor()
605 ecomp = ERR_PTR(-EINVAL); in ses_enclosure_data_process()
607 if (!IS_ERR(ecomp)) { in ses_enclosure_data_process()
[all …]