/Linux-v6.6/tools/testing/selftests/mm/ |
D | mremap_dontunmap.c | 40 // Try a simple operation for to "test" for kernel support this prevents 97 unsigned long num_pages = 5; in mremap_dontunmap_simple() 104 memset(source_mapping, 'a', num_pages * page_size); in mremap_dontunmap_simple() 113 // the dest_mapping contains a's. in mremap_dontunmap_simple() 115 (dest_mapping, num_pages * page_size, 'a') != 0, in mremap_dontunmap_simple() 127 // This test validates that MREMAP_DONTUNMAP on a shared mapping works as expected. 130 unsigned long num_pages = 5; in mremap_dontunmap_simple_shmem() 145 memset(source_mapping, 'a', num_pages * page_size); in mremap_dontunmap_simple_shmem() 161 // the dest_mapping contains a's. in mremap_dontunmap_simple_shmem() 163 (dest_mapping, num_pages * page_size, 'a') != 0, in mremap_dontunmap_simple_shmem() [all …]
|
/Linux-v6.6/arch/alpha/lib/ |
D | ev6-memset.S | 23 * A future enhancement might be to put in a byte store loop for really 25 * a win in the kernel would depend upon the contextual usage. 41 .align 5 48 * undertake a major re-write to interleave the constant materialization 64 inswl $17,4,$5 # U : 0000chch00000000 69 or $2,$5,$2 # E : chchchch00000000 70 bic $1,7,$1 # E : fit within a single quadword? 79 * Target address is misaligned, and won't fit within a quadword 82 bis $16,$16,$5 # E : Save the address 92 stq_u $1,0($5) # L : Store result [all …]
|
/Linux-v6.6/Documentation/input/devices/ |
D | elantech.rst | 22 5. Hardware version 2 57 combine a status packet with multiple head or motion packets. Hardware version 58 4 allows tracking up to 5 fingers. 60 Some Hardware version 3 and version 4 also have a trackpoint which uses a 67 Note that a mouse button is also associated with either the touchpad or the 68 trackpoint when a trackpoint is available. Disabling the Touchpad in xorg 101 Currently a value of "1" will turn on some basic debugging and a value of 107 generate quite a lot of data! 118 calculating a parity bit for the last 3 bytes of each packet. The driver 175 By echoing a hexadecimal value to a register it contents can be altered. [all …]
|
D | alps.rst | 8 ALPS touchpads, called versions 1, 2, 3, 4, 5, 6, 7 and 8. 11 integrated into a variety of laptops and netbooks. These new touchpads 23 (Compatibility ID) definition as a way to uniquely identify the 24 different ALPS variants but there did not appear to be a 1:1 mapping. 32 E8-E6-E6-E6-E9. An ALPS touchpad should respond with either 00-00-0A or 45 The new ALPS touchpads have an E7 signature of 73-03-50 or 73-03-0A but 51 Protocol versions 3 and 4 have a command mode that is used to read and write 52 one-byte device registers in a 16-bit address space. The command sequence 54 with 88-07 followed by a third byte. This third byte can be used to determine 59 While in command mode, register addresses can be set by first sending a [all …]
|
/Linux-v6.6/arch/powerpc/crypto/ |
D | aes-tab-4k.S | 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 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 40 .long R(4d, ab, ab, e6), R(ec, 76, 76, 9a) 46 .long R(5f, a2, a2, fd), R(45, af, af, ea) 48 .long R(e4, 72, 72, 96), R(9b, c0, c0, 5b) 50 .long R(3d, 93, 93, ae), R(4c, 26, 26, 6a) 51 .long R(6c, 36, 36, 5a), R(7e, 3f, 3f, 41) [all …]
|
/Linux-v6.6/Documentation/admin-guide/perf/ |
D | hisi-pmu.rst | 27 Each L3C, HHA and DDRC is registered as a separate PMU with perf. The PMU 38 The driver also provides a "cpumask" sysfs attribute, which shows the CPU core 53 $# perf stat -a -e hisi_sccl3_l3c0/rd_hit_cpipe/ sleep 5 54 $# perf stat -a -e hisi_sccl3_l3c0/config=0x02/ sleep 5 60 specified as a bitmap:: 62 $# perf stat -a -e hisi_sccl3_l3c0/config=0x02,tt_core=0x3/ sleep 5 72 $# perf stat -a -e hisi_sccl3_l3c0/config=0x02,tt_req=0x4/ sleep 5 76 3. Datasrc allows the user to check where the data comes from. It is 5 bits. 79 - 5'b00001: comes from L3C in this die; 80 - 5'b01000: comes from L3C in the cross-die; [all …]
|
/Linux-v6.6/arch/m68k/fpsp040/ |
D | tbldo.S | 10 | index with a 10-bit index, with the first 54 .long smovcr |$00-5 fmovecr all 63 .long serror |$01-5 fint ERROR 72 .long serror |$02-5 fsinh ERROR 81 .long serror |$03-5 fintrz ERROR 90 .long serror |$04-5 ERROR - illegal extension 99 .long serror |$05-5 ERROR - illegal extension 108 .long serror |$06-5 flognp1 ERROR 117 .long serror |$07-5 ERROR - illegal extension 126 .long serror |$08-5 fetoxm1 ERROR [all …]
|
/Linux-v6.6/drivers/net/ipa/ |
D | ipa_reg.h | 21 * Device Tree. Each register has a specified offset within that space, 23 * has a unique identifer, taken from the ipa_reg_id enumerated type. 26 * Certain "parameterized" register types are duplicated for a number of 30 * ID multiplied and a "stride" value for the register. Similarly, some 32 * this case, the stride is multiplied by a member of the gsi_ee_id 37 * (for parameterized registers) a non-zero stride value. Not all versions 38 * of IPA define all registers. The offset for a register is returned by 43 * such a register has a unique identifier (from an enumerated type). 44 * The position and width of the fields in a register are defined by 47 * argument. To encode a value to be represented in a register field, [all …]
|
/Linux-v6.6/tools/testing/selftests/net/forwarding/ |
D | router_multicast.sh | 234 # Add two interfaces to an MC group, send a packet to the MC group and 248 $MZ $h1 -c 5 -p 128 -t udp -a 00:11:22:33:44:55 -b 01:00:5e:01:02:03 \ 249 -A 198.51.100.2 -B 225.1.2.3 -q 251 tc_check_packets "dev $h2 ingress" 122 5 253 tc_check_packets "dev $h3 ingress" 133 5 258 $MZ $h1 -c 5 -p 128 -t udp -a 00:11:22:33:44:55 -b 01:00:5e:01:02:03 \ 259 -A 198.51.100.2 -B 225.1.2.3 -q 261 tc_check_packets "dev $h2 ingress" 122 5 263 tc_check_packets "dev $h3 ingress" 133 5 274 # Add two interfaces to an MC group, send a packet to the MC group and [all …]
|
/Linux-v6.6/Documentation/userspace-api/media/v4l/ |
D | pixfmt-rgb.rst | 9 These formats encode each pixel as a triplet of RGB values. They are packed 12 bits required to store a pixel is not aligned to a byte boundary, the data is 20 or a permutation thereof, collectively referred to as alpha formats) depend on 24 a meaningful value. Otherwise, when the device doesn't capture an alpha channel 25 but can set the alpha bit to a user-configurable value, the 28 the value specified by that control. Otherwise a corresponding format without 34 filled with meaningful values by applications. Otherwise a corresponding format 38 Formats that contain padding bits are named XRGB (or a permutation thereof). 44 - In all the tables that follow, bit 7 is the most significant bit in a byte. 46 respectively. 'a' denotes bits of the alpha component (if supported by the [all …]
|
D | metafmt-vsp1-hgt.rst | 18 The VSP1 HGT is a histogram computation engine that operates on HSV 19 data. It operates on a possibly cropped and subsampled input image and 20 computes the sum, maximum and minimum of the S component as well as a 23 The histogram is a matrix of 6 Hue and 32 Saturation buckets, 192 in 24 total. Each HSV value is added to one or more buckets with a weight 33 The Hue position **m** (0 - 5) of the bucket in the matrix depends on 43 Area 0 Area 1 Area 2 Area 3 Area 4 Area 5 50 5U 0L 0U 1L 1U 2L 2U 3L 3U 4L 4U 5L 5U 0L 61 Pixels with a hue value included in the centre of an area (between nL and nU 62 included) are attributed to that single area and given a weight of 16. Pixels [all …]
|
/Linux-v6.6/lib/crypto/ |
D | curve25519-hacl64.c | 4 * Copyright (C) 2018-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. 6 * This is a machine-generated formally verified implementation of Curve25519 17 static __always_inline u64 u64_eq_mask(u64 a, u64 b) in u64_eq_mask() argument 19 u64 x = a ^ b; in u64_eq_mask() 27 static __always_inline u64 u64_gte_mask(u64 a, u64 b) in u64_gte_mask() argument 29 u64 x = a; in u64_gte_mask() 131 u32 ctr = 5 - 0 - 1; in fmul_shift_reduce() 136 u32 ctr = 5 - 1 - 1; in fmul_shift_reduce() 141 u32 ctr = 5 - 2 - 1; in fmul_shift_reduce() 146 u32 ctr = 5 - 3 - 1; in fmul_shift_reduce() [all …]
|
/Linux-v6.6/drivers/media/i2c/ |
D | max9271.h | 16 #define MAX9271_SPREAD_SPECT_0 (0 << 5) 17 #define MAX9271_SPREAD_SPECT_05 (1 << 5) 18 #define MAX9271_SPREAD_SPECT_15 (2 << 5) 19 #define MAX9271_SPREAD_SPECT_1 (5 << 5) 20 #define MAX9271_SPREAD_SPECT_2 (3 << 5) 21 #define MAX9271_SPREAD_SPECT_3 (6 << 5) 22 #define MAX9271_SPREAD_SPECT_4 (7 << 5) 29 #define MAX9271_PRBSEN BIT(5) 39 #define MAX9271_BWS BIT(5) 54 #define MAX9271_I2CSLVSH_1046NS_469NS (3 << 5) [all …]
|
/Linux-v6.6/arch/m68k/lib/ |
D | uaccess.c | 22 "2: btst #1,%5\n" in __generic_copy_from_user() 26 "4: btst #0,%5\n" in __generic_copy_from_user() 28 "5: "MOVES".b (%1)+,%3\n" in __generic_copy_from_user() 34 " btst #1,%5\n" in __generic_copy_from_user() 37 "8: btst #0,%5\n" in __generic_copy_from_user() 43 " .section __ex_table,\"a\"\n" in __generic_copy_from_user() 47 " .long 5b,50b\n" in __generic_copy_from_user() 49 : "=d" (res), "+a" (from), "+a" (to), "=&d" (tmp) in __generic_copy_from_user() 68 "4: btst #1,%5\n" in __generic_copy_to_user() 71 "5: "MOVES".w %3,(%2)+\n" in __generic_copy_to_user() [all …]
|
D | checksum.c | 18 * A: At some points, the sum (%0) was used as 35 * computes a partial checksum, e.g. for TCP/UDP fragments 43 * is aligned on either a 2-byte or 4-byte boundary. in csum_partial() 59 "lsrl #5,%1\n\t" /* len/32 */ in csum_partial() 104 "jlt 5f\n\t" in csum_partial() 109 "5:\t" in csum_partial() 117 : "=d" (sum), "=d" (len), "=a" (buff), in csum_partial() 159 "lsrl #5,%1\n\t" /* len/32 */ in csum_and_copy_from_user() 164 "movesl %2@+,%5\n\t" in csum_and_copy_from_user() 165 "addxl %5,%0\n\t" in csum_and_copy_from_user() [all …]
|
/Linux-v6.6/Documentation/userspace-api/media/rc/ |
D | rc-protos.rst | 9 IR is encoded as a series of pulses and spaces, using a protocol. These 10 protocols can encode e.g. an address (which device should respond) and a 12 across different devices for a given protocol. 14 Therefore out the output of the IR decoder is a scancode; a single u32 17 Other things can be encoded too. Some IR protocols encode a toggle bit; this 22 Some remotes have a pointer-type device which can used to control the 29 rc-5 (RC_PROTO_RC5) 32 This IR protocol uses manchester encoding to encode 14 bits. There is a 41 * - rc-5 bit 65 * - 5 [all …]
|
/Linux-v6.6/Documentation/core-api/ |
D | packing.rst | 10 One can memory-map a pointer to a carefully crafted struct over the hardware 20 A more robust alternative to struct field definitions would be to extract the 34 - Packing a CPU-usable number into a memory buffer (with hardware 36 - Unpacking a memory buffer (which has hardware constraints/quirks) 37 into a CPU-usable number. 47 The following examples cover the memory layout of a packed u64 field. 56 7 6 5 4 57 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 72 7 6 5 4 73 24 25 26 27 28 29 30 31 16 17 18 19 20 21 22 23 8 9 10 11 12 13 14 15 0 1 2 3 4 5 6 7 [all …]
|
/Linux-v6.6/arch/mips/include/asm/ |
D | pgtable-32.h | 28 * We use the same huge page sizes as 64-bit MIPS. Assuming a 4KB page size, 29 * our 2-level table layout would normally have a PGD entry cover a contiguous 30 * 4MB virtual address region (pointing to a 4KB PTE page of 1,024 32-bit pte_t 31 * pointers, each pointing to a 4KB physical page). The problem is that 4MB, 32 * spanning both halves of a TLB EntryLo0,1 pair, requires 2MB hardware page 35 * pointers a PTE page holds, making its last half go to waste. Correspondingly, 46 * - add_temporary_entry() add a temporary TLB entry. We use TLB entries 58 * when we have proper page coloring support we can have a 1% quicker 59 * tlb refill handling mechanism, but for now it is a bit slower but 63 /* PGDIR_SHIFT determines what a third-level page table entry can map */ [all …]
|
/Linux-v6.6/drivers/comedi/drivers/ |
D | pcl812.c | 14 * card: ISO-813, A-821PGH, A-821PGL, A-821PGL-NDA, A-822PGH, A-822PGL, 15 * driver: iso813, a821pgh, a-821pgl, a-821pglnda, a822pgh, a822pgl, 16 * card: A-823PGH, A-823PGL, A-826PG 24 * ICP DAS A-821PGH/PGL/PGL-NDA, A-822PGH/PGL, A-823PGH/PGL, A-826PG, 30 * [ICP] ISO-813 (iso813), A-821PGH (a821pgh), A-821PGL (a821pgl), 31 * A-821PGL-NDA (a821pclnda), A-822PGH (a822pgh), A-822PGL (a822pgl), 32 * A-823PGH (a823pgh), A-823PGL (a823pgl), A-826PG (a826pg) 44 * [1] - IRQ (0=disable, 2, 3, 4, 5, 6, 7; 10, 11, 12, 14, 15) 48 * [4] - 0=A/D input range is +/-10V 49 * 1=A/D input range is +/-5V [all …]
|
/Linux-v6.6/Documentation/admin-guide/device-mapper/ |
D | dm-raid.rst | 5 The device-mapper RAID (dm-raid) target provides a bridge from DM to MD. 6 It allows the MD RAID drivers to be accessed using a device-mapper 95 clear bits. A longer interval means less bitmap I/O but 96 resyncing after a failure is likely to take longer. 107 Stripe cache size (RAID 4/5/6 only) 115 a RAID10 configuration. The number of copies is can be 134 layout is what a traditional RAID10 would look like. The 135 3-device layout is what might be called a 'RAID1E - Integrated 175 value) to any reshape supporting raid levels 4/5/6 and 10. 176 RAID levels 4/5/6 allow for addition of devices (metadata [all …]
|
/Linux-v6.6/arch/sh/include/asm/ |
D | bitops-cas.h | 17 volatile unsigned *a = addr; in set_bit() local 19 a += nr >> 5; in set_bit() 22 do old = *a; in set_bit() 23 while (__bo_cas(a, old, old|mask) != old); in set_bit() 29 volatile unsigned *a = addr; in clear_bit() local 31 a += nr >> 5; in clear_bit() 34 do old = *a; in clear_bit() 35 while (__bo_cas(a, old, old&~mask) != old); in clear_bit() 41 volatile unsigned *a = addr; in change_bit() local 43 a += nr >> 5; in change_bit() [all …]
|
/Linux-v6.6/drivers/ata/pata_parport/ |
D | on26.c | 5 * on26.c is a low-level protocol driver for the 26 #define j44(a, b) (((a >> 4) & 0x0f) | (b & 0xf0)) argument 30 w2(5); w2(0xd); w2(5); w2(0xd); w2(5); w2(4); \ 35 w2(5); w2(7); w2(5); w2(4); \ 45 int a, b, r; in on26_read_regr() local 52 w2(6); a = r1(); w2(4); in on26_read_regr() 55 return j44(a, b); in on26_read_regr() 58 w2(0x26); a = r0(); w2(4); w2(0x26); w2(4); in on26_read_regr() 59 return a; in on26_read_regr() 63 w3(1); w3(1); w2(5); w4(r); w2(4); in on26_read_regr() [all …]
|
D | dstr.c | 5 * dstr.c is a low-level protocol driver for the DataStor EP2000 parallel 26 #define j44(a, b) (((a >> 3) & 0x07) | ((~a >> 4) & 0x08) | \ argument 29 #define P1 w2(5);w2(0xd);w2(5);w2(4); 30 #define P2 w2(5);w2(7);w2(5);w2(4); 41 int a, b, r; in dstr_read_regr() local 54 w2(6); a = r1(); w2(4); w2(6); b = r1(); w2(4); in dstr_read_regr() 55 return j44(a, b); in dstr_read_regr() 57 w0(0); w2(0x26); a = r0(); w2(4); in dstr_read_regr() 58 return a; in dstr_read_regr() 62 w2(0x24); a = r4(); w2(4); in dstr_read_regr() [all …]
|
/Linux-v6.6/Documentation/process/ |
D | applying-patches.rst | 14 A frequently asked question on the Linux Kernel Mailing List is how to apply 15 a patch to the kernel or, more specifically, what base kernel a patch for 19 In addition to explaining how to apply and revert patches, a brief 24 What is a patch? 27 A patch is a small text document containing a delta of changes between two 28 different versions of a source tree. Patches are created with the ``diff`` 31 To correctly apply a patch you need to know what base it was generated from 37 How do I apply or revert a patch? 40 You apply a patch with the ``patch`` program. The patch program reads a diff 48 names like "a/" and "b/"). [all …]
|
/Linux-v6.6/arch/arm/mach-omap1/ |
D | mux.c | 42 MUX_CFG("UART3_CTS", 5, 12, 2, 0, 24, 0, NA, 0, 0) 43 MUX_CFG("UART3_RTS", 5, 15, 2, 0, 25, 0, NA, 0, 0) 44 MUX_CFG("UART3_CLKREQ", 9, 27, 0, 2, 5, 0, NA, 0, 0) 45 MUX_CFG("UART3_BCLK", A, 0, 0, 2, 6, 0, NA, 0, 0) 46 MUX_CFG("Y15_1610_UART3_RTS", A, 0, 1, 2, 6, 0, NA, 0, 0) 56 MUX_CFG("W4_USB_PUEN", D, 3, 3, 3, 5, 1, NA, 0, 1) 57 MUX_CFG("W4_USB_CLKO", D, 3, 1, 3, 5, 0, NA, 0, 1) 58 MUX_CFG("W4_USB_HIGHZ", D, 3, 4, 3, 5, 0, 3, 0, 1) 59 MUX_CFG("W4_GPIO58", D, 3, 7, 3, 5, 0, 3, 0, 1) 67 MUX_CFG("USB1_VP", A, 3, 1, 2, 7, 0, NA, 0, 1) [all …]
|