Home
last modified time | relevance | path

Searched refs:hdr_type (Results 1 – 25 of 58) sorted by relevance

123

/Linux-v5.10/drivers/infiniband/hw/ocrdma/
Docrdma_ah.c58 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()
188 ah->hdr_type = rdma_gid_attr_network_type(sgid_attr); in ocrdma_create_ah()
201 *ahid_addr |= ((u32)ah->hdr_type & in ocrdma_create_ah()
Docrdma.h358 u8 hdr_type; member
/Linux-v5.10/arch/powerpc/kernel/
Dpci_of_scan.c220 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.10/drivers/infiniband/hw/hfi1/
Dverbs_txreq.h97 tx->phdr.hdr.hdr_type = priv->hdr_type; in get_txreq()
Dtrace_ibhdrs.h322 __field(u8, hdr_type)
356 __entry->hdr_type = opah->hdr_type;
359 if (__entry->hdr_type) {
430 !!__entry->hdr_type,
447 !!__entry->hdr_type,
Dud.c204 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()
Dverbs.h138 u8 hdr_type; /* 9B or 16B */ member
174 u8 hdr_type; /* 9B or 16B */ member
Dverbs.c772 if (tx->phdr.hdr.hdr_type) { in build_verbs_tx_desc()
854 if (ps->s_txreq->phdr.hdr.hdr_type) { in hfi1_verbs_send_dma()
871 if (ps->s_txreq->phdr.hdr.hdr_type) in hfi1_verbs_send_dma()
999 if (ps->s_txreq->phdr.hdr.hdr_type) { in hfi1_verbs_send_pio()
1029 if (ps->s_txreq->phdr.hdr.hdr_type) in hfi1_verbs_send_pio()
1267 if (ps->s_txreq->phdr.hdr.hdr_type) { in hfi1_verbs_send()
Ddriver.c458 u8 hdr_type, sc, svc_type, opcode; in hfi1_process_ecn_slowpath() local
470 hdr_type = HFI1_PKT_TYPE_16B; in hfi1_process_ecn_slowpath()
482 hdr_type = HFI1_PKT_TYPE_9B; in hfi1_process_ecn_slowpath()
527 hfi1_handle_cnp_tbl[hdr_type](ibp, qp, rqpn, pkey, in hfi1_process_ecn_slowpath()
/Linux-v5.10/drivers/pci/hotplug/
Dibmphp_pci.c72 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 …]
Drpadlpar_core.c189 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()
Dcpcihp_generic.c140 if (!dev || dev->hdr_type != PCI_HEADER_TYPE_BRIDGE) { in cpcihp_generic_init()
/Linux-v5.10/drivers/pci/
Dprobe.c1169 if (dev->hdr_type != PCI_HEADER_TYPE_BRIDGE) in pci_ea_fixed_busnrs()
1217 int is_cardbus = (dev->hdr_type == PCI_HEADER_TYPE_CARDBUS); in pci_scan_bridge_extend()
1707 u8 hdr_type; in pci_hdr_type() local
1711 return dev->physfn->sriov->hdr_type; in pci_hdr_type()
1713 pci_read_config_byte(dev, PCI_HEADER_TYPE, &hdr_type); in pci_hdr_type()
1714 return hdr_type; in pci_hdr_type()
1791 u8 hdr_type; in pci_setup_device() local
1796 hdr_type = pci_hdr_type(dev); in pci_setup_device()
1801 dev->hdr_type = hdr_type & 0x7f; in pci_setup_device()
1802 dev->multifunction = !!(hdr_type & 0x80); in pci_setup_device()
[all …]
Dsetup-bus.c1211 int hdr_type, i, ret; in __pci_bus_size_bridges() local
1218 switch (dev->hdr_type) { in __pci_bus_size_bridges()
1238 hdr_type = -1; /* Intentionally invalid - not a PCI device. */ in __pci_bus_size_bridges()
1241 hdr_type = bus->self->hdr_type; in __pci_bus_size_bridges()
1244 switch (hdr_type) { in __pci_bus_size_bridges()
1397 switch (dev->hdr_type) { in __pci_bus_assign_resources()
Dpci.c442 unsigned int devfn, u8 hdr_type) in __pci_bus_find_cap_start() argument
450 switch (hdr_type) { in __pci_bus_find_cap_start()
484 pos = __pci_bus_find_cap_start(dev->bus, dev->devfn, dev->hdr_type); in pci_find_capability()
508 u8 hdr_type; in pci_bus_find_capability() local
510 pci_bus_read_config_byte(bus, devfn, PCI_HEADER_TYPE, &hdr_type); in pci_bus_find_capability()
512 pos = __pci_bus_find_cap_start(bus, devfn, hdr_type & 0x7f); in pci_bus_find_capability()
687 pos = __pci_bus_find_cap_start(dev->bus, dev->devfn, dev->hdr_type); in pci_find_ht_capability()
1611 if (pdev->hdr_type == PCI_HEADER_TYPE_NORMAL) { in pci_restore_config_space()
1616 } else if (pdev->hdr_type == PCI_HEADER_TYPE_BRIDGE) { in pci_restore_config_space()
3255 if (dev->hdr_type == PCI_HEADER_TYPE_BRIDGE) in pci_ea_init()
[all …]
Dproc.c43 else if (dev->hdr_type == PCI_HEADER_TYPE_CARDBUS) in proc_bus_pci_read()
/Linux-v5.10/arch/powerpc/sysdev/
Dfsl_pci.c47 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.10/drivers/pci/controller/
Dpcie-iproc.c779 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()
1570 if (pdev->hdr_type == PCI_HEADER_TYPE_BRIDGE) in quirk_paxc_disable_msi_parsing()
1587 if (pdev->hdr_type == PCI_HEADER_TYPE_BRIDGE) in quirk_paxc_bridge()
/Linux-v5.10/arch/sparc/kernel/
Dpci.c336 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.10/drivers/xen/xen-pciback/
Dconf_space_header.c409 switch (dev->hdr_type) { in xen_pcibk_config_header_add_fields()
421 dev->hdr_type); in xen_pcibk_config_header_add_fields()
Dpciback_ops.c35 if (dev->hdr_type != PCI_HEADER_TYPE_NORMAL) in xen_pcibk_control_isr()
116 if (dev->hdr_type == PCI_HEADER_TYPE_NORMAL) { in xen_pcibk_reset_device()
/Linux-v5.10/drivers/pci/controller/dwc/
Dpcie-designware-ep.c641 u8 hdr_type; in dw_pcie_ep_init_complete() local
645 hdr_type = dw_pcie_readb_dbi(pci, PCI_HEADER_TYPE) & in dw_pcie_ep_init_complete()
647 if (hdr_type != PCI_HEADER_TYPE_NORMAL) { in dw_pcie_ep_init_complete()
650 hdr_type); in dw_pcie_ep_init_complete()
/Linux-v5.10/drivers/pci/pcie/
Derr.c66 if (dev->hdr_type != PCI_HEADER_TYPE_BRIDGE) { in report_error_detected()
/Linux-v5.10/drivers/infiniband/hw/mthca/
Dmthca_reset.c75 if (bridge->hdr_type == PCI_HEADER_TYPE_BRIDGE && in mthca_reset()
/Linux-v5.10/arch/powerpc/platforms/85xx/
Dmpc85xx_cds.c171 dev->hdr_type = 0x7f; in skip_fake_bridge()

123