Home
last modified time | relevance | path

Searched refs:pci_resource_flags (Results 1 – 25 of 110) sorted by relevance

12345

/openbmc/linux/lib/
H A Dpci_iomap.c35 unsigned long flags = pci_resource_flags(dev, bar); in pci_iomap_range()
75 unsigned long flags = pci_resource_flags(dev, bar); in pci_iomap_wc_range()
/openbmc/linux/drivers/tty/serial/8250/
H A D8250_pcilib.c21 if (pci_resource_flags(dev, bar) & IORESOURCE_MEM) { in serial8250_pci_setup_port()
H A D8250_pci.c240 if ((pci_resource_flags(dev, 0) & IORESOURCE_MEM) == 0) { in pci_plx9050_init()
282 if ((pci_resource_flags(dev, 0) & IORESOURCE_MEM) == 0) in pci_plx9050_exit()
308 if ((pci_resource_flags(dev, bar) & IORESOURCE_MEM) == 0) { in pci_ni8420_exit()
337 if ((pci_resource_flags(dev, bar) & IORESOURCE_MEM) == 0) { in pci_ni8430_exit()
666 if ((pci_resource_flags(dev, bar) & IORESOURCE_MEM) == 0) { in pci_ni8420_init()
697 if ((pci_resource_flags(dev, bar) & IORESOURCE_MEM) == 0) { in pci_ni8430_init()
1610 if (!(pci_resource_flags(dev, 5) & IORESOURCE_IO) || in pci_fintek_init()
1611 !(pci_resource_flags(dev, 4) & IORESOURCE_IO) || in pci_fintek_init()
1612 !(pci_resource_flags(dev, 3) & IORESOURCE_IO)) in pci_fintek_init()
1705 if (!(pci_resource_flags(dev, 0) & IORESOURCE_MEM)) in pci_fintek_f815xxa_init()
[all …]
/openbmc/linux/drivers/i2c/busses/
H A Di2c-pasemi-pci.c33 if (!(pci_resource_flags(dev, 0) & IORESOURCE_IO)) in pasemi_smb_pci_probe()
H A Di2c-ali1535.c156 if (pci_resource_flags(dev, 0) & IORESOURCE_IO) in ali1535_setup()
H A Di2c-amd8111.c427 if (!(pci_resource_flags(dev, 0) & IORESOURCE_IO)) in amd8111_probe()
/openbmc/linux/drivers/infiniband/hw/usnic/
H A Dusnic_vnic.c357 if (!(pci_resource_flags(pdev, i) & IORESOURCE_MEM)) in usnic_vnic_discover_resources()
395 if (!(pci_resource_flags(pdev, i) & IORESOURCE_MEM)) in usnic_vnic_discover_resources()
432 if (!(pci_resource_flags(pdev, i) & IORESOURCE_MEM)) in usnic_vnic_release_resources()
/openbmc/linux/drivers/char/xillybus/
H A Dxillybus_pcie.c61 if (!(pci_resource_flags(pdev, 0) & IORESOURCE_MEM)) { in xilly_probe()
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_doorbell_mgr.c199 if (pci_resource_flags(adev->pdev, 2) & IORESOURCE_UNSET) in amdgpu_doorbell_init()
/openbmc/linux/drivers/char/ipmi/
H A Dipmi_si_pci.c99 if (pci_resource_flags(pdev, 0) & IORESOURCE_IO) { in ipmi_pci_probe()
/openbmc/linux/drivers/mcb/
H A Dmcb-pci.c71 flags = pci_resource_flags(pdev, 0); in mcb_pci_probe()
/openbmc/linux/drivers/comedi/drivers/
H A Damplc_dio200_pci.c360 if (pci_resource_flags(pci_dev, bar) & IORESOURCE_MEM) { in dio200_pci_auto_attach()
H A D8255_pci.c218 if ((pci_resource_flags(pcidev, board->dio_badr) & IORESOURCE_MEM)) { in pci_8255_auto_attach()
/openbmc/linux/drivers/video/
H A Daperture.c360 if (!(pci_resource_flags(pdev, bar) & IORESOURCE_MEM)) in aperture_remove_conflicting_pci_devices()
/openbmc/linux/drivers/infiniband/hw/vmw_pvrdma/
H A Dpvrdma_main.c788 pci_resource_flags(pdev, 0)); in pvrdma_pci_probe()
794 pci_resource_flags(pdev, 1)); in pvrdma_pci_probe()
800 if (!(pci_resource_flags(pdev, 0) & IORESOURCE_MEM) || in pvrdma_pci_probe()
801 !(pci_resource_flags(pdev, 1) & IORESOURCE_MEM)) { in pvrdma_pci_probe()
/openbmc/linux/drivers/misc/cardreader/
H A Dalcor_pci.c133 if (!(pci_resource_flags(pdev, bar) & IORESOURCE_MEM)) { in alcor_pci_probe()
/openbmc/linux/arch/powerpc/kernel/
H A Deeh_cache.c185 unsigned long flags = pci_resource_flags(dev,i); in __eeh_addr_cache_insert_dev()
/openbmc/linux/drivers/rapidio/devices/
H A Dtsi721.c2769 if (!(pci_resource_flags(pdev, BAR_0) & IORESOURCE_MEM) || in tsi721_probe()
2770 pci_resource_flags(pdev, BAR_0) & IORESOURCE_MEM_64 || in tsi721_probe()
2778 if (!(pci_resource_flags(pdev, BAR_1) & IORESOURCE_MEM) || in tsi721_probe()
2779 pci_resource_flags(pdev, BAR_1) & IORESOURCE_MEM_64 || in tsi721_probe()
2796 if (pci_resource_flags(pdev, BAR_2) & IORESOURCE_MEM_64) { in tsi721_probe()
2797 if (pci_resource_flags(pdev, BAR_2) & IORESOURCE_PREFETCH) in tsi721_probe()
2806 if (pci_resource_flags(pdev, BAR_4) & IORESOURCE_MEM_64) { in tsi721_probe()
2807 if (pci_resource_flags(pdev, BAR_4) & IORESOURCE_PREFETCH) in tsi721_probe()
/openbmc/linux/drivers/scsi/elx/efct/
H A Defct_driver.c528 if (pci_resource_flags(pdev, i) & IORESOURCE_MEM) { in efct_pci_probe()
539 if (pci_resource_flags(pdev, i) & IORESOURCE_MEM_64) in efct_pci_probe()
/openbmc/linux/arch/powerpc/platforms/
H A Dfsl_uli1575.c228 unsigned long flags = pci_resource_flags(dev, i); in quirk_final_uli5249()
/openbmc/linux/drivers/infiniband/hw/mthca/
H A Dmthca_main.c917 if (!(pci_resource_flags(pdev, 0) & IORESOURCE_MEM) || in __mthca_init_one()
923 if (!(pci_resource_flags(pdev, 2) & IORESOURCE_MEM)) { in __mthca_init_one()
928 if (!(pci_resource_flags(pdev, 4) & IORESOURCE_MEM)) in __mthca_init_one()
/openbmc/linux/drivers/firmware/efi/
H A Dsysfb_efi.c126 flags = pci_resource_flags(dev, i); in efifb_set_system()
/openbmc/linux/drivers/gpu/drm/i915/
H A Di915_pci.c994 if (!pci_resource_flags(pdev, bar)) in i915_pci_resource_valid()
997 if (pci_resource_flags(pdev, bar) & IORESOURCE_UNSET) in i915_pci_resource_valid()
/openbmc/linux/drivers/gpu/drm/ast/
H A Dast_main.c457 } else if (!(pci_resource_flags(pdev, 2) & IORESOURCE_IO)) { in ast_device_create()
/openbmc/linux/drivers/pci/
H A Dpci-sysfs.c1215 if (pci_resource_flags(pdev, num) & IORESOURCE_IO) { in pci_create_attr()
1464 flags = pci_resource_flags(pdev, n); \
1470 pci_resource_flags(pdev, i) == flags) \

12345