Lines Matching refs:offset

57 	uint32_t	offset;  member
168 int i, ret, sign, size, lines, offset = 0; in eeprom_dump() local
204 if (ret = e1000_read_nvm(hw, offset, WPL, eeprom)) { in eeprom_dump()
212 offset, in eeprom_dump()
215 offset += WPL; in eeprom_dump()
231 int32_t offset[] = in phy_dump() local
243 for (i = 0; i < ((sizeof (offset)) / sizeof (offset[0])); i++) { in phy_dump()
245 stat = e1000_read_phy_reg(hw, offset[i], &value); in phy_dump()
249 offset[i], value); in phy_dump()
253 offset[i], stat); in phy_dump()
259 e1000_read_reg(struct e1000_hw *hw, uint32_t offset) in e1000_read_reg() argument
262 (uint32_t *)((uintptr_t)(hw)->hw_addr + offset))); in e1000_read_reg()
363 macreg[i].name, macreg[i].offset, in mac_dump()
364 e1000_read_reg(hw, macreg[i].offset)); in mac_dump()
375 off_t offset; in pciconfig_dump() local
456 offset = cap_ptr; in pciconfig_dump()
460 pci_config_get8(handle, offset)); in pciconfig_dump()
462 next_ptr = pci_config_get8(handle, offset + 1); in pciconfig_dump()
468 pci_config_get16(handle, offset + PCI_PMCAP)); in pciconfig_dump()
471 pci_config_get16(handle, offset + PCI_PMCSR)); in pciconfig_dump()
474 pci_config_get8(handle, offset + PCI_PMCSR_BSE)); in pciconfig_dump()
477 pci_config_get8(handle, offset + PCI_PMDATA)); in pciconfig_dump()
480 offset = next_ptr; in pciconfig_dump()
484 pci_config_get8(handle, offset)); in pciconfig_dump()
486 next_ptr = pci_config_get8(handle, offset + 1); in pciconfig_dump()
492 pci_config_get16(handle, offset + PCI_MSI_CTRL)); in pciconfig_dump()
495 pci_config_get32(handle, offset + PCI_MSI_ADDR_OFFSET)); in pciconfig_dump()
498 pci_config_get32(handle, offset + 0x8)); in pciconfig_dump()
501 pci_config_get16(handle, offset + 0xC)); in pciconfig_dump()
504 offset = next_ptr; in pciconfig_dump()
508 pci_config_get8(handle, offset + PCIE_CAP_ID)); in pciconfig_dump()
510 next_ptr = pci_config_get8(handle, offset + PCIE_CAP_NEXT_PTR); in pciconfig_dump()
516 pci_config_get16(handle, offset + PCIE_PCIECAP)); in pciconfig_dump()
519 pci_config_get32(handle, offset + PCIE_DEVCAP)); in pciconfig_dump()
522 pci_config_get16(handle, offset + PCIE_DEVCTL)); in pciconfig_dump()
525 pci_config_get16(handle, offset + PCIE_DEVSTS)); in pciconfig_dump()
528 pci_config_get32(handle, offset + PCIE_LINKCAP)); in pciconfig_dump()
531 pci_config_get16(handle, offset + PCIE_LINKCTL)); in pciconfig_dump()
534 pci_config_get16(handle, offset + PCIE_LINKSTS)); in pciconfig_dump()
538 pciconfig_bar(void *instance, uint32_t offset, char *name) in pciconfig_bar() argument
542 uint32_t base = pci_config_get32(handle, offset); in pciconfig_bar()
581 pci_config_put32(handle, offset, 0xffffffff); in pciconfig_bar()
584 size = pci_config_get32(handle, offset); in pciconfig_bar()
589 pci_config_put32(handle, offset, base); in pciconfig_bar()