Home
last modified time | relevance | path

Searched refs:dev_entry (Results 1 – 5 of 5) sorted by relevance

/drivers/xen/xen-pciback/
Dpassthrough.c25 struct pci_dev_entry *dev_entry; in __xen_pcibk_get_pci_dev() local
30 list_for_each_entry(dev_entry, &dev_data->dev_list, list) { in __xen_pcibk_get_pci_dev()
31 if (domain == (unsigned int)pci_domain_nr(dev_entry->dev->bus) in __xen_pcibk_get_pci_dev()
32 && bus == (unsigned int)dev_entry->dev->bus->number in __xen_pcibk_get_pci_dev()
33 && devfn == dev_entry->dev->devfn) { in __xen_pcibk_get_pci_dev()
34 dev = dev_entry->dev; in __xen_pcibk_get_pci_dev()
49 struct pci_dev_entry *dev_entry; in __xen_pcibk_add_pci_dev() local
53 dev_entry = kmalloc(sizeof(*dev_entry), GFP_KERNEL); in __xen_pcibk_add_pci_dev()
54 if (!dev_entry) in __xen_pcibk_add_pci_dev()
56 dev_entry->dev = dev; in __xen_pcibk_add_pci_dev()
[all …]
Dvpci.c72 struct pci_dev_entry *t, *dev_entry; in __xen_pcibk_add_pci_dev() local
82 dev_entry = kmalloc(sizeof(*dev_entry), GFP_KERNEL); in __xen_pcibk_add_pci_dev()
83 if (!dev_entry) { in __xen_pcibk_add_pci_dev()
90 dev_entry->dev = dev; in __xen_pcibk_add_pci_dev()
110 list_add_tail(&dev_entry->list, in __xen_pcibk_add_pci_dev()
123 list_add_tail(&dev_entry->list, in __xen_pcibk_add_pci_dev()
141 kfree(dev_entry); in __xen_pcibk_add_pci_dev()
/drivers/mfd/
Dabx500-core.c24 struct abx500_device_entry *dev_entry; in lookup_ops() local
27 list_for_each_entry(dev_entry, &abx500_list, list) { in lookup_ops()
28 if (dev_entry->dev == dev) { in lookup_ops()
29 *ops = &dev_entry->ops; in lookup_ops()
37 struct abx500_device_entry *dev_entry; in abx500_register_ops() local
39 dev_entry = devm_kzalloc(dev, in abx500_register_ops()
42 if (!dev_entry) { in abx500_register_ops()
46 dev_entry->dev = dev; in abx500_register_ops()
47 memcpy(&dev_entry->ops, ops, sizeof(struct abx500_ops)); in abx500_register_ops()
49 list_add_tail(&dev_entry->list, &abx500_list); in abx500_register_ops()
[all …]
/drivers/scsi/
Dipr.c1664 struct ipr_hostrcb_device_data_entry_enhanced *dev_entry; in ipr_log_enhanced_config_error() local
1673 dev_entry = error->dev; in ipr_log_enhanced_config_error()
1675 for (i = 0; i < errors_logged; i++, dev_entry++) { in ipr_log_enhanced_config_error()
1678 ipr_phys_res_err(ioa_cfg, dev_entry->dev_res_addr, "Device %d", i + 1); in ipr_log_enhanced_config_error()
1679 ipr_log_ext_vpd(&dev_entry->vpd); in ipr_log_enhanced_config_error()
1682 ipr_log_ext_vpd(&dev_entry->new_vpd); in ipr_log_enhanced_config_error()
1685 ipr_log_ext_vpd(&dev_entry->ioa_last_with_dev_vpd); in ipr_log_enhanced_config_error()
1688 ipr_log_ext_vpd(&dev_entry->cfc_last_with_dev_vpd); in ipr_log_enhanced_config_error()
1704 struct ipr_hostrcb64_device_data_entry_enhanced *dev_entry; in ipr_log_sis64_config_error() local
1714 dev_entry = error->dev; in ipr_log_sis64_config_error()
[all …]
/drivers/scsi/mvsas/
Dmv_sas.h244 struct list_head dev_entry; member