/linux/drivers/infiniband/hw/ocrdma/ |
A 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/arch/powerpc/kernel/ |
A 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/drivers/infiniband/hw/hfi1/ |
A D | verbs_txreq.h | 55 tx->phdr.hdr.hdr_type = priv->hdr_type; in get_txreq()
|
A 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,
|
A 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()
|
A D | verbs.h | 96 u8 hdr_type; /* 9B or 16B */ member 132 u8 hdr_type; /* 9B or 16B */ member
|
A D | verbs.c | 730 if (tx->phdr.hdr.hdr_type) { in build_verbs_tx_desc() 812 if (ps->s_txreq->phdr.hdr.hdr_type) { in hfi1_verbs_send_dma() 829 if (ps->s_txreq->phdr.hdr.hdr_type) in hfi1_verbs_send_dma() 957 if (ps->s_txreq->phdr.hdr.hdr_type) { in hfi1_verbs_send_pio() 987 if (ps->s_txreq->phdr.hdr.hdr_type) in hfi1_verbs_send_pio() 1225 if (ps->s_txreq->phdr.hdr.hdr_type) { in hfi1_verbs_send()
|
A D | driver.c | 417 u8 hdr_type, sc, svc_type, opcode; in hfi1_process_ecn_slowpath() local 429 hdr_type = HFI1_PKT_TYPE_16B; in hfi1_process_ecn_slowpath() 441 hdr_type = HFI1_PKT_TYPE_9B; in hfi1_process_ecn_slowpath() 486 hfi1_handle_cnp_tbl[hdr_type](ibp, qp, rqpn, pkey, in hfi1_process_ecn_slowpath()
|
/linux/include/linux/avf/ |
A D | virtchnl.h | 737 #define VIRTCHNL_ADD_PROTO_HDR_FIELD_BIT(hdr, hdr_type, field) \ argument 739 VIRTCHNL_PROTO_HDR_ ## hdr_type ## _ ## field)) 740 #define VIRTCHNL_DEL_PROTO_HDR_FIELD_BIT(hdr, hdr_type, field) \ argument 742 VIRTCHNL_PROTO_HDR_ ## hdr_type ## _ ## field)) 744 #define VIRTCHNL_SET_PROTO_HDR_TYPE(hdr, hdr_type) \ argument 745 ((hdr)->type = VIRTCHNL_PROTO_HDR_ ## hdr_type)
|
/linux/drivers/pci/hotplug/ |
A 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() 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 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() 1419 u8 hdr_type; in unconfigure_boot_card() local 1454 debug("hdr_type %x, class %x\n", hdr_type, class); in unconfigure_boot_card() [all …]
|
A 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()
|
A D | cpcihp_generic.c | 140 if (!dev || dev->hdr_type != PCI_HEADER_TYPE_BRIDGE) { in cpcihp_generic_init()
|
/linux/drivers/pci/ |
A D | probe.c | 1203 if (dev->hdr_type != PCI_HEADER_TYPE_BRIDGE) in pci_ea_fixed_busnrs() 1761 u8 hdr_type; in pci_hdr_type() local 1765 return dev->physfn->sriov->hdr_type; in pci_hdr_type() 1768 return hdr_type; in pci_hdr_type() 1829 u8 hdr_type; in pci_setup_device() local 1834 hdr_type = pci_hdr_type(dev); in pci_setup_device() 1839 dev->hdr_type = hdr_type & 0x7f; in pci_setup_device() 1840 dev->multifunction = !!(hdr_type & 0x80); in pci_setup_device() 1983 dev->hdr_type); in pci_setup_device() 1989 dev->class, dev->hdr_type); in pci_setup_device() [all …]
|
A 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()
|
A D | pci.c | 452 unsigned int devfn, u8 hdr_type) in __pci_bus_find_cap_start() argument 460 switch (hdr_type) { in __pci_bus_find_cap_start() 494 pos = __pci_bus_find_cap_start(dev->bus, dev->devfn, dev->hdr_type); in pci_find_capability() 517 u8 hdr_type, pos; in pci_bus_find_capability() local 519 pci_bus_read_config_byte(bus, devfn, PCI_HEADER_TYPE, &hdr_type); in pci_bus_find_capability() 521 pos = __pci_bus_find_cap_start(bus, devfn, hdr_type & 0x7f); in pci_bus_find_capability() 1665 if (pdev->hdr_type == PCI_HEADER_TYPE_NORMAL) { in pci_restore_config_space() 1670 } else if (pdev->hdr_type == PCI_HEADER_TYPE_BRIDGE) { in pci_restore_config_space() 3358 if (dev->hdr_type == PCI_HEADER_TYPE_BRIDGE) in pci_ea_init() 6620 if (dev->hdr_type == PCI_HEADER_TYPE_NORMAL && in pci_reassigndev_resource_alignment() [all …]
|
/linux/drivers/net/ethernet/microsoft/mana/ |
A 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/arch/powerpc/sysdev/ |
A 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/drivers/pci/controller/ |
A D | pcie-iproc.c | 771 u32 hdr_type, link_ctrl, link_status, class, val; in iproc_pcie_check_link() local 788 iproc_pci_raw_config_read32(pcie, 0, PCI_HEADER_TYPE, 1, &hdr_type); in iproc_pcie_check_link() 789 if ((hdr_type & 0x7f) != PCI_HEADER_TYPE_BRIDGE) { in iproc_pcie_check_link() 790 dev_err(dev, "in EP mode, hdr=%#02x\n", hdr_type); in iproc_pcie_check_link() 1568 if (pdev->hdr_type == PCI_HEADER_TYPE_BRIDGE) in quirk_paxc_disable_msi_parsing() 1585 if (pdev->hdr_type == PCI_HEADER_TYPE_BRIDGE) in quirk_paxc_bridge()
|
/linux/arch/sparc/kernel/ |
A 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/drivers/xen/xen-pciback/ |
A 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()
|
A 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/drivers/pci/controller/dwc/ |
A D | pcie-designware-ep.c | 644 u8 hdr_type; in dw_pcie_ep_init_complete() local 648 hdr_type = dw_pcie_readb_dbi(pci, PCI_HEADER_TYPE) & in dw_pcie_ep_init_complete() 650 if (hdr_type != PCI_HEADER_TYPE_NORMAL) { in dw_pcie_ep_init_complete() 653 hdr_type); in dw_pcie_ep_init_complete()
|
/linux/drivers/infiniband/hw/mthca/ |
A D | mthca_reset.c | 75 if (bridge->hdr_type == PCI_HEADER_TYPE_BRIDGE && in mthca_reset()
|
/linux/drivers/pci/pcie/ |
A D | err.c | 68 if (dev->hdr_type != PCI_HEADER_TYPE_BRIDGE) { in report_error_detected()
|
/linux/arch/powerpc/platforms/85xx/ |
A D | mpc85xx_cds.c | 171 dev->hdr_type = 0x7f; in skip_fake_bridge()
|