Home
last modified time | relevance | path

Searched refs:hdr_type (Results 1 - 25 of 121) sorted by relevance

12345

/kernel/linux/linux-5.10/drivers/infiniband/hw/ocrdma/
H A 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()
/kernel/linux/linux-6.6/drivers/infiniband/hw/ocrdma/
H A 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()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
H A Dpedit.c21 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()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
H A 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()
/kernel/linux/linux-6.6/arch/powerpc/kernel/
H A 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()
/kernel/linux/common_modules/newip/src/common/
H A Dnip_hdr_encap.c200 int get_nip_hdr_len(enum NIP_HDR_TYPE hdr_type, in get_nip_hdr_len() argument
206 enum NIP_HDR_TYPE base_len = hdr_type == NIP_HDR_UDP ? in get_nip_hdr_len()
210 if (hdr_type >= NIP_HDR_TYPE_MAX) in get_nip_hdr_len()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
H A Dverbs_txreq.h97 tx->phdr.hdr.hdr_type = priv->hdr_type;
H A 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,
H A 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()
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/
H A Dverbs_txreq.h55 tx->phdr.hdr.hdr_type = priv->hdr_type;
H A Dtrace_ibhdrs.h281 __field(u8, hdr_type)
315 __entry->hdr_type = opah->hdr_type;
318 if (__entry->hdr_type) {
389 !!__entry->hdr_type,
406 !!__entry->hdr_type,
H A Dud.c162 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()
/kernel/linux/linux-6.6/include/linux/avf/
H A Dvirtchnl.h1104 * @param hdr_type: ETH/IPV4/TCP, etc
1115 #define VIRTCHNL_ADD_PROTO_HDR_FIELD_BIT(hdr, hdr_type, field) \
1117 VIRTCHNL_PROTO_HDR_ ## hdr_type ## _ ## field))
1118 #define VIRTCHNL_DEL_PROTO_HDR_FIELD_BIT(hdr, hdr_type, field) \
1120 VIRTCHNL_PROTO_HDR_ ## hdr_type ## _ ## field))
1122 #define VIRTCHNL_SET_PROTO_HDR_TYPE(hdr, hdr_type) \
1123 ((hdr)->type = VIRTCHNL_PROTO_HDR_ ## hdr_type)
/kernel/linux/linux-5.10/drivers/pci/hotplug/
H A 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 debug("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 behin in scan_behind_bridge()
1420 u8 hdr_type; unconfigure_boot_card() local
[all...]
H A 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()
/kernel/linux/linux-6.6/drivers/pci/hotplug/
H A 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 debug("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 behin in scan_behind_bridge()
1419 u8 hdr_type; unconfigure_boot_card() local
[all...]
/kernel/linux/linux-5.10/drivers/pci/
H A Dprobe.c1175 if (dev->hdr_type != PCI_HEADER_TYPE_BRIDGE) in pci_ea_fixed_busnrs()
1223 int is_cardbus = (dev->hdr_type == PCI_HEADER_TYPE_CARDBUS); in pci_scan_bridge_extend()
1713 u8 hdr_type; in pci_hdr_type() local
1717 return dev->physfn->sriov->hdr_type; in pci_hdr_type()
1719 pci_read_config_byte(dev, PCI_HEADER_TYPE, &hdr_type); in pci_hdr_type()
1720 return hdr_type; in pci_hdr_type()
1797 u8 hdr_type; in pci_setup_device() local
1802 hdr_type = pci_hdr_type(dev); in pci_setup_device()
1807 dev->hdr_type = hdr_type in pci_setup_device()
[all...]
/kernel/linux/linux-6.6/drivers/pci/
H A Dprobe.c1210 if (dev->hdr_type != PCI_HEADER_TYPE_BRIDGE) in pci_ea_fixed_busnrs()
1258 int is_cardbus = (dev->hdr_type == PCI_HEADER_TYPE_CARDBUS); in pci_scan_bridge_extend()
1766 u8 hdr_type; in pci_hdr_type() local
1770 return dev->physfn->sriov->hdr_type; in pci_hdr_type()
1772 pci_read_config_byte(dev, PCI_HEADER_TYPE, &hdr_type); in pci_hdr_type()
1773 return hdr_type; in pci_hdr_type()
1834 u8 hdr_type; in pci_setup_device() local
1839 hdr_type = pci_hdr_type(dev); in pci_setup_device()
1844 dev->hdr_type = hdr_type in pci_setup_device()
[all...]
/kernel/linux/linux-6.6/arch/x86/include/asm/
H A Dcpu.h94 int intel_microcode_sanity_check(void *mc, bool print_err, int hdr_type);
/kernel/linux/linux-5.10/arch/sparc/kernel/
H A 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()
/kernel/linux/linux-6.6/arch/sparc/kernel/
H A Dpci.c337 dev->hdr_type = PCI_HEADER_TYPE_BRIDGE; in of_create_pci_dev()
340 dev->hdr_type = PCI_HEADER_TYPE_CARDBUS; in of_create_pci_dev()
342 dev->hdr_type = PCI_HEADER_TYPE_NORMAL; in of_create_pci_dev()
351 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()
/kernel/linux/linux-6.6/drivers/pci/controller/
H A Dvmd.c520 u8 dev, functions, fn, hdr_type; in vmd_domain_reset() local
528 hdr_type = readb(base + PCI_HEADER_TYPE); in vmd_domain_reset()
530 functions = (hdr_type & 0x80) ? 8 : 1; in vmd_domain_reset()
535 hdr_type = readb(base + PCI_HEADER_TYPE) & in vmd_domain_reset()
538 if (hdr_type != PCI_HEADER_TYPE_BRIDGE || in vmd_domain_reset()
/kernel/linux/linux-6.6/include/net/mana/
H A Dgdma.h113 u32 hdr_type; member
162 hdr->req.hdr_type = GDMA_STANDARD_HEADER_TYPE; in mana_gd_init_req_hdr()
167 hdr->resp.hdr_type = GDMA_STANDARD_HEADER_TYPE; in mana_gd_init_req_hdr()
/kernel/linux/linux-5.10/drivers/xen/xen-pciback/
H A Dconf_space_header.c394 switch (dev->hdr_type) { in xen_pcibk_config_header_add_fields()
406 dev->hdr_type); in xen_pcibk_config_header_add_fields()
/kernel/linux/linux-6.6/drivers/xen/xen-pciback/
H A Dconf_space_header.c398 switch (dev->hdr_type) { in xen_pcibk_config_header_add_fields()
410 dev->hdr_type); in xen_pcibk_config_header_add_fields()

Completed in 29 milliseconds

12345