/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 186.out | 6 Testing: -device floppy 7 QEMU X.Y.Z monitor - type 'help' for more information 9 /machine/peripheral-anon/device[1]: [not inserted] 10 Attached to: /machine/peripheral-anon/device[N] 14 Testing: -device floppy,id=qdev_id 15 QEMU X.Y.Z monitor - type 'help' for more information 22 Testing: -device ide-cd 23 QEMU X.Y.Z monitor - type 'help' for more information 25 /machine/peripheral-anon/device[1]: [not inserted] 26 Attached to: /machine/peripheral-anon/device[N] [all …]
|
H A D | 051.pc.out | 7 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=,if=none,id=drive0 8 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=,if=none,id=drive0: Block format '… 10 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=on,if=none,id=drive0 11 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=on,if=none,id=drive0: Block format… 13 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=1234,if=none,id=drive0 14 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=1234,if=none,id=drive0: Block form… 16 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=foo,if=none,id=drive0 17 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=foo,if=none,id=drive0: Block forma… 22 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,file.unknown_opt= 23 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,file.unknown_opt=: Block protocol 'file' doesn… [all …]
|
H A D | 271.out | 8 write -q -P PATTERN 0 1k 10 write -q -P PATTERN 3k 512 12 write -q -P PATTERN 5k 1k 14 write -q -P PATTERN 6k 2k 16 write -q -P PATTERN 8k 6k 18 write -q -P PATTERN 15k 4k 20 write -q -P PATTERN 32k 1k 22 write -q -P PATTERN 63k 4k 25 write -q -z 2k 2k 27 write -q -z 0 64k [all …]
|
H A D | 051.out | 7 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=,if=none,id=drive0 8 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=,if=none,id=drive0: Block format '… 10 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=on,if=none,id=drive0 11 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=on,if=none,id=drive0: Block format… 13 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=1234,if=none,id=drive0 14 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=1234,if=none,id=drive0: Block form… 16 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=foo,if=none,id=drive0 17 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,unknown_opt=foo,if=none,id=drive0: Block forma… 22 Testing: -drive file=TEST_DIR/t.qcow2,format=qcow2,file.unknown_opt= 23 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,format=qcow2,file.unknown_opt=: Block protocol 'file' doesn… [all …]
|
/openbmc/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 …]
|
/openbmc/u-boot/post/lib_powerpc/fpu/ |
H A D | darwin-ldouble.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 /* 128-bit long double support routines for Darwin. 13 * Implementations of floating-point long double basic arithmetic 17 * Double-double algorithms are based on the paper "Doubled-Precision 18 * IEEE Standard 754 Floating-Point Arithmetic" by W. Kahan, February 26, 20 * Doubled-Precision Floating-Point Computations", by Seppo Linnainmaa, 21 * ACM TOMS vol 7 no 3, September 1981, pages 272-283. 30 * -0.0. No other requirements are made; so, for example, 1.0 may be 31 * represented as (1.0, +0.0) or (1.0, -0.0), and the low part of a 32 * NaN is don't-care. [all …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/linux/lib/crypto/mpi/ |
H A D | ec.c | 1 /* ec.c - Elliptic Curve functions 21 #include "mpi-internal.h" 34 * coordinate; it is only used to pre-allocate some resources and 65 p->x = mpi_new(0); in mpi_point_init() 66 p->y = mpi_new(0); in mpi_point_init() 67 p->z = mpi_new(0); in mpi_point_init() 74 mpi_free(p->x); p->x = NULL; in mpi_point_free_parts() 75 mpi_free(p->y); p->y = NULL; in mpi_point_free_parts() 76 mpi_free(p->z); p->z = NULL; in mpi_point_free_parts() 83 mpi_set(d->x, s->x); in point_set() [all …]
|
/openbmc/qemu/tests/qemu-iotests/tests/ |
H A D | write-zeroes-unmap.out | 1 QA output created by write-zeroes-unmap 3 === defaults - write zeros === 6 QEMU X.Y.Z monitor - type 'help' for more information 7 (qemu) qemu-io none0 "write -z 0 1m" 9 1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 13 === defaults - write zeros unmap === 16 QEMU X.Y.Z monitor - type 'help' for more information 17 (qemu) qemu-io none0 "write -zu 0 1m" 19 1 MiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) 23 === defaults - write actual zeros === [all …]
|
/openbmc/linux/lib/raid6/ |
H A D | s390vx.uc | 1 // SPDX-License-Identifier: GPL-2.0 5 * $#-way unrolled RAID6 gen/xor functions for s390 16 #include <asm/vx-insn.h> 29 * vector register x. 31 static inline void SHLBYTE(int x, int y) 33 asm volatile ("VAB %0,%1,%1" : : "i" (x), "i" (y)); 40 * register x. 42 static inline void MASK(int x, int y) 44 asm volatile ("VESRAVB %0,%1,24" : : "i" (x), "i" (y)); 47 static inline void AND(int x, int y, int z) [all …]
|
/openbmc/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 …]
|
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-bsp/uefi/files/ |
H A D | 0001-BootLogoLib-align-logo-coords-to-be-even.patch | 20 Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> 23 discussion at https://mail.gnu.org/archive/html/qemu-devel/2024-06/msg02964.html. 25 Upstream-Status: Inappropriate [workaround] 26 Signed-off-by: Ross Burton <ross.burton@arm.com> 27 --- 29 MdeModulePkg/Logo/Logo.bmp | Bin 12446 -> 34010 bytes 32 diff --git a/MdeModulePkg/Library/BootLogoLib/BootLogoLib.c b/MdeModulePkg/Library/BootLogoLib/Boot… 34 --- a/MdeModulePkg/Library/BootLogoLib/BootLogoLib.c 36 @@ -205,6 +205,10 @@ BootLogoEnableLogo ( 46 Status = GraphicsOutput->Blt ( [all …]
|
/openbmc/openbmc/poky/meta/recipes-core/base-files/base-files/ |
H A D | profile | 1 # /etc/profile: system-wide .profile file for the Bourne shell (sh(1)) 11 [ -z "$PS1" ] || PS1='\u@\h:\w\$ ' 15 if [ -z "$EDITOR" ] ; then 19 if [ -d /etc/profile.d ]; then 21 if [ -f $i -a -r $i ]; then 28 if [ -t 0 -a $# -eq 0 ]; then 29 if [ ! -x @BINDIR@/resize ] ; then 30 if [ -n "$BASH_VERSION" ] ; then 33 local x y 34 IFS='[;' read -t 2 -p $(printf '\e7\e[r\e[999;999H\e[6n\e8') -sd R _ y x _ [all …]
|
/openbmc/openbmc/poky/meta/recipes-graphics/mesa/mesa-demos/ |
H A D | 0001-mesa-demos-Add-missing-data-files.patch | 3 Date: Mon, 12 May 2014 15:22:32 -0400 4 Subject: [PATCH 1/9] mesa-demos: Add missing data files. 7 http://cgit.freedesktop.org/mesa/demos/tree/?id=mesa-demos-8.1.0 9 ftp://ftp.freedesktop.org/pub/mesa/demos/8.1.0/mesa-demos-8.1.0.tar.bz2 11 Upstream-Status: Backport 12 Signed-off-by: Drew Moseley <drew_moseley@mentor.com> 13 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> 14 --- 15 src/fpglsl/depth-read.glsl | 4 + 16 src/fpglsl/infinite-loop.glsl | 7 + [all …]
|
/openbmc/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 …]
|