/linux/crypto/ |
H A D | fcrypt.c | 13 * Copyright (c) 1995 - 2000 Kungliga Tekniska Högskolan 60 u32 t = lo & ((1 << n) - 1); \ 61 lo = (lo >> n) | ((hi & ((1 << n) - 1)) << (32 - n)); \ 62 hi = (hi >> n) | (t << (24-n)); \ 66 #define ror56_64(k, n) (k = (k >> n) | ((k & ((1 << n) - 1)) << (56 - n))) 70 * /afs/transarc.com/public/afsps/afs.rel31b.export-src/rxkad/sboxes.h 72 #undef Z 73 #define Z(x) cpu_to_be32(x << 3) argument 75 Z(0xea), Z(0x7f), Z(0xb2), Z(0x64), Z(0x9d), Z(0xb0), Z(0xd9), Z(0x11), 76 Z(0xcd), Z(0x86), Z(0x86), Z(0x91), Z(0x0a), Z(0xb2), Z(0x93), Z(0x06), [all …]
|
/linux/Documentation/devicetree/bindings/iio/accel/ |
H A D | lis302.txt | 8 - compatible: should be set to "st,lis3lv02d-spi" 9 - reg: the chipselect index 10 - spi-max-frequency: maximal bus speed, should be set to 1000000 unless 12 - interrupts: the interrupt generated by the device 15 - compatible: should be set to "st,lis3lv02d" 16 - reg: i2c slave address 17 - Vdd-supply: The input supply for Vdd 18 - Vdd_IO-supply: The input supply for Vdd_IO 23 - st,click-single-{x,y,z}: if present, tells the device to issue an 25 x/y/z axis. [all …]
|
/linux/arch/m68k/fpsp040/ |
H A D | satan.S | 8 | Input: Double-extended value in memory location pointed to by address 11 | Output: Arctan(X) returned in floating-point register Fp0. 19 | argument X such that 1/16 < |X| < 16. For the other arguments, 23 | Step 1. If |X| >= 16 or |X| < 1/16, go to Step 5. 25 | Step 2. Let X = sgn * 2**k * 1.xxxxxxxx...x. Note that k = -4, -3,..., or 3. 27 | of X with a bit-1 attached at the 6-th bit position. Define u 28 | to be u = (X-F) / (1 + X*F). 35 | Step 5. If |X| >= 16, go to Step 7. 37 | Step 6. Approximate arctan(X) by an odd polynomial in X. Exit. 39 | Step 7. Define X' = -1/X. Approximate arctan(X') by an odd polynomial in X'. [all …]
|
H A D | ssinh.S | 8 | Input: Double-extended number X in location pointed to 11 | Output: The value sinh(X) returned in floating-point register Fp0. 23 | 1. If |X| > 16380 log2, go to 3. 25 | 2. (|X| <= 16380 log2) Sinh(X) is obtained by the formulae 26 | y = |X|, sgn = sign(X), and z = expm1(Y), 27 | sinh(X) = sgn*(1/2)*( z + z/(1+z) ). 30 | 3. If |X| > 16480 log2, go to 5. 32 | 4. (16380 log2 < |X| <= 16480 log2) 33 | sinh(X) = sign(X) * exp(|X|)/2. 34 | However, invoking exp(|X|) may cause premature overflow. [all …]
|
H A D | stanh.S | 8 | Input: Double-extended number X in location pointed to 11 | Output: The value tanh(X) returned in floating-point register Fp0. 23 | 1. If |X| >= (5/2) log2 or |X| <= 2**(-40), go to 3. 25 | 2. (2**(-40) < |X| < (5/2) log2) Calculate tanh(X) by 26 | sgn := sign(X), y := 2|X|, z := expm1(Y), and 27 | tanh(X) = sgn*( z/(2+z) ). 30 | 3. (|X| <= 2**(-40) or |X| >= (5/2) log2). If |X| < 1, 33 | 4. (|X| >= (5/2) log2) If |X| >= 50 log2, go to 6. 35 | 5. ((5/2) log2 <= |X| < 50 log2) Calculate tanh(X) by 36 | sgn := sign(X), y := 2|X|, z := exp(Y), [all …]
|
/linux/arch/mips/math-emu/ |
H A D | sp_maddf.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * MADDF.fmt: FPR[fd] = FPR[fd] + (FPR[fs] x FPR[ft]) 15 static union ieee754sp _sp_maddf(union ieee754sp z, union ieee754sp x, in _sp_maddf() argument 46 * Handle the cases when at least one of x, y or z is a NaN. in _sp_maddf() 47 * Order of precedence is sNaN, qNaN and z, x, y. in _sp_maddf() 50 return ieee754sp_nanxcpt(z); in _sp_maddf() 52 return ieee754sp_nanxcpt(x); in _sp_maddf() 56 return z; in _sp_maddf() 58 return x; in _sp_maddf() 64 /* ZERO z cases are handled separately below */ in _sp_maddf() [all …]
|
H A D | dp_maddf.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * MADDF.fmt: FPR[fd] = FPR[fd] + (FPR[fs] x FPR[ft]) 28 *lptr = *hptr >> (count - 64); in srl128() 29 *lptr |= (*hptr << (128 - count)) != 0 || low != 0; in srl128() 34 *lptr = low >> count | *hptr << (64 - count); in srl128() 35 *lptr |= (low << (64 - count)) != 0; in srl128() 40 static union ieee754dp _dp_maddf(union ieee754dp z, union ieee754dp x, in _dp_maddf() argument 78 * Handle the cases when at least one of x, y or z is a NaN. in _dp_maddf() 79 * Order of precedence is sNaN, qNaN and z, x, y. in _dp_maddf() 82 return ieee754dp_nanxcpt(z); in _dp_maddf() [all …]
|
H A D | dp_sqrt.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * Copyright (C) 1994-2000 Algorithmics Ltd. 20 union ieee754dp ieee754dp_sqrt(union ieee754dp x) in ieee754dp_sqrt() argument 23 union ieee754dp y, z, t; in ieee754dp_sqrt() local 31 /* x == INF or NAN? */ in ieee754dp_sqrt() 34 return ieee754dp_nanxcpt(x); in ieee754dp_sqrt() 38 return x; in ieee754dp_sqrt() 42 return x; in ieee754dp_sqrt() 46 /* sqrt(-Inf) = Nan */ in ieee754dp_sqrt() 51 return x; in ieee754dp_sqrt() [all …]
|
H A D | ieee754.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright (C) 1994-2000 Algorithmics Ltd. 45 int ieee754sp_class(union ieee754sp x); 47 union ieee754sp ieee754sp_abs(union ieee754sp x); 48 union ieee754sp ieee754sp_neg(union ieee754sp x); 50 union ieee754sp ieee754sp_add(union ieee754sp x, union ieee754sp y); 51 union ieee754sp ieee754sp_sub(union ieee754sp x, union ieee754sp y); 52 union ieee754sp ieee754sp_mul(union ieee754sp x, union ieee754sp y); 53 union ieee754sp ieee754sp_div(union ieee754sp x, union ieee754sp y); 55 union ieee754sp ieee754sp_fint(int x); [all …]
|
/linux/drivers/zorro/ |
H A D | zorro-sysfs.c | 6 * Loosely based on drivers/pci/pci-sysfs.c 29 struct zorro_dev *z; \ 31 z = to_zorro_dev(dev); \ 32 return sprintf(buf, format_string, z->field); \ 36 zorro_config_attr(id, id, "0x%08x\n"); 37 zorro_config_attr(type, rom.er_Type, "0x%02x\n"); 38 zorro_config_attr(slotaddr, slotaddr, "0x%04x\n"); 39 zorro_config_attr(slotsize, slotsize, "0x%04x\n"); 44 struct zorro_dev *z; in serial_show() local 46 z = to_zorro_dev(dev); in serial_show() [all …]
|
/linux/net/atm/ |
H A D | atm_misc.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* net/atm/atm_misc.c - Various functions for use by ATM drivers */ 4 /* Written 1995-2000 by Werner Almesberger, EPFL ICA */ 18 if (atomic_read(&sk_atm(vcc)->sk_rmem_alloc) <= sk_atm(vcc)->sk_rcvbuf) in atm_charge() 21 atomic_inc(&vcc->stats->rx_drop); in atm_charge() 33 if (atomic_read(&sk->sk_rmem_alloc) <= sk->sk_rcvbuf) { in atm_alloc_charge() 37 atomic_add(skb->truesize-guess, in atm_alloc_charge() 38 &sk->sk_rmem_alloc); in atm_alloc_charge() 43 atomic_inc(&vcc->stats->rx_drop); in atm_alloc_charge() 54 * The rules are as follows (* = maximum, - = absent (0), x = value "x", [all …]
|
/linux/lib/raid6/ |
H A D | s390vx.uc | 1 // SPDX-License-Identifier: GPL-2.0 5 * $#-way unrolled RAID6 gen/xor functions for s390 28 * vector register x. 30 #define SHLBYTE(x, y) fpu_vab(x, y, y) 36 * register x. 38 #define MASK(x, y) fpu_vesravb(x, y, 24) 40 #define AND(x, y, z) fpu_vn(x, y, z) 41 #define XOR(x, y, z) fpu_vx(x, y, z) 42 #define LOAD_DATA(x, ptr) fpu_vlm(x, x + $# - 1, ptr) 43 #define STORE_DATA(x, ptr) fpu_vstm(x, x + $# - 1, ptr) [all …]
|
/linux/Documentation/userspace-api/media/v4l/ |
H A D | bayer.svg | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!-- SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later --> 3 …-rule="evenodd" stroke-linejoin="round" stroke-width="28.222" preserveAspectRatio="xMidYMid" versi… 4 …-650v-1200h1300v1200h-650z" fill="none" stroke="#3465a4"/><text id="text195" class="TextShape"><ts… 5 …-3285.9 -3185.9)"><g id="id7"><rect id="rect206" class="BoundingBox" x="4599" y="3199" width="1303… 6 …-3285.9 -3185.9)"><g id="id8"><rect id="rect223" class="BoundingBox" x="3299" y="4399" width="1303… 7 …-3285.9 -3185.9)"><g id="id9"><rect id="rect240" class="BoundingBox" x="4599" y="4399" width="1303… 8 …-3285.9 -3185.9)"><g id="id10" fill="none"><rect id="rect257" class="BoundingBox" x="5999" y="3299… 9 font-weight="400"><tspan id="tspan277" class="TextPosition" x="4250" y="7601"><tspan id="tspan279" … 10 …-3285.9 -3185.9)"><g id="id13"><rect id="rect284" class="BoundingBox" x="8799" y="3199" width="130… [all …]
|
H A D | mt2110t.svg | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!-- SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later --> 3 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> 4 …-rule="evenodd" stroke-width="28.222" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" x… 7 <rect x="0" y="0" width="14000" height="22000"/> 10 <rect x="14" y="22" width="13972" height="21956"/> 14 <font id="EmbeddedFont_1" horiz-adv-x="2048"> 15 …<font-face font-family="Liberation Sans embedded" units-per-em="2048" font-weight="normal" font-st… 16 <missing-glyph horiz-adv-x="2048" d="M 0,0 L 2047,0 2047,2047 0,2047 0,0 Z"/> 17 …-adv-x="1033" d="M 191,-425 C 142,-425 100,-421 67,-414 L 67,-279 C 92,-283 120,-285 151,-285 263,… [all …]
|
H A D | nv12mt_example.svg | 1 <?xml version="1.0" encoding="UTF-8" standalone="no"?> 2 <!-- SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later --> 6 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 9 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" 20 style="fill-rule:evenodd;stroke-width:28.22200012;stroke-linejoin:round"><metadata 32 inkscape:window-width="1920" 33 inkscape:window-height="997" 36 fit-margin-top="0" 37 fit-margin-left="0" 38 fit-margin-right="0" [all …]
|
H A D | vbi_525.svg | 1 <?xml version="1.0" encoding="UTF-8" standalone="no"?> 2 <!-- SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later --> 6 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 9 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" 27 inkscape:window-width="1920" 28 inkscape:window-height="1000" 31 fit-margin-top="0" 32 fit-margin-left="0" 33 fit-margin-right="0" 34 fit-margin-bottom="0" [all …]
|
H A D | vbi_625.svg | 1 <?xml version="1.0" encoding="UTF-8" standalone="no"?> 2 <!-- SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later --> 6 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 9 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" 27 inkscape:window-width="1920" 28 inkscape:window-height="1000" 31 fit-margin-top="0" 32 fit-margin-left="0" 33 fit-margin-right="0" 34 fit-margin-bottom="0" [all …]
|
H A D | nv12mt.svg | 1 <?xml version="1.0" encoding="UTF-8" standalone="no"?> 2 <!-- SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later --> 6 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 9 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" 20 style="fill-rule:evenodd;stroke-width:28.22200012;stroke-linejoin:round"><metadata 32 inkscape:window-width="1920" 33 inkscape:window-height="997" 36 fit-margin-top="0" 37 fit-margin-left="0" 38 fit-margin-right="0" [all …]
|
/linux/Documentation/devicetree/bindings/iio/ |
H A D | mount-matrix.txt | 2 * is the definition of +/- values practical or counterintuitive? 13 that produce three-dimensional data in relation to the world where it is 21 of the (x,y,z) triplets, such as different registers to read these coordinates, 28 reference to (x,y,z) orientation, with (x,y) corresponding to these axes on the 29 screen and (z) being depth, the axis perpendicular to the screen. 31 For a screen you probably want (x) coordinates to go from negative on the left 33 and (z) depth to be negative under the screen and positive in front of it, 37 reference. This means that the sensor may be flipped upside-down, left-right, 47 Device-to-world examples for some three-dimensional sensor types: 49 - Accelerometers have their world frame of reference toward the center of [all …]
|
/linux/tools/testing/selftests/ftrace/test.d/instances/ |
H A D | instance.tc | 2 # SPDX-License-Identifier: GPL-2.0 7 rmdir x y z 2>/dev/null 9 set -e 18 mkdir x 19 rmdir x 22 if [ $result -ne 0 ]; then 29 mkdir x 31 mkdir z 32 rmdir x 34 rmdir z [all …]
|
/linux/Documentation/admin-guide/media/ |
H A D | ipu3_rcb.svg | 1 <?xml version="1.0" encoding="UTF-8"?> 5 <symbol overflow="visible" id="glyph0-0"> 6 <path style="stroke:none;" d="M 1 0 L 1 -15 L 9 -15 L 9 0 Z M 8 -1 L 8 -14 L 2 -14 L 2 -1 Z M 8 -1 … 8 <symbol overflow="visible" id="glyph0-1"> 9 …-1.15625 C 5.519531 -1.15625 6.15625 -1.316406 6.59375 -1.640625 C 7.039062 -1.960938 7.265625 -2.… 11 <symbol overflow="visible" id="glyph0-2"> 12 …-9.5 C 6.4375 -9.5 7.398438 -9.109375 8.078125 -8.328125 C 8.753906 -7.546875 9.09375 -6.363281 9.… 14 <symbol overflow="visible" id="glyph0-3"> 15 …-9.015625 C 2.015625 -9.160156 2.609375 -9.273438 3.203125 -9.359375 C 3.796875 -9.441406 4.351562… 17 <symbol overflow="visible" id="glyph0-4"> [all …]
|
/linux/drivers/gpu/drm/xe/tests/ |
H A D | xe_args_test.c | 1 // SPDX-License-Identifier: GPL-2.0 12 #define foo X, Y, Z, Q in call_args_example() 26 #define foo X, Y, Z, Q in drop_first_arg_example() 37 int X = 1; in first_arg_example() local 39 #define foo X, Y, Z, Q in first_arg_example() 42 KUNIT_EXPECT_EQ(test, bar, X); in first_arg_example() 43 KUNIT_EXPECT_STREQ(test, __stringify(bar), "X"); in first_arg_example() 53 #define foo X, Y, Z, Q in last_arg_example() 65 int Y = 1, Z = 2; in pick_arg_example() local 67 #define foo X, Y, Z, Q in pick_arg_example() [all …]
|
/linux/drivers/ata/ |
H A D | pata_buddha.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Buddha, Catweasel and X-Surf PATA controller driver 68 struct ata_device *dev = qc->dev; in pata_buddha_data_xfer() 69 struct ata_port *ap = dev->link->ap; in pata_buddha_data_xfer() 70 void __iomem *data_addr = ap->ioaddr.data_addr; in pata_buddha_data_xfer() 84 buf += buflen - 1; in pata_buddha_data_xfer() 110 dev->pio_mode = dev->xfer_mode = XFER_PIO_0; in pata_buddha_set_mode() 111 dev->xfer_shift = ATA_SHIFT_PIO; in pata_buddha_set_mode() 112 dev->flags |= ATA_DFLAG_PIO; in pata_buddha_set_mode() 122 ch = z_readb((unsigned long)ap->private_data); in pata_buddha_irq_check() [all …]
|
/linux/arch/arm/boot/dts/ti/omap/ |
H A D | omap3-gta04a3.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 6 #include "omap3-gta04.dtsi" 18 interrupt-parent = <&gpio3>; 20 Vdd-supply = <&vaux2>; 21 Vdd_IO-supply = <&vaux2>; 23 st,click-single-x; 24 st,click-single-y; 25 st,click-single-z; 26 st,click-thresh-x = <8>; 27 st,click-thresh-y = <8>; [all …]
|
/linux/arch/alpha/lib/ |
H A D | csum_partial_copy.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * csum_partial_copy - do IP checksumming and copy 7 * Rick Gorton <rick.gorton@alpha-processor.com> 9 * Don't look at this too closely - you'll go mad. The things 19 #define ldq_u(x,y) \ argument 20 __asm__ __volatile__("ldq_u %0,%1":"=r" (x):"m" (*(const unsigned long *)(y))) 22 #define stq_u(x,y) \ argument 23 __asm__ __volatile__("stq_u %1,%0":"=m" (*(unsigned long *)(y)):"r" (x)) 25 #define extql(x,y,z) \ argument 26 __asm__ __volatile__("extql %1,%2,%0":"=r" (z):"r" (x),"r" (y)) [all …]
|