Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/xen/xen-pciback/
Dpassthrough.c76 struct pci_dev *found_dev = NULL; in __xen_pcibk_release_pci_dev() local
83 found_dev = dev_entry->dev; in __xen_pcibk_release_pci_dev()
90 if (found_dev) { in __xen_pcibk_release_pci_dev()
92 device_lock(&found_dev->dev); in __xen_pcibk_release_pci_dev()
93 pcistub_put_pci_dev(found_dev); in __xen_pcibk_release_pci_dev()
95 device_unlock(&found_dev->dev); in __xen_pcibk_release_pci_dev()
Dvpci.c152 struct pci_dev *found_dev = NULL; in __xen_pcibk_release_pci_dev() local
162 found_dev = e->dev; in __xen_pcibk_release_pci_dev()
172 if (found_dev) { in __xen_pcibk_release_pci_dev()
174 device_lock(&found_dev->dev); in __xen_pcibk_release_pci_dev()
175 pcistub_put_pci_dev(found_dev); in __xen_pcibk_release_pci_dev()
177 device_unlock(&found_dev->dev); in __xen_pcibk_release_pci_dev()
Dpci_stub.c205 struct pci_dev *found_dev = NULL; in pcistub_get_pci_dev_by_slot() local
216 found_dev = pcistub_device_get_pci_dev(pdev, psdev); in pcistub_get_pci_dev_by_slot()
222 return found_dev; in pcistub_get_pci_dev_by_slot()
229 struct pci_dev *found_dev = NULL; in pcistub_get_pci_dev() local
236 found_dev = pcistub_device_get_pci_dev(pdev, psdev); in pcistub_get_pci_dev()
242 return found_dev; in pcistub_get_pci_dev()
/linux-4.4.14/drivers/scsi/libsas/
Dsas_scsi_host.c827 struct domain_device *found_dev = NULL; in sas_find_dev_by_rphy() local
839 found_dev = dev; in sas_find_dev_by_rphy()
849 return found_dev; in sas_find_dev_by_rphy()
855 struct domain_device *found_dev = sas_find_dev_by_rphy(rphy); in sas_target_alloc() local
857 if (!found_dev) in sas_target_alloc()
860 kref_get(&found_dev->kref); in sas_target_alloc()
861 starget->hostdata = found_dev; in sas_target_alloc()
955 struct domain_device *found_dev = starget->hostdata; in sas_target_destroy() local
957 if (!found_dev) in sas_target_destroy()
961 sas_put_device(found_dev); in sas_target_destroy()
Dsas_ata.c558 int sas_ata_init(struct domain_device *found_dev) in sas_ata_init() argument
560 struct sas_ha_struct *ha = found_dev->port->ha; in sas_ata_init()
565 ata_host_init(&found_dev->sata_dev.ata_host, ha->dev, &sas_sata_ops); in sas_ata_init()
566 ap = ata_sas_port_alloc(&found_dev->sata_dev.ata_host, in sas_ata_init()
574 ap->private_data = found_dev; in sas_ata_init()
582 found_dev->sata_dev.ap = ap; in sas_ata_init()
/linux-4.4.14/arch/powerpc/platforms/ps3/
Drepository.c417 goto found_dev; in ps3_repository_find_device_by_id()
425 found_dev: in ps3_repository_find_device_by_id()