Home
last modified time | relevance | path

Searched refs:found_dev (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/drivers/xen/xen-pciback/
H A Dpassthrough.c77 struct pci_dev *found_dev = NULL; in __xen_pcibk_release_pci_dev() local
84 found_dev = dev_entry->dev; in __xen_pcibk_release_pci_dev()
91 if (found_dev) { in __xen_pcibk_release_pci_dev()
93 device_lock(&found_dev->dev); in __xen_pcibk_release_pci_dev()
94 pcistub_put_pci_dev(found_dev); in __xen_pcibk_release_pci_dev()
96 device_unlock(&found_dev->dev); in __xen_pcibk_release_pci_dev()
H A Dvpci.c155 struct pci_dev *found_dev = NULL; in __xen_pcibk_release_pci_dev() local
165 found_dev = e->dev; in __xen_pcibk_release_pci_dev()
175 if (found_dev) { in __xen_pcibk_release_pci_dev()
177 device_lock(&found_dev->dev); in __xen_pcibk_release_pci_dev()
178 pcistub_put_pci_dev(found_dev); in __xen_pcibk_release_pci_dev()
180 device_unlock(&found_dev->dev); in __xen_pcibk_release_pci_dev()
H A Dpci_stub.c215 struct pci_dev *found_dev = NULL; in pcistub_get_pci_dev_by_slot() local
222 found_dev = pcistub_device_get_pci_dev(pdev, psdev); in pcistub_get_pci_dev_by_slot()
225 return found_dev; in pcistub_get_pci_dev_by_slot()
232 struct pci_dev *found_dev = NULL; in pcistub_get_pci_dev() local
239 found_dev = pcistub_device_get_pci_dev(pdev, psdev); in pcistub_get_pci_dev()
245 return found_dev; in pcistub_get_pci_dev()
/openbmc/linux/drivers/scsi/libsas/
H A Dsas_scsi_host.c766 struct domain_device *found_dev = NULL; in sas_find_dev_by_rphy() local
778 found_dev = dev; in sas_find_dev_by_rphy()
788 return found_dev; in sas_find_dev_by_rphy()
794 struct domain_device *found_dev = sas_find_dev_by_rphy(rphy); in sas_target_alloc() local
796 if (!found_dev) in sas_target_alloc()
799 kref_get(&found_dev->kref); in sas_target_alloc()
800 starget->hostdata = found_dev; in sas_target_alloc()
1207 struct domain_device *found_dev = starget->hostdata; in sas_target_destroy() local
1209 if (!found_dev) in sas_target_destroy()
1213 sas_put_device(found_dev); in sas_target_destroy()
H A Dsas_ata.c584 int sas_ata_init(struct domain_device *found_dev) in sas_ata_init() argument
586 struct sas_ha_struct *ha = found_dev->port->ha; in sas_ata_init()
607 ap->private_data = found_dev; in sas_ata_init()
615 found_dev->sata_dev.ata_host = ata_host; in sas_ata_init()
616 found_dev->sata_dev.ap = ap; in sas_ata_init()
/openbmc/linux/drivers/target/
H A Dtarget_core_xcopy.c76 struct se_device *found_dev = NULL; in target_xcopy_locate_se_dev_e4() local
97 found_dev = this_dev; in target_xcopy_locate_se_dev_e4()
102 if (found_dev == NULL) in target_xcopy_locate_se_dev_e4()
106 found_dev, &found_dev->dev_group); in target_xcopy_locate_se_dev_e4()
107 *_found_dev = found_dev; in target_xcopy_locate_se_dev_e4()
/openbmc/linux/arch/powerpc/platforms/ps3/
H A Drepository.c393 goto found_dev; in ps3_repository_find_device_by_id()
401 found_dev: in ps3_repository_find_device_by_id()