Home
last modified time | relevance | path

Searched +full:a +full:- +full:f (Results 1 – 25 of 1050) sorted by relevance

12345678910>>...42

/linux/drivers/net/wireless/intel/iwlwifi/
H A Diwl-debug.h1 /* SPDX-License-Identifier: GPL-2.0-only */
4 * Copyright(c) 2003 - 2014 Intel Corporation. All rights reserved.
5 * Copyright(c) 2018 - 2021, 2024-2025 Intel Corporation
13 #include "iwl-modparams.h"
40 #define CHECK_FOR_NEWLINE(f) BUILD_BUG_ON(f[sizeof(f) - 2] != '\n') argument
43 #define __IWL_ERR_DEV(d, mode, f, a...) \ argument
45 CHECK_FOR_NEWLINE(f); \
46 __iwl_err((d), mode, f, ## a); \
48 #define IWL_ERR_DEV(d, f, a...) \ argument
49 __IWL_ERR_DEV(d, IWL_ERR_MODE_REGULAR, f, ## a)
[all …]
/linux/lib/crypto/
H A Dsm3.c1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * SM3 secure hash, as specified by OSCCA GM/T 0004-2012 SM3 and described
4 * at https://datatracker.ietf.org/doc/html/draft-sca-cfrg-sm3-02
7 * Copyright (C) 2017 Gilad Ben-Yossef <gilad@benyossef.com>
38 * Transform the message X which consists of 16 32-bit-words. See
39 * GM/T 004-2012 for details.
41 #define R(i, a, b, c, d, e, f, g, h, t, w1, w2) \ argument
43 ss1 = rol32((rol32((a), 12) + (e) + (t)), 7); \
44 ss2 = ss1 ^ rol32((a), 12); \
45 d += FF ## i(a, b, c) + ss2 + ((w1) ^ (w2)); \
[all …]
/linux/scripts/coccinelle/api/
H A Dkfree_mismatch.cocci1 // SPDX-License-Identifier: GPL-2.0-only
9 // Options: --no-includes --include-headers
64 position a != alloc.kok;
65 position f != free.fok;
70 * kcalloc_node\)(...)@a
74 * \(vfree\|vfree_atomic\|kvfree\)(E)@f
78 position a != alloc.kok;
79 position f != free.fok;
84 kcalloc_node\)(...)@a
88 - \(vfree\|vfree_atomic\|kvfree\)(E)@f
[all …]
/linux/drivers/gpu/drm/nouveau/include/nvhw/
H A Ddrf.h4 * Permission is hereby granted, free of charge, to any person obtaining a
16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
28 #define DRF_BITS(drf) (DRF_HI(drf) - DRF_LO(drf) + 1)
29 #define DRF_MASK(drf) (~0ULL >> (64 - DRF_BITS(drf)))
32 /* Helpers for DRF-MW accessors. */
41 #define DRF_LW_HI(o,drf) (DRF_MW_SPANS((o),drf) ? (DRF_MW_SIZE(o) - 1) : DRF_HW_HI((o),drf))
42 #define DRF_LW_BITS(o,drf) (DRF_LW_HI((o),drf) - DRF_LW_LO((o),drf) + 1)
43 #define DRF_LW_MASK(o,drf) (~0ULL >> (64 - DRF_LW_BITS((o),drf)))
53 #define DRF_HW_BITS(o,drf) (DRF_HW_HI((o),drf) - DRF_HW_LO((o),drf) + 1)
54 #define DRF_HW_MASK(o,drf) (~0ULL >> (64 - DRF_HW_BITS((o),drf)))
[all …]
/linux/lib/crypto/powerpc/
H A Dmd5-asm.S1 /* SPDX-License-Identifier: GPL-2.0-or-later */
8 #include <asm/asm-offsets.h>
9 #include <asm/asm-compat.h>
40 PPC_STLU r1,-INT_FRAME_SIZE(r1); \
61 #define R_00_15(a, b, c, d, w0, w1, p, q, off, k0h, k0l, k1h, k1l) \ argument
63 and rT0,b,c; /* 1: f = b and c */ \
65 andc rT1,d,b; /* 1: f' = ~b and d */ \
67 or rT0,rT0,rT1; /* 1: f = f or f' */ \
69 add a,a,rT0; /* 1: a = a + f */ \
72 add a,a,w0; /* 1: a = a + wk */ \
[all …]
H A Dsha1-spe-asm.S1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Fast SHA-1 implementation for SPE instruction set (PPC)
14 #include <asm/asm-offsets.h>
57 stwu r1,-128(r1); /* create stack frame */ \
106 #define R_00_15(a, b, c, d, e, w0, w1, k, off) \ argument
108 and rT2,b,c; /* 1: F' = B and C */ \
110 andc rT1,d,b; /* 1: F" = ~B and D */ \
111 rotrwi rT0,a,27; /* 1: A' = A rotl 5 */ \
112 or rT2,rT2,rT1; /* 1: F = F' or F" */ \
113 add e,e,rT0; /* 1: E = E + A' */ \
[all …]
/linux/drivers/gpu/drm/nouveau/include/nvkm/core/
H A Dsubdev.h1 /* SPDX-License-Identifier: MIT */
58 mutex_init(&subdev->use.mutex); in nvkm_subdev_ctor()
74 ((CONFIG_NOUVEAU_DEBUG >= (l)) && ((s)->debug >= (l) || ((u) && (u)->debug >= (l))))
75 #define nvkm_printk___(s,u,l,p,f,a...) do { \ argument
78 dev_##p((s)->device->dev, "%s(%s):"f, (s)->name, (u)->name, ##a); \
80 dev_##p((s)->device->dev, "%s:"f, (s)->name, ##a); \
83 #define nvkm_printk__(s,l,p,f,a...) nvkm_printk___((s), (s), (l), p, f, ##a) argument
84 #define nvkm_printk_(s,l,p,f,a...) nvkm_printk__((s), (l), p, " "f, ##a) argument
85 #define nvkm_printk(s,l,p,f,a...) nvkm_printk_((s), NV_DBG_##l, p, f, ##a) argument
86 #define nvkm_fatal(s,f,a...) nvkm_printk((s), FATAL, crit, f, ##a) argument
[all …]
H A Dclient.h1 /* SPDX-License-Identifier: MIT */
26 /* logging for client-facing objects */
27 #define nvif_printk(o,l,p,f,a...) do { \ argument
29 const struct nvkm_client *_client = _object->client; \
30 if (_client->debug >= NV_DBG_##l) \
31 printk(KERN_##p "nouveau: %s:%08x:%08x: "f, _client->name, \
32 _object->handle, _object->oclass, ##a); \
34 #define nvif_fatal(o,f,a...) nvif_printk((o), FATAL, CRIT, f, ##a) argument
35 #define nvif_error(o,f,a...) nvif_printk((o), ERROR, ERR, f, ##a) argument
36 #define nvif_debug(o,f,a...) nvif_printk((o), DEBUG, INFO, f, ##a) argument
[all …]
/linux/sound/core/seq/
H A Dseq_prioq.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Copyright (c) 1998-1999 by Frank van de Pol <fvdpol@coil.demon.nl>
14 /* Implementation is a simple linked list for now...
17 equeal timestamp the queue behaves as a FIFO.
20 * +-------+
21 * Head --> | first |
22 * +-------+
24 * +-----v-+
26 * +-------+
28 * +-----v-+
[all …]
/linux/arch/x86/crypto/
H A Dsm3-avx-asm_64.S1 /* SPDX-License-Identifier: GPL-2.0-or-later */
4 * specified in: https://datatracker.ietf.org/doc/html/draft-sca-cfrg-sm3-02
34 #define K1 -208106958 /* 0xf3988a32 */
35 #define K2 -416213915 /* 0xe7311465 */
36 #define K3 -832427829 /* 0xce6228cb */
37 #define K4 -1664855657 /* 0x9cc45197 */
40 #define K7 -433943364 /* 0xe6228cbc */
41 #define K8 -867886727 /* 0xcc451979 */
42 #define K9 -1735773453 /* 0x988a32f3 */
45 #define K12 -1001285732 /* 0xc451979c */
[all …]
/linux/include/linux/ceph/
H A Dceph_frag.h1 /* SPDX-License-Identifier: GPL-2.0 */
6 * "Frags" are a way to describe a subset of a 32-bit number space,
7 * using a mask and a value to match against that mask. Any given frag
8 * (subset of the number space) can be partitioned into 2^n sub-frags.
10 * Frags are encoded into a 32-bit word:
25 (v & (0xffffffu << (24-b)) & 0xffffffu); in ceph_frag_make()
27 static inline __u32 ceph_frag_bits(__u32 f) in ceph_frag_bits() argument
29 return f >> 24; in ceph_frag_bits()
31 static inline __u32 ceph_frag_value(__u32 f) in ceph_frag_value() argument
33 return f & 0xffffffu; in ceph_frag_value()
[all …]
/linux/arch/x86/mm/
H A Dkmmio.c1 // SPDX-License-Identifier: GPL-2.0
42 * Number of times this page has been registered as a part
43 * of a probe. If zero, page is disarmed and this may be freed.
76 /* Read-protected by RCU, write-protected by kmmio_lock. */
92 /* Accessed per-cpu */
96 * this is basically a dynamic stabbing problem:
99 * The Interval Skip List: A Data Structure for Finding All Intervals That
100 * Overlap a Point (might be simple)
101 * Space Efficient Dynamic Stabbing with Fast Queries - Mikkel Thorup
108 if (addr >= p->addr && addr < (p->addr + p->len)) in get_kmmio_probe()
[all …]
/linux/tools/testing/selftests/hid/tests/
H A Dtest_multitouch.py2 # SPDX-License-Identifier: GPL-2.0
3 # -*- coding: utf-8 -*-
20 KERNEL_MODULE = base.KernelModule("hid-multitouch", "hid_multitouch")
86 return f"""
144 physicals = [f.physical_name for f in r]
147 self.fields = [f.usage_name for f in r]
189 if "Contact Max" not in [f.usage_name for f in rdesc]:
208 if "Inputmode" not in [f.usage_name for f in rdesc]:
212 for f in rdesc:
213 if "Inputmode" == f.usage_name:
[all …]
H A Dtest_tablet.py2 # SPDX-License-Identifier: GPL-2.0
3 # -*- coding: utf-8 -*-
35 """Represents whether a button is pressed on the stylus"""
44 https://docs.microsoft.com/en-us/windows-hardware/design/component-guidelines/windows-pen-states
67 def from_evdev(cls, evdev, test_button) -> "PenState":
100 ) -> "PenState":
113 raise ValueError(f"duplicated BTN_TOUCH in {events}")
121 raise ValueError(f"duplicated BTN_TOOL_* in {events}")
126 raise ValueError(f"duplicated BTN_STYLUS* in {events}")
139 ), f"moving from {self} to {new_state} is forbidden"
[all …]
/linux/arch/s390/lib/
H A Dxor.c1 // SPDX-License-Identifier: GPL-2.0
18 " aghi %0,-1\n" in xor_xc_2()
19 " jm 3f\n" in xor_xc_2()
22 " jz 1f\n" in xor_xc_2()
27 "1: exrl %0,2f\n" in xor_xc_2()
28 " j 3f\n" in xor_xc_2()
31 : : "d" (bytes), "a" (p1), "a" (p2) in xor_xc_2()
40 " aghi %0,-1\n" in xor_xc_3()
41 " jm 4f\n" in xor_xc_3()
44 " jz 1f\n" in xor_xc_3()
[all …]
/linux/scripts/
H A Dmarkup_oops.pl2 # SPDX-License-Identifier: GPL-2.0-only
22 'cross-compile|c=s' => \$cross_compile,
28 my $kerver = `uname -r`;
49 if ($line =~ /EAX: ([0-9a-f]+) EBX: ([0-9a-f]+) ECX: ([0-9a-f]+) EDX: ([0-9a-f]+)/) {
55 if ($line =~ /ESI: ([0-9a-f]+) EDI: ([0-9a-f]+) EBP: ([0-9a-f]+) ESP: ([0-9a-f]+)/) {
60 if ($line =~ /RAX: ([0-9a-f]+) RBX: ([0-9a-f]+) RCX: ([0-9a-f]+)/) {
65 if ($line =~ /RDX: ([0-9a-f]+) RSI: ([0-9a-f]+) RDI: ([0-9a-f]+)/) {
70 if ($line =~ /RBP: ([0-9a-f]+) R08: ([0-9a-f]+) R09: ([0-9a-f]+)/) {
74 if ($line =~ /R10: ([0-9a-f]+) R11: ([0-9a-f]+) R12: ([0-9a-f]+)/) {
79 if ($line =~ /R13: ([0-9a-f]+) R14: ([0-9a-f]+) R15: ([0-9a-f]+)/) {
[all …]
/linux/Documentation/userspace-api/ioctl/
H A Dioctl-number.rst23 system calls 'write' and 'read'. For example, a SET_FOO ioctl would
25 a GET_FOO ioctl would be _IOR, although the kernel would actually write
30 share a partial letter with other drivers.
32 If you are writing a driver for a new device and need a letter, pick an
36 </process/submitting-patches>`.
38 The second argument is a sequence number to distinguish ioctls from each
54 if a program calls an ioctl on the wrong device, it will get an
76 0x00 00-1F linux/fs.h conflict!
77 0x00 00-1F scsi/scsi_ioctl.h conflict!
78 0x00 00-1F linux/fb.h conflict!
[all …]
/linux/arch/powerpc/crypto/
H A Daes-tab-4k.S1 /* SPDX-License-Identifier: GPL-2.0-or-later */
10 * crypto/aes_generic.c and are designed to be simply accessed by a combination
11 * of rlwimi/lwz instructions with a minimum of table registers (usually only
16 * For the safety-conscious it has to be noted that they might be vulnerable
19 * This is a quite good tradeoff for low power devices (e.g. routers) without
25 #define R(a, b, c, d) \ argument
26 0x##a##b##c##d, 0x##d##a##b##c, 0x##c##d##a##b, 0x##b##c##d##a
32 /* encryption table, same as crypto_ft_tab in crypto/aes-generic.c */
36 .long R(de, 6f, 6f, b1), R(91, c5, c5, 54)
40 .long R(4d, ab, ab, e6), R(ec, 76, 76, 9a)
[all …]
/linux/include/media/
H A Dv4l2-device.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
12 #include <media/media-device.h>
13 #include <media/v4l2-subdev.h>
14 #include <media/v4l2-dev.h>
19 * struct v4l2_device - main struct to for V4L2 device drivers
25 * if this struct is embedded into a large
293 __v4l2_device_call_subdevs_p(v4l2_dev,sd,cond,o,f,args...) global() argument
318 __v4l2_device_call_subdevs(v4l2_dev,cond,o,f,args...) global() argument
350 __v4l2_device_call_subdevs_until_err_p(v4l2_dev,sd,cond,o,f,args...) global() argument
385 __v4l2_device_call_subdevs_until_err(v4l2_dev,cond,o,f,args...) global() argument
412 v4l2_device_call_all(v4l2_dev,grpid,o,f,args...) global() argument
445 v4l2_device_call_until_err(v4l2_dev,grpid,o,f,args...) global() argument
472 v4l2_device_mask_call_all(v4l2_dev,grpmsk,o,f,args...) global() argument
504 v4l2_device_mask_call_until_err(v4l2_dev,grpmsk,o,f,args...) global() argument
526 v4l2_device_has_op(v4l2_dev,grpid,o,f) global() argument
554 v4l2_device_mask_has_op(v4l2_dev,grpmsk,o,f) global() argument
[all...]
/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_drv.h1 /* SPDX-License-Identifier: MIT */
17 * - added support for tiled system memory buffer objects
18 * - added support for NOUVEAU_GETPARAM_GRAPH_UNITS on [nvc0,nve0].
19 * - added support for compressed memory storage types on [nvc0,nve0].
20 * - added support for software methods 0x600,0x644,0x6ac on nvc0
25 * - fixes multiple bugs in flip completion events and timestamping
27 * - object api exposed to userspace
28 * - fermi,kepler,maxwell zbc
30 * - allow concurrent access to bo's mapped read/write.
32 * - add NOUVEAU_GEM_DOMAIN_COHERENT flag
[all …]
/linux/Documentation/userspace-api/media/mediactl/
H A Dmedia-types.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
3 .. _media-controller-types:
10 .. _media-entity-functions:
11 .. _MEDIA-ENT-F-UNKNOWN:
12 .. _MEDIA-ENT-F-V4L2-SUBDEV-UNKNOWN:
13 .. _MEDIA-ENT-F-IO-V4L:
14 .. _MEDIA-ENT-F-IO-VBI:
15 .. _MEDIA-ENT-F-IO-SWRADIO:
16 .. _MEDIA-ENT-F-IO-DTV:
17 .. _MEDIA-ENT-F-DTV-DEMOD:
[all …]
/linux/tools/testing/selftests/drivers/net/hw/
H A Ddevlink_rate_tc_bw.py2 # SPDX-License-Identifier: GPL-2.0
8 This test suite verifies the functionality of devlink-rate traffic class (TC)
9 bandwidth distribution in a virtualized environment. The tests validate that
14 ----------------
15 - Creates 1 VF
16 - Establishes a bridge connecting the VF representor and the uplink representor
17 - Sets up 2 VLAN interfaces on the VF with different VLAN IDs (101, 102)
18 - Configures different traffic classes (TC3 and TC4) for each VLAN
21 ----------
23 - Verifies that without TC mapping, bandwidth is NOT distributed according to
[all …]
/linux/drivers/video/fbdev/
H A Datafb_utils.h1 /* SPDX-License-Identifier: GPL-2.0 */
11 /* Those of a delicate disposition might like to skip the next couple of
15 * memset(_, 0, _). However their five instances add at least a kilobyte
18 * Not a great fan of assembler for the sake of it, but I think
21 * a graphics driver. Question is whether some scheme with the blitter
22 * would be faster. I suspect not for simple text system - not much
28 * For more than 15 bytes, we try to align the write direction on a
30 * Unaligned read/write used requires 68020+ - think this is a problem?
55 " lsr.l #1,%1 ; jcc 1f ; move.b %2,-(%0)\n" in fb_memclear_small()
56 "1: lsr.l #1,%1 ; jcc 1f ; move.w %2,-(%0)\n" in fb_memclear_small()
[all …]
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_filter.c4 * Copyright (c) 2003-2016 Chelsio Communications, Inc. All rights reserved.
6 * This software is available to you under a choice of one of two
16 * - Redistributions of source code must retain the above
20 * - Redistributions in binary form must reproduce the above
27 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
56 static int set_tcb_field(struct adapter *adap, struct filter_entry *f, in set_tcb_field() argument
65 return -ENOMEM; in set_tcb_field()
69 req->reply_ctrl = htons(REPLY_CHAN_V(0) | in set_tcb_field()
70 QUEUENO_V(adap->sge.fw_evtq.abs_id) | in set_tcb_field()
72 req->word_cookie = htons(TCB_WORD_V(word) | TCB_COOKIE_V(ftid)); in set_tcb_field()
[all …]
/linux/arch/loongarch/include/asm/
H A Dalternative-asm.h1 /* SPDX-License-Identifier: GPL-2.0 */
16 .long \orig - .
17 .long \alt - .
33 .fill - (((144f-143f)-(141b-140b)) > 0) * ((144f-143f)-(141b-140b)) / 4, 4, 0x03400000
36 .pushsection .altinstructions, "a"
37 altinstruction_entry 140b, 143f, \feature, 142b-140b, 144f-143f
47 #define old_len (141b-140b)
48 #define new_len1 (144f-143f)
49 #define new_len2 (145f-144f)
51 #define alt_max_short(a, b) ((a) ^ (((a) ^ (b)) & -(-((a) < (b)))))
[all …]

12345678910>>...42