/openbmc/linux/Documentation/userspace-api/media/v4l/ |
H A D | pixfmt-z16.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _V4L2-PIX-FMT-Z16: 10 16-bit depth data with distance values at each pixel 16 This is a 16-bit format, representing depth data. Each pixel is a 19 is stored in a 16-bit word in the little endian byte order. 27 .. flat-table:: 28 :header-rows: 0 29 :stub-columns: 0 31 * - start + 0: 32 - Z\ :sub:`00low` [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/phosphor-pid-control/test/ |
H A D | pid_fancontroller_unittest.cpp | 30 ZoneMock z; in TEST() local 36 FanController::createFanPid(&z, "fan1", inputs, initial); in TEST() 43 // A fan controller needs at least one input. in TEST() 45 ZoneMock z; in TEST() local 51 FanController::createFanPid(&z, "fan1", inputs, initial); in TEST() 59 ZoneMock z; in TEST() local 65 FanController::createFanPid(&z, "fan1", inputs, initial); in TEST() 68 EXPECT_CALL(z, getCachedValue(StrEq("fan0"))).WillOnce(Return(0)); in TEST() 69 EXPECT_CALL(z, getCachedValue(StrEq("fan1"))).WillOnce(Return(0)); in TEST() 71 EXPECT_EQ(0.0, p->inputProc()); in TEST() [all …]
|
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-bsp/uefi/files/ |
H A D | 0001-BootLogoLib-align-logo-coords-to-be-even.patch | 17 even. And if coords are odd then they are bumped a bit to make things 20 Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> 22 This is a temporary workaround for an alignment problem in EDK2/qemu, see the 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 [all …]
|
/openbmc/linux/include/linux/ |
H A D | zorro.h | 2 * linux/zorro.h -- Amiga AutoConfig (Zorro) Bus Definitions 4 * Copyright (C) 1995--2003 Geert Uytterhoeven 50 int (*probe)(struct zorro_dev *z, const struct zorro_device_id *id); /* New device inserted */ 51 … void (*remove)(struct zorro_dev *z); /* Device removed (NULL if not a hot-plug capable driver) */ 62 /* New-style probing */ 72 * Minimal information about a Zorro device, passed from bootinfo 94 #define zorro_resource_start(z) ((z)->resource.start) argument 95 #define zorro_resource_end(z) ((z)->resource.end) argument 96 #define zorro_resource_len(z) (resource_size(&(z)->resource)) argument 97 #define zorro_resource_flags(z) ((z)->resource.flags) argument [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/iio/ |
H A D | mount-matrix.txt | 2 * is the definition of +/- values practical or counterintuitive? 5 * should we have HOWTO engineer a correct matrix for a new device (without comparing to a different… 12 The mounting matrix is a device tree property used to orient any device 13 that produce three-dimensional data in relation to the world where it is 17 reference into the device frame of reference using a translation matrix as 20 The typical usecase is that where a component has an internal representation 21 of the (x,y,z) triplets, such as different registers to read these coordinates, 22 and thus implying that the component should be mounted in a certain orientation 25 For example a device with some kind of screen, where the user is supposed to 28 reference to (x,y,z) orientation, with (x,y) corresponding to these axes on the [all …]
|
/openbmc/linux/drivers/zorro/ |
H A D | zorro-driver.c | 6 * Loosely based on drivers/pci/pci-driver.c 21 * zorro_match_device - Tell if a Zorro device structure has a matching 26 * Used by a driver to check whether a Zorro device present in the 33 const struct zorro_dev *z) in zorro_match_device() argument 35 while (ids->id) { in zorro_match_device() 36 if (ids->id == ZORRO_WILDCARD || ids->id == z->id) in zorro_match_device() 47 struct zorro_driver *drv = to_zorro_driver(dev->driver); in zorro_device_probe() 48 struct zorro_dev *z = to_zorro_dev(dev); in zorro_device_probe() local 50 if (drv->probe) { in zorro_device_probe() 53 id = zorro_match_device(drv->id_table, z); in zorro_device_probe() [all …]
|
H A D | zorro.c | 4 * Copyright (C) 1995-2003 Geert Uytterhoeven 19 #include <linux/dma-mapping.h> 54 struct zorro_dev *z; in zorro_find_device() local 59 for (z = from ? from+1 : &zorro_autocon[0]; in zorro_find_device() 60 z < zorro_autocon+zorro_num_autocon; in zorro_find_device() 61 z++) in zorro_find_device() 62 if (id == ZORRO_WILDCARD || id == z->id) in zorro_find_device() 63 return z; in zorro_find_device() 71 * by the system. Every bit represents a 64K chunk, for a maximum of 8MB 72 * (128 chunks, physical 0x00200000-0x009fffff). [all …]
|
/openbmc/linux/Documentation/arch/arm/nwfpe/ |
H A D | netwinder-fpe.rst | 14 {P|M|Z} = {round to +infinity,round to -infinity,round to zero}, 20 ------------------------------------------------------------ 22 LDF/STF - load and store floating 30 LFM/SFM - load and store multiple floating 47 ---------------------------------------------------------------- 51 FLT{cond}<S,D,E>{P,M,Z} Fn, Rd Convert integer to floating point 52 FIX{cond}{P,M,Z} Rd, Fn Convert floating point to integer 76 --------------------------------------------------- 80 ADF{cond}<S|D|E>{P,M,Z} Fd, Fn, <Fm,#value> - add 81 SUF{cond}<S|D|E>{P,M,Z} Fd, Fn, <Fm,#value> - subtract [all …]
|
H A D | todo.rst | 6 POW{cond}<S|D|E>{P,M,Z} Fd, Fn, <Fm,#value> - power 7 RPW{cond}<S|D|E>{P,M,Z} Fd, Fn, <Fm,#value> - reverse power 8 POL{cond}<S|D|E>{P,M,Z} Fd, Fn, <Fm,#value> - polar angle (arctan2) 10 LOG{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - logarithm to base 10 11 LGN{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - logarithm to base e 12 EXP{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - exponent 13 SIN{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - sine 14 COS{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - cosine 15 TAN{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - tangent 16 ASN{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - arcsine [all …]
|
/openbmc/linux/fs/zonefs/ |
H A D | super.c | 1 // SPDX-License-Identifier: GPL-2.0 31 * Get the name of a zone group directory. 50 struct zonefs_zone *z) in zonefs_account_active() argument 54 if (zonefs_zone_is_cnv(z)) in zonefs_account_active() 61 if (z->z_flags & (ZONEFS_ZONE_OFFLINE | ZONEFS_ZONE_READONLY)) in zonefs_account_active() 68 if ((z->z_flags & ZONEFS_ZONE_OPEN) || in zonefs_account_active() 69 (z->z_wpoffset > 0 && z->z_wpoffset < z->z_capacity)) { in zonefs_account_active() 70 if (!(z->z_flags & ZONEFS_ZONE_ACTIVE)) { in zonefs_account_active() 71 z->z_flags |= ZONEFS_ZONE_ACTIVE; in zonefs_account_active() 72 atomic_inc(&sbi->s_active_seq_files); in zonefs_account_active() [all …]
|
H A D | file.c | 1 // SPDX-License-Identifier: GPL-2.0 32 struct zonefs_zone *z = zonefs_inode_zone(inode); in zonefs_read_iomap_begin() local 33 struct super_block *sb = inode->i_sb; in zonefs_read_iomap_begin() 38 * act as if there is a hole up to the file maximum size. in zonefs_read_iomap_begin() 40 mutex_lock(&zi->i_truncate_mutex); in zonefs_read_iomap_begin() 41 iomap->bdev = inode->i_sb->s_bdev; in zonefs_read_iomap_begin() 42 iomap->offset = ALIGN_DOWN(offset, sb->s_blocksize); in zonefs_read_iomap_begin() 44 if (iomap->offset >= isize) { in zonefs_read_iomap_begin() 45 iomap->type = IOMAP_HOLE; in zonefs_read_iomap_begin() 46 iomap->addr = IOMAP_NULL_ADDR; in zonefs_read_iomap_begin() [all …]
|
/openbmc/linux/mm/ |
H A D | shuffle.c | 1 // SPDX-License-Identifier: GPL-2.0 20 return -EINVAL; in shuffle_param_set() 21 if (*(bool *)kp->arg) in shuffle_param_set() 33 * For two pages to be swapped in the shuffle, they must be free (on a 42 * Given we're dealing with randomly selected pfns in a zone we in shuffle_valid_page() 54 /* ...is the page free and currently on a free_area list? */ in shuffle_valid_page() 69 * Fisher-Yates shuffle the freelist which prescribes iterating through an 71 * the span, end_pfn - start_pfn. 74 * of bias in the distribution, like modulo bias or pseudo-random number 77 * be a perfect shuffle. [all …]
|
/openbmc/linux/drivers/md/ |
H A D | dm-zoned.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 13 #include <linux/device-mapper.h> 14 #include <linux/dm-kcopyd.h> 21 #include <linux/radix-tree.h> 25 * dm-zoned creates block devices with 4KB blocks, always. 29 #define DMZ_BLOCK_MASK (DMZ_BLOCK_SIZE - 1) 33 #define DMZ_BLOCK_MASK_BITS (DMZ_BLOCK_SIZE_BITS - 1) 35 #define DMZ_BLOCK_SECTORS_SHIFT (DMZ_BLOCK_SHIFT - SECTOR_SHIFT) 37 #define DMZ_BLOCK_SECTORS_MASK (DMZ_BLOCK_SECTORS - 1) 40 * 4KB block <-> 512B sector conversion. [all …]
|
/openbmc/linux/lib/crypto/mpi/ |
H A D | ec.c | 1 /* ec.c - Elliptic Curve functions 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 * You should have received a copy of the GNU Lesser General Public 21 #include "mpi-internal.h" 24 #define point_init(a) mpi_point_init((a)) argument 25 #define point_free(a) mpi_point_free_parts((a)) argument 33 /* Create a new point option. NBITS gives the size in bits of one 34 * coordinate; it is only used to pre-allocate some resources and 35 * might also be passed as 0 to use a default value. 60 /* Initialize the fields of a point object. gcry_mpi_point_free_parts [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/iio/accel/ |
H A D | lis302.txt | 3 This device is matched via its bus drivers, and has a number of properties 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 [all …]
|
/openbmc/linux/drivers/s390/char/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 24 Include support for using an IBM 3270 terminal as a Linux system 32 Include support for IBM 3215 line-mode terminals. 39 Include support for using an IBM 3215 line-mode terminal as a 50 Include support for IBM SCLP line-mode terminals. 57 Include support for using an IBM HWC line-mode terminal as the Linux 62 prompt "Support for SCLP VT220-compatible terminal" 65 Include support for an IBM SCLP VT220-compatible terminal. 69 prompt "Support for console on SCLP VT220-compatible terminal" 72 Include support for using an IBM SCLP VT220-compatible terminal as a [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 179 | 15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 # You should have received a copy of the GNU General Public License 33 rm -f "$TEST_DIR/blkdebug.conf" 53 _make_test_img -b "$TEST_IMG.base" -F $IMGFMT 56 # 8k and larger (smaller clusters fail due to non-contiguous allocations) 60 $QEMU_IO -c "write -z -u 2M 2M" "$TEST_IMG.base" | _filter_qemu_io 61 $QEMU_IO -c "write -z 6M 2M" "$TEST_IMG.base" | _filter_qemu_io 62 $QEMU_IO -c "map" "$TEST_IMG.base" | _filter_qemu_io 63 $QEMU_IMG map --output=json "$TEST_IMG.base" | _filter_qemu_img_map 67 $QEMU_IO -c "write -z -u 10485761 2097150" "$TEST_IMG.base" | _filter_qemu_io [all …]
|
/openbmc/linux/arch/m68k/fpsp040/ |
H A D | satan.S | 5 | input value. satand does the same except the input value is a 8 | Input: Double-extended value in memory location pointed to by address 11 | Output: Arctan(X) returned in floating-point register Fp0. 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). 30 | Step 3. Approximate arctan(u) by a polynomial poly. 32 | Step 4. Return arctan(F) + poly, arctan(F) is fetched from a table of values 39 | Step 7. Define X' = -1/X. Approximate arctan(X') by an odd polynomial in X'. 232 |--ENTRY POINT FOR ATAN(X) FOR DENORMALIZED ARGUMENT [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/xmlsec1/xmlsec1/ |
H A D | 0001-nss-nspr-fix-for-multilib.patch | 3 Date: Tue, 4 Feb 2020 23:39:49 -0800 6 Upstream-Status: Pending 8 Signed-off-by: Chen Qi <Qi.Chen@windriver.com> 9 --- 10 configure.ac | 16 ++++++++-------- 11 1 file changed, 8 insertions(+), 8 deletions(-) 13 diff --git a/configure.ac b/configure.ac 15 --- a/configure.ac 17 @@ -958,24 +958,24 @@ fi 19 if test "z$NSPR_FOUND" = "zno" -a "z$with_nspr" != "z" -a "z$with_nspr" != "zyes" ; then [all …]
|
/openbmc/qemu/target/avr/ |
H A D | disas.c | 4 * Copyright (c) 2019-2020 Richard Henderson <rth@twiddle.net> 5 * Copyright (c) 2019-2020 Michael Rolnik <mrolnik@gmail.com> 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 * You should have received a copy of the GNU General Public License 52 ctx->next_word_used = true; in next_word() 53 return ctx->next_word; in next_word() 61 /* Include the auto-generated decoder. */ 63 #include "decode-insn.c.inc" 66 (pctx->info->fprintf_func(pctx->info->stream, "%-9s " format, \ 79 status = info->read_memory_func(addr, buffer, 4, info); in avr_print_insn() [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-ata | 3 Provide a place in sysfs for storing the ATA topology of the 8 ------------------------------- 10 For each port, a directory ataX is created where X is the ata_port_id of the 20 nr_pmp_links: (RO) If a SATA Port Multiplier (PM) is 35 persistent links in /dev/disk/by-path. 38 ------------------------------- 40 Behind each port, there is a ata_link. If there is a SATA PM in the topology, 15 43 If a link is behind a port, the directory name is linkX, where X is ata_port_id 44 of the port. If a link is behind a PM, its name is linkX.Y where X is 65 --------------------------------- [all …]
|
/openbmc/linux/Documentation/driver-api/ |
H A D | zorro.rst | 5 :Author: Written by Geert Uytterhoeven <geert@linux-m68k.org> 10 ------------ 13 AutoConfig(tm), it's 100% Plug-and-Play. 17 - The Zorro II address space is 24-bit and lies within the first 16 MB of the 20 - Zorro III is a 32-bit extension of Zorro II, which is backwards compatible 25 ------------------------- 27 Zorro devices are found by calling ``zorro_find_device()``, which returns a 28 pointer to the ``next`` Zorro device with the specified Zorro ID. A probe loop 31 struct zorro_dev *z = NULL; 33 while ((z = zorro_find_device(ZORRO_PROD_xxx, z))) { [all …]
|
/openbmc/openbmc/poky/bitbake/lib/bb/tests/fetch-testdata/files/v2.8/ |
H A D | index.html | 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> 9 …><a href="?C=N;O=D">Name</a></th><th><a href="?C=M;O=A">Last modified</a></th><th><a href="?C=S;O=… 11 …ack.gif" alt="[PARENTDIR]"></td><td><a href="/files/">Parent Directory</a></td><td> </td><td … 12 …<img src="/icons/unknown.gif" alt="[ ]"></td><td><a href="-*">-*</a></td><td align="right">2012-… 13 …nknown.gif" alt="[ ]"></td><td><a href="CMakeChangeLog-2.8.0">CMakeChangeLog-2.8.0</a></td><td a… 14 …nknown.gif" alt="[ ]"></td><td><a href="CMakeChangeLog-2.8.1">CMakeChangeLog-2.8.1</a></td><td a… 15 …nknown.gif" alt="[ ]"></td><td><a href="CMakeChangeLog-2.8.2">CMakeChangeLog-2.8.2</a></td><td a… 16 …nknown.gif" alt="[ ]"></td><td><a href="CMakeChangeLog-2.8.3">CMakeChangeLog-2.8.3</a></td><td a… 17 …nknown.gif" alt="[ ]"></td><td><a href="CMakeChangeLog-2.8.4">CMakeChangeLog-2.8.4</a></td><td a… 18 …nknown.gif" alt="[ ]"></td><td><a href="CMakeChangeLog-2.8.5">CMakeChangeLog-2.8.5</a></td><td a… [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/hddtemp/hddtemp/ |
H A D | init | 10 # Version: @(#)skeleton 1.8 03-Mar-1998 miquels@cistron.nl 15 # Required-Start: $remote_fs $syslog $network 16 # Required-Stop: $remote_fs $syslog $network 17 # Default-Start: 2 3 4 5 18 # Default-Stop: 0 1 6 19 # Short-Description: disk temperature monitoring daemon 20 # Description: hddtemp is a disk temperature monitoring daemon 28 DISKS="/dev/hd[a-z] /dev/hd[a-z][a-z]" 29 DISKS="$DISKS /dev/sd[a-z] /dev/sd[a-z][a-z]" 30 DISKS="$DISKS /dev/sr[a-z] /dev/sr[a-z][a-z]" [all …]
|