Home
last modified time | relevance | path

Searched full:constant (Results 1 – 25 of 1432) sorted by relevance

12345678910>>...58

/linux-6.14.4/tools/perf/util/
Dbpf-filter.l57 static int constant(int val) in constant() function
128 na { return constant(PERF_MEM_OP_NA); }
129 load { return constant(PERF_MEM_OP_LOAD); }
130 store { return constant(PERF_MEM_OP_STORE); }
131 pfetch { return constant(PERF_MEM_OP_PFETCH); }
132 exec { return constant(PERF_MEM_OP_EXEC); }
134 l1 { return constant(PERF_MEM_LVLNUM_L1); }
135 l2 { return constant(PERF_MEM_LVLNUM_L2); }
136 l3 { return constant(PERF_MEM_LVLNUM_L3); }
137 l4 { return constant(PERF_MEM_LVLNUM_L4); }
[all …]
/linux-6.14.4/arch/x86/lib/
Dcrc32-pclmul.S52 * Barrett Reduction constant (u64`) = u` = (x**64 / P(x))` = 0x1F7011641LL
58 #define CONSTANT %xmm0 macro
87 movd CRC, CONSTANT
88 pxor CONSTANT, %xmm1
95 movdqa .Lconstant_R2R1(%rip), CONSTANT
97 movdqa .Lconstant_R2R1, CONSTANT
108 pclmulqdq $0x00, CONSTANT, %xmm1
109 pclmulqdq $0x00, CONSTANT, %xmm2
110 pclmulqdq $0x00, CONSTANT, %xmm3
112 pclmulqdq $0x00, CONSTANT, %xmm4
[all …]
/linux-6.14.4/tools/testing/selftests/bpf/progs/
Dverifier_const_or.c9 __description("constant register |= constant should keep constant type")
27 __description("constant register |= constant should not bypass stack boundary checks")
45 __description("constant register |= constant register should keep constant type")
64 __description("constant register |= constant register should not bypass stack boundary checks")
/linux-6.14.4/include/linux/
Dcompiler.h254 * This returns a constant expression while determining if an argument is
255 * a constant expression, most importantly without evaluating the argument.
259 * - sizeof() return an integer constant expression, and does not evaluate
261 * - The results of comparing two integer constant expressions is also
262 * an integer constant expression.
268 * - The C Standard defines "null pointer constant", "(void *)0", as
270 * - If (x) is an integer constant expression, then the "* 0l" resolves
271 * it into an integer constant expression of value 0. Since it is cast to
272 * "void *", this makes the second operand a null pointer constant.
273 * - If (x) is not an integer constant expression, then the second operand
[all …]
Dlog2.h15 * non-constant log of base 2 calculators
71 * const_ilog2 - log base 2 of 32-bit or a 64-bit constant unsigned value
74 * Use this where sparse expects a true constant expression, e.g. for array
150 * constant-capable log of base 2 calculation
151 * - this can be used to initialise global variables from constant data, hence
172 * - this can be used to initialise global variables from constant data
189 * - this can be used to initialise global variables from constant data
239 * This is constant-capable and can be used for compile time
/linux-6.14.4/Documentation/trace/postprocess/
Dtrace-vmscan-postprocess.pl17 use constant MM_VMSCAN_DIRECT_RECLAIM_BEGIN => 1;
18 use constant MM_VMSCAN_DIRECT_RECLAIM_END => 2;
19 use constant MM_VMSCAN_KSWAPD_WAKE => 3;
20 use constant MM_VMSCAN_KSWAPD_SLEEP => 4;
21 use constant MM_VMSCAN_LRU_SHRINK_ACTIVE => 5;
22 use constant MM_VMSCAN_LRU_SHRINK_INACTIVE => 6;
23 use constant MM_VMSCAN_LRU_ISOLATE => 7;
24 use constant MM_VMSCAN_WRITEPAGE_FILE_SYNC => 8;
25 use constant MM_VMSCAN_WRITEPAGE_ANON_SYNC => 9;
26 use constant MM_VMSCAN_WRITEPAGE_FILE_ASYNC => 10;
[all …]
Dtrace-pagealloc-postprocess.pl19 use constant MM_PAGE_ALLOC => 1;
20 use constant MM_PAGE_FREE => 2;
21 use constant MM_PAGE_FREE_BATCHED => 3;
22 use constant MM_PAGE_PCPU_DRAIN => 4;
23 use constant MM_PAGE_ALLOC_ZONE_LOCKED => 5;
24 use constant MM_PAGE_ALLOC_EXTFRAG => 6;
25 use constant EVENT_UNKNOWN => 7;
28 use constant STATE_PCPU_PAGES_DRAINED => 8;
29 use constant STATE_PCPU_PAGES_REFILLED => 9;
32 use constant HIGH_PCPU_DRAINS => 10;
[all …]
/linux-6.14.4/tools/perf/pmu-events/
Dmetric.py87 return Constant(1 if val else 0)
89 return Constant(val)
164 if isinstance(lhs, Constant) and isinstance(rhs, Constant):
165 return Constant(ast.literal_eval(lhs + self.operator + rhs))
167 if isinstance(self.lhs, Constant):
175 return Constant(0)
180 if isinstance(rhs, Constant):
185 return Constant(0)
232 if isinstance(cond, Constant):
279 if isinstance(lhs, Constant) and isinstance(rhs, Constant):
[all …]
Dmetric_test.py4 from metric import Constant
26 one = Constant(1)
80 after = (r'Select(Event(r"Event1") + Constant(1), Event(r"Event2") < '
81 r'Constant(2), Event(r"Event3") + Constant(3))')
85 after = (r'Select(Event(r"Event1") > Constant(1), Event(r"Event2") < '
86 r'Constant(2), Event(r"Event3") > Constant(3))')
/linux-6.14.4/drivers/input/joystick/iforce/
Diforce-ff.c12 * Set the magnitude of a constant force effect
215 return old->u.constant.level != effect->u.constant.level; in need_magnitude_modifier()
227 if (old->u.constant.envelope.attack_length != effect->u.constant.envelope.attack_length in need_envelope_modifier()
228 || old->u.constant.envelope.attack_level != effect->u.constant.envelope.attack_level in need_envelope_modifier()
229 || old->u.constant.envelope.fade_length != effect->u.constant.envelope.fade_length in need_envelope_modifier()
230 || old->u.constant.envelope.fade_level != effect->u.constant.envelope.fade_level) in need_envelope_modifier()
399 * Upload a constant force effect
418 effect->u.constant.level); in iforce_upload_constant()
427 effect->u.constant.envelope.attack_length, in iforce_upload_constant()
428 effect->u.constant.envelope.attack_level, in iforce_upload_constant()
[all …]
/linux-6.14.4/drivers/md/dm-vdo/
Dcpu.h16 * @for_write: must be constant at compile time--false if for reading, true if for writing
21 * for_write won't be a constant if we are compiled with optimization turned off, in which in uds_prefetch_address()
23 * constant, it can be passed as the second, mandatorily constant argument to prefetch(), in uds_prefetch_address()
40 * @for_write: must be constant at compile time--false if for reading, true if for writing
/linux-6.14.4/Documentation/devicetree/bindings/power/supply/
Drohm,bd99954.yaml33 # a) Trickle-charge with constant current (8).
34 # b) pre-charge with constant current (6)
36 # First a constant current (5) phase (CC)
37 # Then constant voltage (CV) phase (after the battery voltage has reached
80 # - constant-charge-current-max-microamp
81 # Current used at fast charge constant current phase (5 in above chart)
85 # - constant-charge-voltage-max-microvolt
86 # The constant voltage used in fast charging phase (4 in above chart)
Dbattery.yaml73 description: limit when to change to constant charging
78 constant-charge-current-max-microamp:
79 description: maximum constant input current
81 constant-charge-voltage-max-microvolt:
82 description: maximum constant input voltage
159 constant-charge-current-max-microamp = <900000>;
160 constant-charge-voltage-max-microvolt = <4200000>;
Dmaxim,max77693.yaml23 maxim,constant-microvolt:
25 Battery constant voltage in uV. The charger will operate in fast
26 charge constant current mode till battery voltage reaches this level.
27 Then the charger will switch to fast charge constant voltage mode.
/linux-6.14.4/arch/mips/include/asm/sibyte/
Dsb1250_defs.h103 /* Default constant value for all chips, all revisions */
158 * M_xxx MASK constant (identifies bits in a register).
162 * K_xxx "Code" constant (value for data in a multi-bit
165 * V_xxx "Value" constant. This is the same as the
166 * corresponding "K_xxx" constant, except it is
169 * S_xxx SHIFT constant. This is the number of bits that
174 * A_xxx ADDRESS constant. This will be a physical
178 * R_xxx RELATIVE offset constant. This is an offset from
179 * an A_xxx constant (usually the first register in
188 * K_xxx constant shifted to the correct position
/linux-6.14.4/include/asm-generic/
Daccess_ok.h13 * override this to a constant.
21 * 'size' is a compile-time constant for most callers, so optimize for
22 * this case to turn the check into a single comparison against a constant
29 * for constant 'size' and 'limit' values.
/linux-6.14.4/drivers/hid/
Dhid-uclogic-rdesc.c39 0x81, 0x01, /* Input (Constant), */
84 0x81, 0x01, /* Input (Constant), */
122 0x81, 0x01, /* Input (Constant), */
136 0x81, 0x01, /* Input (Constant), */
161 0x81, 0x01, /* Input (Constant), */
199 0x81, 0x01, /* Input (Constant), */
213 0x81, 0x01, /* Input (Constant), */
238 0x81, 0x01, /* Input (Constant), */
286 0x81, 0x01, /* Input (Constant), */
324 0x81, 0x01, /* Input (Constant), */
[all …]
Dhid-waltop.c68 0x81, 0x03, /* Input (Constant, Variable), */
119 0x81, 0x03, /* Input (Constant, Variable), */
170 0x81, 0x03, /* Input (Constant, Variable), */
223 0x81, 0x03, /* Input (Constant, Variable), */
274 0x81, 0x03, /* Input (Constant, Variable), */
305 0x81, 0x03, /* Input (Constant, Variable), */
314 0x81, 0x03, /* Input (Constant, Variable), */
323 0x81, 0x03, /* Input (Constant, Variable), */
341 0x81, 0x03, /* Input (Constant, Variable), */
343 0x81, 0x03, /* Input (Constant, Variable), */
[all …]
/linux-6.14.4/net/sunrpc/auth_gss/
Dgss_krb5_keys.c290 * K(i) = CMAC(key, K(i-1) | i | constant | 0x00 | k)
295 * constant: The label input to the KDF is the usage constant supplied
305 krb5_cmac_Ki(struct crypto_shash *tfm, const struct xdr_netobj *constant, in krb5_cmac_Ki() argument
325 ret = crypto_shash_update(desc, constant->data, constant->len); in krb5_cmac_Ki()
348 * @constant: subkey usage label
358 * K(i) = CMAC(key, K(i-1) | i | constant | 0x00 | k)
359 * DR(key, constant) = k-truncate(K(1) | K(2) | ... | K(n))
360 * KDF-FEEDBACK-CMAC(key, constant) = random-to-key(DR(key, constant))
371 const struct xdr_netobj *constant, in krb5_kdf_feedback_cmac() argument
412 ret = krb5_cmac_Ki(tfm, constant, outkey->len, count, &step); in krb5_kdf_feedback_cmac()
/linux-6.14.4/tools/net/sunrpc/xdrgen/grammars/
Dxdr.lark18 constant : decimal_constant | hexadecimal_constant | octal_constant
82 program_def : "program" identifier "{" version_def+ "}" "=" constant ";"
84 version_def : "version" identifier "{" procedure_def+ "}" "=" constant ";"
86 procedure_def : type_specifier identifier "(" type_specifier ")" "=" constant ";"
/linux-6.14.4/arch/arm/include/asm/
Ddelay.h23 * Therefore the constant part is HZ / 1000000 which is a small
25 * scale up this constant by 2^31, perform the actual multiplication,
76 * first constant multiplications gets optimized away if the delay is
77 * a constant)
/linux-6.14.4/include/uapi/linux/
Dam437x-vpfe.h92 /* Constant value to subtract from Red component */
94 /* Constant value to subtract from Gr component */
96 /* Constant value to subtract from Blue component */
98 /* Constant value to subtract from Gb component */
/linux-6.14.4/scripts/coccinelle/misc/
Dorplus.cocci18 constant c,c1;
30 constant r.c, r.c1;
55 constant c1,c2;
Dreturnvar.cocci20 constant C;
33 constant C;
43 constant C;
/linux-6.14.4/kernel/trace/
Dtrace_branch.c78 entry->constant = f->constant; in probe_likely_condition()
206 /* A constant is always correct */ in ftrace_likely_update()
208 f->constant++; in ftrace_likely_update()
301 if (!p->constant) in annotate_branch_stat_show()
304 l = snprintf(NULL, 0, "/%lu", p->constant); in annotate_branch_stat_show()
308 p->data.correct, p->constant, l, p->data.incorrect); in annotate_branch_stat_show()

12345678910>>...58