| /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()
|
| /drivers/net/ethernet/intel/ice/ |
| A D | ice_flow.c | 2120 enum ice_rss_cfg_hdr_type hdr_type) in ice_rss_match_prof() argument 2122 return (r->hash.hdr_type == hdr_type && in ice_rss_match_prof() 2138 enum ice_rss_cfg_hdr_type hdr_type; in ice_rem_rss_list() local 2145 hdr_type = ice_get_rss_hdr_type(prof); in ice_rem_rss_list() 2168 enum ice_rss_cfg_hdr_type hdr_type; in ice_add_rss_list() local 2171 hdr_type = ice_get_rss_hdr_type(prof); in ice_add_rss_list() 2185 rss_cfg->hash.hdr_type = hdr_type; in ice_add_rss_list() 2459 if (cfg->hdr_type < ICE_RSS_ANY_HEADERS) { in ice_add_rss_cfg() 2462 local_cfg.hdr_type = ICE_RSS_OUTER_HEADERS; in ice_add_rss_cfg() 2555 if (cfg->hdr_type < ICE_RSS_ANY_HEADERS) { in ice_rem_rss_cfg() [all …]
|
| A D | ice_flow.h | 306 enum ice_rss_cfg_hdr_type hdr_type; /* to specify inner or outer */ member
|
| /drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/ |
| A 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()
|
| /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 & PCI_HEADER_TYPE_MASK) == 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 | 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()
|
| A D | cpcihp_generic.c | 140 if (!dev || dev->hdr_type != PCI_HEADER_TYPE_BRIDGE) { in cpcihp_generic_init()
|
| /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 | 411 u8 hdr_type, sc, svc_type, opcode; in hfi1_process_ecn_slowpath() local 423 hdr_type = HFI1_PKT_TYPE_16B; in hfi1_process_ecn_slowpath() 435 hdr_type = HFI1_PKT_TYPE_9B; in hfi1_process_ecn_slowpath() 480 hfi1_handle_cnp_tbl[hdr_type](ibp, qp, rqpn, pkey, in hfi1_process_ecn_slowpath()
|
| /drivers/pci/ |
| A D | probe.c | 1296 if (dev->hdr_type != PCI_HEADER_TYPE_BRIDGE) in pci_ea_fixed_busnrs() 1873 u8 hdr_type; in pci_hdr_type() local 1877 return dev->physfn->sriov->hdr_type; in pci_hdr_type() 1880 return hdr_type; in pci_hdr_type() 1952 switch (dev->hdr_type) { in pci_type_str() 1978 u8 hdr_type; in pci_setup_device() local 1983 hdr_type = pci_hdr_type(dev); in pci_setup_device() 1988 dev->hdr_type = hdr_type & 0x7f; in pci_setup_device() 1989 dev->multifunction = !!(hdr_type & 0x80); in pci_setup_device() 2138 dev->hdr_type); in pci_setup_device() [all …]
|
| A D | setup-bus.c | 1401 int hdr_type, ret; in __pci_bus_size_bridges() local 1408 switch (dev->hdr_type) { in __pci_bus_size_bridges() 1428 hdr_type = -1; /* Intentionally invalid - not a PCI device. */ in __pci_bus_size_bridges() 1431 hdr_type = bus->self->hdr_type; in __pci_bus_size_bridges() 1434 switch (hdr_type) { in __pci_bus_size_bridges() 1585 switch (dev->hdr_type) { in __pci_bus_assign_resources()
|
| A D | pci.c | 466 unsigned int devfn, u8 hdr_type) in __pci_bus_find_cap_start() argument 474 switch (hdr_type) { in __pci_bus_find_cap_start() 508 pos = __pci_bus_find_cap_start(dev->bus, dev->devfn, dev->hdr_type); in pci_find_capability() 531 u8 hdr_type, pos; in pci_bus_find_capability() local 533 pci_bus_read_config_byte(bus, devfn, PCI_HEADER_TYPE, &hdr_type); in pci_bus_find_capability() 901 if (dev->hdr_type == PCI_HEADER_TYPE_CARDBUS && in pci_resource_name() 1857 if (pdev->hdr_type == PCI_HEADER_TYPE_NORMAL) { in pci_restore_config_space() 1862 } else if (pdev->hdr_type == PCI_HEADER_TYPE_BRIDGE) { in pci_restore_config_space() 3468 if (dev->hdr_type == PCI_HEADER_TYPE_BRIDGE) in pci_ea_init() 6616 if (dev->hdr_type == PCI_HEADER_TYPE_NORMAL && in pci_reassigndev_resource_alignment() [all …]
|
| A D | proc.c | 43 else if (dev->hdr_type == PCI_HEADER_TYPE_CARDBUS) in proc_bus_pci_read()
|
| /drivers/pci/controller/ |
| A D | pcie-iproc.c | 768 u32 hdr_type, link_ctrl, link_status, class, val; in iproc_pcie_check_link() local 785 iproc_pci_raw_config_read32(pcie, 0, PCI_HEADER_TYPE, 1, &hdr_type); in iproc_pcie_check_link() 786 if ((hdr_type & PCI_HEADER_TYPE_MASK) != PCI_HEADER_TYPE_BRIDGE) { in iproc_pcie_check_link() 787 dev_err(dev, "in EP mode, hdr=%#02x\n", hdr_type); in iproc_pcie_check_link() 1562 if (pdev->hdr_type == PCI_HEADER_TYPE_BRIDGE) in quirk_paxc_disable_msi_parsing() 1579 if (pdev->hdr_type == PCI_HEADER_TYPE_BRIDGE) in quirk_paxc_bridge()
|
| A D | vmd.c | 511 u8 dev, functions, fn, hdr_type; in vmd_domain_reset() local 519 hdr_type = readb(base + PCI_HEADER_TYPE); in vmd_domain_reset() 521 functions = (hdr_type & PCI_HEADER_TYPE_MFD) ? 8 : 1; in vmd_domain_reset() 526 hdr_type = readb(base + PCI_HEADER_TYPE) & in vmd_domain_reset() 529 if (hdr_type != PCI_HEADER_TYPE_BRIDGE || in vmd_domain_reset()
|
| /drivers/xen/xen-pciback/ |
| A D | conf_space_header.c | 398 switch (dev->hdr_type) { in xen_pcibk_config_header_add_fields() 410 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()
|
| /drivers/pci/controller/dwc/ |
| A D | pcie-designware-ep.c | 929 u8 hdr_type; in dw_pcie_ep_init_registers() local 934 hdr_type = dw_pcie_readb_dbi(pci, PCI_HEADER_TYPE) & in dw_pcie_ep_init_registers() 936 if (hdr_type != PCI_HEADER_TYPE_NORMAL) { in dw_pcie_ep_init_registers() 939 hdr_type); in dw_pcie_ep_init_registers()
|
| /drivers/infiniband/hw/mthca/ |
| A D | mthca_reset.c | 75 if (bridge->hdr_type == PCI_HEADER_TYPE_BRIDGE && in mthca_reset()
|
| /drivers/pci/pcie/ |
| A D | err.c | 73 if (dev->hdr_type != PCI_HEADER_TYPE_BRIDGE) { in report_error_detected()
|
| /drivers/net/ethernet/intel/idpf/ |
| A D | idpf_ethtool.c | 74 hdrs->proto_hdr[0].hdr_type = cpu_to_le32(VIRTCHNL2_PROTO_HDR_IPV4); in idpf_fsteer_fill_ipv4() 91 hdrs->proto_hdr[1].hdr_type = cpu_to_le32(VIRTCHNL2_PROTO_HDR_UDP); in idpf_fsteer_fill_udp() 115 hdrs->proto_hdr[1].hdr_type = cpu_to_le32(VIRTCHNL2_PROTO_HDR_TCP); in idpf_fsteer_fill_tcp()
|