Lines Matching defs:hdr_off

313 			db_pci_header_t *ph, off_t hdr_off);
1611 off_t hdr_off)
1613 ph->venid = pci_config_get16(config_handle, hdr_off + PCI_CONF_VENID);
1614 ph->devid = pci_config_get16(config_handle, hdr_off + PCI_CONF_DEVID);
1615 ph->command = pci_config_get16(config_handle, hdr_off + PCI_CONF_COMM);
1616 ph->status = pci_config_get16(config_handle, hdr_off + PCI_CONF_STAT);
1617 ph->revid = pci_config_get8(config_handle, hdr_off + PCI_CONF_REVID);
1618 ph->pif = pci_config_get8(config_handle, hdr_off + PCI_CONF_PROGCLASS);
1620 hdr_off + PCI_CONF_SUBCLASS);
1622 hdr_off + PCI_CONF_BASCLASS);
1624 hdr_off + PCI_CONF_CACHE_LINESZ);
1626 hdr_off + PCI_CONF_LATENCY_TIMER);
1628 hdr_off + PCI_CONF_HEADER);
1629 ph->bist = pci_config_get8(config_handle, hdr_off + PCI_CONF_BIST);
1630 ph->bar0 = pci_config_get32(config_handle, hdr_off + PCI_CONF_BASE0);
1631 ph->bar1 = pci_config_get32(config_handle, hdr_off + PCI_CONF_BASE1);
1632 ph->bar2 = pci_config_get32(config_handle, hdr_off + PCI_CONF_BASE2);
1633 ph->bar3 = pci_config_get32(config_handle, hdr_off + PCI_CONF_BASE3);
1634 ph->bar4 = pci_config_get32(config_handle, hdr_off + PCI_CONF_BASE4);
1635 ph->bar5 = pci_config_get32(config_handle, hdr_off + PCI_CONF_BASE5);
1637 hdr_off + PCI_CONF_CIS);
1639 hdr_off + PCI_CONF_SUBVENID);
1641 hdr_off + PCI_CONF_SUBSYSID);
1643 hdr_off + PCI_CONF_ROM);
1644 ph->int_line = pci_config_get8(config_handle, hdr_off + PCI_CONF_ILINE);
1645 ph->int_pin = pci_config_get8(config_handle, hdr_off + PCI_CONF_IPIN);
1646 ph->min_gnt = pci_config_get8(config_handle, hdr_off + PCI_CONF_MIN_G);
1647 ph->max_lat = pci_config_get8(config_handle, hdr_off + PCI_CONF_MAX_L);