hdr_type 349 arch/arm/kernel/bios32.c if (bus->self && bus->self->hdr_type == PCI_HEADER_TYPE_BRIDGE) { hdr_type 1232 arch/powerpc/kernel/eeh.c if (dev->hdr_type == PCI_HEADER_TYPE_BRIDGE) { hdr_type 1255 arch/powerpc/kernel/eeh.c if (dev->hdr_type == PCI_HEADER_TYPE_BRIDGE) { hdr_type 515 arch/powerpc/kernel/eeh_driver.c (dev->hdr_type == PCI_HEADER_TYPE_BRIDGE)) hdr_type 1660 arch/powerpc/kernel/pci-common.c (dev->hdr_type == PCI_HEADER_TYPE_NORMAL) && hdr_type 220 arch/powerpc/kernel/pci_of_scan.c dev->hdr_type = PCI_HEADER_TYPE_BRIDGE; hdr_type 224 arch/powerpc/kernel/pci_of_scan.c dev->hdr_type = PCI_HEADER_TYPE_CARDBUS; hdr_type 226 arch/powerpc/kernel/pci_of_scan.c dev->hdr_type = PCI_HEADER_TYPE_NORMAL; hdr_type 385 arch/powerpc/kernel/pci_of_scan.c pr_debug(" dev header type: %x\n", dev->hdr_type); hdr_type 409 arch/powerpc/kernel/pci_of_scan.c pr_debug(" dev header type: %x\n", dev->hdr_type); hdr_type 171 arch/powerpc/platforms/85xx/mpc85xx_cds.c dev->hdr_type = 0x7f; hdr_type 2130 arch/powerpc/platforms/powernv/pci-ioda.c if (dev->hdr_type != PCI_HEADER_TYPE_NORMAL) hdr_type 47 arch/powerpc/sysdev/fsl_pci.c u8 hdr_type; hdr_type 54 arch/powerpc/sysdev/fsl_pci.c pci_read_config_byte(dev, PCI_HEADER_TYPE, &hdr_type); hdr_type 55 arch/powerpc/sysdev/fsl_pci.c if ((hdr_type & 0x7f) != PCI_HEADER_TYPE_BRIDGE) hdr_type 522 arch/powerpc/sysdev/fsl_pci.c u8 hdr_type, progif; hdr_type 576 arch/powerpc/sysdev/fsl_pci.c early_read_config_byte(hose, 0, 0, PCI_HEADER_TYPE, &hdr_type); hdr_type 577 arch/powerpc/sysdev/fsl_pci.c if ((hdr_type & 0x7f) != PCI_HEADER_TYPE_BRIDGE) hdr_type 564 arch/powerpc/sysdev/mpic.c u8 hdr_type = readb(devbase + PCI_HEADER_TYPE); hdr_type 584 arch/powerpc/sysdev/mpic.c if (PCI_FUNC(devfn) == 0 && (hdr_type & 0x80) == 0) hdr_type 336 arch/sparc/kernel/pci.c dev->hdr_type = PCI_HEADER_TYPE_BRIDGE; hdr_type 339 arch/sparc/kernel/pci.c dev->hdr_type = PCI_HEADER_TYPE_CARDBUS; hdr_type 341 arch/sparc/kernel/pci.c dev->hdr_type = PCI_HEADER_TYPE_NORMAL; hdr_type 350 arch/sparc/kernel/pci.c dev->vendor, dev->device, dev->hdr_type, dev->class); hdr_type 580 arch/sparc/kernel/pci.c pci_info(dev, "dev header type: %x\n", dev->hdr_type); hdr_type 236 arch/unicore32/kernel/pci.c if (bus->self && bus->self->hdr_type == PCI_HEADER_TYPE_BRIDGE) { hdr_type 454 drivers/infiniband/hw/hfi1/driver.c u8 hdr_type, sc, svc_type, opcode; hdr_type 466 drivers/infiniband/hw/hfi1/driver.c hdr_type = HFI1_PKT_TYPE_16B; hdr_type 478 drivers/infiniband/hw/hfi1/driver.c hdr_type = HFI1_PKT_TYPE_9B; hdr_type 523 drivers/infiniband/hw/hfi1/driver.c hfi1_handle_cnp_tbl[hdr_type](ibp, qp, rqpn, pkey, hdr_type 554 drivers/infiniband/hw/hfi1/hfi.h if (opah->hdr_type == HFI1_PKT_TYPE_9B) { hdr_type 275 drivers/infiniband/hw/hfi1/qp.c priv->hdr_type = hfi1_get_hdr_type(ppd->lid, &qp->remote_ah_attr); hdr_type 132 drivers/infiniband/hw/hfi1/rc.c if (qpriv->hdr_type == HFI1_PKT_TYPE_9B) hdr_type 456 drivers/infiniband/hw/hfi1/rc.c if (priv->hdr_type == HFI1_PKT_TYPE_9B) { hdr_type 1276 drivers/infiniband/hw/hfi1/rc.c opa_hdr->hdr_type = HFI1_PKT_TYPE_9B; hdr_type 1331 drivers/infiniband/hw/hfi1/rc.c opa_hdr->hdr_type = HFI1_PKT_TYPE_16B; hdr_type 1422 drivers/infiniband/hw/hfi1/rc.c hfi1_make_rc_ack_tbl[priv->hdr_type](packet, &opa_hdr, sc5, is_fecn, hdr_type 1444 drivers/infiniband/hw/hfi1/rc.c (priv->hdr_type == HFI1_PKT_TYPE_9B ? hdr_type 448 drivers/infiniband/hw/hfi1/ruc.c hfi1_ruc_header_tbl[priv->hdr_type](qp, ohdr, bth0, bth1, bth2, middle, hdr_type 3281 drivers/infiniband/hw/hfi1/tid_rdma.c if (qpriv->hdr_type != HFI1_PKT_TYPE_9B) hdr_type 96 drivers/infiniband/hw/hfi1/trace.c if (!opa_hdr->hdr_type) hdr_type 322 drivers/infiniband/hw/hfi1/trace_ibhdrs.h __field(u8, hdr_type) hdr_type 356 drivers/infiniband/hw/hfi1/trace_ibhdrs.h __entry->hdr_type = opah->hdr_type; hdr_type 359 drivers/infiniband/hw/hfi1/trace_ibhdrs.h if (__entry->hdr_type) { hdr_type 430 drivers/infiniband/hw/hfi1/trace_ibhdrs.h !!__entry->hdr_type, hdr_type 447 drivers/infiniband/hw/hfi1/trace_ibhdrs.h !!__entry->hdr_type, hdr_type 95 drivers/infiniband/hw/hfi1/uc.c if (priv->hdr_type == HFI1_PKT_TYPE_9B) { hdr_type 204 drivers/infiniband/hw/hfi1/ud.c if (priv->hdr_type == HFI1_PKT_TYPE_16B) { hdr_type 369 drivers/infiniband/hw/hfi1/ud.c ps->s_txreq->phdr.hdr.hdr_type = HFI1_PKT_TYPE_9B; hdr_type 463 drivers/infiniband/hw/hfi1/ud.c ps->s_txreq->phdr.hdr.hdr_type = HFI1_PKT_TYPE_16B; hdr_type 519 drivers/infiniband/hw/hfi1/ud.c priv->hdr_type = hfi1_get_hdr_type(ppd->lid, ah_attr); hdr_type 561 drivers/infiniband/hw/hfi1/ud.c hfi1_make_ud_req_tbl[priv->hdr_type](qp, ps, qp->s_wqe); hdr_type 647 drivers/infiniband/hw/hfi1/ud.c hdr.hdr_type = HFI1_PKT_TYPE_16B; hdr_type 708 drivers/infiniband/hw/hfi1/ud.c hdr.hdr_type = HFI1_PKT_TYPE_9B; hdr_type 771 drivers/infiniband/hw/hfi1/verbs.c if (tx->phdr.hdr.hdr_type) { hdr_type 853 drivers/infiniband/hw/hfi1/verbs.c if (ps->s_txreq->phdr.hdr.hdr_type) { hdr_type 870 drivers/infiniband/hw/hfi1/verbs.c if (ps->s_txreq->phdr.hdr.hdr_type) hdr_type 998 drivers/infiniband/hw/hfi1/verbs.c if (ps->s_txreq->phdr.hdr.hdr_type) { hdr_type 1028 drivers/infiniband/hw/hfi1/verbs.c if (ps->s_txreq->phdr.hdr.hdr_type) hdr_type 1266 drivers/infiniband/hw/hfi1/verbs.c if (ps->s_txreq->phdr.hdr.hdr_type) { hdr_type 138 drivers/infiniband/hw/hfi1/verbs.h u8 hdr_type; /* 9B or 16B */ hdr_type 174 drivers/infiniband/hw/hfi1/verbs.h u8 hdr_type; /* 9B or 16B */ hdr_type 97 drivers/infiniband/hw/hfi1/verbs_txreq.h tx->phdr.hdr.hdr_type = priv->hdr_type; hdr_type 75 drivers/infiniband/hw/mthca/mthca_reset.c if (bridge->hdr_type == PCI_HEADER_TYPE_BRIDGE && hdr_type 360 drivers/infiniband/hw/ocrdma/ocrdma.h u8 hdr_type; hdr_type 58 drivers/infiniband/hw/ocrdma/ocrdma_ah.c static u16 ocrdma_hdr_type_to_proto_num(int devid, u8 hdr_type) hdr_type 60 drivers/infiniband/hw/ocrdma/ocrdma_ah.c switch (hdr_type) { hdr_type 94 drivers/infiniband/hw/ocrdma/ocrdma_ah.c proto_num = ocrdma_hdr_type_to_proto_num(dev->id, ah->hdr_type); hdr_type 127 drivers/infiniband/hw/ocrdma/ocrdma_ah.c if (ah->hdr_type == RDMA_NETWORK_IPV4) { hdr_type 187 drivers/infiniband/hw/ocrdma/ocrdma_ah.c ah->hdr_type = rdma_gid_attr_network_type(sgid_attr); hdr_type 200 drivers/infiniband/hw/ocrdma/ocrdma_ah.c *ahid_addr |= ((u32)ah->hdr_type & hdr_type 2496 drivers/infiniband/hw/ocrdma/ocrdma_hw.c u8 mac_addr[6], hdr_type; hdr_type 2538 drivers/infiniband/hw/ocrdma/ocrdma_hw.c hdr_type = rdma_gid_attr_network_type(sgid_attr); hdr_type 2539 drivers/infiniband/hw/ocrdma/ocrdma_hw.c if (hdr_type == RDMA_NETWORK_IPV4) { hdr_type 2567 drivers/infiniband/hw/ocrdma/ocrdma_hw.c cmd->params.max_sge_recv_flags |= ((hdr_type << hdr_type 1878 drivers/infiniband/hw/ocrdma/ocrdma_sli.h u32 hdr_type; hdr_type 1900 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c ud_hdr->hdr_type = ah->hdr_type; hdr_type 2617 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c u16 hdr_type = 0; hdr_type 2630 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c hdr_type = (le32_to_cpu(cqe->ud.rxlen_pkey) >> hdr_type 2634 drivers/infiniband/hw/ocrdma/ocrdma_verbs.c ibwc->network_hdr_type = hdr_type; hdr_type 252 drivers/iommu/dmar.c info->dev->hdr_type != PCI_HEADER_TYPE_NORMAL) || hdr_type 254 drivers/iommu/dmar.c (info->dev->hdr_type == PCI_HEADER_TYPE_NORMAL && hdr_type 1695 drivers/net/ethernet/brocade/bna/bna_tx_rx.c cfg_req->rx_cfg.hds.type = rx->hds_cfg.hdr_type; hdr_type 650 drivers/net/ethernet/brocade/bna/bna_types.h enum bfi_enet_hds_type hdr_type; hdr_type 2225 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c static int set_pedit_val(u8 hdr_type, u32 mask, u32 val, u32 offset, hdr_type 2230 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c curr_pmask = (u32 *)(pedit_header(&hdrs->masks, hdr_type) + offset); hdr_type 2231 drivers/net/ethernet/mellanox/mlx5/core/en_tc.c curr_pval = (u32 *)(pedit_header(&hdrs->vals, hdr_type) + offset); hdr_type 501 drivers/pci/controller/dwc/pcie-designware-ep.c u8 hdr_type; hdr_type 566 drivers/pci/controller/dwc/pcie-designware-ep.c hdr_type = dw_pcie_readb_dbi(pci, PCI_HEADER_TYPE); hdr_type 567 drivers/pci/controller/dwc/pcie-designware-ep.c if (hdr_type != PCI_HEADER_TYPE_NORMAL) { hdr_type 569 drivers/pci/controller/dwc/pcie-designware-ep.c hdr_type); hdr_type 327 drivers/pci/controller/dwc/pcie-designware-host.c u32 hdr_type; hdr_type 469 drivers/pci/controller/dwc/pcie-designware-host.c ret = dw_pcie_rd_own_conf(pp, PCI_HEADER_TYPE, 1, &hdr_type); hdr_type 476 drivers/pci/controller/dwc/pcie-designware-host.c if (hdr_type != PCI_HEADER_TYPE_BRIDGE) { hdr_type 479 drivers/pci/controller/dwc/pcie-designware-host.c hdr_type); hdr_type 779 drivers/pci/controller/pcie-iproc.c u32 hdr_type, link_ctrl, link_status, class, val; hdr_type 796 drivers/pci/controller/pcie-iproc.c iproc_pci_raw_config_read32(pcie, 0, PCI_HEADER_TYPE, 1, &hdr_type); hdr_type 797 drivers/pci/controller/pcie-iproc.c if ((hdr_type & 0x7f) != PCI_HEADER_TYPE_BRIDGE) { hdr_type 798 drivers/pci/controller/pcie-iproc.c dev_err(dev, "in EP mode, hdr=%#02x\n", hdr_type); hdr_type 1601 drivers/pci/controller/pcie-iproc.c if (pdev->hdr_type == PCI_HEADER_TYPE_BRIDGE) hdr_type 1618 drivers/pci/controller/pcie-iproc.c if (pdev->hdr_type == PCI_HEADER_TYPE_BRIDGE) hdr_type 140 drivers/pci/hotplug/cpcihp_generic.c if (!dev || dev->hdr_type != PCI_HEADER_TYPE_BRIDGE) { hdr_type 99 drivers/pci/hotplug/cpqphp_pci.c if (func->pci_dev->hdr_type == PCI_HEADER_TYPE_BRIDGE) { hdr_type 763 drivers/pci/hotplug/ibmphp_core.c if (!(flag) && (func->dev->hdr_type == PCI_HEADER_TYPE_BRIDGE)) { hdr_type 72 drivers/pci/hotplug/ibmphp_pci.c u8 hdr_type, device, sec_number; hdr_type 115 drivers/pci/hotplug/ibmphp_pci.c pci_bus_read_config_byte(ibmphp_pci_bus, devfn, PCI_HEADER_TYPE, &hdr_type); hdr_type 119 drivers/pci/hotplug/ibmphp_pci.c debug("hrd_type = %x, class = %x, class_code %x\n", hdr_type, class, class_code); hdr_type 130 drivers/pci/hotplug/ibmphp_pci.c switch (hdr_type) { hdr_type 132 drivers/pci/hotplug/ibmphp_pci.c debug("single device case.... vendor id = %x, hdr_type = %x, class = %x\n", vendor_id, hdr_type, class); hdr_type 295 drivers/pci/hotplug/ibmphp_pci.c err("MAJOR PROBLEM!!!!, header type not supported? %x\n", hdr_type); hdr_type 1051 drivers/pci/hotplug/ibmphp_pci.c u8 hdr_type; hdr_type 1087 drivers/pci/hotplug/ibmphp_pci.c pci_bus_read_config_byte(ibmphp_pci_bus, devfn, PCI_HEADER_TYPE, &hdr_type); hdr_type 1090 drivers/pci/hotplug/ibmphp_pci.c debug("hdr_type behind the bridge is %x\n", hdr_type); hdr_type 1091 drivers/pci/hotplug/ibmphp_pci.c if ((hdr_type & 0x7f) == PCI_HEADER_TYPE_BRIDGE) { hdr_type 1420 drivers/pci/hotplug/ibmphp_pci.c u8 hdr_type; hdr_type 1452 drivers/pci/hotplug/ibmphp_pci.c pci_bus_read_config_byte(ibmphp_pci_bus, devfn, PCI_HEADER_TYPE, &hdr_type); hdr_type 1455 drivers/pci/hotplug/ibmphp_pci.c debug("hdr_type %x, class %x\n", hdr_type, class); hdr_type 1465 drivers/pci/hotplug/ibmphp_pci.c switch (hdr_type) { hdr_type 1908 drivers/pci/hotplug/ibmphp_res.c u8 sec_busno, device, function, hdr_type, start_io_address, end_io_address; hdr_type 1934 drivers/pci/hotplug/ibmphp_res.c pci_bus_read_config_byte(ibmphp_pci_bus, devfn, PCI_HEADER_TYPE, &hdr_type); hdr_type 1936 drivers/pci/hotplug/ibmphp_res.c switch (hdr_type) { hdr_type 189 drivers/pci/hotplug/rpadlpar_core.c if (dev->hdr_type != PCI_HEADER_TYPE_BRIDGE) { hdr_type 191 drivers/pci/hotplug/rpadlpar_core.c __func__, dev->hdr_type, drc_name); hdr_type 130 drivers/pci/iov.c &physfn->sriov->hdr_type); hdr_type 688 drivers/pci/pci-sysfs.c else if (dev->hdr_type == PCI_HEADER_TYPE_CARDBUS) hdr_type 401 drivers/pci/pci.c unsigned int devfn, u8 hdr_type) hdr_type 409 drivers/pci/pci.c switch (hdr_type) { hdr_type 443 drivers/pci/pci.c pos = __pci_bus_find_cap_start(dev->bus, dev->devfn, dev->hdr_type); hdr_type 467 drivers/pci/pci.c u8 hdr_type; hdr_type 469 drivers/pci/pci.c pci_bus_read_config_byte(bus, devfn, PCI_HEADER_TYPE, &hdr_type); hdr_type 471 drivers/pci/pci.c pos = __pci_bus_find_cap_start(bus, devfn, hdr_type & 0x7f); hdr_type 612 drivers/pci/pci.c pos = __pci_bus_find_cap_start(dev->bus, dev->devfn, dev->hdr_type); hdr_type 1402 drivers/pci/pci.c if (pdev->hdr_type == PCI_HEADER_TYPE_NORMAL) { hdr_type 1407 drivers/pci/pci.c } else if (pdev->hdr_type == PCI_HEADER_TYPE_BRIDGE) { hdr_type 3037 drivers/pci/pci.c if (dev->hdr_type == PCI_HEADER_TYPE_BRIDGE) hdr_type 6252 drivers/pci/pci.c if (dev->hdr_type == PCI_HEADER_TYPE_NORMAL && hdr_type 6270 drivers/pci/pci.c if (dev->hdr_type == PCI_HEADER_TYPE_BRIDGE) { hdr_type 336 drivers/pci/pci.h u8 hdr_type; /* VF header type */ hdr_type 64 drivers/pci/pcie/err.c if (dev->hdr_type != PCI_HEADER_TYPE_BRIDGE) hdr_type 1103 drivers/pci/probe.c if (dev->hdr_type != PCI_HEADER_TYPE_BRIDGE) hdr_type 1151 drivers/pci/probe.c int is_cardbus = (dev->hdr_type == PCI_HEADER_TYPE_CARDBUS); hdr_type 1641 drivers/pci/probe.c u8 hdr_type; hdr_type 1645 drivers/pci/probe.c return dev->physfn->sriov->hdr_type; hdr_type 1647 drivers/pci/probe.c pci_read_config_byte(dev, PCI_HEADER_TYPE, &hdr_type); hdr_type 1648 drivers/pci/probe.c return hdr_type; hdr_type 1725 drivers/pci/probe.c u8 hdr_type; hdr_type 1730 drivers/pci/probe.c hdr_type = pci_hdr_type(dev); hdr_type 1735 drivers/pci/probe.c dev->hdr_type = hdr_type & 0x7f; hdr_type 1736 drivers/pci/probe.c dev->multifunction = !!(hdr_type & 0x80); hdr_type 1758 drivers/pci/probe.c dev->vendor, dev->device, dev->hdr_type, dev->class); hdr_type 1792 drivers/pci/probe.c switch (dev->hdr_type) { /* header type */ hdr_type 1874 drivers/pci/probe.c dev->hdr_type); hdr_type 1879 drivers/pci/probe.c dev->class, dev->hdr_type); hdr_type 2101 drivers/pci/probe.c if (dev->hdr_type == PCI_HEADER_TYPE_BRIDGE) { hdr_type 43 drivers/pci/proc.c else if (dev->hdr_type == PCI_HEADER_TYPE_CARDBUS) hdr_type 1753 drivers/pci/quirks.c pdev->hdr_type = hdr & 0x7f; hdr_type 4112 drivers/pci/quirks.c pdev->hdr_type == PCI_HEADER_TYPE_BRIDGE && hdr_type 5276 drivers/pci/quirks.c u8 hdr_type; hdr_type 5292 drivers/pci/quirks.c pci_read_config_byte(gpu, PCI_HEADER_TYPE, &hdr_type); hdr_type 5293 drivers/pci/quirks.c gpu->multifunction = !!(hdr_type & 0x80); hdr_type 1190 drivers/pci/setup-bus.c switch (dev->hdr_type) { hdr_type 1206 drivers/pci/setup-bus.c switch (bus->self->hdr_type) { hdr_type 1359 drivers/pci/setup-bus.c switch (dev->hdr_type) { hdr_type 331 drivers/s390/net/qeth_core.h __u8 hdr_type; hdr_type 4009 drivers/s390/net/qeth_core_main.c ext->hdr_type = 1; hdr_type 1298 drivers/vfio/pci/vfio_pci.c if (pdev->hdr_type != PCI_HEADER_TYPE_NORMAL) hdr_type 634 drivers/vfio/vfio.c if (pdev->hdr_type != PCI_HEADER_TYPE_NORMAL) hdr_type 406 drivers/xen/xen-pciback/conf_space_header.c switch (dev->hdr_type) { hdr_type 418 drivers/xen/xen-pciback/conf_space_header.c pci_name(dev), dev->hdr_type); hdr_type 571 drivers/xen/xen-pciback/pci_stub.c if (dev->hdr_type != PCI_HEADER_TYPE_NORMAL hdr_type 572 drivers/xen/xen-pciback/pci_stub.c && dev->hdr_type != PCI_HEADER_TYPE_BRIDGE) { hdr_type 37 drivers/xen/xen-pciback/pciback_ops.c if (dev->hdr_type != PCI_HEADER_TYPE_NORMAL) hdr_type 118 drivers/xen/xen-pciback/pciback_ops.c if (dev->hdr_type == PCI_HEADER_TYPE_NORMAL) { hdr_type 307 include/linux/pci.h u8 hdr_type; /* PCI header type (`multi' flag masked out) */ hdr_type 635 include/linux/pci.h return dev->hdr_type == PCI_HEADER_TYPE_BRIDGE || hdr_type 636 include/linux/pci.h dev->hdr_type == PCI_HEADER_TYPE_CARDBUS;