PCIR_HDRTYPE
PCIR_HDRTYPE, 1);
func, PCIR_HDRTYPE, 1);
pci_dw_dbi_wr1(sc->dev, PCIR_HDRTYPE, 1);
status = pci_read_config(dev, PCIR_HDRTYPE, 1);
value = pci_cfgregread(domain, bus, device, 0, PCIR_HDRTYPE, 1);
h = PCIB_READ_CONFIG(brdev, b, 0, 0, PCIR_HDRTYPE, 1);
hdrtype = REG(PCIR_HDRTYPE, 1);
hdrtype = REG(PCIR_HDRTYPE, 1);
cfg->hdrtype = REG(PCIR_HDRTYPE, 1);
switch (pci_read_config(dev, PCIR_HDRTYPE, 1) & PCIM_HDRTYPE) {
switch(pci_read_config(dev, PCIR_HDRTYPE, 1)) {
switch(pci_read_config(dev, PCIR_HDRTYPE, 1)) {
if ((pci_read_config(dev, PCIR_HDRTYPE, 1) & PCIM_HDRTYPE) != 0)
if ((pci_read_config(dev, PCIR_HDRTYPE, 1) & PCIM_HDRTYPE) != 0)
value = pci_cfgregread(0, bus, device, 0, PCIR_HDRTYPE, 1);
hdrtype = PCIB_READ_CONFIG(pcib, busno, s, f, PCIR_HDRTYPE, 1);
PCIR_HDRTYPE, 1);
pci_set_cfgdata8(pi, PCIR_HDRTYPE, PCIM_HDRTYPE_NORMAL);
if (off <= PCIR_HDRTYPE && off + bytes > PCIR_HDRTYPE) {
pci_set_cfgdata8(pi, PCIR_HDRTYPE, PCIM_HDRTYPE_NORMAL);