Home
last modified time | relevance | path

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

/drivers/xen/xen-pciback/
Dpassthrough.c26 struct pci_dev_entry *dev_entry; in __xen_pcibk_get_pci_dev() local
31 list_for_each_entry(dev_entry, &dev_data->dev_list, list) { in __xen_pcibk_get_pci_dev()
32 if (domain == (unsigned int)pci_domain_nr(dev_entry->dev->bus) in __xen_pcibk_get_pci_dev()
33 && bus == (unsigned int)dev_entry->dev->bus->number in __xen_pcibk_get_pci_dev()
34 && devfn == dev_entry->dev->devfn) { in __xen_pcibk_get_pci_dev()
35 dev = dev_entry->dev; in __xen_pcibk_get_pci_dev()
50 struct pci_dev_entry *dev_entry; in __xen_pcibk_add_pci_dev() local
54 dev_entry = kmalloc(sizeof(*dev_entry), GFP_KERNEL); in __xen_pcibk_add_pci_dev()
55 if (!dev_entry) in __xen_pcibk_add_pci_dev()
57 dev_entry->dev = dev; in __xen_pcibk_add_pci_dev()
[all …]
Dvpci.c73 struct pci_dev_entry *t, *dev_entry; in __xen_pcibk_add_pci_dev() local
83 dev_entry = kmalloc(sizeof(*dev_entry), GFP_KERNEL); in __xen_pcibk_add_pci_dev()
84 if (!dev_entry) { in __xen_pcibk_add_pci_dev()
91 dev_entry->dev = dev; in __xen_pcibk_add_pci_dev()
111 list_add_tail(&dev_entry->list, in __xen_pcibk_add_pci_dev()
124 list_add_tail(&dev_entry->list, in __xen_pcibk_add_pci_dev()
142 kfree(dev_entry); in __xen_pcibk_add_pci_dev()
/drivers/mfd/
Dabx500-core.c25 struct abx500_device_entry *dev_entry; in lookup_ops() local
28 list_for_each_entry(dev_entry, &abx500_list, list) { in lookup_ops()
29 if (dev_entry->dev == dev) { in lookup_ops()
30 *ops = &dev_entry->ops; in lookup_ops()
38 struct abx500_device_entry *dev_entry; in abx500_register_ops() local
40 dev_entry = devm_kzalloc(dev, in abx500_register_ops()
43 if (!dev_entry) { in abx500_register_ops()
47 dev_entry->dev = dev; in abx500_register_ops()
48 memcpy(&dev_entry->ops, ops, sizeof(struct abx500_ops)); in abx500_register_ops()
50 list_add_tail(&dev_entry->list, &abx500_list); in abx500_register_ops()
[all …]
/drivers/usb/usbip/
Dvudc_main.c73 list_add_tail(&udc_dev->dev_entry, &vudc_devices); in init()
86 list_for_each_entry_safe(udc_dev, udc_dev2, &vudc_devices, dev_entry) { in init()
87 list_del(&udc_dev->dev_entry); in init()
106 list_for_each_entry_safe(udc_dev, udc_dev2, &vudc_devices, dev_entry) { in cleanup()
107 list_del(&udc_dev->dev_entry); in cleanup()
Dvudc.h127 struct list_head dev_entry; member
Dvudc_dev.c512 INIT_LIST_HEAD(&udc_dev->dev_entry); in alloc_vudc_device()
/drivers/scsi/
Dipr.c1714 struct ipr_hostrcb_device_data_entry_enhanced *dev_entry; in ipr_log_enhanced_config_error() local
1723 dev_entry = error->dev; in ipr_log_enhanced_config_error()
1725 for (i = 0; i < errors_logged; i++, dev_entry++) { in ipr_log_enhanced_config_error()
1728 ipr_phys_res_err(ioa_cfg, dev_entry->dev_res_addr, "Device %d", i + 1); in ipr_log_enhanced_config_error()
1729 ipr_log_ext_vpd(&dev_entry->vpd); in ipr_log_enhanced_config_error()
1732 ipr_log_ext_vpd(&dev_entry->new_vpd); in ipr_log_enhanced_config_error()
1735 ipr_log_ext_vpd(&dev_entry->ioa_last_with_dev_vpd); in ipr_log_enhanced_config_error()
1738 ipr_log_ext_vpd(&dev_entry->cfc_last_with_dev_vpd); in ipr_log_enhanced_config_error()
1754 struct ipr_hostrcb64_device_data_entry_enhanced *dev_entry; in ipr_log_sis64_config_error() local
1764 dev_entry = error->dev; in ipr_log_sis64_config_error()
[all …]
/drivers/scsi/mvsas/
Dmv_sas.h246 struct list_head dev_entry; member