| /kernel/linux/linux-6.6/fs/reiserfs/ |
| D | fix_node.c | 15 * will shift to left/right neighbor, or to a new node, where new item 23 * have to have if we do not any shiftings, if we shift to left/right 39 "vs-8005: for INSERT mode and item number of inserted item"); in old_item_num() 41 return new_num - 1; in old_item_num() 45 "vs-8010: old_item_num: mode must be M_DELETE (mode = \'%c\'", in old_item_num() 54 struct virtual_node *vn = tb->tb_vn; in create_virtual_node() 56 struct buffer_head *Sh; /* this comes from tb->S[h] */ in create_virtual_node() 58 Sh = PATH_H_PBUFFER(tb->tb_path, h); in create_virtual_node() 61 vn->vn_size = in create_virtual_node() 62 MAX_CHILD_SIZE(Sh) - B_FREE_SPACE(Sh) + tb->insert_size[h]; in create_virtual_node() [all …]
|
| /kernel/linux/linux-5.10/fs/reiserfs/ |
| D | fix_node.c | 15 * will shift to left/right neighbor, or to a new node, where new item 23 * have to have if we do not any shiftings, if we shift to left/right 39 "vs-8005: for INSERT mode and item number of inserted item"); in old_item_num() 41 return new_num - 1; in old_item_num() 45 "vs-8010: old_item_num: mode must be M_DELETE (mode = \'%c\'", in old_item_num() 54 struct virtual_node *vn = tb->tb_vn; in create_virtual_node() 56 struct buffer_head *Sh; /* this comes from tb->S[h] */ in create_virtual_node() 58 Sh = PATH_H_PBUFFER(tb->tb_path, h); in create_virtual_node() 61 vn->vn_size = in create_virtual_node() 62 MAX_CHILD_SIZE(Sh) - B_FREE_SPACE(Sh) + tb->insert_size[h]; in create_virtual_node() [all …]
|
| /kernel/linux/linux-6.6/include/linux/ |
| D | int_log.h | 1 /* SPDX-License-Identifier: LGPL-2.1-or-later */ 3 * Provides fixed-point logarithm operations. 14 * intlog2 - computes log2 of a value; the result is shifted left by 24 bits 20 * intlog2(value) = intlog2(value * 2^x) - x * 2^24 28 * intlog2(1.5) = intlog2(3) - 2^24 = 0.584... * 2^24 36 * intlog10 - computes log10 of a value; the result is shifted left by 24 bits 42 * intlog10(value) = intlog10(value * 10^x) - x * 2^24
|
| D | timekeeper_internal.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 15 * struct tk_read_base - base structure for timekeeping readout 21 * @xtime_nsec: Shifted (fractional) nano seconds offset for readout 46 * struct timekeeper - Structure holding internal timekeeping values. 52 * @offs_real: Offset clock monotonic -> clock realtime 53 * @offs_boot: Offset clock monotonic -> clock boottime 54 * @offs_tai: Offset clock monotonic -> clock tai 58 * @next_leap_ktime: CLOCK_MONOTONIC time value of a pending leap-second 62 * @xtime_interval: Number of clock shifted nano seconds in one NTP 64 * @xtime_remainder: Shifted nano seconds left over when rounding [all …]
|
| /kernel/linux/linux-5.10/include/media/ |
| D | dvb_math.h | 2 * dvb-math provides some complex fixed-point math 24 * intlog2 - computes log2 of a value; the result is shifted left by 24 bits 30 * intlog2(value) = intlog2(value * 2^x) - x * 2^24 38 * intlog2(1.5) = intlog2(3) - 2^24 = 0.584... * 2^24 46 * intlog10 - computes log10 of a value; the result is shifted left by 24 bits 52 * intlog10(value) = intlog10(value * 10^x) - x * 2^24
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/i3c/ |
| D | i3c.txt | 8 ------------------- 10 - #address-cells - should be <3>. Read more about addresses below. 11 - #size-cells - should be <0>. 12 - compatible - name of the I3C master controller driving the I3C bus 16 The node describing an I3C bus should be named i3c-master. 19 ------------------- 24 - i3c-scl-hz: frequency of the SCL signal used for I3C transfers. 27 - i2c-scl-hz: frequency of the SCL signal used for I2C transfers. 40 -------------------------------------- 41 - reg: contains 3 cells [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/i3c/ |
| D | i3c.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Alexandre Belloni <alexandre.belloni@bootlin.com> 11 - Miquel Raynal <miquel.raynal@bootlin.com> 20 pattern: "^i3c-master@[0-9a-f]+$" 22 "#address-cells": 39 "#size-cells": 42 i3c-scl-hz: 49 i2c-scl-hz: [all …]
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | timekeeper_internal.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 15 * struct tk_read_base - base structure for timekeeping readout 21 * @xtime_nsec: Shifted (fractional) nano seconds offset for readout 46 * struct timekeeper - Structure holding internal timekeeping values. 52 * @offs_real: Offset clock monotonic -> clock realtime 53 * @offs_boot: Offset clock monotonic -> clock boottime 54 * @offs_tai: Offset clock monotonic -> clock tai 58 * @next_leap_ktime: CLOCK_MONOTONIC time value of a pending leap-second 62 * @xtime_interval: Number of clock shifted nano seconds in one NTP 64 * @xtime_remainder: Shifted nano seconds left over when rounding [all …]
|
| /kernel/linux/linux-6.6/include/uapi/linux/ |
| D | inet_diag.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 72 #define INET_DIAG_REQ_MAX (__INET_DIAG_REQ_MAX - 1) 167 #define INET_DIAG_MAX (__INET_DIAG_MAX - 1) 176 #define INET_ULP_INFO_MAX (__INET_ULP_INFO_MAX - 1) 226 /* u64 bw: max-filtered BW (app throughput) estimate in Byte per sec: */ 229 __u32 bbr_min_rtt; /* min-filtered RTT in uSec */ 230 __u32 bbr_pacing_gain; /* pacing gain shifted left 8 bits */ 231 __u32 bbr_cwnd_gain; /* cwnd gain shifted left 8 bits */
|
| /kernel/linux/linux-5.10/include/uapi/linux/ |
| D | inet_diag.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 72 #define INET_DIAG_REQ_MAX (__INET_DIAG_REQ_MAX - 1) 167 #define INET_DIAG_MAX (__INET_DIAG_MAX - 1) 176 #define INET_ULP_INFO_MAX (__INET_ULP_INFO_MAX - 1) 226 /* u64 bw: max-filtered BW (app throughput) estimate in Byte per sec: */ 229 __u32 bbr_min_rtt; /* min-filtered RTT in uSec */ 230 __u32 bbr_pacing_gain; /* pacing gain shifted left 8 bits */ 231 __u32 bbr_cwnd_gain; /* cwnd gain shifted left 8 bits */
|
| /kernel/linux/linux-6.6/arch/alpha/lib/ |
| D | stxncpy.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 * Copy no more than COUNT bytes of the null-terminated string from 27 * a2 = the number of full words left in COUNT 29 * Furthermore, v0, a3-a5, t11, and $at are untouched. 55 lda t2, -1 # e1 : build a mask against false zero 79 the end-of-count bit is set in t8 iff it applies. 107 /* Add the end-of-count bit to the eos detection bitmask. */ 121 /* Are source and destination co-aligned? */ 128 srl a2, 3, a2 # e0 : a2 = loop counter = (count - 1)/8 133 /* We are co-aligned; take care of a partial first word. */ [all …]
|
| D | ev6-stxncpy.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * arch/alpha/lib/ev6-stxncpy.S 4 * 21264 version contributed by Rick Gorton <rick.gorton@api-networks.com> 6 * Copy no more than COUNT bytes of the null-terminated string from 27 * a2 = the number of full words left in COUNT 29 * Furthermore, v0, a3-a5, t11, and $at are untouched. 34 * ftp.digital.com/pub/Digital/info/semiconductor/literature/dsc-library.html 36 * E - either cluster 37 * U - upper subcluster; U0 - subcluster U0; U1 - subcluster U1 38 * L - lower subcluster; L0 - subcluster L0; L1 - subcluster L1 [all …]
|
| /kernel/linux/linux-5.10/arch/alpha/lib/ |
| D | stxncpy.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 * Copy no more than COUNT bytes of the null-terminated string from 27 * a2 = the number of full words left in COUNT 29 * Furthermore, v0, a3-a5, t11, and $at are untouched. 55 lda t2, -1 # e1 : build a mask against false zero 79 the end-of-count bit is set in t8 iff it applies. 107 /* Add the end-of-count bit to the eos detection bitmask. */ 121 /* Are source and destination co-aligned? */ 128 srl a2, 3, a2 # e0 : a2 = loop counter = (count - 1)/8 133 /* We are co-aligned; take care of a partial first word. */ [all …]
|
| D | ev6-stxncpy.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * arch/alpha/lib/ev6-stxncpy.S 4 * 21264 version contributed by Rick Gorton <rick.gorton@api-networks.com> 6 * Copy no more than COUNT bytes of the null-terminated string from 27 * a2 = the number of full words left in COUNT 29 * Furthermore, v0, a3-a5, t11, and $at are untouched. 34 * ftp.digital.com/pub/Digital/info/semiconductor/literature/dsc-library.html 36 * E - either cluster 37 * U - upper subcluster; U0 - subcluster U0; U1 - subcluster U1 38 * L - lower subcluster; L0 - subcluster L0; L1 - subcluster L1 [all …]
|
| /kernel/linux/linux-5.10/arch/parisc/math-emu/ |
| D | sfsub.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Linux/PA-RISC Project (http://www.parisc-linux.org/) 5 * Floating-point emulation code 6 * Copyright (C) 2001 Hewlett-Packard (Paul Bame) <bame@debian.org> 42 register unsigned int left, right, result, extent; in sgl_fsub() local 50 left = *leftptr; in sgl_fsub() 55 Sgl_xortointp1(left,right,/*to*/save); in sgl_fsub() 60 if ((result_exponent = Sgl_exponent(left)) == SGL_INFINITY_EXPONENT) in sgl_fsub() 62 if (Sgl_iszero_mantissa(left)) in sgl_fsub() 80 *dstptr = left; in sgl_fsub() [all …]
|
| D | sfadd.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Linux/PA-RISC Project (http://www.parisc-linux.org/) 5 * Floating-point emulation code 6 * Copyright (C) 2001 Hewlett-Packard (Paul Bame) <bame@debian.org> 42 register unsigned int left, right, result, extent; in sgl_fadd() local 52 left = *leftptr; in sgl_fadd() 57 Sgl_xortointp1(left,right,/*to*/save); in sgl_fadd() 62 if ((result_exponent = Sgl_exponent(left)) == SGL_INFINITY_EXPONENT) in sgl_fadd() 64 if (Sgl_iszero_mantissa(left)) in sgl_fadd() 82 *dstptr = left; in sgl_fadd() [all …]
|
| /kernel/linux/linux-6.6/arch/parisc/math-emu/ |
| D | sfsub.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Linux/PA-RISC Project (http://www.parisc-linux.org/) 5 * Floating-point emulation code 6 * Copyright (C) 2001 Hewlett-Packard (Paul Bame) <bame@debian.org> 42 register unsigned int left, right, result, extent; in sgl_fsub() local 50 left = *leftptr; in sgl_fsub() 55 Sgl_xortointp1(left,right,/*to*/save); in sgl_fsub() 60 if ((result_exponent = Sgl_exponent(left)) == SGL_INFINITY_EXPONENT) in sgl_fsub() 62 if (Sgl_iszero_mantissa(left)) in sgl_fsub() 80 *dstptr = left; in sgl_fsub() [all …]
|
| D | sfadd.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Linux/PA-RISC Project (http://www.parisc-linux.org/) 5 * Floating-point emulation code 6 * Copyright (C) 2001 Hewlett-Packard (Paul Bame) <bame@debian.org> 42 register unsigned int left, right, result, extent; in sgl_fadd() local 52 left = *leftptr; in sgl_fadd() 57 Sgl_xortointp1(left,right,/*to*/save); in sgl_fadd() 62 if ((result_exponent = Sgl_exponent(left)) == SGL_INFINITY_EXPONENT) in sgl_fadd() 64 if (Sgl_iszero_mantissa(left)) in sgl_fadd() 82 *dstptr = left; in sgl_fadd() [all …]
|
| D | dfsub.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Linux/PA-RISC Project (http://www.parisc-linux.org/) 5 * Floating-point emulation code 6 * Copyright (C) 2001 Hewlett-Packard (Paul Bame) <bame@debian.org> 117 } /* End left NaN or Infinity processing */ in dbl_fsub() 157 /* Set the left operand to the larger one by XOR swap * in dbl_fsub() 165 /* Invariant: left is not smaller than right. */ in dbl_fsub() 188 /* Left is not a zero and must be the result. Trapped in dbl_fsub() 189 * underflows are signaled if left is denormalized. Result in dbl_fsub() 266 diff_exponent = result_exponent - right_exponent; in dbl_fsub() [all …]
|
| D | dfadd.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Linux/PA-RISC Project (http://www.parisc-linux.org/) 5 * Floating-point emulation code 6 * Copyright (C) 2001 Hewlett-Packard (Paul Bame) <bame@debian.org> 117 } /* End left NaN or Infinity processing */ in dbl_fadd() 156 /* Set the left operand to the larger one by XOR swap * in dbl_fadd() 163 /* Invariant: left is not smaller than right. */ in dbl_fadd() 185 /* Left is not a zero and must be the result. Trapped in dbl_fadd() 186 * underflows are signaled if left is denormalized. Result in dbl_fadd() 263 diff_exponent = result_exponent - right_exponent; in dbl_fadd() [all …]
|
| /kernel/linux/linux-6.6/arch/x86/kernel/ |
| D | crash_dump_32.c | 1 // SPDX-License-Identifier: GPL-2.0 19 * non-PAE kdump kernel executed from a PAE one will crop high pte in is_crashed_pfn_valid() 22 * test checks high 12 bits for being zero (pfn will be shifted left in is_crashed_pfn_valid() 40 return -EFAULT; in copy_oldmem_page()
|
| /kernel/linux/linux-6.6/lib/crypto/mpi/ |
| D | generic_mpih-lshift.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* mpihelp-lshift.c - MPI helper functions 16 #include "mpi-internal.h" 18 /* Shift U (pointed to by UP and USIZE digits long) CNT bits to the left 20 * Return the bits shifted out from the most significant digit. 37 sh_2 = BITS_PER_MPI_LIMB - sh_1; in mpihelp_lshift() 38 i = usize - 1; in mpihelp_lshift() 42 while (--i >= 0) { in mpihelp_lshift()
|
| /kernel/linux/linux-5.10/lib/mpi/ |
| D | generic_mpih-lshift.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* mpihelp-lshift.c - MPI helper functions 16 #include "mpi-internal.h" 18 /* Shift U (pointed to by UP and USIZE digits long) CNT bits to the left 20 * Return the bits shifted out from the most significant digit. 37 sh_2 = BITS_PER_MPI_LIMB - sh_1; in mpihelp_lshift() 38 i = usize - 1; in mpihelp_lshift() 42 while (--i >= 0) { in mpihelp_lshift()
|
| /kernel/linux/linux-6.6/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/ |
| D | phy_qmath.c | 1 // SPDX-License-Identifier: ISC 11 * shifted by 16 bits. 21 * result is right shifted by 15 bits. Right shifting 15 bits instead of 16 bits 81 s32 temp = (s32) op1 - (s32) op2; in qm_sub16() 93 * Description: This function make a 32 bit saturated left shift when the 95 * the specified shift is -ve. This function return the result after shifting 105 else if (shift < -31) in qm_shl32() 106 shift = -31; in qm_shl32() 111 result = result >> (-shift); in qm_shl32() 118 * Description: This function make a 16 bit saturated left shift when the [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/ |
| D | phy_qmath.c | 1 // SPDX-License-Identifier: ISC 11 * shifted by 16 bits. 21 * result is right shifted by 15 bits. Right shifting 15 bits instead of 16 bits 81 s32 temp = (s32) op1 - (s32) op2; in qm_sub16() 93 * Description: This function make a 32 bit saturated left shift when the 95 * the specified shift is -ve. This function return the result after shifting 105 else if (shift < -31) in qm_shl32() 106 shift = -31; in qm_shl32() 111 result = result >> (-shift); in qm_shl32() 118 * Description: This function make a 16 bit saturated left shift when the [all …]
|