Home
last modified time | relevance | path

Searched full:pci_devid (Results 1 – 24 of 24) sorted by relevance

/linux/drivers/platform/chrome/
H A Dchromeos_laptop.c53 u32 pci_devid; member
152 if (i2c_dev->pci_devid && in chromeos_laptop_check_adapter()
154 i2c_dev->pci_devid)) { in chromeos_laptop_check_adapter()
437 .pci_devid = PCI_DEVID(0, PCI_DEVFN(0x15, 0x2)),
449 .pci_devid = PCI_DEVID(0, PCI_DEVFN(0x15, 0x1)),
459 .pci_devid = PCI_DEVID(0, PCI_DEVFN(0x15, 0x1)),
468 .pci_devid = PCI_DEVID(0, PCI_DEVFN(0x15, 0x2)),
/linux/rust/helpers/
H A Dpci.c7 return PCI_DEVID(dev->bus->number, dev->devfn); in rust_helper_pci_dev_id()
/linux/drivers/pci/
H A Dsearch.c53 ret = fn(pdev, PCI_DEVID(pdev->bus->number, devfn), in pci_for_each_dma_alias()
90 PCI_DEVID(tmp->subordinate->number, in pci_for_each_dma_alias()
104 PCI_DEVID(tmp->subordinate->number, in pci_for_each_dma_alias()
H A Dide.c286 rid_end = PCI_DEVID(pci_iov_virtfn_bus(pdev, num_vf), in pci_ide_stream_alloc()
/linux/drivers/iommu/intel/
H A Dpasid.c224 sid = PCI_DEVID(info->bus, info->devfn); in devtlb_invalidation_with_pasid()
1035 PCI_DEVID(bus, devfn), in device_pasid_table_setup()
1061 PCI_DEVID(bus, devfn), in device_pasid_table_setup()
1105 qi_flush_dev_iotlb(info->iommu, PCI_DEVID(info->bus, info->devfn), in __context_flush_dev_iotlb()
1136 iommu->flush.flush_context(iommu, did, PCI_DEVID(info->bus, info->devfn), in intel_context_flush_no_pasid()
H A Diommu.c95 if (*rid_lhs < PCI_DEVID(info->bus, info->devfn)) in device_rid_cmp_key()
98 if (*rid_lhs > PCI_DEVID(info->bus, info->devfn)) in device_rid_cmp_key()
108 u16 key = PCI_DEVID(info->bus, info->devfn); in device_rid_cmp()
1112 PCI_DEVID(bus, devfn), in copied_context_tear_down()
1133 PCI_DEVID(bus, devfn), in context_present_cache_flush()
4156 sid = PCI_DEVID(info->bus, info->devfn); in quirk_extra_dev_tlb_flush()
H A Dcache.c406 sid = PCI_DEVID(info->bus, info->devfn); in cache_tag_flush_devtlb_psi()
H A Dirq_remapping.c307 sid = PCI_DEVID(ir_ioapic[i].bus, ir_ioapic[i].devfn); in set_ioapic_sid()
332 sid = PCI_DEVID(ir_hpet[i].bus, ir_hpet[i].devfn); in set_hpet_sid()
/linux/drivers/power/reset/
H A Dpiix4-poweroff.c53 spec_devid = PCI_DEVID(0, PCI_DEVFN(0x1f, 0x7)); in piix4_poweroff()
/linux/drivers/pci/pcie/
H A Daer_inject.c433 rperr->source_id |= PCI_DEVID(einj->bus, devfn); in aer_inject()
446 rperr->source_id |= PCI_DEVID(einj->bus, devfn) << 16; in aer_inject()
/linux/drivers/vfio/pci/pds/
H A Dvfio_dev.c140 pci_id = PCI_DEVID(pdev->bus->number, pdev->devfn); in pds_vfio_init_device()
H A Dcmds.c55 PCI_DEVID(pdev->bus->number, pdev->devfn)); in pds_vfio_register_client_cmd()
/linux/drivers/gpu/drm/i915/gt/
H A Dintel_gsc.c235 PCI_DEVID(pdev->bus->number, pdev->devfn); in gsc_init_one()
/linux/arch/x86/hyperv/
H A Dirqdomain.c123 .rid = PCI_DEVID(dev->bus->number, dev->devfn) in hv_build_pci_dev_id()
/linux/drivers/xen/
H A Dgrant-dma-ops.c326 u32 rid = PCI_DEVID(pdev->bus->number, pdev->devfn); in xen_dt_grant_init_backend_domid()
/linux/drivers/iommu/amd/
H A Ddebugfs.c167 devid = PCI_DEVID(bus, PCI_DEVFN(slot, func)); in devid_write()
/linux/drivers/peci/
H A Drequest.c296 return reg | PCI_DEVID(bus, PCI_DEVFN(dev, func)) << 12; in __get_pci_addr()
/linux/drivers/acpi/riscv/
H A Drimt.c78 bdf = PCI_DEVID(pdev->bus->number, pdev->devfn); in rimt_match_node_callback()
/linux/drivers/scsi/
H A Dnsp32.c1472 model = data->pci_devid->driver_data; in nsp32_show_info()
2909 int vendor = data->pci_devid->vendor; in nsp32_getprom_param()
2910 int device = data->pci_devid->device; in nsp32_getprom_param()
3342 data->pci_devid = id; in nsp32_probe()
H A Dnsp32.h568 const struct pci_device_id *pci_devid; member
/linux/drivers/perf/
H A Ddwc_pcie_pmu.c647 sbdf = (pci_domain_nr(pdev->bus) << 16) | PCI_DEVID(pdev->bus->number, pdev->devfn); in dwc_pcie_register_dev()
/linux/drivers/pci/controller/
H A Dpcie-altera.c63 (((PCI_DEVID(pcie->root_bus_nr, RP_DEVFN)) << 16) | (tag << 8) | (be))
/linux/include/linux/
H A Dpci.h71 #define PCI_DEVID(bus, devfn) ((((u16)(bus)) << 8) | (devfn)) macro
725 return PCI_DEVID(dev->bus->number, dev->devfn); in pci_dev_id()
/linux/drivers/thunderbolt/
H A Dicm.c146 u16 pci_devid; member