/linux-6.12.1/Documentation/userspace-api/media/v4l/ |
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 …]
|
/linux-6.12.1/include/linux/ |
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 …]
|
/linux-6.12.1/Documentation/arch/arm/nwfpe/ |
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 …]
|
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 …]
|
/linux-6.12.1/Documentation/devicetree/bindings/iio/ |
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 …]
|
/linux-6.12.1/fs/zonefs/ |
D | super.c | 1 // SPDX-License-Identifier: GPL-2.0 32 * Get the name of a zone group directory. 51 struct zonefs_zone *z) in zonefs_account_active() argument 55 if (zonefs_zone_is_cnv(z)) in zonefs_account_active() 62 if (z->z_flags & (ZONEFS_ZONE_OFFLINE | ZONEFS_ZONE_READONLY)) in zonefs_account_active() 69 if ((z->z_flags & ZONEFS_ZONE_OPEN) || in zonefs_account_active() 70 (z->z_wpoffset > 0 && z->z_wpoffset < z->z_capacity)) { in zonefs_account_active() 71 if (!(z->z_flags & ZONEFS_ZONE_ACTIVE)) { in zonefs_account_active() 72 z->z_flags |= ZONEFS_ZONE_ACTIVE; in zonefs_account_active() 73 atomic_inc(&sbi->s_active_seq_files); in zonefs_account_active() [all …]
|
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 …]
|
/linux-6.12.1/drivers/zorro/ |
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 …]
|
D | zorro.c | 4 * Copyright (C) 1995-2003 Geert Uytterhoeven 19 #include <linux/dma-mapping.h> 55 struct zorro_dev *z; in zorro_find_device() local 60 for (z = from ? from+1 : &zorro_autocon[0]; in zorro_find_device() 61 z < zorro_autocon+zorro_num_autocon; in zorro_find_device() 62 z++) in zorro_find_device() 63 if (id == ZORRO_WILDCARD || id == z->id) in zorro_find_device() 64 return z; in zorro_find_device() 72 * by the system. Every bit represents a 64K chunk, for a maximum of 8MB 73 * (128 chunks, physical 0x00200000-0x009fffff). [all …]
|
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); \ 44 struct zorro_dev *z; in serial_show() local 46 z = to_zorro_dev(dev); in serial_show() 47 return sprintf(buf, "0x%08x\n", be32_to_cpu(z->rom.er_SerialNumber)); in serial_show() 54 struct zorro_dev *z = to_zorro_dev(dev); in resource_show() local 57 (unsigned long)zorro_resource_start(z), in resource_show() 58 (unsigned long)zorro_resource_end(z), in resource_show() [all …]
|
/linux-6.12.1/mm/ |
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 …]
|
/linux-6.12.1/drivers/md/ |
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 …]
|
/linux-6.12.1/Documentation/devicetree/bindings/iio/accel/ |
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 …]
|
/linux-6.12.1/arch/m68k/fpsp040/ |
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 …]
|
/linux-6.12.1/drivers/s390/char/ |
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 …]
|
/linux-6.12.1/crypto/ |
D | fcrypt.c | 13 * Copyright (c) 1995 - 2000 Kungliga Tekniska Högskolan 34 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 57 /* Rotate right two 32 bit numbers as a 56 bit number */ 60 u32 t = lo & ((1 << n) - 1); \ 61 lo = (lo >> n) | ((hi & ((1 << n) - 1)) << (32 - n)); \ 62 hi = (hi >> n) | (t << (24-n)); \ 65 /* Rotate right one 64 bit number as a 56 bit number */ 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 [all …]
|
/linux-6.12.1/Documentation/ABI/testing/ |
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 …]
|
/linux-6.12.1/drivers/gpu/drm/xe/tests/ |
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() 39 #define foo X, Y, Z, Q 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() 73 KUNIT_EXPECT_EQ(test, buz, Z); in pick_arg_example() 74 KUNIT_EXPECT_STREQ(test, __stringify(buz), "Z"); in pick_arg_example() 83 #define foo(f) f(X) f(Y) f(Z) f(Q) in sep_comma_example() [all …]
|
/linux-6.12.1/Documentation/driver-api/ |
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 …]
|
/linux-6.12.1/include/linux/input/ |
D | adxl34x.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 20 * X,Y,Z Axis Offset: 22 * form with a scale factor of 15.6 mg/LSB (i.e. 0x7F = +2 g) 30 * TAP_X/Y/Z Enable: Setting TAP_X, Y, or Z Enable enables X, 31 * Y, or Z participation in Tap detection. A '0' excludes the 50 * (i.e. 0xFF = +16 g). A zero value may result in undesirable 60 * to qualify as a tap event. The scale factor is 625 us/LSB. A zero 69 * from the detection of a tap event to the opening of the time 70 * window tap_window for a possible second tap event. The scale 71 * factor is 1.25 ms/LSB. A zero value will disable the Double Tap [all …]
|
/linux-6.12.1/drivers/i2c/busses/ |
D | i2c-icy.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * I2C driver for stand-alone PCF8584 style adapters on Zorro cards 8 * There has been a modern community re-print of this design in 2019: 11 * The card is basically a Philips PCF8584 connected straight to the 17 * This started as a fork of i2c-elektor.c and has evolved since. 18 * Thanks go to its authors for providing a base to grow on. 23 * As it turns out, i2c-algo-pcf is really written with i2c-elektor's 24 * edge-triggered ISA interrupts in mind, while the Amiga's Zorro bus has 25 * level-triggered interrupts. This means that once an interrupt occurs, we 29 * However, because of the PCF8584's host-side protocol, there is no good [all …]
|
/linux-6.12.1/tools/testing/selftests/bpf/progs/ |
D | get_func_args_test.c | 1 // SPDX-License-Identifier: GPL-2.0 14 __u64 a = 0, z = 0, ret = 0; in BPF_PROG() local 20 err = bpf_get_func_arg(ctx, 0, &a); in BPF_PROG() 24 * to save it, like for 'int a' with 32-bit mov like: in BPF_PROG() 26 * mov %edi,-0x8(%rbp) in BPF_PROG() 30 test1_result &= err == 0 && ((int) a == 1); in BPF_PROG() 33 err = bpf_get_func_arg(ctx, 1, &z); in BPF_PROG() 34 test1_result &= err == -EINVAL; in BPF_PROG() 38 test1_result &= err == -EOPNOTSUPP; in BPF_PROG() 47 __u64 a = 0, b = 0, z = 0, ret = 0; in BPF_PROG() local [all …]
|
/linux-6.12.1/drivers/md/dm-vdo/indexer/ |
D | delta-index.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 #include "delta-index.h" 16 #include "memory-alloc.h" 19 #include "string-utils.h" 20 #include "time-utils.h" 26 * The entries in a delta index could be stored in a single delta list, but to reduce search times 27 * and update costs it uses multiple delta lists. These lists are stored in a single chunk of 29 * memory, so the location of each delta list is recorded as a bit offset into the memory. Because 30 * the volume index can contain over a million delta lists, we want to be efficient with the size 32 * volume index delta list memory can easily exceed 4 gigabits, so a 64 bit value is needed to [all …]
|
/linux-6.12.1/Documentation/arch/s390/ |
D | monreader.rst | 2 Linux API for read access to z/VM Monitor Records 5 Date : 2004-Nov-26 14 This item delivers a new Linux API in the form of a misc char device that is 15 usable from user space and allows read access to the z/VM Monitor Records 16 collected by the `*MONITOR` System Service of z/VM. 21 The z/VM guest on which you want to access this API needs to be configured in 25 This item will use the IUCV device driver to access the z/VM services, so you 26 need a kernel with IUCV support. You also need z/VM version 4.4 or 5.1. 33 See also "CP Command and Utility Reference" (SC24-6081-00) for more information 35 and Administration" (SC24-6116-00) for more information on DCSSes. [all …]
|
/linux-6.12.1/drivers/net/ethernet/8390/ |
D | hydra.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 /* The Amiganet is a Zorro-II board made by Hydra Systems. It contains a */ 10 /* NS8390 NIC (network interface controller) clone, 16 or 64K on-board RAM */ 11 /* and 10BASE-2 (thin coax) and AUI connectors. */ 31 #define EI_SHIFT(x) (ei_local->reg_offset[x]) 51 #define WORDSWAP(a) ((((a)>>8)&0xff) | ((a)<<8)) argument 54 static int hydra_init_one(struct zorro_dev *z, 56 static int hydra_init(struct zorro_dev *z); 66 static void hydra_remove_one(struct zorro_dev *z); 81 static int hydra_init_one(struct zorro_dev *z, in hydra_init_one() argument [all …]
|