| /trueos/sys/powerpc/ofw/ |
| HD | ofw_pcibus.c | 223 uint8_t hdrtype; in ofw_pcibus_enum_bus() local 232 hdrtype = PCIB_READ_CONFIG(pcib, busno, s, f, PCIR_HDRTYPE, 1); in ofw_pcibus_enum_bus() 233 if ((hdrtype & PCIM_HDRTYPE) > PCI_MAXHDRTYPE) in ofw_pcibus_enum_bus() 235 if (hdrtype & PCIM_MFDEV) in ofw_pcibus_enum_bus()
|
| /trueos/sys/x86/pci/ |
| HD | pci_bus.c | 379 uint8_t hdrtype; in legacy_pcib_identify() local 403 hdrtype = legacy_pcib_read_config(0, bus, slot, func, in legacy_pcib_identify() 411 if ((hdrtype & PCIM_HDRTYPE) > PCI_MAXHDRTYPE) in legacy_pcib_identify() 413 if ((hdrtype & PCIM_MFDEV) && in legacy_pcib_identify() 414 (!found_orion || hdrtype != 0xff)) in legacy_pcib_identify()
|
| /trueos/sys/mips/cavium/ |
| HD | octopci.c | 556 uint8_t hdrtype; in octopci_init_device() local 559 hdrtype = octopci_read_config(dev, b, s, f, PCIR_HDRTYPE, 1); in octopci_init_device() 571 switch (hdrtype & PCIM_HDRTYPE) { in octopci_init_device() 583 b, s, f, hdrtype); in octopci_init_device() 712 uint8_t hdrtype; in octopci_init_bus() local 719 hdrtype = octopci_read_config(dev, b, s, f, PCIR_HDRTYPE, 1); in octopci_init_bus() 721 if (hdrtype == 0xff) { in octopci_init_bus() 729 if (f == 0 && (hdrtype & PCIM_MFDEV) == 0) in octopci_init_bus()
|
| /trueos/sys/arm/mv/ |
| HD | mv_pci.c | 758 uint8_t hdrtype, command, class, subclass; in mv_pcib_init() local 763 hdrtype = mv_pcib_read_config(sc->sc_dev, bus, slot, in mv_pcib_init() 766 if ((hdrtype & PCIM_HDRTYPE) > PCI_MAXHDRTYPE) in mv_pcib_init() 769 if (func == 0 && (hdrtype & PCIM_MFDEV)) in mv_pcib_init() 779 hdrtype); in mv_pcib_init() 811 int func, int hdrtype) in mv_pcib_init_all_bars() argument 815 maxbar = (hdrtype & PCIM_HDRTYPE) ? 0 : 6; in mv_pcib_init_all_bars()
|
| /trueos/sys/dev/pci/ |
| HD | pci.c | 74 (((cfg)->hdrtype == PCIM_HDRTYPE_NORMAL && reg == PCIR_BIOS) || \ 75 ((cfg)->hdrtype == PCIM_HDRTYPE_BRIDGE && reg == PCIR_BIOS_1)) 570 if ((cfg->hdrtype & PCIM_HDRTYPE) != PCIM_HDRTYPE_NORMAL) in pci_fixancient() 575 cfg->hdrtype = PCIM_HDRTYPE_BRIDGE; in pci_fixancient() 584 switch (cfg->hdrtype & PCIM_HDRTYPE) { in pci_hdrtypedata() 646 cfg->hdrtype = REG(PCIR_HDRTYPE, 1); in pci_read_device() 652 cfg->mfdev = (cfg->hdrtype & PCIM_MFDEV) != 0; in pci_read_device() 653 cfg->hdrtype &= ~PCIM_MFDEV; in pci_read_device() 668 devlist_entry->conf.pc_hdr = cfg->hdrtype; in pci_read_device() 698 switch (cfg->hdrtype & PCIM_HDRTYPE) { in pci_read_cap() [all …]
|
| HD | pcivar.h | 174 uint8_t hdrtype; /* chip config header type */ member
|
| /trueos/sys/powerpc/mpc85xx/ |
| HD | pci_mpc85xx.c | 515 uint8_t command, hdrtype, class, subclass; in fsl_pcib_init() local 521 hdrtype = fsl_pcib_read_config(sc->sc_dev, bus, slot, in fsl_pcib_init() 524 if ((hdrtype & PCIM_HDRTYPE) > PCI_MAXHDRTYPE) in fsl_pcib_init() 527 if (func == 0 && (hdrtype & PCIM_MFDEV)) in fsl_pcib_init() 550 maxbar = (hdrtype & PCIM_HDRTYPE) ? 1 : 6; in fsl_pcib_init()
|
| /trueos/sys/mips/nlm/ |
| HD | xlp_pci.c | 285 uint8_t hdrtype; in xlp_pci_attach() local 296 hdrtype = PCIB_READ_CONFIG(pcib, busno, s, f, PCIR_HDRTYPE, 1); in xlp_pci_attach() 297 if ((hdrtype & PCIM_HDRTYPE) > PCI_MAXHDRTYPE) in xlp_pci_attach() 299 if (hdrtype & PCIM_MFDEV) in xlp_pci_attach()
|
| /trueos/sys/amd64/vmm/io/ |
| HD | ppt.c | 129 (dinfo->cfg.hdrtype & PCIM_HDRTYPE) == PCIM_HDRTYPE_NORMAL) in ppt_probe()
|
| /trueos/cddl/contrib/opensolaris/lib/libzfs/common/ |
| HD | libzfs_sendrecv.c | 3242 int hdrtype; in zfs_receive_impl() local 3295 hdrtype = DMU_GET_STREAM_HDRTYPE(drrb->drr_versioninfo); in zfs_receive_impl() 3298 (hdrtype != DMU_SUBSTREAM && hdrtype != DMU_COMPOUNDSTREAM)) { in zfs_receive_impl()
|
| /trueos/sys/dev/cxgb/ |
| HD | cxgb_main.c | 1156 switch (cfg->hdrtype & PCIM_HDRTYPE) { in t3_os_find_pci_capability()
|