Home
last modified time | relevance | path

Searched refs:pci_dev_id (Results 1 – 25 of 46) sorted by relevance

12

/openbmc/linux/drivers/xen/xen-pciback/
H A Dpci_stub.c496 if (pci_dev_id->domain == domain && pci_dev_id->bus == bus && in pcistub_device_id_add_list()
525 kfree(pci_dev_id); in pcistub_seize()
549 kfree(pci_dev_id); in pcistub_seize()
551 } else if (pci_dev_id) in pcistub_seize()
583 pci_dev_id = kmalloc(sizeof(*pci_dev_id), GFP_KERNEL); in pcistub_probe()
584 if (!pci_dev_id) { in pcistub_probe()
1089 pci_dev_id = kmalloc(sizeof(*pci_dev_id), GFP_KERNEL); in pcistub_device_id_add()
1090 if (!pci_dev_id) in pcistub_device_id_add()
1110 if (pci_dev_id->domain == domain && pci_dev_id->bus == bus in pcistub_device_id_remove()
1117 kfree(pci_dev_id); in pcistub_device_id_remove()
[all …]
/openbmc/linux/drivers/pci/
H A Dsearch.c41 ret = fn(pdev, pci_dev_id(pdev), data); in pci_for_each_dma_alias()
96 ret = fn(tmp, pci_dev_id(tmp), data); in pci_for_each_dma_alias()
107 ret = fn(tmp, pci_dev_id(tmp), data); in pci_for_each_dma_alias()
H A Diov.c44 return (pci_dev_id(dev) - (pci_dev_id(pf) + pf->sriov->offset)) / in pci_iov_vf_id()
H A Dp2pdma.c535 return (pci_domain_nr(client->bus) << 16) | pci_dev_id(client); in map_types_idx()
/openbmc/linux/drivers/pci/msi/
H A Dirqdomain.c63 pci_dev_id(dev) << 11 | in pci_msi_domain_calc_hwirq()
454 u32 rid = pci_dev_id(pdev); in pci_msi_domain_get_msi_rid()
477 u32 rid = pci_dev_id(pdev); in pci_msi_get_device_domain()
/openbmc/linux/drivers/platform/x86/intel/
H A Dvsec.c467 const struct pci_device_id *pci_dev_id; in intel_vsec_pci_slot_reset() local
490 pci_dev_id = pci_match_id(intel_vsec_pci_ids, pdev); in intel_vsec_pci_slot_reset()
491 intel_vsec_pci_probe(pdev, pci_dev_id); in intel_vsec_pci_slot_reset()
/openbmc/linux/drivers/net/ethernet/wangxun/txgbe/
H A Dtxgbe_phy.c30 id = pci_dev_id(pdev); in txgbe_swnodes_register()
144 pci_dev_id(pdev)); in txgbe_mdio_pcs_init()
511 pci_dev_id(wx->pdev)); in txgbe_gpio_init()
555 pci_dev_id(pdev)); in txgbe_clock_register()
618 info.id = pci_dev_id(pdev); in txgbe_i2c_register()
640 info.id = pci_dev_id(pdev); in txgbe_sfp_register()
/openbmc/linux/drivers/firmware/
H A Dpcdp.h46 u16 pci_dev_id; member
/openbmc/linux/drivers/iommu/amd/
H A Damd_iommu.h122 u16 devid = pci_dev_id(pdev); in get_pci_sbdf_id()
H A Diommu.c224 u16 devid = pci_dev_id(pdev); in clone_alias()
255 clone_alias(pdev, iommu->pci_seg->alias_table[pci_dev_id(pdev)], NULL); in clone_aliases()
274 ivrs_alias = pci_seg->alias_table[pci_dev_id(pdev)]; in setup_aliases()
275 if (ivrs_alias != pci_dev_id(pdev) && in setup_aliases()
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_acpi.c718 atcs_input.client_id = pci_dev_id(adev->pdev); in amdgpu_acpi_pcie_performance_request()
788 atcs_input.dgpu_id = pci_dev_id(adev->pdev); in amdgpu_acpi_power_shift_control()
1153 bdf = pci_dev_id(adev->pdev); in amdgpu_acpi_get_tmr_info()
1174 bdf = pci_dev_id(adev->pdev); in amdgpu_acpi_get_mem_info()
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac-loongson.c106 plat->bus_id = pci_dev_id(pdev); in loongson_dwmac_probe()
/openbmc/linux/arch/powerpc/platforms/powernv/
H A Docxl.c452 bdfn = pci_dev_id(dev); in pnv_ocxl_spa_setup()
508 rc = opal_npu_map_lpar(phb->opal_id, pci_dev_id(dev), in pnv_ocxl_map_lpar()
H A Dpci-ioda.c1000 pe = pnv_pci_bdfn_to_pe(phb, pci_dev_id(pdev)); in pnv_pci_ioda_dma_dev_setup()
1007 pe = pnv_pci_bdfn_to_pe(phb, pci_dev_id(pdev)); in pnv_pci_ioda_dma_dev_setup()
2529 pe = pnv_pci_bdfn_to_pe(phb, pci_dev_id(pdev)); in pnv_pci_device_group()
/openbmc/linux/drivers/vfio/pci/pds/
H A Dvfio_dev.c168 __func__, pci_dev_id(pci_physfn(pdev)), pci_id, vf_id, in pds_vfio_init_device()
/openbmc/linux/drivers/hwtracing/ptt/
H A Dhisi_ptt.c621 port_devid = pci_dev_id(root_port); in hisi_ptt_notifier_call()
627 info.devid = pci_dev_id(pdev); in hisi_ptt_notifier_call()
667 port_devid = pci_dev_id(root_port); in hisi_ptt_init_filters()
677 filter = hisi_ptt_alloc_add_filter(hisi_ptt, pci_dev_id(pdev), in hisi_ptt_init_filters()
/openbmc/linux/include/uapi/scsi/
H A Dscsi_bsg_mpi3mr.h132 __u32 pci_dev_id; member
/openbmc/linux/drivers/dma/ioat/
H A Ddca.c54 return pci_dev_id(pci); in dcaid_from_pcidev()
/openbmc/linux/drivers/net/ethernet/wangxun/ngbe/
H A Dngbe_mdio.c273 snprintf(mii_bus->id, MII_BUS_ID_SIZE, "ngbe-%x", pci_dev_id(pdev)); in ngbe_mdio_init()
/openbmc/linux/drivers/misc/ocxl/
H A Dcontext.c87 amr, pci_dev_id(dev), mm, xsl_fault_error, ctx); in ocxl_context_attach()
/openbmc/linux/drivers/pci/controller/
H A Dpcie-apple.c673 u32 sid, rid = pci_dev_id(pdev); in apple_pcie_add_device()
704 u32 rid = pci_dev_id(pdev); in apple_pcie_release_device()
/openbmc/linux/drivers/pci/pcie/
H A Daer.c704 int id = pci_dev_id(dev); in aer_print_error()
839 if (e_info->id == pci_dev_id(dev)) in is_error_source()
/openbmc/linux/drivers/gpu/drm/radeon/
H A Dradeon_acpi.c621 atcs_input.client_id = pci_dev_id(rdev->pdev); in radeon_acpi_pcie_performance_request()
/openbmc/linux/drivers/platform/chrome/
H A Dchromeos_laptop.c133 return devid == pci_dev_id(pdev); in chromeos_laptop_match_adapter_devid()
/openbmc/linux/drivers/perf/hisilicon/
H A Dhisi_pcie_pmu.c287 rp_bdf = pci_dev_id(root_port); in hisi_pcie_pmu_valid_requester_id()

12