Home
last modified time | relevance | path

Searched +full:dim +full:- +full:mode (Results 1 – 25 of 55) sorted by relevance

123

/freebsd/sys/dev/mlx5/mlx5_en/
H A Dmlx5_en_dim.c1 /*-
36 void *cqc = param->cqc; in mlx5e_dim_build_cq_param()
38 if (priv->params.rx_cq_moderation_mode < 2) in mlx5e_dim_build_cq_param()
63 struct net_dim *dim = container_of(work, struct net_dim, work); in mlx5e_dim_work() local
64 struct mlx5e_rq *rq = container_of(dim, struct mlx5e_rq, dim); in mlx5e_dim_work()
68 u8 mode; in mlx5e_dim_work() local
71 mtx_lock(&rq->mtx); in mlx5e_dim_work()
72 profile_ix = dim->profile_ix; in mlx5e_dim_work()
73 mode = dim->mode; in mlx5e_dim_work()
74 dim->state = NET_DIM_START_MEASURE; in mlx5e_dim_work()
[all …]
H A Dmlx5_en_main.c1 /*-
2 * Copyright (c) 2015-2021 Mellanox Technologies. All rights reserved.
370 struct mlx5_core_dev *mdev = priv->mdev; in mlx5e_update_carrier()
385 priv->media_status_last |= IFM_ACTIVE; in mlx5e_update_carrier()
387 priv->media_status_last &= ~IFM_ACTIVE; in mlx5e_update_carrier()
388 priv->media_active_last = IFM_ETHER; in mlx5e_update_carrier()
389 if_link_state_change(priv->ifp, LINK_STATE_DOWN); in mlx5e_update_carrier()
396 priv->media_active_last = IFM_ETHER; in mlx5e_update_carrier()
397 if_setbaudrate(priv->ifp, 1); in mlx5e_update_carrier()
398 mlx5_en_err(priv->ifp, "query port ptys failed: 0x%x\n", in mlx5e_update_carrier()
[all …]
H A Dmlx5_en_rx.c1 /*-
2 * Copyright (c) 2015-2021 Mellanox Technologies. All rights reserved.
45 if (rq->mbuf[ix].mbuf != NULL) in mlx5e_alloc_rx_wqe()
48 mb_head = mb = m_getjcl(M_NOWAIT, MT_DATA, M_PKTHDR, rq->wqe_sz); in mlx5e_alloc_rx_wqe()
50 return (-ENOMEM); in mlx5e_alloc_rx_wqe()
52 mb->m_len = rq->wqe_sz; in mlx5e_alloc_rx_wqe()
53 mb->m_pkthdr.len = rq->wqe_sz; in mlx5e_alloc_rx_wqe()
55 for (i = 1; i < rq->nsegs; i++) { in mlx5e_alloc_rx_wqe()
56 mb = mb->m_next = m_getjcl(M_NOWAIT, MT_DATA, 0, rq->wqe_sz); in mlx5e_alloc_rx_wqe()
59 return (-ENOMEM); in mlx5e_alloc_rx_wqe()
[all …]
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dnet_dim.h1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause OR GPL-2.0
5 * Copyright (c) 2017-2018, Broadcom Limited. All rights reserved.
17 * - Redistributions of source code must retain the above
21 * - Redistributions in binary form must reproduce the above
36 /* This file implements Dynamic Interrupt Moderation, DIM */
72 u8 mode; member
166 net_dim_on_top(struct net_dim *dim) in net_dim_on_top() argument
168 switch (dim->tune_state) { in net_dim_on_top()
173 return (dim->steps_left > 1) && (dim->steps_right == 1); in net_dim_on_top()
[all …]
/freebsd/contrib/llvm-project/openmp/runtime/src/include/
H A Dompx.h.var1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
62 // generation of host fallback in kernel language mode.
65 /// ompx_{thread,block}_{id,dim}
68 static inline int ompx_##NAME(int Dim) { return VALUE; }
71 omp_get_ancestor_thread_num(Dim + 1))
72 _TGT_KERNEL_LANGUAGE_HOST_IMPL_GRID_C(block_dim, omp_get_team_size(Dim + 1))
125 /// ompx_{thread,block}_{id,dim}_{x,y,z}
128 int ompx_##NAME(int Dim); \
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIInstrFormats.td1 //===-- SIInstrFormats.td - SI Instruction Encodings ----------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
16 // Low bits - basic encoding information.
58 // High bits - other information.
114 // Must be 0 for non-FLAT instructions.
117 // Reads the mode register, usually for FP environment.
121 // rounding mode flags
134 // Must be 0 for non-FLAT instructions.
[all …]
H A DAMDGPUSubtarget.cpp1 //===-- AMDGPUSubtarget.cpp - AMDGPU Subtarget Information ----------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
12 //===----------------------------------------------------------------------===//
37 #define DEBUG_TYPE "amdgpu-subtarget"
46 "amdgpu-enable-power-sched",
51 "amdgpu-vgpr-index-mode",
52 cl::desc("Use GPR indexing mode instead of movrel for vector indexing"),
55 static cl::opt<bool> UseAA("amdgpu-use-aa-in-codegen",
59 static cl::opt<unsigned> NSAThreshold("amdgpu-nsa-threshold",
[all …]
H A DAMDGPUInstCombineIntrinsic.cpp1 //===- AMDGPInstCombineIntrinsic.cpp - AMDGPU specific InstCombine pass ---===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
15 //===----------------------------------------------------------------------===//
62 // Check if a value can be converted to a 16-bit value without losing
68 if (VTy->isHalfTy() || VTy->isIntegerTy(16)) { in canSafelyConvertTo16Bit()
69 // The value is already 16-bit, so we don't want to convert to 16-bit again! in canSafelyConvertTo16Bit()
76 APFloat FloatValue(ConstFloat->getValueAPF()); in canSafelyConvertTo16Bit()
86 APInt IntValue(ConstInt->getValue()); in canSafelyConvertTo16Bit()
95 Type *CastSrcTy = CastSrc->getType(); in canSafelyConvertTo16Bit()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DIntrinsicsAMDGPU.td1 //===- IntrinsicsAMDGPU.td - Defines AMDGPU intrinsics -----*- tablegen -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // This file defines all of the R600-specific intrinsics.
11 //===----------------------------------------------------------------------===//
15 // The amdgpu-no-* attributes (ex amdgpu-no-workitem-id-z) typically inferred
16 // by the backend cause whole-program undefined behavior when violated, such as
18 // values. In non-entry-point functions, attempting to call a function that needs
20 // of the calling convention and also program-level UB. Outside of such IR-level UB,
21 // these preloaded registers are always set to a well-defined value and are thus `noundef`.
[all …]
/freebsd/sys/contrib/device-tree/Bindings/leds/backlight/
H A Darcxcnn_bl.txt4 - compatible: should be "arc,arc2c0608"
5 - reg: slave address
8 - default-brightness: brightness value on boot, value from: 0-4095
9 - label: The name of the backlight device
11 - led-sources: List of enabled channels from 0 to 5.
14 - arc,led-config-0: setting for register ILED_CONFIG_0
15 - arc,led-config-1: setting for register ILED_CONFIG_1
16 - arc,dim-freq: PWM mode frequence setting (bits [3:0] used)
17 - arc,comp-config: setting for register CONFIG_COMP
18 - arc,filter-config: setting for register FILTER_CONFIG
[all …]
/freebsd/contrib/ncurses/misc/
H A Dterminfo.src7 # bug-ncurses@gnu.org
19 # under the ncurses MIT-style license. That was the effect of the agreement
33 # some portions of the data are derivative work under a compatible MIT-style
36 #------------------------------------------------------------------------------
37 # https://invisible-island.net/ncurses/ncurses.faq.html#terminfo_copying
38 # https://invisible-island.net/personal/copyrights.html#removing_notes
39 #------------------------------------------------------------------------------
48 # Please e-mail changes to terminfo@thyrsus.com; the old termcap@berkeley.edu
54 # This file describes the capabilities of various character-cell terminals,
55 # as needed by software such as screen-oriented editors.
[all …]
H A Demx.src3 # Copyright 1998-2003,2006 Free Software Foundation, Inc. #
33 #----------------------------------------------------------------------------
43 # terminal are the lowest common denominator - they look about like a ti 700.
46 dumb|80-column dumb tty,
81 #### ANSI.SYS/ISO 6429/ECMA-48 Capabilities
83 # See the end-of-file comment for more on these.
88 # ROM graphics for control characters such as the diamond, up- and down-arrow.
91 # from the ANSI.SYS de-facto standard.
93 …acsc=+\020\,\021-\030.^Y0\333`\004a\261f\370g\361h\260j\331k\277l\332m\300n\305o~p\304q\304r\304s_…
99 # about \E[11m as klone+acs. True ANSI/ECMA-48 would have <rmso=\E[27m>,
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVBuiltins.cpp1 //===- SPIRVBuiltins.cpp - SPIR-V Built-in Functions ------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
12 //===----------------------------------------------------------------------===//
24 #define DEBUG_TYPE "spirv-builtins"
167 //===----------------------------------------------------------------------===//
170 //===----------------------------------------------------------------------===//
186 // Account for possible "__spirv_ocl_" prefix in SPIR-V friendly LLVM IR in lookupBuiltinNameHelper()
191 // brackets. If so, the builtin is an instantiated template - needs to have in lookupBuiltinNameHelper()
230 BuiltinArgs.split(BuiltinArgumentTypes, ',', -1, false); in lookupBuiltin()
[all …]
H A DSPIRVInstrInfo.td1 //===-- SPIRVInstrInfo.td - Target Description for SPIR-V Target ----------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // This file describes the SPIR-V instructions in TableGen format.
11 //===----------------------------------------------------------------------===//
111 // - SPV_KHR_expect_assume : Expect assume instructions
158 // 3.42.5 Mode-Setting Instructions
165 def OpExecutionMode: Op<16, (outs), (ins ID:$entry, ExecutionMode:$mode, variable_ops),
166 "OpExecutionMode $entry $mode">;
168 def OpExecutionModeId: Op<331, (outs), (ins ID:$entry, ExecutionMode:$mode, variable_ops),
[all …]
/freebsd/usr.bin/ul/
H A Dul.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
52 #define SUPERSC 002 /* Dim */
53 #define SUBSC 004 /* Dim | Ul */
66 int c_width; /* width or -1 if multi-column char. filler */
73 static int mode; variable
106 while ((c = getopt(argc, argv, "it:T:")) != -1) in main()
126 /* No such terminal type - assume dumb */ in main()
153 fprintf(stderr, "usage: ul [-i] [-t terminal] [file ...]\n"); in usage()
186 col--; in filter()
[all …]
/freebsd/contrib/libpcap/msdos/
H A Dpktdrvr.c8 * Description..: Packet-driver interface for 16/32-bit C :
24 #include "pcap-dos.h"
25 #include "pcap-int.h"
34 #define DIM(x) (sizeof((x)) / sizeof(x[0])) macro
79 /* Data located in a real-mode segment. This becomes far at runtime
106 #define LAST_RX_BUF offsetof (PktRealStub,_pktRxBuf [NUM_RX_BUF-1])
112 extern BYTE pktRxEnd; /* marks the end of r-mode code/data */
119 #define LAST_RX_BUF (WORD) &pktRxBuf [NUM_RX_BUF-1]
149 LOCAL WORD realSeg; /* DOS para-address of allocated area */
181 #else /* real-mode Borland etc. */
[all …]
/freebsd/contrib/ncurses/progs/
H A Dinfocmp.c2 * Copyright 2020-2022,2023 Thomas E. Dickey *
3 * Copyright 1998-2016,2017 Free Software Foundation, Inc. *
31 * Author: Zeyd M. Ben-Halim <zmbenhal@netcom.com> 1992,1995 *
33 * and: Thomas E. Dickey 1996-on *
37 * infocmp.c -- decompile an entry, or compare two entries
64 static bool limited = TRUE; /* "-r" option is not set */
78 /* main comparison mode */
80 #define C_DEFAULT 0 /* don't force comparison mode */
84 #define C_USEALL 4 /* generate relative use-form entry */
133 while (--limit > 0) { in canonical_name()
[all …]
/freebsd/contrib/libpcap/
H A Dpcap-airpcap.c2 * Copyright (c) 1999 - 2005 NetGroup, Politecnico di Torino (Italy)
3 * Copyright (c) 2005 - 2010 CACE Technologies, Davis (California)
36 #include "pcap-int.h"
40 #include "pcap-airpcap.h"
118 * that the application called pcap_init() - which is in load_airpcap_functions()
119 * supposed to be called only from one thread - so in load_airpcap_functions()
154 * done - we won't try it ourselves; in load_airpcap_functions()
229 * Now set the status appropriately - and atomically. in load_airpcap_functions()
251 struct pcap_airpcap *pa = p->priv; in airpcap_setfilter()
253 if (!p_AirpcapSetFilter(pa->adapter, fp->bf_insns, in airpcap_setfilter()
[all …]
H A Dpcap-tc.c35 #include <pcap-int.h>
37 #include "pcap-tc.h"
129 static int TcSetBuff(pcap_t *p, int dim);
130 static int TcSetMode(pcap_t *p, int mode);
420 pcapint_add_dev(devlist, dev->name, dev->flags, dev->description, errbuf); in TcFindAllDevs()
453 newIf->name = (char*)malloc(strlen(name) + 1); in TcCreatePcapIfFromPort()
454 if (newIf->name == NULL) in TcCreatePcapIfFromPort()
460 newIf->description = (char*)malloc(strlen(description) + 1); in TcCreatePcapIfFromPort()
461 if (newIf->description == NULL) in TcCreatePcapIfFromPort()
463 free(newIf->name); in TcCreatePcapIfFromPort()
[all …]
H A Dsavefile.c21 * savefile.c - supports offline use of tcpdump
33 #include <pcap-types.h>
46 #include "pcap-int.h"
49 #include "os-proto.h"
52 #include "sf-pcap.h"
53 #include "sf-pcapng.h"
54 #include "pcap-common.h"
67 * a HANDLE (which is OS-defined, not CRT-defined, and is part of the Win32
91 * it's in non-blocking mode. in sf_getnonblock()
101 * requests to put it in non-blocking mode. (If it's a in sf_setnonblock()
[all …]
H A Dpcap.c39 #include <pcap-types.h>
67 #include "diag-control.h"
69 #include "thread-local.h"
72 #include "os-proto.h"
76 #include "pcap-dos.h"
79 #include "pcap-int.h"
84 #include "pcap-dag.h"
88 #include "pcap-septel.h"
92 #include "pcap-snf.h"
96 #include "pcap-tc.h"
[all …]
H A Dpcap-npf.c2 * Copyright (c) 1999 - 2005 NetGroup, Politecnico di Torino (Italy)
3 * Copyright (c) 2005 - 2010 CACE Technologies, Davis (California)
40 #include <pcap-int.h>
44 * XXX - Packet32.h defines bpf_program, so we can't include
54 /* Old-school MinGW have these headers in a different place.
60 #include <ntddndis.h> /* MSVC/TDM-MinGW/MinGW64 */
68 #include "diag-control.h"
70 #include "pcap-airpcap.h"
92 int rfmon_selfstart; /* a flag tells whether the monitor mode is set by itself */
106 * Define stub versions of the monitor-mode support routines if this
[all …]
/freebsd/contrib/ncurses/man/
H A Dterminfo.tail2 .\" Copyright 2018-2023,2024 Thomas E. Dickey *
3 .\" Copyright 1998-2016,2017 Free Software Foundation, Inc. *
32 .SS "User-Defined Capabilities"
41 \fI\%ncurses\fP addresses this limitation by allowing user-defined
44 the \fB\-x\fP option for this purpose.
45 When \fB\-x\fP is set,
46 \fB@TIC@\fP treats unknown capabilities as user-defined.
56 User-defined capability strings whose name begins
70 user-defined capabilities intended for use by termcap applications should
77 The \fI\%ncurses\fP library uses a few of these user-defined
[all …]
/freebsd/usr.sbin/moused/moused/
H A Dmoused.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 1997-2000 Kazutaka YOKOTA <yokota@FreeBSD.org>
5 * Copyright (c) 2004-2008 Philip Paeps <philip@FreeBSD.org>
6 * Copyright (c) 2008 Jean-Sebastien Pedron <dumbbell@FreeBSD.org>
90 /* Abort 3-button emulation delay after this many movement events. */
93 #define MOUSE_XAXIS (-1)
94 #define MOUSE_YAXIS (-2)
232 u_int taphold_timeout; /* Maximum elapsed time between two taps to consider a tap-hold action */
237 int softbutton2_x; /* Horizontal offset of 2-nd softbutton left edge */
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp1 //===- AMDGPUAsmParser.cpp - Parse SI asm to MCInst instructions ----------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
55 //===----------------------------------------------------------------------===//
57 //===----------------------------------------------------------------------===//
464 // TODO: Find out how SALU supports extension of 32-bit literals to 64 bits. in isSSrc_b64()
1066 // clang-format off in printImmTy()
1098 case ImmTyDim: OS << "Dim"; break; in printImmTy()
1130 // clang-format on in printImmTy()
1159 Op->Imm.Val = Val; in CreateImm()
[all …]

123