Lines Matching defs:hdrtype

89 	(((cfg)->hdrtype == PCIM_HDRTYPE_NORMAL && reg == PCIR_BIOS) ||	\
90 ((cfg)->hdrtype == PCIM_HDRTYPE_BRIDGE && reg == PCIR_BIOS_1))
633 if ((cfg->hdrtype & PCIM_HDRTYPE) != PCIM_HDRTYPE_NORMAL)
638 cfg->hdrtype = PCIM_HDRTYPE_BRIDGE;
647 switch (cfg->hdrtype & PCIM_HDRTYPE) {
723 cfg->hdrtype = REG(PCIR_HDRTYPE, 1);
729 cfg->mfdev = (cfg->hdrtype & PCIM_MFDEV) != 0;
730 cfg->hdrtype &= ~PCIM_MFDEV;
747 devlist_entry->conf.pc_hdr = cfg->hdrtype;
793 if ((cfg->hdrtype & PCIM_HDRTYPE) == PCIM_HDRTYPE_BRIDGE)
851 switch (cfg->hdrtype & PCIM_HDRTYPE) {
947 if ((cfg->hdrtype & PCIM_HDRTYPE) ==
962 if ((cfg->hdrtype & PCIM_HDRTYPE) ==
1512 switch (cfg->hdrtype & PCIM_HDRTYPE) {
2973 printf("\tclass=%02x-%02x-%02x, hdrtype=0x%02x, mfdev=%d\n",
2974 cfg->baseclass, cfg->subclass, cfg->progif, cfg->hdrtype,
3677 switch (cfg->hdrtype & PCIM_HDRTYPE) {
3786 switch (cfg->hdrtype & PCIM_HDRTYPE) {
4109 uint8_t hdrtype;
4133 hdrtype = REG(PCIR_HDRTYPE, 1);
4134 if ((hdrtype & PCIM_HDRTYPE) > PCI_MAXHDRTYPE)
4136 if (hdrtype & PCIM_MFDEV)
4152 uint8_t hdrtype;
4177 hdrtype = REG(PCIR_HDRTYPE, 1);
4178 if ((hdrtype & PCIM_HDRTYPE) > PCI_MAXHDRTYPE)
4180 if (hdrtype & PCIM_MFDEV)
5258 if (cfg->hdrtype != PCIM_HDRTYPE_NORMAL) {
5265 if (cfg->hdrtype != PCIM_HDRTYPE_NORMAL) {
5525 if (cfg->hdrtype == PCIM_HDRTYPE_BRIDGE) {
5619 if (cfg->hdrtype == PCIM_HDRTYPE_BRIDGE &&
6020 switch (dinfo->cfg.hdrtype & PCIM_HDRTYPE) {
6052 if ((dinfo->cfg.hdrtype & PCIM_HDRTYPE) != PCIM_HDRTYPE_BRIDGE)
6144 switch (dinfo->cfg.hdrtype & PCIM_HDRTYPE) {