Searched refs:PCI_STD_HEADER_SIZEOF (Results 1 – 2 of 2) sorted by relevance
44 [PCI_CAP_ID_BASIC] = PCI_STD_HEADER_SIZEOF, /* pci config header */261 } else if (pos >= PCI_STD_HEADER_SIZEOF) { /* Std cap mangling */ in vfio_direct_config_read() 658 if (alloc_perm_bits(perm, PCI_STD_HEADER_SIZEOF)) in init_pci_cap_basic_perm() 1121 PCI_STD_HEADER_SIZEOF; in vfio_find_cap_start() 1545 loops = (PCI_CFG_SPACE_SIZE - PCI_STD_HEADER_SIZEOF) / PCI_CAP_SIZEOF; in vfio_cap_init() 1759 memset(map, PCI_CAP_ID_BASIC, PCI_STD_HEADER_SIZEOF); in vfio_config_init() 1760 memset(map + PCI_STD_HEADER_SIZEOF, PCI_CAP_ID_INVALID, in vfio_config_init() 1761 pdev->cfg_size - PCI_STD_HEADER_SIZEOF); in vfio_config_init() 1763 ret = vfio_fill_vconfig_bytes(vdev, 0, PCI_STD_HEADER_SIZEOF); in vfio_config_init()
36 #define PCI_STD_HEADER_SIZEOF 64 macro