Lines Matching refs:offset
51 off_t offset;
149 offset = cap_ptr;
153 pci_config_get8(handle, offset));
155 next_ptr = pci_config_get8(handle, offset + 1);
161 pci_config_get16(handle, offset + PCI_PMCAP));
164 pci_config_get16(handle, offset + PCI_PMCSR));
167 pci_config_get8(handle, offset + PCI_PMCSR_BSE));
170 pci_config_get8(handle, offset + PCI_PMDATA));
173 offset = next_ptr;
177 pci_config_get8(handle, offset));
179 next_ptr = pci_config_get8(handle, offset + 1);
185 pci_config_get16(handle, offset + PCI_MSI_CTRL));
188 pci_config_get32(handle, offset + PCI_MSI_ADDR_OFFSET));
191 pci_config_get32(handle, offset + 0x8));
194 pci_config_get16(handle, offset + 0xC));
197 offset = next_ptr;
201 pci_config_get8(handle, offset));
203 next_ptr = pci_config_get8(handle, offset + 1);
207 msix_ctrl = pci_config_get16(handle, offset + PCI_MSIX_CTRL);
212 tbl_offset = pci_config_get32(handle, offset + PCI_MSIX_TBL_OFFSET);
220 pba_offset = pci_config_get32(handle, offset + PCI_MSIX_PBA_OFFSET);
229 offset = next_ptr;
233 pci_config_get8(handle, offset + PCIE_CAP_ID));
235 next_ptr = pci_config_get8(handle, offset + PCIE_CAP_NEXT_PTR);
241 pci_config_get16(handle, offset + PCIE_PCIECAP));
244 pci_config_get32(handle, offset + PCIE_DEVCAP));
247 pci_config_get16(handle, offset + PCIE_DEVCTL));
250 pci_config_get16(handle, offset + PCIE_DEVSTS));
253 pci_config_get32(handle, offset + PCIE_LINKCAP));
256 pci_config_get16(handle, offset + PCIE_LINKCTL));
259 pci_config_get16(handle, offset + PCIE_LINKSTS));