Home
last modified time | relevance | path

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

123

/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/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 …("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 …]
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()
H A Dcpcihp_generic.c140 if (!dev || dev->hdr_type != PCI_HEADER_TYPE_BRIDGE) { in cpcihp_generic_init()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/hfi1/
H A Dverbs_txreq.h97 tx->phdr.hdr.hdr_type = priv->hdr_type; in get_txreq()
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()
H A Dverbs.h138 u8 hdr_type; /* 9B or 16B */ member
174 u8 hdr_type; /* 9B or 16B */ member
H A 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()
/OK3568_Linux_fs/u-boot/drivers/pci/
H A Dpci.c477 u8 hdr_type; in pci_hose_find_capability() local
479 pci_hose_read_config_byte(hose, dev, PCI_HEADER_TYPE, &hdr_type); in pci_hose_find_capability()
481 pos = pci_hose_find_cap_start(hose, dev, hdr_type & 0x7F); in pci_hose_find_capability()
491 u8 hdr_type) in pci_hose_find_cap_start() argument
500 switch (hdr_type) { in pci_hose_find_cap_start()
/OK3568_Linux_fs/kernel/drivers/pci/
H A 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 …]
H A 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()
H A Dpci.c449 unsigned int devfn, u8 hdr_type) in __pci_bus_find_cap_start() argument
457 switch (hdr_type) { in __pci_bus_find_cap_start()
491 pos = __pci_bus_find_cap_start(dev->bus, dev->devfn, dev->hdr_type); in pci_find_capability()
515 u8 hdr_type; in pci_bus_find_capability() local
517 pci_bus_read_config_byte(bus, devfn, PCI_HEADER_TYPE, &hdr_type); in pci_bus_find_capability()
519 pos = __pci_bus_find_cap_start(bus, devfn, hdr_type & 0x7f); in pci_bus_find_capability()
694 pos = __pci_bus_find_cap_start(dev->bus, dev->devfn, dev->hdr_type); in pci_find_ht_capability()
1618 if (pdev->hdr_type == PCI_HEADER_TYPE_NORMAL) { in pci_restore_config_space()
1623 } else if (pdev->hdr_type == PCI_HEADER_TYPE_BRIDGE) { in pci_restore_config_space()
3281 if (dev->hdr_type == PCI_HEADER_TYPE_BRIDGE) in pci_ea_init()
[all …]
/OK3568_Linux_fs/kernel/arch/powerpc/sysdev/
H A 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
577 early_read_config_byte(hose, 0, 0, PCI_HEADER_TYPE, &hdr_type); in fsl_add_bridge()
578 if ((hdr_type & 0x7f) != PCI_HEADER_TYPE_BRIDGE) in fsl_add_bridge()
/OK3568_Linux_fs/kernel/drivers/pci/controller/
H A Dpcie-iproc.c788 u32 hdr_type, link_ctrl, link_status, class, val; in iproc_pcie_check_link() local
805 iproc_pci_raw_config_read32(pcie, 0, PCI_HEADER_TYPE, 1, &hdr_type); in iproc_pcie_check_link()
806 if ((hdr_type & 0x7f) != PCI_HEADER_TYPE_BRIDGE) { in iproc_pcie_check_link()
807 dev_err(dev, "in EP mode, hdr=%#02x\n", hdr_type); in iproc_pcie_check_link()
1579 if (pdev->hdr_type == PCI_HEADER_TYPE_BRIDGE) in quirk_paxc_disable_msi_parsing()
1596 if (pdev->hdr_type == PCI_HEADER_TYPE_BRIDGE) in quirk_paxc_bridge()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/drivers/pci/controller/dwc/
H A Dpcie-designware-ep.c645 u8 hdr_type; in dw_pcie_ep_init_complete() local
649 hdr_type = dw_pcie_readb_dbi(pci, PCI_HEADER_TYPE) & in dw_pcie_ep_init_complete()
651 if (hdr_type != PCI_HEADER_TYPE_NORMAL) { in dw_pcie_ep_init_complete()
654 hdr_type); in dw_pcie_ep_init_complete()
/OK3568_Linux_fs/kernel/drivers/xen/xen-pciback/
H A 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()
H A 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()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/mthca/
H A Dmthca_reset.c75 if (bridge->hdr_type == PCI_HEADER_TYPE_BRIDGE && in mthca_reset()
/OK3568_Linux_fs/kernel/drivers/pci/pcie/
H A Derr.c66 if (dev->hdr_type != PCI_HEADER_TYPE_BRIDGE) { in report_error_detected()
/OK3568_Linux_fs/kernel/arch/powerpc/platforms/85xx/
H A Dmpc85xx_cds.c171 dev->hdr_type = 0x7f; in skip_fake_bridge()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/phy/bb/
H A Dhalbb_rua_tbl.c1458 u32 halbb_set_rua_sta_rate_ss(struct bb_info *bb, u8 hdr_type, u8 ent, u8 mcs, u8 ss) in halbb_set_rua_sta_rate_ss() argument
1467 BB_DBG(bb, DBG_RUA_TBL, "hdr_type: %d, ent: %d, mcs: %d ,ss: %d\n", hdr_type, ent, mcs, ss); in halbb_set_rua_sta_rate_ss()
1473 dl_ru_fix_t.ax4ru.tbl_hdr.type = hdr_type; in halbb_set_rua_sta_rate_ss()
1484 u32 halbb_set_rua_grp_pwr(struct bb_info *bb, u8 hdr_type, u8 ent, u8 grp_pwr) in halbb_set_rua_grp_pwr() argument
1491 BB_DBG(bb, DBG_RUA_TBL, "hdr_type: %d, ent: %d, grp_pwr: %d\n", hdr_type, ent, grp_pwr); in halbb_set_rua_grp_pwr()
1497 dl_ru_gp_t.tbl_hdr.type = hdr_type; in halbb_set_rua_grp_pwr()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/phy/bb/
H A Dhalbb_rua_tbl.c1458 u32 halbb_set_rua_sta_rate_ss(struct bb_info *bb, u8 hdr_type, u8 ent, u8 mcs, u8 ss) in halbb_set_rua_sta_rate_ss() argument
1467 BB_DBG(bb, DBG_RUA_TBL, "hdr_type: %d, ent: %d, mcs: %d ,ss: %d\n", hdr_type, ent, mcs, ss); in halbb_set_rua_sta_rate_ss()
1473 dl_ru_fix_t.ax4ru.tbl_hdr.type = hdr_type; in halbb_set_rua_sta_rate_ss()
1484 u32 halbb_set_rua_grp_pwr(struct bb_info *bb, u8 hdr_type, u8 ent, u8 grp_pwr) in halbb_set_rua_grp_pwr() argument
1491 BB_DBG(bb, DBG_RUA_TBL, "hdr_type: %d, ent: %d, grp_pwr: %d\n", hdr_type, ent, grp_pwr); in halbb_set_rua_grp_pwr()
1497 dl_ru_gp_t.tbl_hdr.type = hdr_type; in halbb_set_rua_grp_pwr()

123