Lines Matching refs:offset
49 off_t offset; in pci_dump() local
147 offset = cap_ptr; in pci_dump()
151 pci_config_get8(handle, offset)); in pci_dump()
153 next_ptr = pci_config_get8(handle, offset + 1); in pci_dump()
159 pci_config_get16(handle, offset + PCI_PMCAP)); in pci_dump()
162 pci_config_get16(handle, offset + PCI_PMCSR)); in pci_dump()
165 pci_config_get8(handle, offset + PCI_PMCSR_BSE)); in pci_dump()
168 pci_config_get8(handle, offset + PCI_PMDATA)); in pci_dump()
171 offset = next_ptr; in pci_dump()
175 pci_config_get8(handle, offset)); in pci_dump()
177 next_ptr = pci_config_get8(handle, offset + 1); in pci_dump()
183 pci_config_get16(handle, offset + PCI_MSI_CTRL)); in pci_dump()
186 pci_config_get32(handle, offset + PCI_MSI_ADDR_OFFSET)); in pci_dump()
189 pci_config_get32(handle, offset + 0x8)); in pci_dump()
192 pci_config_get16(handle, offset + 0xC)); in pci_dump()
195 offset = next_ptr; in pci_dump()
199 pci_config_get8(handle, offset)); in pci_dump()
201 next_ptr = pci_config_get8(handle, offset + 1); in pci_dump()
205 msix_ctrl = pci_config_get16(handle, offset + PCI_MSIX_CTRL); in pci_dump()
210 tbl_offset = pci_config_get32(handle, offset + PCI_MSIX_TBL_OFFSET); in pci_dump()
218 pba_offset = pci_config_get32(handle, offset + PCI_MSIX_PBA_OFFSET); in pci_dump()
227 offset = next_ptr; in pci_dump()
231 pci_config_get8(handle, offset + PCIE_CAP_ID)); in pci_dump()
233 next_ptr = pci_config_get8(handle, offset + PCIE_CAP_NEXT_PTR); in pci_dump()
239 pci_config_get16(handle, offset + PCIE_PCIECAP)); in pci_dump()
242 pci_config_get32(handle, offset + PCIE_DEVCAP)); in pci_dump()
245 pci_config_get16(handle, offset + PCIE_DEVCTL)); in pci_dump()
248 pci_config_get16(handle, offset + PCIE_DEVSTS)); in pci_dump()
251 pci_config_get32(handle, offset + PCIE_LINKCAP)); in pci_dump()
254 pci_config_get16(handle, offset + PCIE_LINKCTL)); in pci_dump()
257 pci_config_get16(handle, offset + PCIE_LINKSTS)); in pci_dump()