Home
last modified time | relevance | path

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

/drivers/scsi/smartpqi/
Dsmartpqi_sas_transport.c329 struct pqi_scsi_dev *found_device; in pqi_sas_get_enclosure_identifier() local
338 found_device = pqi_find_device_by_sas_rphy(ctrl_info, rphy); in pqi_sas_get_enclosure_identifier()
340 if (!found_device) { in pqi_sas_get_enclosure_identifier()
345 if (found_device->devtype == TYPE_ENCLOSURE) { in pqi_sas_get_enclosure_identifier()
346 *identifier = get_unaligned_be64(&found_device->wwid); in pqi_sas_get_enclosure_identifier()
351 if (found_device->box_index == 0xff || in pqi_sas_get_enclosure_identifier()
352 found_device->phys_box_on_bus == 0 || in pqi_sas_get_enclosure_identifier()
353 found_device->bay == 0xff) { in pqi_sas_get_enclosure_identifier()
361 device->box_index == found_device->box_index && in pqi_sas_get_enclosure_identifier()
363 found_device->phys_box_on_bus && in pqi_sas_get_enclosure_identifier()
[all …]
/drivers/scsi/mpt3sas/
Dmpt3sas_scsih.c828 goto found_device; in __mpt3sas_get_sdev_by_handle()
832 goto found_device; in __mpt3sas_get_sdev_by_handle()
836 found_device: in __mpt3sas_get_sdev_by_handle()
1104 goto found_device; in __mpt3sas_get_pdev_by_wwid()
1108 goto found_device; in __mpt3sas_get_pdev_by_wwid()
1112 found_device: in __mpt3sas_get_pdev_by_wwid()
1152 goto found_device; in __mpt3sas_get_pdev_by_idchannel()
1156 goto found_device; in __mpt3sas_get_pdev_by_idchannel()
1160 found_device: in __mpt3sas_get_pdev_by_idchannel()
1174 goto found_device; in __mpt3sas_get_pdev_by_handle()
[all …]