Home
last modified time | relevance | path

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

/freebsd/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/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.0";
16 interrupt-controller;
17 #interrupt-cells = <1>;
19 interrupt-parent = <&liointc>;
[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-controlle
[all...]
/freebsd/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-cells = <2>;
16 #address-cells = <1>;
17 #size-cells = <0>;
34 ref_100m: clock-ref-100m {
35 compatible = "fixed-clock";
[all …]
/freebsd/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/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 /*--------------------------- Forward Declarations ---------------------------*/
70 /*-------------------------------- Global Data -------------------------------*/
81 * If non-zero, the hypervisor has been configured to use a direct
92 /*------------------------------- Per-CPU Data -------------------------------*/
95 /*------------------------------ Sysctl tunables -----------------------------*/
101 /*---------------------- XEN Hypervisor Probe and Setup ----------------------*/
[all …]
/freebsd/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/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_queues = queues; in vi_softc_linkup()
81 for (i = 0; i < vc->vc_nvq; i++) { in vi_softc_linkup()
88 * Reset device (device-wide). This erases all queues, i.e.,
94 * If MSI-X is enabled, this also resets all the vectors to NO_VECTOR.
[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/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/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-X work */
238 #define PCI_QUIRK_ENABLE_MSI_VM 3 /* Older chipset in VM where MSI works */
240 #define PCI_QUIRK_DISABLE_MSIX 5 /* MSI-X doesn't work */
241 #define PCI_QUIRK_MSI_INTX_BUG 6 /* PCIM_CMD_INTxDIS disables MSI */
255 * MSI doesn't work with the ServerWorks CNB20-HE Host Bridge
256 * or the CMIC-SL (AKA ServerWorks GC_LE).
[all …]
/freebsd/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_mtx))
71 #define VLAPIC_TIMER_UNLOCK(vlapic) mtx_unlock_spin(&((vlapic)->timer_mtx))
72 #define VLAPIC_TIMER_LOCKED(vlapic) mtx_owned(&((vlapic)->timer_mtx))
76 * - arbitrary but chosen to be in the ballpark of contemporary hardware.
[all …]
/freebsd/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 …(enable_fc, "Enable default PFC, CC,ETS during driver load. 1 - fc enable, 0 - fc disable - Defaul…
87 MODULE_PARM_DESC(min_tx_depth, "Minimum TX depth - Default is 1");
92 MODULE_PARM_DESC(max_msix_vec, "Max MSI-x vectors per PF (2 - 64) - Default is 64");
96 MODULE_PARM_DESC(cmdq_shadow_qd, "Perf Stat Debug: Shadow QD Range (1-64) - Default is 64");
135 ibdev->dma_device = &rdev->en_dev->pdev->dev; in bnxt_re_set_dma_device()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp1 //===- InstCombineCalls.cpp -----------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
87 "instcombine-guard-widening-window",
96 if (ITy->getBitWidth() < 32) in getPromotedType()
97 return Type::getInt32Ty(Ty->getContext()); in getPromotedType()
106 auto *Src = MI->getRawSource(); in hasUndefSource()
108 if (!Src->hasOneUse()) in hasUndefSource()
110 Src = cast<Instruction>(Src)->getOperand(0); in hasUndefSource()
[all …]
/freebsd/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/contrib/llvm-project/clang/lib/Sema/
H A DSemaExpr.cpp1 //===--- SemaExpr.cpp - Semantic Analysis for Expressions -----------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
73 // See if this is an auto-typed variable whose initializer we are parsing. in CanUseDecl()
79 if (FD->isDeleted()) in CanUseDecl()
84 if (getLangOpts().CPlusPlus14 && FD->getReturnType()->isUndeducedType() && in CanUseDecl()
96 if (TreatUnavailableAsInvalid && D->getAvailability() == AR_Unavailable && in CanUseDecl()
97 cast<Decl>(CurContext)->getAvailability() != AR_Unavailable) in CanUseDecl()
108 if (const auto *A = D->getAttr<UnusedAttr>()) { in DiagnoseUnusedOfDecl()
[all …]
/freebsd/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 -2
104 #define IRQ_SYSCALL -3
105 #define IRQ_DTRACE_RET -4
106 #define IRQ_EVTCHN -5
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp1 //===- llvm/CodeGen/GlobalISel/IRTranslator.cpp - IRTranslator ---*- C++ -*-==//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
10 //===----------------------------------------------------------------------===//
101 EnableCSEInIRTranslator("enable-cse-in-irtranslator",
106 INITIALIZE_PASS_BEGIN(IRTranslator, DEBUG_TYPE, "IRTranslator LLVM IR -> MI",
113 INITIALIZE_PASS_END(IRTranslator, DEBUG_TYPE, "IRTranslator LLVM IR -> MI", in INITIALIZE_PASS_DEPENDENCY()
165 assert((CurrInst->getDebugLoc() == MI.getDebugLoc() || in createdInstr()
166 (MI.getParent()->isEntryBlock() && !MI.getDebugLoc()) || in createdInstr()
194 return *VRegsIt->second; in allocateVRegs()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp1 //===- SelectionDAGBuilder.cpp - Selection-DAG building -------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
119 /// LimitFloatPrecision - Generate low-precision inline sequences for
124 InsertAssertAlign("insert-assert-align", cl::init(true),
129 LimitFPPrecision("limit-float-precision",
130 cl::desc("Generate low-precision inline sequences "
136 "switch-peel-threshold", cl::Hidden, cl::init(66),
142 // DAG-based analysis from blowing up. For example, alias analysis and
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DASTImporter.cpp1 //===- ASTImporter.cpp - Importing ASTs from other Contexts ---------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
12 //===----------------------------------------------------------------------===//
112 for (auto *R : D->getFirstDecl()->redecls()) { in getCanonicalForwardRedeclChain()
113 if (R != D->getFirstDecl()) in getCanonicalForwardRedeclChain()
116 Redecls.push_back(D->getFirstDecl()); in getCanonicalForwardRedeclChain()
134 if (From->isUsed(false) && !To->isUsed(false)) in updateFlags()
135 To->setIsUsed(); in updateFlags()
142 /// It is nullptr if a non-DeclContext is imported.
[all …]
/freebsd/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 <-- two tabs
38 5301 GW-US54ZGL 802.11bg
54 145f NW-3100 802.11b/g 54Mbps Wireless Network Adapter [zd1211]
62 0200 TP-Link
81 120e ASI120MC-S Planetary Camera
[all …]