| /linux/drivers/md/persistent-data/ |
| H A D | dm-btree-remove.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 #include "dm-btree.h" 9 #include "dm-btree-internal.h" 10 #include "dm-transaction-manager.h" 13 #include <linux/device-mapper.h> 29 * Each node may have a left or right sibling. When decending the spine, 36 * [B] No left sibling 40 * ==> rebalance(left sibling, node) 42 * [D] Both siblings, total_entries(left, node, right) <= DEL_THRESHOLD 43 * ==> delete node adding it's contents to left and right [all …]
|
| /linux/arch/parisc/math-emu/ |
| H A 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 …]
|
| H A 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 …]
|
| H A D | dbl_float.h | 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> 9 PA header file -- do not include this header file for non-PA builds. 12 /* 32-bit word grabbing functions */ 40 Dallp1(srcdst) &= Dmantissap1((unsigned int)-1) 43 * included in the shift. Here we need to generate two double width 48 * This is very difficult to model with C expressions since the shift amount 53 Dallp2(srcdstB) = Dallp1(srcdstA) >> (varamount-32); \ [all …]
|
| H A D | sgl_float.h | 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> 10 PA header file -- do not include this header file for non-PA builds. 13 /* 32-bit word grabbing functions */ 50 #define Sgl_leftshiftby1_withextent(left,right,result) \ argument 51 Shiftdouble(Sall(left),Extall(right),31,Sall(result)) 53 #define Sgl_rightshiftby1_withextent(left,right,dst) \ argument 54 Shiftdouble(Sall(left),Extall(right),1,Extall(right)) [all …]
|
| H A 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 …]
|
| H A 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 …]
|
| H A D | fcnvxf.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> 15 * Single Fixed-point to Single Floating-point 16 * Single Fixed-point to Double Floating-point 17 * Double Fixed-point to Single Floating-point 18 * Double Fixed-point to Double Floating-point 41 * Convert single fixed-point to single floating-point format 78 * between -1 and 30. in sgl_to_sgl_fcnvxf() [all …]
|
| H A D | fmpyfadd.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> 15 * Double Floating-point Multiply Fused Add 16 * Double Floating-point Multiply Negate Fused Add 17 * Single Floating-point Multiply Fused Add 18 * Single Floating-point Multiply Negate Fused Add 41 * Double Floating-point Multiply Fused Add 77 mpy_exponent = Dbl_exponent(opnd1p1) + Dbl_exponent(opnd2p1) - DBL_BIAS; in dbl_fmpyfadd() [all …]
|
| /linux/arch/x86/math-emu/ |
| H A D | round_Xsig.S | |
| H A D | reg_norm.S | |
| H A D | reg_u_sub.S | |
| /linux/sound/pci/ |
| H A D | ak4531_codec.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 37 idx, ak4531->regs[idx]); 46 #define AK4531_SINGLE(xname, xindex, reg, shift, mask, invert) \ argument 50 .private_value = reg | (shift << 16) | (mask << 24) | (invert << 22) } 51 #define AK4531_SINGLE_TLV(xname, xindex, reg, shift, mask, invert, xtlv) \ argument 57 .private_value = reg | (shift << 16) | (mask << 24) | (invert << 22), \ 62 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_ak4531_info_single() 64 uinfo->type = mask == 1 ? SNDRV_CTL_ELEM_TYPE_BOOLEAN : SNDRV_CTL_ELEM_TYPE_INTEGER; in snd_ak4531_info_single() 65 uinfo->count = 1; in snd_ak4531_info_single() 66 uinfo->value.integer.min = 0; in snd_ak4531_info_single() [all …]
|
| /linux/Documentation/netlink/specs/ |
| H A D | tcp_metrics.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 2 --- 5 protocol: genetlink-legacy 10 c-family-name: tcp-metrics-genl-name 11 c-version-name: tcp-metrics-genl-version 12 max-by-define: true 13 kernel-policy: global 16 - 17 name: tcp-fastopen-cookie-max 21 attribute-sets: [all …]
|
| /linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/ |
| H A D | phy_qmath.c | 1 // SPDX-License-Identifier: ISC 81 s32 temp = (s32) op1 - (s32) op2; in qm_sub16() 93 * Description: This function make a 32 bit saturated left shift when the 94 * specified shift is +ve. This function will make a 32 bit right shift when 95 * the specified shift is -ve. This function return the result after shifting 98 s32 qm_shl32(s32 op, int shift) in qm_shl32() argument 103 if (shift > 31) in qm_shl32() 104 shift = 31; in qm_shl32() 105 else if (shift < -31) in qm_shl32() 106 shift = -31; in qm_shl32() [all …]
|
| /linux/drivers/accessibility/speakup/ |
| H A D | DefaultKeyAssignments | 7 shift key. Well, actually as an altgr key. So in the following list 8 InsKeyPad-period means hold down the insert key like a shift key and 11 KeyPad-8 Say current Line 12 InsKeyPad-8 say from top of screen to reading cursor. 13 KeyPad-7 Say Previous Line (UP one line) 14 KeyPad-9 Say Next Line (down one line) 15 KeyPad-5 Say Current Word 16 InsKeyPad-5 Spell Current Word 17 KeyPad-4 Say Previous Word (left one word) 18 InsKeyPad-4 say from left edge of line to reading cursor. [all …]
|
| H A D | i18n.c | 1 // SPDX-License-Identifier: GPL-2.0 51 [MSG_EDGE_LEFT] = "left,", 57 [MSG_CTRL] = "control-", 73 [MSG_CTL_SHIFT] = "shift", 77 [MSG_CTL_LSHIFT] = "l shift", 81 [MSG_CTL_CAPSSHIFT] = "caps shift", 107 [MSG_STATE_SHIFT] = "shift", 135 [MSG_KEYNAME_LEFTBRACE] = "left brace", 138 [MSG_KEYNAME_LEFTCTRL] = "left control", 151 [MSG_KEYNAME_LEFTSHFT] = "left shift", [all …]
|
| /linux/sound/soc/codecs/ |
| H A D | twl4030.c | 1 // SPDX-License-Identifier: GPL-2.0-only 13 #include <linux/mfd/twl4030-audio.h> 64 u8 ctl_cache[TWL4030_REG_PRECKR_CTL - TWL4030_REG_EAR_CTL + 1]; 76 twl4030->ctl_cache[i - TWL4030_REG_EAR_CTL] = byte; in tw4030_init_ctl_cache() 86 return -EIO; in twl4030_read() 95 value = twl4030->ctl_cach in twl4030_read() 835 unsigned int shift = mc->shift; snd_soc_get_volsw_twl4030() local 864 unsigned int shift = mc->shift; snd_soc_put_volsw_twl4030() local 894 unsigned int shift = mc->shift; snd_soc_get_volsw_r2_twl4030() local 921 unsigned int shift = mc->shift; snd_soc_put_volsw_r2_twl4030() local [all...] |
| H A D | 88pm860x-codec.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * 88pm860x-codec.c -- 88PM860x ALSA SoC Audio Driver 26 #include "88pm860x-codec.h" 117 * This widget should be just after DAC & PGA in DAPM power-on sequence and 118 * before DAC & PGA in DAPM power-of 332 unsigned int shift = mc->shift; snd_soc_get_volsw_2r_out() local 352 unsigned int shift = mc->shift; snd_soc_put_volsw_2r_out() local [all...] |
| /linux/arch/parisc/include/asm/ |
| H A D | hash.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 * HP-PA only implements integer multiply in the FPU. However, for 7 * integer multiplies by constant, it has a number of shift-and-add 8 * (but no shift-and-subtract, sigh!) instructions that a compiler 20 * PA7100 pairing rules. This is an in-order 2-way superscalar processor. 21 * Only one instruction in a pair may be a shift (by more than 3 bits), 22 * but other than that, simple ALU ops (including shift-and-add by up 25 * PA8xxx processors also dual-issue ALU instructions, although with 28 * This 6-step sequence was found by Yevgen Voronenko's implementation 43 /* Phase 2: Return (b<<11) + (c<<6) + (a<<3) - c */ in __hash_32() [all …]
|
| /linux/arch/microblaze/lib/ |
| H A D | divsi3.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 17 addik r1, r1, -16 23 beqi r6, div_by_zero /* div_by_zero - division error */ 40 add r5, r5, r5 /* left shift logical r5 */ 42 addik r29, r29, -1 44 /* left shift logical r5 get the '1' into the carry */ 53 addik r29, r29, -1 55 add r3, r3, r3 /* shift in the '1' into div */ 73 .size __divsi3, . - __divsi3
|
| H A D | modsi3.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 19 addik r1, r1, -16 40 add r5, r5, r5 /* left shift logical r5 */ 42 addik r29, r29, -1 44 /* left shift logical r5 get the '1' into the carry */ 53 addik r29, r29, -1 55 add r30, r30, r30 /* shift in the '1' into div */ 73 .size __modsi3, . - __modsi3
|
| H A D | umodsi3.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 19 addik r1, r1, -12 24 beqi r6, div_by_zero /* div_by_zero - division error */ 43 /* if r6 [bit 31] is set, then return result as r5-r6 */ 56 add r5, r5, r5 /* left shift logical r5 */ 58 addik r29, r29, -1 60 /* left shift logical r5 get the '1' into the carry */ 69 addik r29, r29, -1 71 add r30, r30, r30 /* shift in the '1' into div */ 86 .size __umodsi3, . - __umodsi3
|
| H A D | udivsi3.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 20 addik r1, r1, -12 30 /* check if r6 and r5 are equal - if yes, return 1 */ 54 add r5, r5, r5 /* left shift logical r5 */ 56 addik r29, r29, -1 58 /* left shift logical r5 get the '1' into the carry */ 67 addik r29, r29, -1 69 add r3, r3, r3 /* shift in the '1' into div */ 84 .size __udivsi3, . - __udivsi3
|
| /linux/drivers/video/fbdev/core/ |
| H A D | fb_fillrect.h | 1 /* SPDX-License-Identifier: GPL-2.0-only 9 * Copyright (C) 2000 James Simmons (jsimmons@linux-fbdev.org) 37 int left, right; member 44 return pattern->pixels; in fb_pattern_get() 50 return swab_long(pattern->pixels); in fb_pattern_get_reverse() 62 pattern->pixels = fb_left(pattern->pixels, pattern->left) in fb_pattern_rotate() 63 | fb_right(pattern->pixels, pattern->right); in fb_pattern_rotate() 66 #define FB_PAT(i) (((1UL<<(BITS_PER_LONG-1)/(i)*(i))/((1<<(i))-1)<<(i))|1) 82 case 0 ... BITS_PER_LONG/4-1: in pixel_to_pat() 85 case BITS_PER_LONG/4 ... BITS_PER_LONG/2-1: in pixel_to_pat() [all …]
|