Home
last modified time | relevance | path

Searched +full:msi +full:- +full:base +full:- +full:vec (Results 1 – 25 of 25) sorted by relevance

/freebsd-src/sys/contrib/device-tree/Bindings/interrupt-controller/
H A Dloongson,pch-msi.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/interrupt-controller/loongson,pch-msi.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Loongson PCH MSI Controller
10 - Jiaxun Yang <jiaxun.yang@flygoat.com>
14 transforming interrupts from PCIe MSI into HyperTransport vectorized
19 const: loongson,pch-msi-1.0
24 loongson,msi-base-vec:
26 u32 value of the base of parent HyperTransport vector allocated
[all …]
/freebsd-src/sys/contrib/device-tree/src/mips/loongson/
H A Dloongson64c_4core_ls7a.dts1 // SPDX-License-Identifier: GPL-2.0
3 /dts-v1/;
5 #include "loongson64c-package.dtsi"
6 #include "ls7a-pch.dtsi"
9 compatible = "loongson,loongson64c-4core-ls7a";
13 htvec: interrupt-controller@efdfb000080 {
14 compatible = "loongson,htvec-1.0";
16 interrupt-controller;
17 #interrupt-cells = <1>;
19 interrupt-parent = <&liointc>;
[all …]
H A Dloongson64g_4core_ls7a.dts1 // SPDX-License-Identifier: GPL-2.0
3 /dts-v1/;
5 #include "loongson64g-package.dtsi"
6 #include "ls7a-pch.dtsi"
9 compatible = "loongson,loongson64g-4core-ls7a";
13 htvec: interrupt-controller@efdfb000080 {
14 compatible = "loongson,htvec-1.
32 msi: msi-controller@2ff00000 { global() label
[all...]
H A Dls7a-pch.dtsi1 // SPDX-License-Identifier: GPL-2.0
5 compatible = "simple-bus";
6 #address-cells = <2>;
7 #size-cells = <2>;
13 pic: interrupt-controller@10000000 {
14 compatible = "loongson,pch-pic-1.0";
16 interrupt-controller;
17 interrupt-parent = <&htvec>;
18 loongson,pic-base-vec = <0>;
19 #interrupt-cells = <2>;
[all …]
/freebsd-src/sys/contrib/device-tree/src/loongarch/
H A Dloongson-2k2000.dtsi1 // SPDX-License-Identifier: GPL-2.0
6 /dts-v1/;
8 #include <dt-bindings/interrupt-controller/irq.h>
9 #include <dt-bindings/clock/loongson,ls2k-clk.h>
12 #address-cells = <2>;
13 #size-cell
109 msi: msi-controller@1fe01140 { global() label
[all...]
/freebsd-src/sys/dev/ntb/ntb_hw/
H A Dntb_hw_amd.c1 /*-
46 * The Non-Transparent Bridge (NTB) is a device that allows you to connect
47 * two or more systems using a PCI-e links, providing remote memory access.
89 .desc = "AMD Non-Transparent Bridge"},
99 .desc = "AMD Non-Transparent Bridge"},
109 .desc = "Hygon Non-Transparent Bridge"},
115 PCI_DESCR("AMD Non-Transparent Bridge") },
118 PCI_DESCR("AMD Non-Transparent Bridge") },
121 PCI_DESCR("Hygon Non-Transparent Bridge") }
126 &g_amd_ntb_hw_debug_level, 0, "amd_ntb_hw log level -- higher is verbose");
[all …]
H A Dntb_hw_intel.c1 /*-
2 * Copyright (c) 2016-2017 Alexander Motin <mav@FreeBSD.org>
30 * The Non-Transparent Bridge (NTB) is a device that allows you to connect
31 * two or more systems using a PCI-e links, providing remote memory access.
73 #define BAR_HIGH_MASK (~((1ull << 12) - 1))
128 (((ntb)->features & (feature)) != 0)
253 #define DB_MASK_LOCK(sc) mtx_lock_spin(&(sc)->db_mask_lock)
254 #define DB_MASK_UNLOCK(sc) mtx_unlock_spin(&(sc)->db_mask_lock)
255 #define DB_MASK_ASSERT(sc,f) mtx_assert(&(sc)->db_mask_lock, (f))
296 bus_space_read_ ## SIZE (ntb->bar_info[(bar)].pci_bus_tag, \
[all …]
/freebsd-src/sys/x86/xen/
H A Dhvm.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
55 #include <xen/xen-os.h>
63 #include <contrib/xen/arch-x86/cpuid.h>
67 /*---
322 struct xen_hvm_evtchn_upcall_vector vec; set_percpu_callback() local
[all...]
/freebsd-src/sys/dev/ixl/
H A Dixl_iw.c3 Copyright (c) 2013-2018, Intel Corporation
41 #define IXL_IW_VEC_BASE(pf) ((pf)->msix - (pf)->iw_msix)
42 #define IXL_IW_VEC_COUNT(pf) ((pf)->iw_msix)
43 #define IXL_IW_VEC_LIMIT(pf) ((pf)->msix)
53 struct i40e_hw *hw = &pf->hw; in ixl_iw_pf_msix_reset()
55 int vec; in ixl_iw_pf_msix_reset() local
57 for (vec = IXL_IW_VEC_BASE(pf); vec < IXL_IW_VEC_LIMIT(pf); vec++) { in ixl_iw_pf_msix_reset()
59 wr32(hw, I40E_PFINT_LNKLSTN(vec - 1), reg); in ixl_iw_pf_msix_reset()
76 if ((pf_entry->state.iw_scheduled == IXL_IW_PF_STATE_ON) && in ixl_iw_invoke_op()
77 (pf_entry->state.iw_current == IXL_IW_PF_STATE_OFF)) in ixl_iw_invoke_op()
[all …]
/freebsd-src/usr.sbin/bhyve/
H A Dvirtio.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
58 * front of virtio-based device softc" constraint, let's use
76 vs->vs_vc = vc; in vi_softc_linkup()
77 vs->vs_pi = pi; in vi_softc_linkup()
78 pi->pi_arg = vs; in vi_softc_linkup()
80 vs->vs_queue in vi_softc_linkup()
182 char *base; vi_vq_init() local
[all...]
H A Dpci_e82545.c2 * SPDX-License-Identifier: BSD-2-Clause
110 * NVM Commands - Microwire */
115 #define E82545_NVM_ADDR_MASK ((1 << E82545_NVM_ADDR_BITS)-1)
117 (((1 << E82545_NVM_OPCODE_BITS) - 1) << E82545_NVM_ADDR_BITS)
121 #define E82545_NVM_OPCODE_EWEN (0x4 << E82545_NVM_ADDR_BITS) /* wr-enable */
123 #define E82545_NVM_EEPROM_SIZE 64 /* 64 * 16-bit values == 128K */
228 uint16_t ck_len; /* length of cksum calc: 0 is to packet-end */
284 uint32_t esc_TIPG; /* x0410 inter-packet gap */
286 uint64_t esc_tdba; /* verified 64-bit desc table addr */
288 uint32_t esc_TDBAH; /* x3804 desc table addr, hi 32-bits */
[all …]
/freebsd-src/sys/dev/pci/
H A Dpci.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
88 (((cfg)->hdrtype == PCIM_HDRTYPE_NORMAL && reg == PCIR_BIOS) || \
89 ((cfg)->hdrtype == PCIM_HDRTYPE_BRIDGE && reg == PCIR_BIOS_1))
237 #define PCI_QUIRK_DISABLE_MSI 2 /* Neither MSI nor MSI-
786 uint64_t base, max_offset; pci_ea_fill_info() local
2049 struct msix_vector *vec; pci_remap_msix_method() local
2340 struct pcicfg_msi *msi = &dinfo->cfg.msi; pci_enable_msi_method() local
2367 struct pcicfg_msi *msi = &dinfo->cfg.msi; pci_disable_msi_method() local
2387 struct pcicfg_msi *msi = &dinfo->cfg.msi; pci_resume_msi() local
2701 struct pcicfg_msi *msi = &dinfo->cfg.msi; pci_release_msi_method() local
2755 struct pcicfg_msi *msi = &dinfo->cfg.msi; pci_msi_count_method() local
3126 pci_write_bar(device_t dev,struct pci_map * pm,pci_addr_t base) pci_write_bar() argument
3256 pci_addr_t base, map, testval; pci_add_map() local
[all...]
/freebsd-src/sys/contrib/dev/iwlwifi/pcie/
H A Dinternal.h1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
3 * Copyright (C) 2003-2015, 2018-2024 Intel Corporation
4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH
5 * Copyright (C) 2016-2017 Intel Deutschland GmbH
18 #include "iwl-f
711 int vec = trans_p->shared_vec_mask & queue_name() local
[all...]
H A Dtrans.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
3 * Copyright (C) 2007-2015, 2018-2024 Intel Corporation
4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH
5 * Copyright (C) 2016-2017 Intel Deutschland GmbH
22 #include "iwl-dr
3229 u32 base, base_high, write_ptr, write_ptr_val, wrap_cnt; iwl_trans_pcie_dump_pointers() local
3285 u32 base = le32_to_cpu(fw_mon_data->fw_mon_base_ptr); iwl_trans_pcie_dump_monitor() local
3328 u32 base, end, cfg_reg, monitor_len; iwl_trans_get_fw_monitor_len() local
[all...]
/freebsd-src/sys/amd64/vmm/io/
H A Dvlapic.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
62 #define x2apic(vlapic) (((vlapic)->msr_apicbase & APICBASE_X2APIC) ? 1 : 0)
65 * The 'vlapic->timer_mtx' is used to provide mutual exclusion between the
67 * - timer_freq_bt, timer_period_bt, timer_fire_bt
68 * - timer LVT register
70 #define VLAPIC_TIMER_LOCK(vlapic) mtx_lock_spin(&((vlapic)->timer_mt
442 uint32_t mode, reg, vec; vlapic_fire_lvt() local
1038 uint32_t dest, vec, mode, shorthand; vlapic_icrlo_write_handler() local
1166 uint8_t vec = vme->u.ipi.vector; vm_handle_ipi() local
1218 int vec; vlapic_self_ipi_handler() local
1679 vlapic_deliver_intr(struct vm * vm,bool level,uint32_t dest,bool phys,int delmode,int vec) vlapic_deliver_intr() argument
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp1 //===- InstCombineCalls.cpp ---------
1520 } else if (auto *MSI = dyn_cast<AnyMemSetInst>(MI)) { visitCallInst() local
3015 Value *Vec = II->getArgOperand(0); visitCallInst() local
3061 Value *Vec = II->getArgOperand(0); visitCallInst() local
3118 Value *Vec = II->getArgOperand(0); visitCallInst() local
[all...]
/freebsd-src/sys/dev/bnxt/bnxt_re/
H A Dmain.c2 * Copyright (c) 2015-2024, Broadcom. All rights reserved. The term
35 #include <linux/dma-mapping.h>
53 #include "bnxt_re-abi.h"
57 "Broadcom NetXtreme-C/E RoCE Driver " ROCE_DRV_MODULE_NAME \
63 MODULE_DESCRIPTION("Broadcom NetXtreme-C/E RoCE Driver");
83 MODULE_PARM_DESC(enable_fc, "Enable default PFC, CC,ETS during driver load. 1 - fc enable, 0 - fc disable - Default is 1");
87 MODULE_PARM_DESC(min_tx_depth, "Minimum TX depth - Default is 1");
92 MODULE_PARM_DESC(max_msix_vec, "Max MSI
1278 int indx, rc, vec; bnxt_re_start_irq() local
3128 u16 vec; bnxt_re_setup_nqs() local
3537 int vec, offset; bnxt_re_dev_init() local
[all...]
/freebsd-src/sys/dev/cxgbe/common/
H A Dt4_hw.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
49 * t4_wait_op_done_val - wait until an operation is completed
52 * @mask: a single-bit field within @reg that indicates completion
61 * operation completes and -EAGAIN otherwise.
74 if (--attempts == 0) in t4_wait_op_done_val()
75 return -EAGAIN; in t4_wait_op_done_val()
89 * t4_set_reg_field - set a register field to a value
108 * t4_read_indirect - read indirectly addressed registers
123 while (nregs--) { in t4_read_indirect()
[all …]
/freebsd-src/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp1 //===--- SemaExpr.cpp - Semantic Analysis for Expressions ------
600 const Expr *Base = OIRE->getBase(); DiagnoseDirectIsaAccess() local
3527 VALUE(type,base) BuildDeclarationNameExpr() argument
3528 DECL(type,base) BuildDeclarationNameExpr() argument
4633 TYPE(Class,Base) captureVariablyModifiedType() argument
4634 ABSTRACT_TYPE(Class,Base) captureVariablyModifiedType() argument
4635 NON_CANONICAL_TYPE(Class,Base) captureVariablyModifiedType() argument
4636 DEPENDENT_TYPE(Class,Base) captureVariablyModifiedType() argument
4637 NON_CANONICAL_UNLESS_DEPENDENT_TYPE(Class,Base) captureVariablyModifiedType() argument
5022 isMSPropertySubscriptExpr(Sema & S,Expr * Base) isMSPropertySubscriptExpr() argument
5061 ActOnArraySubscriptExpr(Scope * S,Expr * base,SourceLocation lbLoc,MultiExprArg ArgExprs,SourceLocation rbLoc) ActOnArraySubscriptExpr() argument
5228 CreateBuiltinMatrixSubscriptExpr(Expr * Base,Expr * RowIdx,Expr * ColumnIdx,SourceLocation RBLoc) CreateBuiltinMatrixSubscriptExpr() argument
5325 const Expr *Base = E->getBase(); CheckSubscriptAccessOfNoDeref() local
5342 ActOnOMPArraySectionExpr(Expr * Base,SourceLocation LBLoc,Expr * LowerBound,SourceLocation ColonLocFirst,SourceLocation ColonLocSecond,Expr * Length,Expr * Stride,SourceLocation RBLoc) ActOnOMPArraySectionExpr() argument
5528 ActOnOMPArrayShapingExpr(Expr * Base,SourceLocation LParenLoc,SourceLocation RParenLoc,ArrayRef<Expr * > Dims,ArrayRef<SourceRange> Brackets) ActOnOMPArrayShapingExpr() argument
5895 CreateBuiltinArraySubscriptExpr(Expr * Base,SourceLocation LLoc,Expr * Idx,SourceLocation RLoc) CreateBuiltinArraySubscriptExpr() argument
8381 auto *Vec = srcTy->getAs<VectorType>(); isLaxVectorConversion() local
8386 auto *Vec = destTy->getAs<VectorType>(); isLaxVectorConversion() local
14137 ObjCMessageExpr *Base = dyn_cast<ObjCMessageExpr>( IsReadonlyMessage() local
14933 Expr* Base = cast<ArraySubscriptExpr>(E)->getBase(); getPrimaryDecl() local
18439 using Base = TreeTransform<ComplexRemove>; RemoveNestedImmediateInvocation() typedef
19017 if (auto *MSI = Func->getMemberSpecializationInfo()) MarkFunctionReferenced() local
20163 ExprResult Base = Rebuild(OldBase); rebuildPotentialResultsAsNonOdrUsed() local
20178 ExprResult Base = Rebuild(ME->getBase()); rebuildPotentialResultsAsNonOdrUsed() local
20476 auto *MSI = Var->getMemberSpecializationInfo(); DoMarkVarDeclReferenced() local
20741 MarkDeclRefReferenced(DeclRefExpr * E,const Expr * Base) MarkDeclRefReferenced() argument
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp1 //===- llvm/CodeGen/GlobalISel/IRTranslator.cpp - IRTranslator ---*- C++ -*-==//
5 // SPDX-License-Identifie
623 Value *Vec; translateBr() local
1373 Register Base = getOrCreateVReg(*LI.getPointerOperand()); translateLoad() local
1423 Register Base = getOrCreateVReg(*SI.getPointerOperand()); translateStore() local
1734 auto *MSI = cast<MemSetInst>(&CI); translateMemFunc() local
[all...]
/freebsd-src/sys/x86/x86/
H A Dlocal_apic.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
15 * 3. Neither the name of the author nor the names of any co-contributors
98 * I/O interrupts use non-negative IRQ values. These values are used
99 * to mark unused IDT entries or IDT entries reserved for a non-I/O
102 #define IRQ_FREE -1
103 #define IRQ_TIMER -
1743 dump_mask(const char * prefix,uint32_t v,int base) dump_mask() argument
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp1 //===- SelectionDAGBuilder.cpp - Selection-DAG building -------
2641 Value *Vec; visitBr() local
4614 getUniformBase(const Value * Ptr,SDValue & Base,SDValue & Index,ISD::MemIndexType & IndexType,SDValue & Scale,SelectionDAGBuilder * SDB,const BasicBlock * CurBB,uint64_t ElemSize) getUniformBase() argument
4685 SDValue Base; visitMaskedScatter() local
4793 SDValue Base; visitMaskedGather() local
6178 const auto &MSI = cast<MemSetInst>(I); visitIntrinsicCall() local
7428 auto *Base = dyn_cast<GlobalObject>(GetPointerBaseWithConstantOffset( visitIntrinsicCall() local
7672 SDValue Vec = getValue(I.getOperand(0)); visitIntrinsicCall() local
7688 SDValue Vec = getValue(I.getOperand(0)); visitIntrinsicCall() local
7908 SDValue Base, Index, Scale; visitVPGather() local
7971 SDValue Base, Index, Scale; visitVPScatter() local
[all...]
/freebsd-src/sys/contrib/device-tree/src/arm64/qcom/
H A Dsm8150.dtsi1 // SPDX-License-Identifier: BSD-3-Clause
3 * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved.
7 #include <dt-bindings/dma/qcom-gpi.h>
8 #include <dt-bindings/firmware/qcom,scm.h>
9 #include <dt-bindings/interrupt-controlle
[all...]
/freebsd-src/contrib/llvm-project/clang/lib/AST/
H A DASTImporter.cpp1 //===- ASTImporter.cpp - Importing ASTs from other Contexts --------
371 TYPE(Class,Base) global() argument
4512 } else if (MemberSpecializationInfo *MSI = D->getMemberSpecializationInfo()) { VisitVarDecl() local
10232 APValue::LValueBase Base; ImportAPValue() local
[all...]
/freebsd-src/share/misc/
H A Dusb_vendors6 # http://www.linux-usb.org/usb-ids.html
7 # or send entries as patches (diff -u old new) in the
10 # http://www.linux-usb.org/usb.ids
13 # Date: 2024-12-04 20:34:02
20 # device device_name <-- single tab
21 # interface interface_name <-- tw
[all...]