/linux-6.14.4/drivers/net/wireless/intel/iwlwifi/ |
D | iwl-debug.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright(c) 2003 - 2014 Intel Corporation. All rights reserved. 5 * Copyright(c) 2018 - 2021, 2024 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-6.14.4/crypto/ |
D | sm3.c | 1 /* 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 <[email protected]> 35 * Transform the message X which consists of 16 32-bit-words. See 36 * GM/T 004-2012 for details. 38 #define R(i, a, b, c, d, e, f, g, h, t, w1, w2) \ argument 40 ss1 = rol32((rol32((a), 12) + (e) + (t)), 7); \ 41 ss2 = ss1 ^ rol32((a), 12); \ 42 d += FF ## i(a, b, c) + ss2 + ((w1) ^ (w2)); \ [all …]
|
/linux-6.14.4/scripts/coccinelle/api/ |
D | kfree_mismatch.cocci | 1 // 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-6.14.4/drivers/gpu/drm/nouveau/include/nvhw/ |
D | drf.h | 4 * 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-6.14.4/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
D | debug.h | 54 #define brcms_dbg(core, l, f, a...) __brcms_dbg(&(core)->dev, l, __func__, f, ##a) argument 55 #define brcms_info(core, f, a...) __brcms_info(&(core)->dev, f, ##a) argument 56 #define brcms_warn(core, f, a...) __brcms_warn(&(core)->dev, f, ##a) argument 57 #define brcms_err(core, f, a...) __brcms_err(&(core)->dev, f, ##a) argument 58 #define brcms_crit(core, f, a...) __brcms_crit(&(core)->dev, f, ##a) argument 60 #define brcms_dbg_info(core, f, a...) brcms_dbg(core, BRCM_DL_INFO, f, ##a) argument 61 #define brcms_dbg_mac80211(core, f, a...) brcms_dbg(core, BRCM_DL_MAC80211, f, ##a) argument 62 #define brcms_dbg_rx(core, f, a...) brcms_dbg(core, BRCM_DL_RX, f, ##a) argument 63 #define brcms_dbg_tx(core, f, a...) brcms_dbg(core, BRCM_DL_TX, f, ##a) argument 64 #define brcms_dbg_int(core, f, a...) brcms_dbg(core, BRCM_DL_INT, f, ##a) argument [all …]
|
/linux-6.14.4/drivers/gpu/drm/nouveau/include/nvkm/core/ |
D | subdev.h | 1 /* 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 …]
|
D | client.h | 1 /* 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 …]
|
D | device.h | 1 /* SPDX-License-Identifier: MIT */ 105 #define NVKM_LAYOUT_INST(A...) NVKM_LAYOUT_ONCE(A) argument 114 #define nvkm_rd08(d,a) ioread8((d)->pri + (a)) argument 115 #define nvkm_rd16(d,a) ioread16_native((d)->pri + (a)) argument 116 #define nvkm_rd32(d,a) ioread32_native((d)->pri + (a)) argument 117 #define nvkm_wr08(d,a,v) iowrite8((v), (d)->pri + (a)) argument 118 #define nvkm_wr16(d,a,v) iowrite16_native((v), (d)->pri + (a)) argument 119 #define nvkm_wr32(d,a,v) iowrite32_native((v), (d)->pri + (a)) argument 120 #define nvkm_mask(d,a,m,v) ({ \ argument 122 u32 _addr = (a), _temp = nvkm_rd32(_device, _addr); \ [all …]
|
/linux-6.14.4/arch/powerpc/crypto/ |
D | md5-asm.S | 1 /* 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 …]
|
D | sha1-spe-asm.S | 1 /* 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 …]
|
D | aes-tab-4k.S | 1 /* 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-6.14.4/sound/core/seq/ |
D | seq_prioq.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Copyright (c) 1998-1999 by Frank van de Pol <[email protected]> 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-6.14.4/include/linux/ceph/ |
D | ceph_frag.h | 1 /* 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-6.14.4/arch/x86/crypto/ |
D | sm3-avx-asm_64.S | 1 /* 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-6.14.4/arch/x86/mm/ |
D | kmmio.c | 1 // 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-6.14.4/Documentation/userspace-api/ioctl/ |
D | ioctl-number.rst | 21 system calls 'write' and 'read'. For example, a SET_FOO ioctl would 23 a GET_FOO ioctl would be _IOR, although the kernel would actually write 28 many drivers share a partial letter with other drivers. 30 If you are writing a driver for a new device and need a letter, pick an 33 patch to Linus Torvalds. Or you can e-mail me at <[email protected]> and 36 The second argument to _IO, _IOW, _IOR, or _IOWR is a sequence number 50 if a program calls an ioctl on the wrong device, it will get an 67 no attempt to list non-X86 architectures or ioctls from drivers/staging/. 73 0x00 00-1F linux/fs.h conflict! 74 0x00 00-1F scsi/scsi_ioctl.h conflict! [all …]
|
/linux-6.14.4/arch/s390/lib/ |
D | xor.c | 1 // 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-6.14.4/tools/testing/selftests/hid/tests/ |
D | test_multitouch.py | 2 # SPDX-License-Identifier: GPL-2.0 3 # -*- coding: utf-8 -*- 20 KERNEL_MODULE = ("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 …]
|
D | test_tablet.py | 2 # SPDX-License-Identifier: GPL-2.0 3 # -*- coding: utf-8 -*- 34 """Represents whether a button is pressed on the stylus""" 43 https://docs.microsoft.com/en-us/windows-hardware/design/component-guidelines/windows-pen-states 66 def from_evdev(cls, evdev, test_button) -> "PenState": 99 ) -> "PenState": 112 raise ValueError(f"duplicated BTN_TOUCH in {events}") 120 raise ValueError(f"duplicated BTN_TOOL_* in {events}") 125 raise ValueError(f"duplicated BTN_STYLUS* in {events}") 138 ), f"moving from {self} to {new_state} is forbidden" [all …]
|
/linux-6.14.4/scripts/ |
D | markup_oops.pl | 2 # 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-6.14.4/include/media/ |
D | v4l2-device.h | 1 /* 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 larger struct. 27 * @notify: notify operation called by some sub-devices. 34 * Each instance of a V4L2 device should create the v4l2_device struct, 35 * either stand-alone or embedded in a larger struct. 37 * It allows easy access to sub-devices (see v4l2-subdev.h) and provides [all …]
|
/linux-6.14.4/drivers/gpu/drm/nouveau/ |
D | nouveau_drv.h | 1 /* 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-6.14.4/Documentation/userspace-api/media/mediactl/ |
D | media-types.rst | 1 .. 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-6.14.4/arch/loongarch/include/asm/ |
D | alternative-asm.h | 1 /* 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 …]
|
/linux-6.14.4/drivers/video/fbdev/ |
D | atafb_utils.h | 1 /* 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 …]
|