/Linux-v5.4/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_ah.c | 58 static u16 ocrdma_hdr_type_to_proto_num(int devid, u8 hdr_type) in ocrdma_hdr_type_to_proto_num() argument 60 switch (hdr_type) { in ocrdma_hdr_type_to_proto_num() 94 proto_num = ocrdma_hdr_type_to_proto_num(dev->id, ah->hdr_type); in set_av_attr() 127 if (ah->hdr_type == RDMA_NETWORK_IPV4) { in set_av_attr() 187 ah->hdr_type = rdma_gid_attr_network_type(sgid_attr); in ocrdma_create_ah() 200 *ahid_addr |= ((u32)ah->hdr_type & in ocrdma_create_ah()
|
/Linux-v5.4/arch/powerpc/kernel/ |
D | pci_of_scan.c | 220 dev->hdr_type = PCI_HEADER_TYPE_BRIDGE; in of_create_pci_dev() 224 dev->hdr_type = PCI_HEADER_TYPE_CARDBUS; in of_create_pci_dev() 226 dev->hdr_type = PCI_HEADER_TYPE_NORMAL; in of_create_pci_dev() 385 pr_debug(" dev header type: %x\n", dev->hdr_type); in of_scan_pci_dev() 409 pr_debug(" dev header type: %x\n", dev->hdr_type); in __of_scan_bus()
|
/Linux-v5.4/drivers/infiniband/hw/hfi1/ |
D | verbs_txreq.h | 97 tx->phdr.hdr.hdr_type = priv->hdr_type; in get_txreq()
|
D | trace_ibhdrs.h | 322 __field(u8, hdr_type) 356 __entry->hdr_type = opah->hdr_type; 359 if (__entry->hdr_type) { 430 !!__entry->hdr_type, 447 !!__entry->hdr_type,
|
D | ud.c | 204 if (priv->hdr_type == HFI1_PKT_TYPE_16B) { in ud_loopback() 369 ps->s_txreq->phdr.hdr.hdr_type = HFI1_PKT_TYPE_9B; in hfi1_make_ud_req_9B() 463 ps->s_txreq->phdr.hdr.hdr_type = HFI1_PKT_TYPE_16B; in hfi1_make_ud_req_16B() 519 priv->hdr_type = hfi1_get_hdr_type(ppd->lid, ah_attr); in hfi1_make_ud_req() 561 hfi1_make_ud_req_tbl[priv->hdr_type](qp, ps, qp->s_wqe); in hfi1_make_ud_req() 647 hdr.hdr_type = HFI1_PKT_TYPE_16B; in return_cnp_16B() 708 hdr.hdr_type = HFI1_PKT_TYPE_9B; in return_cnp()
|
D | verbs.h | 138 u8 hdr_type; /* 9B or 16B */ member 174 u8 hdr_type; /* 9B or 16B */ member
|
D | verbs.c | 769 if (tx->phdr.hdr.hdr_type) { in build_verbs_tx_desc() 851 if (ps->s_txreq->phdr.hdr.hdr_type) { in hfi1_verbs_send_dma() 868 if (ps->s_txreq->phdr.hdr.hdr_type) in hfi1_verbs_send_dma() 996 if (ps->s_txreq->phdr.hdr.hdr_type) { in hfi1_verbs_send_pio() 1026 if (ps->s_txreq->phdr.hdr.hdr_type) in hfi1_verbs_send_pio() 1264 if (ps->s_txreq->phdr.hdr.hdr_type) { in hfi1_verbs_send()
|
D | driver.c | 454 u8 hdr_type, sc, svc_type, opcode; in hfi1_process_ecn_slowpath() local 466 hdr_type = HFI1_PKT_TYPE_16B; in hfi1_process_ecn_slowpath() 478 hdr_type = HFI1_PKT_TYPE_9B; in hfi1_process_ecn_slowpath() 523 hfi1_handle_cnp_tbl[hdr_type](ibp, qp, rqpn, pkey, in hfi1_process_ecn_slowpath()
|
/Linux-v5.4/drivers/pci/hotplug/ |
D | ibmphp_pci.c | 72 u8 hdr_type, device, sec_number; in ibmphp_configure_card() local 115 pci_bus_read_config_byte(ibmphp_pci_bus, devfn, PCI_HEADER_TYPE, &hdr_type); in ibmphp_configure_card() 119 debug("hrd_type = %x, class = %x, class_code %x\n", hdr_type, class, class_code); in ibmphp_configure_card() 130 switch (hdr_type) { in ibmphp_configure_card() 132 …("single device case.... vendor id = %x, hdr_type = %x, class = %x\n", vendor_id, hdr_type, class); in ibmphp_configure_card() 295 err("MAJOR PROBLEM!!!!, header type not supported? %x\n", hdr_type); in ibmphp_configure_card() 1051 u8 hdr_type; in scan_behind_bridge() local 1087 pci_bus_read_config_byte(ibmphp_pci_bus, devfn, PCI_HEADER_TYPE, &hdr_type); in scan_behind_bridge() 1090 debug("hdr_type behind the bridge is %x\n", hdr_type); in scan_behind_bridge() 1091 if ((hdr_type & 0x7f) == PCI_HEADER_TYPE_BRIDGE) { in scan_behind_bridge() [all …]
|
D | rpadlpar_core.c | 189 if (dev->hdr_type != PCI_HEADER_TYPE_BRIDGE) { in dlpar_add_pci_slot() 191 __func__, dev->hdr_type, drc_name); in dlpar_add_pci_slot()
|
D | cpcihp_generic.c | 140 if (!dev || dev->hdr_type != PCI_HEADER_TYPE_BRIDGE) { in cpcihp_generic_init()
|
/Linux-v5.4/drivers/pci/ |
D | probe.c | 1101 if (dev->hdr_type != PCI_HEADER_TYPE_BRIDGE) in pci_ea_fixed_busnrs() 1144 int is_cardbus = (dev->hdr_type == PCI_HEADER_TYPE_CARDBUS); in pci_scan_bridge_extend() 1634 u8 hdr_type; in pci_hdr_type() local 1638 return dev->physfn->sriov->hdr_type; in pci_hdr_type() 1640 pci_read_config_byte(dev, PCI_HEADER_TYPE, &hdr_type); in pci_hdr_type() 1641 return hdr_type; in pci_hdr_type() 1718 u8 hdr_type; in pci_setup_device() local 1723 hdr_type = pci_hdr_type(dev); in pci_setup_device() 1728 dev->hdr_type = hdr_type & 0x7f; in pci_setup_device() 1729 dev->multifunction = !!(hdr_type & 0x80); in pci_setup_device() [all …]
|
D | pci.c | 401 unsigned int devfn, u8 hdr_type) in __pci_bus_find_cap_start() argument 409 switch (hdr_type) { in __pci_bus_find_cap_start() 443 pos = __pci_bus_find_cap_start(dev->bus, dev->devfn, dev->hdr_type); in pci_find_capability() 467 u8 hdr_type; in pci_bus_find_capability() local 469 pci_bus_read_config_byte(bus, devfn, PCI_HEADER_TYPE, &hdr_type); in pci_bus_find_capability() 471 pos = __pci_bus_find_cap_start(bus, devfn, hdr_type & 0x7f); in pci_bus_find_capability() 612 pos = __pci_bus_find_cap_start(dev->bus, dev->devfn, dev->hdr_type); in pci_find_ht_capability() 1404 if (pdev->hdr_type == PCI_HEADER_TYPE_NORMAL) { in pci_restore_config_space() 1409 } else if (pdev->hdr_type == PCI_HEADER_TYPE_BRIDGE) { in pci_restore_config_space() 3039 if (dev->hdr_type == PCI_HEADER_TYPE_BRIDGE) in pci_ea_init() [all …]
|
D | proc.c | 43 else if (dev->hdr_type == PCI_HEADER_TYPE_CARDBUS) in proc_bus_pci_read()
|
/Linux-v5.4/drivers/pci/controller/dwc/ |
D | pcie-designware-ep.c | 501 u8 hdr_type; in dw_pcie_ep_init() local 566 hdr_type = dw_pcie_readb_dbi(pci, PCI_HEADER_TYPE); in dw_pcie_ep_init() 567 if (hdr_type != PCI_HEADER_TYPE_NORMAL) { in dw_pcie_ep_init() 569 hdr_type); in dw_pcie_ep_init()
|
D | pcie-designware-host.c | 326 u32 hdr_type; in dw_pcie_host_init() local 468 ret = dw_pcie_rd_own_conf(pp, PCI_HEADER_TYPE, 1, &hdr_type); in dw_pcie_host_init() 475 if (hdr_type != PCI_HEADER_TYPE_BRIDGE) { in dw_pcie_host_init() 478 hdr_type); in dw_pcie_host_init()
|
/Linux-v5.4/arch/powerpc/sysdev/ |
D | fsl_pci.c | 47 u8 hdr_type; in quirk_fsl_pcie_early() local 54 pci_read_config_byte(dev, PCI_HEADER_TYPE, &hdr_type); in quirk_fsl_pcie_early() 55 if ((hdr_type & 0x7f) != PCI_HEADER_TYPE_BRIDGE) in quirk_fsl_pcie_early() 522 u8 hdr_type, progif; in fsl_add_bridge() local 576 early_read_config_byte(hose, 0, 0, PCI_HEADER_TYPE, &hdr_type); in fsl_add_bridge() 577 if ((hdr_type & 0x7f) != PCI_HEADER_TYPE_BRIDGE) in fsl_add_bridge()
|
/Linux-v5.4/arch/sparc/kernel/ |
D | pci.c | 336 dev->hdr_type = PCI_HEADER_TYPE_BRIDGE; in of_create_pci_dev() 339 dev->hdr_type = PCI_HEADER_TYPE_CARDBUS; in of_create_pci_dev() 341 dev->hdr_type = PCI_HEADER_TYPE_NORMAL; in of_create_pci_dev() 350 dev->vendor, dev->device, dev->hdr_type, dev->class); in of_create_pci_dev() 580 pci_info(dev, "dev header type: %x\n", dev->hdr_type); in pci_of_scan_bus()
|
/Linux-v5.4/drivers/xen/xen-pciback/ |
D | conf_space_header.c | 406 switch (dev->hdr_type) { in xen_pcibk_config_header_add_fields() 418 pci_name(dev), dev->hdr_type); in xen_pcibk_config_header_add_fields()
|
D | pciback_ops.c | 37 if (dev->hdr_type != PCI_HEADER_TYPE_NORMAL) in xen_pcibk_control_isr() 118 if (dev->hdr_type == PCI_HEADER_TYPE_NORMAL) { in xen_pcibk_reset_device()
|
/Linux-v5.4/drivers/pci/controller/ |
D | pcie-iproc.c | 779 u32 hdr_type, link_ctrl, link_status, class, val; in iproc_pcie_check_link() local 796 iproc_pci_raw_config_read32(pcie, 0, PCI_HEADER_TYPE, 1, &hdr_type); in iproc_pcie_check_link() 797 if ((hdr_type & 0x7f) != PCI_HEADER_TYPE_BRIDGE) { in iproc_pcie_check_link() 798 dev_err(dev, "in EP mode, hdr=%#02x\n", hdr_type); in iproc_pcie_check_link() 1601 if (pdev->hdr_type == PCI_HEADER_TYPE_BRIDGE) in quirk_paxc_disable_msi_parsing()
|
/Linux-v5.4/drivers/infiniband/hw/mthca/ |
D | mthca_reset.c | 75 if (bridge->hdr_type == PCI_HEADER_TYPE_BRIDGE && in mthca_reset()
|
/Linux-v5.4/drivers/pci/pcie/ |
D | err.c | 64 if (dev->hdr_type != PCI_HEADER_TYPE_BRIDGE) in report_error_detected()
|
/Linux-v5.4/arch/powerpc/platforms/85xx/ |
D | mpc85xx_cds.c | 171 dev->hdr_type = 0x7f; in skip_fake_bridge()
|
/Linux-v5.4/arch/unicore32/kernel/ |
D | pci.c | 236 if (bus->self && bus->self->hdr_type == PCI_HEADER_TYPE_BRIDGE) { in pcibios_fixup_bus()
|