/linux-6.1.9/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() 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()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ |
D | pedit.c | 21 set_pedit_val(u8 hdr_type, u32 mask, u32 val, u32 offset, in set_pedit_val() argument 27 curr_pmask = (u32 *)(pedit_header(&hdrs->masks, hdr_type) + offset); in set_pedit_val() 28 curr_pval = (u32 *)(pedit_header(&hdrs->vals, hdr_type) + offset); in set_pedit_val()
|
/linux-6.1.9/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-6.1.9/drivers/infiniband/hw/hfi1/ |
D | verbs_txreq.h | 55 tx->phdr.hdr.hdr_type = priv->hdr_type; in get_txreq()
|
D | trace_ibhdrs.h | 281 __field(u8, hdr_type) 315 __entry->hdr_type = opah->hdr_type; 318 if (__entry->hdr_type) { 389 !!__entry->hdr_type, 406 !!__entry->hdr_type,
|
D | ud.c | 162 if (priv->hdr_type == HFI1_PKT_TYPE_16B) { in ud_loopback() 327 ps->s_txreq->phdr.hdr.hdr_type = HFI1_PKT_TYPE_9B; in hfi1_make_ud_req_9B() 421 ps->s_txreq->phdr.hdr.hdr_type = HFI1_PKT_TYPE_16B; in hfi1_make_ud_req_16B() 478 priv->hdr_type = hfi1_get_hdr_type(ppd->lid, ah_attr); in hfi1_make_ud_req() 520 hfi1_make_ud_req_tbl[priv->hdr_type](qp, ps, qp->s_wqe); in hfi1_make_ud_req() 606 hdr.hdr_type = HFI1_PKT_TYPE_16B; in return_cnp_16B() 667 hdr.hdr_type = HFI1_PKT_TYPE_9B; in return_cnp()
|
D | verbs.h | 96 u8 hdr_type; /* 9B or 16B */ member 132 u8 hdr_type; /* 9B or 16B */ member
|
/linux-6.1.9/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() 1050 u8 hdr_type; in scan_behind_bridge() local 1086 pci_bus_read_config_byte(ibmphp_pci_bus, devfn, PCI_HEADER_TYPE, &hdr_type); in scan_behind_bridge() 1089 debug("hdr_type behind the bridge is %x\n", hdr_type); in scan_behind_bridge() 1090 if ((hdr_type & 0x7f) == PCI_HEADER_TYPE_BRIDGE) { in scan_behind_bridge() [all …]
|
D | rpadlpar_core.c | 190 if (dev->hdr_type != PCI_HEADER_TYPE_BRIDGE) { in dlpar_add_pci_slot() 192 __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-6.1.9/include/linux/avf/ |
D | virtchnl.h | 1090 #define VIRTCHNL_ADD_PROTO_HDR_FIELD_BIT(hdr, hdr_type, field) \ argument 1092 VIRTCHNL_PROTO_HDR_ ## hdr_type ## _ ## field)) 1093 #define VIRTCHNL_DEL_PROTO_HDR_FIELD_BIT(hdr, hdr_type, field) \ argument 1095 VIRTCHNL_PROTO_HDR_ ## hdr_type ## _ ## field)) 1097 #define VIRTCHNL_SET_PROTO_HDR_TYPE(hdr, hdr_type) \ argument 1098 ((hdr)->type = VIRTCHNL_PROTO_HDR_ ## hdr_type)
|
/linux-6.1.9/drivers/pci/ |
D | probe.c | 1203 if (dev->hdr_type != PCI_HEADER_TYPE_BRIDGE) in pci_ea_fixed_busnrs() 1251 int is_cardbus = (dev->hdr_type == PCI_HEADER_TYPE_CARDBUS); in pci_scan_bridge_extend() 1754 u8 hdr_type; in pci_hdr_type() local 1758 return dev->physfn->sriov->hdr_type; in pci_hdr_type() 1760 pci_read_config_byte(dev, PCI_HEADER_TYPE, &hdr_type); in pci_hdr_type() 1761 return hdr_type; in pci_hdr_type() 1822 u8 hdr_type; in pci_setup_device() local 1827 hdr_type = pci_hdr_type(dev); in pci_setup_device() 1832 dev->hdr_type = hdr_type & 0x7f; in pci_setup_device() 1833 dev->multifunction = !!(hdr_type & 0x80); in pci_setup_device() [all …]
|
D | setup-bus.c | 1211 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()
|
D | pci.c | 456 unsigned int devfn, u8 hdr_type) in __pci_bus_find_cap_start() argument 464 switch (hdr_type) { in __pci_bus_find_cap_start() 498 pos = __pci_bus_find_cap_start(dev->bus, dev->devfn, dev->hdr_type); in pci_find_capability() 521 u8 hdr_type, pos; in pci_bus_find_capability() local 523 pci_bus_read_config_byte(bus, devfn, PCI_HEADER_TYPE, &hdr_type); in pci_bus_find_capability() 525 pos = __pci_bus_find_cap_start(bus, devfn, hdr_type & 0x7f); in pci_bus_find_capability() 701 pos = __pci_bus_find_cap_start(dev->bus, dev->devfn, dev->hdr_type); in pci_find_ht_capability() 1714 if (pdev->hdr_type == PCI_HEADER_TYPE_NORMAL) { in pci_restore_config_space() 1719 } else if (pdev->hdr_type == PCI_HEADER_TYPE_BRIDGE) { in pci_restore_config_space() 3388 if (dev->hdr_type == PCI_HEADER_TYPE_BRIDGE) in pci_ea_init() [all …]
|
/linux-6.1.9/drivers/net/ethernet/microsoft/mana/ |
D | gdma.h | 100 u32 hdr_type; member 148 hdr->req.hdr_type = GDMA_STANDARD_HEADER_TYPE; in mana_gd_init_req_hdr() 153 hdr->resp.hdr_type = GDMA_STANDARD_HEADER_TYPE; in mana_gd_init_req_hdr()
|
/linux-6.1.9/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() 579 pci_info(dev, "dev header type: %x\n", dev->hdr_type); in pci_of_scan_bus()
|
/linux-6.1.9/drivers/pci/controller/ |
D | pcie-iproc.c | 769 u32 hdr_type, link_ctrl, link_status, class, val; in iproc_pcie_check_link() local 786 iproc_pci_raw_config_read32(pcie, 0, PCI_HEADER_TYPE, 1, &hdr_type); in iproc_pcie_check_link() 787 if ((hdr_type & 0x7f) != PCI_HEADER_TYPE_BRIDGE) { in iproc_pcie_check_link() 788 dev_err(dev, "in EP mode, hdr=%#02x\n", hdr_type); in iproc_pcie_check_link() 1565 if (pdev->hdr_type == PCI_HEADER_TYPE_BRIDGE) in quirk_paxc_disable_msi_parsing() 1582 if (pdev->hdr_type == PCI_HEADER_TYPE_BRIDGE) in quirk_paxc_bridge()
|
D | vmd.c | 505 u8 dev, functions, fn, hdr_type; in vmd_domain_reset() local 513 hdr_type = readb(base + PCI_HEADER_TYPE) & in vmd_domain_reset() 516 functions = (hdr_type & 0x80) ? 8 : 1; in vmd_domain_reset() 521 hdr_type = readb(base + PCI_HEADER_TYPE) & in vmd_domain_reset() 524 if (hdr_type != PCI_HEADER_TYPE_BRIDGE || in vmd_domain_reset()
|
/linux-6.1.9/arch/powerpc/sysdev/ |
D | fsl_pci.c | 49 u8 hdr_type; in quirk_fsl_pcie_early() local 56 pci_read_config_byte(dev, PCI_HEADER_TYPE, &hdr_type); in quirk_fsl_pcie_early() 57 if ((hdr_type & 0x7f) != PCI_HEADER_TYPE_BRIDGE) in quirk_fsl_pcie_early() 528 u8 hdr_type, progif; in fsl_add_bridge() local 583 early_read_config_byte(hose, 0, 0, PCI_HEADER_TYPE, &hdr_type); in fsl_add_bridge() 584 if ((hdr_type & 0x7f) != PCI_HEADER_TYPE_BRIDGE) in fsl_add_bridge()
|
/linux-6.1.9/drivers/xen/xen-pciback/ |
D | conf_space_header.c | 413 switch (dev->hdr_type) { in xen_pcibk_config_header_add_fields() 425 dev->hdr_type); in xen_pcibk_config_header_add_fields()
|
D | pciback_ops.c | 35 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-6.1.9/drivers/pci/controller/dwc/ |
D | pcie-designware-ep.c | 648 u8 hdr_type; in dw_pcie_ep_init_complete() local 652 hdr_type = dw_pcie_readb_dbi(pci, PCI_HEADER_TYPE) & in dw_pcie_ep_init_complete() 654 if (hdr_type != PCI_HEADER_TYPE_NORMAL) { in dw_pcie_ep_init_complete() 657 hdr_type); in dw_pcie_ep_init_complete()
|
/linux-6.1.9/drivers/infiniband/hw/mthca/ |
D | mthca_reset.c | 75 if (bridge->hdr_type == PCI_HEADER_TYPE_BRIDGE && in mthca_reset()
|
/linux-6.1.9/drivers/pci/pcie/ |
D | err.c | 72 if (dev->hdr_type != PCI_HEADER_TYPE_BRIDGE) { in report_error_detected()
|
/linux-6.1.9/arch/powerpc/platforms/85xx/ |
D | mpc85xx_cds.c | 173 dev->hdr_type = 0x7f; in skip_fake_bridge()
|