| /kernel/linux/linux-5.10/include/crypto/ |
| D | gf128mul.h | 1 /* gf128mul.h - GF(2^128) multiplication functions 16 --------------------------------------------------------------------------- 43 --------------------------------------------------------------------------- 59 * http://csrc.nist.gov/groups/ST/toolkit/BCM/documents/proposedmodes/gcm/gcm-revised-spec.pdf 61 * The elements of GF(2^128) := GF(2)[X]/(X^128-X^7-X^2-X^1-1) can 72 * Every bit is a coefficient of some power of X. We can store the bits 73 * in every byte in little-endian order and the bytes themselves also in 74 * little endian order. I will call this lle (little-little-endian). 80 * Another convention says: store the bits in bigendian order and the 81 * bytes also. This is bbe (big-big-endian). Now the buffer above [all …]
|
| /kernel/linux/linux-6.6/include/crypto/ |
| D | gf128mul.h | 1 /* gf128mul.h - GF(2^128) multiplication functions 16 --------------------------------------------------------------------------- 43 --------------------------------------------------------------------------- 59 * http://csrc.nist.gov/groups/ST/toolkit/BCM/documents/proposedmodes/gcm/gcm-revised-spec.pdf 61 * The elements of GF(2^128) := GF(2)[X]/(X^128-X^7-X^2-X^1-1) can 72 * Every bit is a coefficient of some power of X. We can store the bits 73 * in every byte in little-endian order and the bytes themselves also in 74 * little endian order. I will call this lle (little-little-endian). 80 * Another convention says: store the bits in bigendian order and the 81 * bytes also. This is bbe (big-big-endian). Now the buffer above [all …]
|
| /kernel/linux/linux-6.6/arch/m68k/fpsp040/ |
| D | sgetem.S | 13 | range of the result is [1.0 - 2.0). 16 | Input: Double-extended number X in the ETEMP space in 17 | the floating-point save stack. 74 | with an exponent of +/- $3fff. 83 bclrl #14,%d0 |make it the new exp +-3fff 89 | For denormalized numbers, shift the mantissa until the j-bit = 1, 95 movel LOCAL_LO(%a0),%d1 |load ls mant in d1 96 bsr shft |shift mantissa bits till msbit is set 98 movel %d1,LOCAL_LO(%a0) |put ls mant back on stack 104 | Shifts the mantissa bits until msbit is set. [all …]
|
| D | round.S | 21 | round --- round result according to precision/mode 33 | d0{31:29} contains the g,r,s bits (extended) 36 | a0 is preserved and the g-r-s bits in d0 are cleared. 37 | The result is not typed - the tag field is invalid. The 41 | inexact (i.e. if any of the g-r-s bits were set). 51 | ;the appropriate g-r-s bits. 53 bne rnd_cont |lower bits to zero for size 117 asll #1,%d0 |shift g-bit to c-bit 124 | ext_grs --- extract guard, round and sticky bits 129 | The ext_grs extract the guard/round/sticky bits according to the [all …]
|
| D | binstr.S | 5 | Description: Converts a 64-bit binary integer to bcd. 7 | Input: 64-bit binary integer in d2:d3, desired length (LEN) in 12 | Output: LEN bcd digits representing the 64-bit integer. 15 | The 64-bit binary is assumed to have a decimal point before 17 | shift and a mul by 8 shift. The bits shifted out of the 23 | to force the first byte formed to have a 0 in the upper 4 bits. 28 | A3. Multiply the fraction in d2:d3 by 8 using bit-field 35 | A5. Add using the carry the 64-bit quantities in d2:d3 and d4:d5 38 | A6. Test d7. If zero, the digit formed is the ms digit. If non- 39 | zero, it is the ls digit. Put the digit in its place in the [all …]
|
| D | x_store.S | 4 | store --- store operand to memory or register 52 | if fp0-fp3 is being modified, we must put a copy 54 | handlers restore fp0-fp3 from there. 58 fmovemx %fp0-%fp0,USER_FP0(%a6) 63 fmovemx %fp1-%fp1,USER_FP1(%a6) 68 fmovemx %fp2-%fp2,USER_FP2(%a6) 73 fmovemx %fp3-%fp3,USER_FP3(%a6) 100 | dest_dbl --- write double precision value to user space 103 | a0 -> destination address 104 | a1 -> source in extended precision [all …]
|
| /kernel/linux/linux-5.10/arch/m68k/fpsp040/ |
| D | sgetem.S | 13 | range of the result is [1.0 - 2.0). 16 | Input: Double-extended number X in the ETEMP space in 17 | the floating-point save stack. 74 | with an exponent of +/- $3fff. 83 bclrl #14,%d0 |make it the new exp +-3fff 89 | For denormalized numbers, shift the mantissa until the j-bit = 1, 95 movel LOCAL_LO(%a0),%d1 |load ls mant in d1 96 bsr shft |shift mantissa bits till msbit is set 98 movel %d1,LOCAL_LO(%a0) |put ls mant back on stack 104 | Shifts the mantissa bits until msbit is set. [all …]
|
| D | round.S | 21 | round --- round result according to precision/mode 33 | d0{31:29} contains the g,r,s bits (extended) 36 | a0 is preserved and the g-r-s bits in d0 are cleared. 37 | The result is not typed - the tag field is invalid. The 41 | inexact (i.e. if any of the g-r-s bits were set). 51 | ;the appropriate g-r-s bits. 53 bne rnd_cont |lower bits to zero for size 117 asll #1,%d0 |shift g-bit to c-bit 124 | ext_grs --- extract guard, round and sticky bits 129 | The ext_grs extract the guard/round/sticky bits according to the [all …]
|
| D | binstr.S | 5 | Description: Converts a 64-bit binary integer to bcd. 7 | Input: 64-bit binary integer in d2:d3, desired length (LEN) in 12 | Output: LEN bcd digits representing the 64-bit integer. 15 | The 64-bit binary is assumed to have a decimal point before 17 | shift and a mul by 8 shift. The bits shifted out of the 23 | to force the first byte formed to have a 0 in the upper 4 bits. 28 | A3. Multiply the fraction in d2:d3 by 8 using bit-field 35 | A5. Add using the carry the 64-bit quantities in d2:d3 and d4:d5 38 | A6. Test d7. If zero, the digit formed is the ms digit. If non- 39 | zero, it is the ls digit. Put the digit in its place in the [all …]
|
| D | x_store.S | 4 | store --- store operand to memory or register 52 | if fp0-fp3 is being modified, we must put a copy 54 | handlers restore fp0-fp3 from there. 58 fmovemx %fp0-%fp0,USER_FP0(%a6) 63 fmovemx %fp1-%fp1,USER_FP1(%a6) 68 fmovemx %fp2-%fp2,USER_FP2(%a6) 73 fmovemx %fp3-%fp3,USER_FP3(%a6) 100 | dest_dbl --- write double precision value to user space 103 | a0 -> destination address 104 | a1 -> source in extended precision [all …]
|
| /kernel/linux/linux-6.6/fs/gfs2/ |
| D | lock_dlm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved. 4 * Copyright 2004-2011 Red Hat, Inc. 26 * gfs2_update_stats - Update time based stats 52 s64 delta = sample - s->stats[index]; in gfs2_update_stats() 53 s->stats[index] += (delta >> 3); in gfs2_update_stats() 55 s->stats[index] += (s64)(abs(delta) - s->stats[index]) >> 2; in gfs2_update_stats() 59 * gfs2_update_reply_times - Update locking statistics 62 * This assumes that gl->gl_dstamp has been set earlier. 72 * TRY_1CB flags are set are classified as non-blocking. All [all …]
|
| /kernel/linux/linux-5.10/fs/gfs2/ |
| D | lock_dlm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved. 4 * Copyright 2004-2011 Red Hat, Inc. 26 * gfs2_update_stats - Update time based stats 49 s64 delta = sample - s->stats[index]; in gfs2_update_stats() 50 s->stats[index] += (delta >> 3); in gfs2_update_stats() 52 s->stats[index] += (s64)(abs(delta) - s->stats[index]) >> 2; in gfs2_update_stats() 56 * gfs2_update_reply_times - Update locking statistics 59 * This assumes that gl->gl_dstamp has been set earlier. 69 * TRY_1CB flags are set are classified as non-blocking. All [all …]
|
| /kernel/linux/linux-6.6/drivers/leds/ |
| D | leds-pca955x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright 2007-2008 Extreme Engineering Solutions, Inc. 5 * Author: Nate Case <ncase@xes-inc.com> 11 * Device Description 7-bit slave address 12 * ------ ----------- ------------------- 13 * PCA9550 2-bit driver 0x60 .. 0x61 14 * PCA9551 8-bit driver 0x60 .. 0x67 15 * PCA9552 16-bit driver 0x60 .. 0x67 16 * PCA9553/01 4-bit driver 0x62 17 * PCA9553/02 4-bit driver 0x63 [all …]
|
| /kernel/linux/linux-5.10/drivers/leds/ |
| D | leds-pca955x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright 2007-2008 Extreme Engineering Solutions, Inc. 5 * Author: Nate Case <ncase@xes-inc.com> 11 * Device Description 7-bit slave address 12 * ------ ----------- ------------------- 13 * PCA9550 2-bit driver 0x60 .. 0x61 14 * PCA9551 8-bit driver 0x60 .. 0x67 15 * PCA9552 16-bit driver 0x60 .. 0x67 16 * PCA9553/01 4-bit driver 0x62 17 * PCA9553/02 4-bit driver 0x63 [all …]
|
| /kernel/linux/linux-5.10/fs/dlm/ |
| D | dir.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 ** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved. 6 ** Copyright (C) 2004-2005 Red Hat, Inc. All rights reserved. 25 * We use the upper 16 bits of the hash value to select the directory node. 26 * Low bits are used for distribution of rsb's among hash buckets on each node. 28 * To give the exact range wanted (0 to num_nodes-1), we apply a modulus of 33 int dlm_hash2nodeid(struct dlm_ls *ls, uint32_t hash) in dlm_hash2nodeid() argument 37 if (ls->ls_num_nodes == 1) in dlm_hash2nodeid() 40 node = (hash >> 16) % ls->ls_total_weight; in dlm_hash2nodeid() 41 return ls->ls_node_array[node]; in dlm_hash2nodeid() [all …]
|
| /kernel/linux/linux-6.6/fs/dlm/ |
| D | dir.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 ** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved. 6 ** Copyright (C) 2004-2005 Red Hat, Inc. All rights reserved. 25 * We use the upper 16 bits of the hash value to select the directory node. 26 * Low bits are used for distribution of rsb's among hash buckets on each node. 28 * To give the exact range wanted (0 to num_nodes-1), we apply a modulus of 33 int dlm_hash2nodeid(struct dlm_ls *ls, uint32_t hash) in dlm_hash2nodeid() argument 37 if (ls->ls_num_nodes == 1) in dlm_hash2nodeid() 40 node = (hash >> 16) % ls->ls_total_weight; in dlm_hash2nodeid() 41 return ls->ls_node_array[node]; in dlm_hash2nodeid() [all …]
|
| /kernel/linux/linux-6.6/include/linux/ |
| D | nvme-fc-driver.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 10 #include <linux/blk-mq.h> 14 * ********************** FC-NVME LS API ******************** 16 * Data structures used by both FC-NVME hosts and FC-NVME 17 * targets to perform FC-NVME LS requests or transmit 24 * struct nvmefc_ls_req - Request structure passed from the transport 25 * to the LLDD to perform a NVME-FC LS request and obtain 27 * Used by nvme-fc transport (host) to send LS's such as 30 * Used by the nvmet-fc transport (controller) to send 31 * LS's such as Disconnect Association. [all …]
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | nvme-fc-driver.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 13 * ********************** FC-NVME LS API ******************** 15 * Data structures used by both FC-NVME hosts and FC-NVME 16 * targets to perform FC-NVME LS requests or transmit 23 * struct nvmefc_ls_req - Request structure passed from the transport 24 * to the LLDD to perform a NVME-FC LS request and obtain 26 * Used by nvme-fc transport (host) to send LS's such as 29 * Used by the nvmet-fc transport (controller) to send 30 * LS's such as Disconnect Association. 39 * @timeout: Maximum amount of time, in seconds, to wait for the LS response. [all …]
|
| /kernel/linux/linux-6.6/arch/x86/math-emu/ |
| D | wm_sqrt.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 /*---------------------------------------------------------------------------+ 10 | Australia. E-mail billm@suburbia.net | 15 +---------------------------------------------------------------------------*/ 17 /*---------------------------------------------------------------------------+ 22 | be in the range [1.0 .. 4.0), to 64 bits accuracy. | 27 +---------------------------------------------------------------------------*/ 35 #define FPU_accum_3 -4(%ebp) /* ms word */ 36 #define FPU_accum_2 -8(%ebp) 37 #define FPU_accum_1 -12(%ebp) [all …]
|
| D | reg_round.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 /*---------------------------------------------------------------------------+ 10 | Australia. E-mail billm@suburbia.net | 20 | Return value is the tag of the answer, or-ed with FPU_Exception if | 21 | one was raised, or -1 on internal error. | 26 +---------------------------------------------------------------------------*/ 28 /*---------------------------------------------------------------------------+ 47 | must be non-zero. | 48 | If the significand extension is non-zero then the significand is | 50 | greater than zero and less than one ls bit of the significand. | [all …]
|
| /kernel/linux/linux-5.10/arch/x86/math-emu/ |
| D | wm_sqrt.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 /*---------------------------------------------------------------------------+ 10 | Australia. E-mail billm@suburbia.net | 15 +---------------------------------------------------------------------------*/ 17 /*---------------------------------------------------------------------------+ 22 | be in the range [1.0 .. 4.0), to 64 bits accuracy. | 27 +---------------------------------------------------------------------------*/ 35 #define FPU_accum_3 -4(%ebp) /* ms word */ 36 #define FPU_accum_2 -8(%ebp) 37 #define FPU_accum_1 -12(%ebp) [all …]
|
| D | reg_round.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 /*---------------------------------------------------------------------------+ 10 | Australia. E-mail billm@suburbia.net | 20 | Return value is the tag of the answer, or-ed with FPU_Exception if | 21 | one was raised, or -1 on internal error. | 26 +---------------------------------------------------------------------------*/ 28 /*---------------------------------------------------------------------------+ 47 | must be non-zero. | 48 | If the significand extension is non-zero then the significand is | 50 | greater than zero and less than one ls bit of the significand. | [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/tc-testing/tc-tests/actions/ |
| D | skbmod.json | 19 "verifyCmd": "$TC actions ls action skbmod", 20 "matchPattern": "action order [0-9]*: skbmod pipe set dmac 11:22:33:44:55:66\\s+index 5", 44 "matchPattern": "action order [0-9]*: skbmod pipe set smac 77:88:99:aa:bb:cc\\s+index 7", 67 "verifyCmd": "$TC actions ls action skbmod", 68 "matchPattern": "action order [0-9]*: skbmod pipe set smac 00:44:55:44:55", 91 "verifyCmd": "$TC actions ls action skbmod", 92 "matchPattern": "action order [0-9]*: skbmod pipe set etype 0xFEFE", 115 "verifyCmd": "$TC actions ls action skbmod", 116 "matchPattern": "action order [0-9]*: skbmod pipe set etype 0xFEFEF", 140 "matchPattern": "action order [0-9]*: skbmod pipe swap mac", [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/kernel/ |
| D | setup.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 1995-2001 Russell King 105 * smp_build_mpidr_hash - Pre-compute shifts required at each affinity 112 u32 i, affinity, fs[4], bits[4], ls; in smp_build_mpidr_hash() local 115 * Pre-scan the list of MPIDRS and filter out bits that do in smp_build_mpidr_hash() 120 pr_debug("mask of set bits %#llx\n", mask); in smp_build_mpidr_hash() 123 * check how many bits are required to represent them. in smp_build_mpidr_hash() 128 * Find the MSB bit and LSB bits position in smp_build_mpidr_hash() 129 * to determine how many bits are required in smp_build_mpidr_hash() 132 ls = fls(affinity); in smp_build_mpidr_hash() [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/kernel/ |
| D | setup.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 1995-2001 Russell King 107 * smp_build_mpidr_hash - Pre-compute shifts required at each affinity 114 u32 i, affinity, fs[4], bits[4], ls; in smp_build_mpidr_hash() local 117 * Pre-scan the list of MPIDRS and filter out bits that do in smp_build_mpidr_hash() 122 pr_debug("mask of set bits %#llx\n", mask); in smp_build_mpidr_hash() 125 * check how many bits are required to represent them. in smp_build_mpidr_hash() 130 * Find the MSB bit and LSB bits position in smp_build_mpidr_hash() 131 * to determine how many bits are required in smp_build_mpidr_hash() 134 ls = fls(affinity); in smp_build_mpidr_hash() [all …]
|