Home
last modified time | relevance | path

Searched refs:PCI_CFG_SPACE_SIZE (Results 1 – 15 of 15) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/vfio/pci/
H A Dvfio_pci_config.c257 if (pos >= PCI_CFG_SPACE_SIZE) { /* Extended cap header mangling */ in vfio_direct_config_read()
1078 int base = (pos >= PCI_CFG_SPACE_SIZE) ? PCI_CFG_SPACE_SIZE : in vfio_find_cap_start()
1283 if (pdev->cfg_size > PCI_CFG_SPACE_SIZE) { in vfio_cap_len()
1285 pci_read_config_dword(pdev, PCI_CFG_SPACE_SIZE, in vfio_cap_len()
1300 if (pdev->cfg_size > PCI_CFG_SPACE_SIZE) { in vfio_cap_len()
1302 pci_read_config_dword(pdev, PCI_CFG_SPACE_SIZE, &dword); in vfio_cap_len()
1486 loops = (PCI_CFG_SPACE_SIZE - PCI_STD_HEADER_SIZEOF) / PCI_CAP_SIZEOF; in vfio_cap_init()
1563 epos = PCI_CFG_SPACE_SIZE; in vfio_ecap_init()
1565 loops = (pdev->cfg_size - PCI_CFG_SPACE_SIZE) / PCI_CAP_SIZEOF; in vfio_ecap_init()
1567 while (loops-- && epos >= PCI_CFG_SPACE_SIZE) { in vfio_ecap_init()
[all …]
/OK3568_Linux_fs/u-boot/drivers/pci/
H A Dpci.c546 int ttl, pos = PCI_CFG_SPACE_SIZE; in pci_find_next_ext_capability()
549 ttl = (PCI_CFG_SPACE_EXP_SIZE - PCI_CFG_SPACE_SIZE) / 8; in pci_find_next_ext_capability()
563 if (pos < PCI_CFG_SPACE_SIZE) in pci_find_next_ext_capability()
/OK3568_Linux_fs/kernel/drivers/pci/controller/dwc/
H A Dpcie-designware.c63 int pos = PCI_CFG_SPACE_SIZE; in dw_pcie_find_next_ext_capability()
66 ttl = (PCI_CFG_SPACE_EXP_SIZE - PCI_CFG_SPACE_SIZE) / 8; in dw_pcie_find_next_ext_capability()
84 if (pos < PCI_CFG_SPACE_SIZE) in dw_pcie_find_next_ext_capability()
H A Dpcie-dw-ep-rockchip.c417 int pos = PCI_CFG_SPACE_SIZE; in rockchip_pci_find_resbar_capability()
421 ttl = (PCI_CFG_SPACE_EXP_SIZE - PCI_CFG_SPACE_SIZE) / 8; in rockchip_pci_find_resbar_capability()
437 if (pos < PCI_CFG_SPACE_SIZE) in rockchip_pci_find_resbar_capability()
H A Dpcie-dw-rockchip.c887 int pos = PCI_CFG_SPACE_SIZE; in rk_pci_find_resbar_capability()
891 ttl = (PCI_CFG_SPACE_EXP_SIZE - PCI_CFG_SPACE_SIZE) / 8; in rk_pci_find_resbar_capability()
907 if (pos < PCI_CFG_SPACE_SIZE) in rk_pci_find_resbar_capability()
H A Dpcie-designware-ep.c625 int pos = PCI_CFG_SPACE_SIZE; in dw_pcie_ep_find_ext_capability()
/OK3568_Linux_fs/kernel/drivers/pci/
H A Dprobe.c1601 for (pos = PCI_CFG_SPACE_SIZE; in pci_ext_cfg_is_aliased()
1602 pos < PCI_CFG_SPACE_EXP_SIZE; pos += PCI_CFG_SPACE_SIZE) { in pci_ext_cfg_is_aliased()
1628 int pos = PCI_CFG_SPACE_SIZE; in pci_cfg_space_size_ext()
1631 return PCI_CFG_SPACE_SIZE; in pci_cfg_space_size_ext()
1633 return PCI_CFG_SPACE_SIZE; in pci_cfg_space_size_ext()
1660 return PCI_CFG_SPACE_SIZE; in pci_cfg_space_size()
1671 return PCI_CFG_SPACE_SIZE; in pci_cfg_space_size()
1677 return PCI_CFG_SPACE_SIZE; in pci_cfg_space_size()
H A Dpci-sysfs.c1275 .size = PCI_CFG_SPACE_SIZE,
1346 if (pdev->cfg_size > PCI_CFG_SPACE_SIZE) in pci_create_sysfs_dev_files()
1397 if (pdev->cfg_size > PCI_CFG_SPACE_SIZE) in pci_create_sysfs_dev_files()
1432 if (pdev->cfg_size > PCI_CFG_SPACE_SIZE) in pci_remove_sysfs_dev_files()
H A Dpci.c542 int pos = PCI_CFG_SPACE_SIZE; in pci_find_next_ext_capability()
545 ttl = (PCI_CFG_SPACE_EXP_SIZE - PCI_CFG_SPACE_SIZE) / 8; in pci_find_next_ext_capability()
547 if (dev->cfg_size <= PCI_CFG_SPACE_SIZE) in pci_find_next_ext_capability()
568 if (pos < PCI_CFG_SPACE_SIZE) in pci_find_next_ext_capability()
H A Dquirks.c5267 if (pci_read_config_dword(pdev, PCI_CFG_SPACE_SIZE, &status) != in quirk_intel_qat_vf_cap()
5269 pdev->cfg_size = PCI_CFG_SPACE_SIZE; in quirk_intel_qat_vf_cap()
/OK3568_Linux_fs/kernel/drivers/pci/controller/
H A Dpci-loongson.c134 if (where < PCI_CFG_SPACE_SIZE && priv->cfg0_base) in pci_loongson_map_bus()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Dpci_regs.h31 #define PCI_CFG_SPACE_SIZE 256 macro
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Dpci_regs.h31 #define PCI_CFG_SPACE_SIZE 256 macro
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dpci_regs.h29 #define PCI_CFG_SPACE_SIZE 256 macro
/OK3568_Linux_fs/u-boot/include/
H A Dpci.h14 #define PCI_CFG_SPACE_SIZE 256 macro