Lines Matching refs:hdr_off

316 			db_pci_header_t *ph, off_t hdr_off);
1614 off_t hdr_off) in db_pci_get_header() argument
1616 ph->venid = pci_config_get16(config_handle, hdr_off + PCI_CONF_VENID); in db_pci_get_header()
1617 ph->devid = pci_config_get16(config_handle, hdr_off + PCI_CONF_DEVID); in db_pci_get_header()
1618 ph->command = pci_config_get16(config_handle, hdr_off + PCI_CONF_COMM); in db_pci_get_header()
1619 ph->status = pci_config_get16(config_handle, hdr_off + PCI_CONF_STAT); in db_pci_get_header()
1620 ph->revid = pci_config_get8(config_handle, hdr_off + PCI_CONF_REVID); in db_pci_get_header()
1621 ph->pif = pci_config_get8(config_handle, hdr_off + PCI_CONF_PROGCLASS); in db_pci_get_header()
1623 hdr_off + PCI_CONF_SUBCLASS); in db_pci_get_header()
1625 hdr_off + PCI_CONF_BASCLASS); in db_pci_get_header()
1627 hdr_off + PCI_CONF_CACHE_LINESZ); in db_pci_get_header()
1629 hdr_off + PCI_CONF_LATENCY_TIMER); in db_pci_get_header()
1631 hdr_off + PCI_CONF_HEADER); in db_pci_get_header()
1632 ph->bist = pci_config_get8(config_handle, hdr_off + PCI_CONF_BIST); in db_pci_get_header()
1633 ph->bar0 = pci_config_get32(config_handle, hdr_off + PCI_CONF_BASE0); in db_pci_get_header()
1634 ph->bar1 = pci_config_get32(config_handle, hdr_off + PCI_CONF_BASE1); in db_pci_get_header()
1635 ph->bar2 = pci_config_get32(config_handle, hdr_off + PCI_CONF_BASE2); in db_pci_get_header()
1636 ph->bar3 = pci_config_get32(config_handle, hdr_off + PCI_CONF_BASE3); in db_pci_get_header()
1637 ph->bar4 = pci_config_get32(config_handle, hdr_off + PCI_CONF_BASE4); in db_pci_get_header()
1638 ph->bar5 = pci_config_get32(config_handle, hdr_off + PCI_CONF_BASE5); in db_pci_get_header()
1640 hdr_off + PCI_CONF_CIS); in db_pci_get_header()
1642 hdr_off + PCI_CONF_SUBVENID); in db_pci_get_header()
1644 hdr_off + PCI_CONF_SUBSYSID); in db_pci_get_header()
1646 hdr_off + PCI_CONF_ROM); in db_pci_get_header()
1647 ph->int_line = pci_config_get8(config_handle, hdr_off + PCI_CONF_ILINE); in db_pci_get_header()
1648 ph->int_pin = pci_config_get8(config_handle, hdr_off + PCI_CONF_IPIN); in db_pci_get_header()
1649 ph->min_gnt = pci_config_get8(config_handle, hdr_off + PCI_CONF_MIN_G); in db_pci_get_header()
1650 ph->max_lat = pci_config_get8(config_handle, hdr_off + PCI_CONF_MAX_L); in db_pci_get_header()