/linux/Documentation/userspace-api/ |
H A D | dma-buf-alloc-exchange.rst | 1 .. SPDX-License-Identifier: GPL-2.0 2 .. Copyright 2021-2023 Collabora Ltd. 9 support for sharing pixel-buffer allocations between processes, devices, and 10 subsystems. Modern systems require extensive integration between all three 12 approach this sharing for two-dimensional image data. 25 Conceptually a two-dimensional array of pixels. The pixels may be stored 26 in one or more memory buffers. Has width and height in pixels, pixel 30 A span along a single y-axis value, e.g. from co-ordinates (0,100) to 37 A span along a single x-axis value, e.g. from co-ordinates (100,0) to 42 in bytes and at least one handle in some API. May contain one or more [all …]
|
/linux/include/linux/ |
H A D | percpu-refcount.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 7 * This implements a refcount with similar semantics to atomic_t - atomic_inc(), 8 * atomic_dec_and_test() - but percpu. 10 * There's one important difference between percpu refs and normal atomic_t 15 * The refcount will have a range of 0 to ((1U << 31) - 1), i.e. one bit less 16 * than an atomic_t - this is because of the way shutdown works, see 20 * refcount hitting 0 - it can't, if it was in percpu mode. percpu_ref_kill() 21 * puts the ref back in single atomic_t mode, collecting the per cpu refs and 32 * In the aio code, kill_ioctx() is called when we wish to destroy a kioctx; it 44 * once - percpu_ref_kill() does this for you, it returns true once and false if [all …]
|
H A D | rmi.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2011-2016 Synaptics Incorporated 21 * struct rmi_2d_axis_alignment - target axis alignment 22 * @swap_axes: set to TRUE if desired to swap x- and y-axis 23 * @flip_x: set to TRUE if desired to flip direction on x-axis 24 * @flip_y: set to TRUE if desired to flip direction on y-axis 25 * @clip_x_low - reported X coordinates below this setting will be clipped to 27 * @clip_x_high - reported X coordinates above this setting will be clipped to 29 * @clip_y_low - reported Y coordinates below this setting will be clipped to 31 * @clip_y_high - reported Y coordinates above this setting will be clipped to [all …]
|
/linux/include/linux/sched/ |
H A D | sd_flags.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * sched-domains (multiprocessor balancing) flag declarations. 15 * is usually because the flag describes some shared resource (all CPUs in that 17 * behaviour that we want to disable at some point in the hierarchy for 20 * In those cases it doesn't make sense to have the flag set for a domain but 21 * not have it in (some of) its children: sched domains ALWAYS span their child 22 * domains, so operations done with parent domains will cover CPUs in the lower 40 * involves equalizing a metric between groups), or for flags describing some 41 * shared resource (which would be shared between groups). 89 * NEEDS_GROUPS: Per-CPU capacity is asymmetric between groups. [all …]
|
/linux/Documentation/dev-tools/ |
H A D | checkuapi.rst | 1 .. SPDX-License-Identifier: GPL-2.0-only 7 The UAPI checker (``scripts/check-uapi.sh``) is a shell script which 8 checks UAPI header files for userspace backwards-compatibility across 14 This section will describe the options with which ``check-uapi.sh`` 19 check-uapi.sh [-b BASE_REF] [-p PAST_REF] [-j N] [-l ERROR_LOG] [-i] [-q] [-v] 23 -b BASE_REF Base git reference to use for comparison. If unspecified or empty, 24 will use any dirty changes in tree to UAPI files. If there are no 26 -p PAST_REF Compare BASE_REF to PAST_REF (e.g. -p v6.1). If unspecified or empty, 29 -j JOBS Number of checks to run in parallel (default: number of CPU cores). 30 -l ERROR_LOG Write error log to file (default: no error log is generated). [all …]
|
/linux/Documentation/input/ |
H A D | multi-touch-protocol.rst | 4 Multi-touch (MT) Protocol 7 :Copyright: |copy| 2009-2010 Henrik Rydberg <rydberg@euromail.se> 11 ------------ 13 In order to utilize the full power of the new multi-touch and multi-user 15 objects in direct contact with the device surface, is needed. This 16 document describes the multi-touch (MT) protocol which allows kernel 30 -------------- 34 packet. Since these events are ignored by current single-touch (ST) 36 in an existing driver. 48 All drivers mark the end of a multi-touch transfer by calling the usual [all …]
|
/linux/Documentation/devicetree/bindings/spi/ |
H A D | cdns,qspi-nor-peripheral-props.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/spi/cdns,qspi-nor-peripheral-props.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Peripheral-specific properties for the Cadence QSPI controller. 10 See spi-peripheral-props.yaml for more info. 13 - Vaishnav Achath <vaishnav.a@ti.com> 16 # cdns,qspi-nor.yaml 17 cdns,read-delay: 20 Delay for read capture logic, in clock cycles. [all …]
|
/linux/Documentation/devicetree/bindings/memory-controllers/ |
H A D | ti-aemif.txt | 4 provide a glue-less interface to a variety of asynchronous memory devices like 11 Davinci DM646x - http://www.ti.com/lit/ug/sprueq7c/sprueq7c.pdf 12 OMAP-L138 (DA850) - http://www.ti.com/lit/ug/spruh77a/spruh77a.pdf 13 Kestone - http://www.ti.com/lit/ug/sprugz3a/sprugz3a.pdf 17 - compatible: "ti,davinci-aemif" 18 "ti,keystone-aemif" 19 "ti,da850-aemif" 21 - reg: contains offset/length value for AEMIF control registers 24 - #address-cells: Must be 2. The partition number has to be encoded in the 25 first address cell and it may accept values 0..N-1 [all …]
|
/linux/net/dccp/ccids/lib/ |
H A D | packet_history.c |
|
/linux/Documentation/userspace-api/media/v4l/ |
H A D | field-order.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _field-order: 9 We have to distinguish between progressive and interlaced video. 13 odd and even field are transmitted, and due to a small delay between 22 fields are in fact captured at two different instances in time. An 23 object on screen may well move between one field and the next. For 29 combine to frames. We distinguish between top (aka odd) and bottom (aka 43 determined by the video standard. Hence the distinction between temporal 47 In V4L it is assumed that all video cameras transmit fields on the media 48 bus in the same order they were captured, so if the top field was [all …]
|
/linux/drivers/net/ethernet/freescale/ |
H A D | ucc_geth.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright (C) Freescale Semicondutor, Inc. 2006-2009. All rights reserved. 12 * - Rearrange code and style fixes 41 u8 res0[0x100 - sizeof(struct ucc_fast)]; 46 u32 hafdup; /* half-duplex reg. */ 57 u8 res3[0x180 - 0x15A]; 64 frames) transmitted that were between 68 frames) transmitted that were between 128 74 frames) received that were between MINLength 77 frames) received that were between 128 [all …]
|
/linux/drivers/accel/habanalabs/common/ |
H A D | security.h | 1 /* SPDX-License-Identifier: GPL-2.0 3 * Copyright 2016-2022 HabanaLabs, Ltd. 11 #include <linux/io-64-nonatomic-lo-hi.h> 23 * struct hl_special_block_info - stores address details of a particular type of 26 * @block_type: block type as described in every ASIC's block_types enum. 32 * @major_offset: address gap between 2 consecutive major blocks of particular type, 33 * e.g., offset between NIC0_UMR0_0 and NIC1_UMR0_0 is 0x80000. 34 * @minor_offset: address gap between 2 consecutive minor blocks of particular type, 35 * e.g., offset between NIC0_UMR0_0 and NIC0_UMR1_0 is 0x20000. 36 * @sub_minor_offset: address gap between 2 consecutive sub_minor blocks of particular [all …]
|
H A D | security.c | 1 // SPDX-License-Identifier: GPL-2.0 11 "Error due to un-priv read", 12 "Error due to un-secure read", 14 "Error due to un-priv write", 15 "Error due to un-secure write", 28 "External I/F write to un-mapped reg", 40 * hl_get_pb_block - return the relevant block within the block array 43 * @mm_reg_addr: register address in the desired block 62 dev_err(hdev->dev, "No protection domain was found for 0x%x\n", in hl_get_pb_block() 64 return -EDOM; in hl_get_pb_block() [all …]
|
/linux/tools/perf/pmu-events/arch/x86/jaketown/ |
H A D | uncore-memory.json | 12 … "BriefDescription": "DRAM RD_CAS and WR_CAS Commands.; All DRAM WR_CAS (w/ and w/out auto-pre)", 30 … "BriefDescription": "DRAM RD_CAS and WR_CAS Commands.; All DRAM RD_CAS (w/ and w/out auto-pre)", 57 …ption": "DRAM RD_CAS and WR_CAS Commands.; DRAM WR_CAS (w/ and w/out auto-pre) in Read Major Mode", 66 …tion": "DRAM RD_CAS and WR_CAS Commands.; DRAM WR_CAS (w/ and w/out auto-pre) in Write Major Mode", 79 "PublicDescription": "Uncore Fixed Counter - uclks", 117 …s corrected. The iMC can correct up to 4 bit errors in independent channel mode and 8 bit errors … 121 "BriefDescription": "Cycles in a Major Mode; Isoch Major Mode", 126 …number of cycles spent in a major mode (selected by a filter) on the given channel. Major modea … 131 "BriefDescription": "Cycles in a Major Mode; Partial Major Mode", 136 …number of cycles spent in a major mode (selected by a filter) on the given channel. Major modea … [all …]
|
/linux/tools/memory-model/litmus-tests/ |
H A D | README | 6 Test of read-read coherence, that is, whether or not two 10 Test of read-write coherence, that is, whether or not a read 15 Test of write-read coherence, that is, whether or not a write 20 Test of write-write coherence, that is, whether or not two 25 between each pairs of reads. In other words, is smp_mb() 33 between each pairs of reads. In other words, is anything at all 39 Tests whether the ordering provided by a lock-protected S 45 As below, but with store-release replaced with WRITE_ONCE() 46 and load-acquire replaced with READ_ONCE(). 49 Can a release-acquire chain order a prior store against [all …]
|
/linux/Documentation/driver-api/cxl/linux/ |
H A D | access-coordinates.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 not able to annotate those for CXL devices that are hot-plugged since they do 18 subtable that ties a proximity domain to a device handle, which in this case 22 performance coordinates between a CPU and a Generic Port (CXL hostbridge). 34 If there's a CXL switch in the topology, then the performance coordinates for the 36 for traversing the switch between the switch upstream port and the switch 41 GP0/HB0/ACPI0016-0 53 In this example, there is a CXL switch between an endpoint and a root port. 54 Latency in this example is calculated as such: 55 L(EP0) - Latency from EP0 CDAT DSMAS+DSLBIS [all …]
|
/linux/Documentation/driver-api/pci/ |
H A D | p2pdma.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 PCI Peer-to-Peer DMA Support 8 between two devices on the bus. This type of transaction is henceforth 9 called Peer-to-Peer (or P2P). However, there are a number of issues that 10 make P2P transactions tricky to do in a perfectly safe way. 13 transactions between hierarchy domains, and in PCIe, each Root Port 18 same PCI bridge, as such devices are all in the same PCI hierarchy 21 between hierarchies. 23 The second issue is that to make use of existing interfaces in Linux, 33 In a given P2P implementation there may be three or more different [all …]
|
/linux/arch/arm/mach-omap2/ |
H A D | clockdomain.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 6 * Copyright (C) 2008-2011 Nokia Corporation 33 * hardware-supervised idle mode, the PRCM may transition the 35 * inside the clockdomain and powerdomain are in use. (An example 38 * force-sleep mode, then the HW_AUTO mode will be used to put the 40 * the force-wakeup mode, then it will be used whenever a clock or 58 * struct clkdm_autodep - clkdm deps to add when entering/exiting hwsup mode 59 * @clkdm: clockdomain to add wkdep+sleepdep on - set name member only 62 * clockdomain should stay active in hwsup mode; and conversely, 63 * removed when the clockdomain should be allowed to go inactive in [all …]
|
/linux/Documentation/networking/device_drivers/ethernet/altera/ |
H A D | altera_tse.rst | 1 .. SPDX-License-Identifier: GPL-2.0 6 Altera Triple-Speed Ethernet MAC driver 9 Copyright |copy| 2008-2014 Altera Corporation 11 This is the driver for the Altera Triple-Speed Ethernet (TSE) controllers 16 cases are simple communications between an embedded system and an external peer 22 the maintainer of this driver, found in MAINTAINERS. 24 The Triple-Speed Ethernet, SGDMA, and MSGDMA components are all soft IP 31 Triple-Speed Ethernet instance is using an SGDMA or MSGDMA component. The 36 The SGDMA component is to be deprecated in the near future (over the next 1-2 37 years as of this writing in early 2014) in favor of the MSGDMA component. [all …]
|
/linux/arch/arm/mach-s3c/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 5 source "arch/arm/mach-s3c/Kconfig.s3c64xx" 29 int "S3C UART to use for low-level messages" 33 Choice of which UART port to use for the low-level messages, 35 this configuration should be between zero and two. The port 36 must have been initialised by the boot-loader before use. 52 int "Space between gpio banks" 55 Add a number of spare GPIO entries between each bank for debugging 66 # device definitions to compile in 71 Compile in platform device definitions for HSMMC code [all …]
|
/linux/Documentation/driver-api/ |
H A D | interconnect.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 ------------ 12 latency and priority between multiple interconnected devices or functional 13 blocks. This can be controlled dynamically in order to save power or provide 18 An example of interconnect buses are the interconnects between various 19 components or functional blocks in chipsets. There can be multiple interconnects 20 on an SoC that can be multi-tiered. 22 Below is a simplified diagram of a real-world SoC interconnect bus topology. 26 +----------------+ +----------------+ 27 | HW Accelerator |--->| M NoC |<---------------+ [all …]
|
H A D | device_link.rst | 7 By default, the driver core only enforces dependencies between devices 14 mere parent/child relationship, e.g. between siblings, and have the 25 Device links allow representation of such dependencies in the driver core. 27 In its standard or *managed* form, a device link combines *both* dependency 28 types: It guarantees correct suspend/resume and shutdown ordering between a 36 simply be set up with the ``DL_FLAG_STATELESS`` flag. In other words, 47 The earliest point in time when device links can be added is after 52 remains in a consistent state: E.g. a device link cannot be added in 56 not to run in parallel to a suspend/resume transition, such as from a 57 device ``->probe`` callback or a boot-time PCI quirk. [all …]
|
/linux/Documentation/dev-tools/kunit/ |
H A D | faq.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 test a single unit of code in isolation and hence the name *unit test*. A unit 15 code paths to be tested in the code under test. This is only possible if the 20 require installing the kernel on a test machine or in a virtual machine. All 21 testing frameworks require tests to be written in userspace and run on the 35 (see :ref:`kunit-on-qemu`). 37 In short, yes, you can run KUnit on other architectures, but it might require 40 For more information, see :ref:`kunit-on-non-uml`. 42 .. _kinds-of-tests: 44 What is the difference between a unit test and other kinds of tests? [all …]
|
/linux/Documentation/arch/powerpc/ |
H A D | associativity.rst | 9 are represented as being members of a sub-grouping domain. This performance 10 characteristic is presented in terms of NUMA node distance within the Linux kernel. 17 Hypervisor indicates the type/form of associativity used via "ibm,architecture-vec-5 property". 18 Bit 0 of byte 5 in the "ibm,architecture-vec-5" property indicates usage of Form 0 or Form 1. 20 bit 2 of byte 5 in the "ibm,architecture-vec-5" property is used. 23 ------ 27 ------ 28 With Form 1 a combination of ibm,associativity-reference-points, and ibm,associativity 29 device tree properties are used to determine the NUMA distance between resource groups/domains. 34 The “ibm,associativity-reference-points” property contains a list of one or more numbers [all …]
|
/linux/arch/parisc/math-emu/ |
H A D | fcnvuf.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 * Fixed point to Floating-point Converts 38 * Fixed point to Floating-point Converts * 42 * Convert Single Unsigned Fixed to Single Floating-point format 69 * a value in dst_exponent indicating the bit position, in sgl_to_sgl_fcnvuf() 70 * between -1 and 30. in sgl_to_sgl_fcnvuf() 76 Sgl_set_exponent(result, 30+SGL_BIAS - dst_exponent); in sgl_to_sgl_fcnvuf() [all …]
|