Home
last modified time | relevance | path

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

/linux-6.6.21/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()
/linux-6.6.21/drivers/accel/habanalabs/common/
Ddebugfs.c114 struct hl_dbg_device_entry *dev_entry = entry->dev_entry; in command_buffers_show() local
118 spin_lock(&dev_entry->cb_spinlock); in command_buffers_show()
120 list_for_each_entry(cb, &dev_entry->cb_list, debugfs_list) { in command_buffers_show()
134 spin_unlock(&dev_entry->cb_spinlock); in command_buffers_show()
145 struct hl_dbg_device_entry *dev_entry = entry->dev_entry; in command_submission_show() local
149 spin_lock(&dev_entry->cs_spinlock); in command_submission_show()
151 list_for_each_entry(cs, &dev_entry->cs_list, debugfs_list) { in command_submission_show()
165 spin_unlock(&dev_entry->cs_spinlock); in command_submission_show()
176 struct hl_dbg_device_entry *dev_entry = entry->dev_entry; in command_submission_jobs_show() local
180 spin_lock(&dev_entry->cs_job_spinlock); in command_submission_jobs_show()
[all …]
Dhabanalabs.h2308 struct hl_dbg_device_entry *dev_entry; member
/linux-6.6.21/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 …]
/linux-6.6.21/drivers/usb/usbip/
Dvudc_main.c62 list_add_tail(&udc_dev->dev_entry, &vudc_devices); in vudc_init()
75 list_for_each_entry_safe(udc_dev, udc_dev2, &vudc_devices, dev_entry) { in vudc_init()
76 list_del(&udc_dev->dev_entry); in vudc_init()
95 list_for_each_entry_safe(udc_dev, udc_dev2, &vudc_devices, dev_entry) { in vudc_cleanup()
96 list_del(&udc_dev->dev_entry); in vudc_cleanup()
Dvudc.h115 struct list_head dev_entry; member
Dvudc_dev.c498 INIT_LIST_HEAD(&udc_dev->dev_entry); in alloc_vudc_device()
/linux-6.6.21/drivers/scsi/
Dipr.c1611 struct ipr_hostrcb_device_data_entry_enhanced *dev_entry; in ipr_log_enhanced_config_error() local
1620 dev_entry = error->dev; in ipr_log_enhanced_config_error()
1622 for (i = 0; i < errors_logged; i++, dev_entry++) { in ipr_log_enhanced_config_error()
1625 ipr_phys_res_err(ioa_cfg, dev_entry->dev_res_addr, "Device %d", i + 1); in ipr_log_enhanced_config_error()
1626 ipr_log_ext_vpd(&dev_entry->vpd); in ipr_log_enhanced_config_error()
1629 ipr_log_ext_vpd(&dev_entry->new_vpd); in ipr_log_enhanced_config_error()
1632 ipr_log_ext_vpd(&dev_entry->ioa_last_with_dev_vpd); in ipr_log_enhanced_config_error()
1635 ipr_log_ext_vpd(&dev_entry->cfc_last_with_dev_vpd); in ipr_log_enhanced_config_error()
1651 struct ipr_hostrcb64_device_data_entry_enhanced *dev_entry; in ipr_log_sis64_config_error() local
1661 dev_entry = error->dev; in ipr_log_sis64_config_error()
[all …]
/linux-6.6.21/sound/pci/hda/
Dhda_jack.c719 int dev_entry = in snd_hda_jack_unsol_event() local
722 event = snd_hda_jack_tbl_get_from_tag(codec, tag, dev_entry); in snd_hda_jack_unsol_event()
Dpatch_hdmi.c864 int dev_entry = in hdmi_unsol_event() local
867 jack = snd_hda_jack_tbl_get_from_tag(codec, tag, dev_entry); in hdmi_unsol_event()
/linux-6.6.21/drivers/scsi/mvsas/
Dmv_sas.h227 struct list_head dev_entry; member