Searched refs:regloc (Results 1 – 1 of 1) sorted by relevance
/Linux-v6.6/drivers/cxl/core/ |
D | regs.c | 309 int regloc, i; in cxl_find_regblock_instance() local 316 regloc = pci_find_dvsec_capability(pdev, PCI_DVSEC_VENDOR_ID_CXL, in cxl_find_regblock_instance() 318 if (!regloc) in cxl_find_regblock_instance() 321 pci_read_config_dword(pdev, regloc + PCI_DVSEC_HEADER1, ®loc_size); in cxl_find_regblock_instance() 324 regloc += CXL_DVSEC_REG_LOCATOR_BLOCK1_OFFSET; in cxl_find_regblock_instance() 327 for (i = 0; i < regblocks; i++, regloc += 8) { in cxl_find_regblock_instance() 330 pci_read_config_dword(pdev, regloc, ®_lo); in cxl_find_regblock_instance() 331 pci_read_config_dword(pdev, regloc + 4, ®_hi); in cxl_find_regblock_instance()
|