Home
last modified time | relevance | path

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

/drivers/misc/habanalabs/common/
Ddebugfs.c102 struct hl_dbg_device_entry *dev_entry = entry->dev_entry; in command_buffers_show() local
106 spin_lock(&dev_entry->cb_spinlock); in command_buffers_show()
108 list_for_each_entry(cb, &dev_entry->cb_list, debugfs_list) { in command_buffers_show()
122 spin_unlock(&dev_entry->cb_spinlock); in command_buffers_show()
133 struct hl_dbg_device_entry *dev_entry = entry->dev_entry; in command_submission_show() local
137 spin_lock(&dev_entry->cs_spinlock); in command_submission_show()
139 list_for_each_entry(cs, &dev_entry->cs_list, debugfs_list) { in command_submission_show()
153 spin_unlock(&dev_entry->cs_spinlock); in command_submission_show()
164 struct hl_dbg_device_entry *dev_entry = entry->dev_entry; in command_submission_jobs_show() local
168 spin_lock(&dev_entry->cs_job_spinlock); in command_submission_jobs_show()
[all …]
Dhabanalabs.h1801 struct hl_dbg_device_entry *dev_entry; member
/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.c74 struct pci_dev_entry *t, *dev_entry; in __xen_pcibk_add_pci_dev() local
84 dev_entry = kmalloc(sizeof(*dev_entry), GFP_KERNEL); in __xen_pcibk_add_pci_dev()
85 if (!dev_entry) { in __xen_pcibk_add_pci_dev()
92 dev_entry->dev = dev; in __xen_pcibk_add_pci_dev()
115 list_add_tail(&dev_entry->list, in __xen_pcibk_add_pci_dev()
127 list_add_tail(&dev_entry->list, in __xen_pcibk_add_pci_dev()
144 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, sizeof(*dev_entry), GFP_KERNEL); in abx500_register_ops()
41 if (!dev_entry) in abx500_register_ops()
44 dev_entry->dev = dev; in abx500_register_ops()
45 memcpy(&dev_entry->ops, ops, sizeof(*ops)); in abx500_register_ops()
47 list_add_tail(&dev_entry->list, &abx500_list); in abx500_register_ops()
[all …]
/drivers/usb/usbip/
Dvudc_main.c62 list_add_tail(&udc_dev->dev_entry, &vudc_devices); in init()
75 list_for_each_entry_safe(udc_dev, udc_dev2, &vudc_devices, dev_entry) { in init()
76 list_del(&udc_dev->dev_entry); in init()
95 list_for_each_entry_safe(udc_dev, udc_dev2, &vudc_devices, dev_entry) { in cleanup()
96 list_del(&udc_dev->dev_entry); in cleanup()
Dvudc.h115 struct list_head dev_entry; member
Dvudc_dev.c498 INIT_LIST_HEAD(&udc_dev->dev_entry); in alloc_vudc_device()
/drivers/scsi/
Dipr.c1700 struct ipr_hostrcb_device_data_entry_enhanced *dev_entry; in ipr_log_enhanced_config_error() local
1709 dev_entry = error->dev; in ipr_log_enhanced_config_error()
1711 for (i = 0; i < errors_logged; i++, dev_entry++) { in ipr_log_enhanced_config_error()
1714 ipr_phys_res_err(ioa_cfg, dev_entry->dev_res_addr, "Device %d", i + 1); in ipr_log_enhanced_config_error()
1715 ipr_log_ext_vpd(&dev_entry->vpd); in ipr_log_enhanced_config_error()
1718 ipr_log_ext_vpd(&dev_entry->new_vpd); in ipr_log_enhanced_config_error()
1721 ipr_log_ext_vpd(&dev_entry->ioa_last_with_dev_vpd); in ipr_log_enhanced_config_error()
1724 ipr_log_ext_vpd(&dev_entry->cfc_last_with_dev_vpd); in ipr_log_enhanced_config_error()
1740 struct ipr_hostrcb64_device_data_entry_enhanced *dev_entry; in ipr_log_sis64_config_error() local
1750 dev_entry = error->dev; in ipr_log_sis64_config_error()
[all …]
/drivers/scsi/mvsas/
Dmv_sas.h227 struct list_head dev_entry; member