| /kernel/linux/linux-6.6/Documentation/admin-guide/mm/ |
| D | pagemap.rst | 12 physical frame each virtual page is mapped to. It contains one 64-bit 16 * Bits 0-54 page frame number (PFN) if present 17 * Bits 0-4 swap type if swapped 18 * Bits 5-54 swap offset if swapped 19 * Bit 55 pte is soft-dirty (see 20 Documentation/admin-guide/mm/soft-dirty.rst) 22 * Bit 57 pte is uffd-wp write-protected (since 5.13) (see 23 Documentation/admin-guide/mm/userfaultfd.rst) 24 * Bits 58-60 zero 25 * Bit 61 page is file-page or shared-anon (since 3.5) [all …]
|
| D | zswap.rst | 9 in the process of being swapped out and attempts to compress them into a 10 dynamically allocated RAM-based memory pool. zswap basically trades CPU cycles 11 for potentially reduced swap I/O. This trade-off can also result in a 24 drastically reducing life-shortening writes. 31 the ``CONFIG_ZSWAP_DEFAULT_ON`` Kconfig option is enabled or not. 41 being swapped out. However, it will _not_ immediately write out or fault 46 fault back into memory all swapped out pages, including those in the 57 allocation in zpool is not directly accessible by address. Rather, a handle is 60 pages are freed. The pool is not preallocated. By default, a zpool 69 means the compression ratio will always be 2:1 or worse (because of half-full [all …]
|
| /kernel/linux/linux-5.10/arch/sparc/kernel/ |
| D | adi_64.c | 1 // SPDX-License-Identifier: GPL-2.0-only 18 * pages. When ADI enabled pages are being swapped out, it would be 32 * Hypervisor reports ADI capabilities of platform in "hwcap-list" property 33 * for "cpu" node. If the platform supports ADI, "hwcap-list" property 35 * node will contain "adp-blksz", "adp-nbits" and "ue-on-adp" properties 52 prop = mdesc_get_property(hp, pn, "hwcap-list", &len); in mdesc_adi_init() 57 * Look for "adp" keyword in hwcap-list which would indicate in mdesc_adi_init() 71 len -= plen; in mdesc_adi_init() 78 * properties are not found, ADI support is incomplete and in mdesc_adi_init() 79 * do not enable ADI in the kernel. in mdesc_adi_init() [all …]
|
| /kernel/linux/linux-6.6/arch/sparc/kernel/ |
| D | adi_64.c | 1 // SPDX-License-Identifier: GPL-2.0-only 18 * pages. When ADI enabled pages are being swapped out, it would be 32 * Hypervisor reports ADI capabilities of platform in "hwcap-list" property 33 * for "cpu" node. If the platform supports ADI, "hwcap-list" property 35 * node will contain "adp-blksz", "adp-nbits" and "ue-on-adp" properties 52 prop = mdesc_get_property(hp, pn, "hwcap-list", &len); in mdesc_adi_init() 57 * Look for "adp" keyword in hwcap-list which would indicate in mdesc_adi_init() 71 len -= plen; in mdesc_adi_init() 78 * properties are not found, ADI support is incomplete and in mdesc_adi_init() 79 * do not enable ADI in the kernel. in mdesc_adi_init() [all …]
|
| /kernel/linux/linux-6.6/sound/firewire/dice/ |
| D | dice-interface.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 11 * block read transactions with at least quadlet-aligned offset and length. 12 * Writes are not allowed except where noted; quadlet-sized registers must be 15 * All values are in big endian. The DICE firmware runs on a little-endian CPU 16 * and just byte-swaps _all_ quadlets on the bus, so values without endianness 17 * (e.g. strings) get scrambled and must be byte-swapped again by the driver. 32 * size values are measured in quadlets. Read-only. 50 * Stores the full 64-bit address (node ID and offset in the node's address 60 * A bitmask with asynchronous events; read-only. When any event(s) happen, 74 /* Other bits may be used for device-specific events. */ [all …]
|
| /kernel/linux/linux-5.10/sound/firewire/dice/ |
| D | dice-interface.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 11 * block read transactions with at least quadlet-aligned offset and length. 12 * Writes are not allowed except where noted; quadlet-sized registers must be 15 * All values are in big endian. The DICE firmware runs on a little-endian CPU 16 * and just byte-swaps _all_ quadlets on the bus, so values without endianness 17 * (e.g. strings) get scrambled and must be byte-swapped again by the driver. 32 * size values are measured in quadlets. Read-only. 50 * Stores the full 64-bit address (node ID and offset in the node's address 60 * A bitmask with asynchronous events; read-only. When any event(s) happen, 74 /* Other bits may be used for device-specific events. */ [all …]
|
| /kernel/linux/linux-5.10/Documentation/vm/ |
| D | zswap.rst | 11 in the process of being swapped out and attempts to compress them into a 12 dynamically allocated RAM-based memory pool. zswap basically trades CPU cycles 13 for potentially reduced swap I/O. This trade-off can also result in a 19 reclaim. This interaction has not been fully explored on the large set of 32 drastically reducing life-shortening writes. 39 the ``CONFIG_ZSWAP_DEFAULT_ON`` Kconfig option is enabled or not. 49 being swapped out. However, it will _not_ immediately write out or fault 54 fault back into memory all swapped out pages, including those in the 65 allocation in zpool is not directly accessible by address. Rather, a handle is 68 pages are freed. The pool is not preallocated. By default, a zpool [all …]
|
| /kernel/linux/linux-5.10/Documentation/admin-guide/mm/ |
| D | pagemap.rst | 14 physical frame each virtual page is mapped to. It contains one 64-bit 18 * Bits 0-54 page frame number (PFN) if present 19 * Bits 0-4 swap type if swapped 20 * Bits 5-54 swap offset if swapped 21 * Bit 55 pte is soft-dirty (see 22 :ref:`Documentation/admin-guide/mm/soft-dirty.rst <soft_dirty>`) 24 * Bits 57-60 zero 25 * Bit 61 page is file-page or shared-anon (since 3.5) 26 * Bit 62 page swapped 30 In 4.0 and 4.1 opens by unprivileged fail with -EPERM. Starting from [all …]
|
| /kernel/linux/linux-5.10/drivers/platform/x86/ |
| D | touchscreen_dmi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 21 /* The EFI embedded-fw code expects this to be the first member! */ 30 PROPERTY_ENTRY_U32("touchscreen-size-x", 1665), 31 PROPERTY_ENTRY_U32("touchscreen-size-y", 1140), 32 PROPERTY_ENTRY_BOOL("touchscreen-swapped-x-y"), 33 PROPERTY_ENTRY_BOOL("silead,home-button"), 34 PROPERTY_ENTRY_STRING("firmware-name", "gsl1680-chuwi-hi8.fw"), 44 PROPERTY_ENTRY_U32("touchscreen-size-x", 1728), 45 PROPERTY_ENTRY_U32("touchscreen-size-y", 1148), 46 PROPERTY_ENTRY_BOOL("touchscreen-swapped-x-y"), [all …]
|
| /kernel/linux/linux-5.10/drivers/media/platform/ |
| D | renesas-ceu.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright (C) 2017-2018 Jacopo Mondi <jacopo+renesas@jmondi.org> 6 * Based on soc-camera driver "soc_camera/sh_mobile_ceu_camera.c" 9 * Based on V4L2 Driver for PXA camera host - "pxa_camera.c", 16 #include <linux/dma-mapping.h> 33 #include <media/v4l2-async.h> 34 #include <media/v4l2-common.h> 35 #include <media/v4l2-ctrls.h> 36 #include <media/v4l2-dev.h> 37 #include <media/v4l2-device.h> [all …]
|
| /kernel/linux/linux-6.6/drivers/media/platform/renesas/ |
| D | renesas-ceu.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright (C) 2017-2018 Jacopo Mondi <jacopo+renesas@jmondi.org> 6 * Based on soc-camera driver "soc_camera/sh_mobile_ceu_camera.c" 9 * Based on V4L2 Driver for PXA camera host - "pxa_camera.c", 16 #include <linux/dma-mapping.h> 32 #include <media/v4l2-async.h> 33 #include <media/v4l2-common.h> 34 #include <media/v4l2-ctrls.h> 35 #include <media/v4l2-dev.h> 36 #include <media/v4l2-device.h> [all …]
|
| /kernel/linux/linux-6.6/drivers/platform/x86/ |
| D | touchscreen_dmi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 21 /* The EFI embedded-fw code expects this to be the first member! */ 30 PROPERTY_ENTRY_U32("touchscreen-size-x", 1850), 31 PROPERTY_ENTRY_U32("touchscreen-size-y", 1280), 32 PROPERTY_ENTRY_BOOL("touchscreen-inverted-y"), 33 PROPERTY_ENTRY_BOOL("touchscreen-swapped-x-y"), 34 PROPERTY_ENTRY_U32("silead,max-fingers", 10), 35 PROPERTY_ENTRY_BOOL("silead,home-button"), 36 PROPERTY_ENTRY_STRING("firmware-name", "gsl1680-archos-101-cesium-educ.fw"), 46 PROPERTY_ENTRY_U32("touchscreen-size-x", 1850), [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/dsa/ |
| D | mt7530.txt | 6 - compatible: may be compatible = "mediatek,mt7530" 9 - #address-cells: Must be 1. 10 - #size-cells: Must be 0. 11 - mediatek,mcm: Boolean; if defined, indicates that either MT7530 is the part 12 on multi-chip module belong to MT7623A has or the remotely standalone 17 - core-supply: Phandle to the regulator node necessary for the core power. 18 - io-supply: Phandle to the regulator node necessary for the I/O power. 19 See Documentation/devicetree/bindings/regulator/mt6323-regulator.txt 24 - reset-gpios: Should be a gpio specifier for a reset line. 28 - resets : Phandle pointing to the system reset controller with [all …]
|
| /kernel/linux/linux-5.10/include/uapi/linux/ |
| D | virtio_balloon.h | 18 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 64 #define VIRTIO_BALLOON_S_SWAP_IN 0 /* Amount of memory swapped in */ 65 #define VIRTIO_BALLOON_S_SWAP_OUT 1 /* Amount of memory swapped out */ 77 VIRTIO_BALLOON_S_NAMES_prefix "swap-in", \ 78 VIRTIO_BALLOON_S_NAMES_prefix "swap-out", \ 79 VIRTIO_BALLOON_S_NAMES_prefix "major-faults", \ 80 VIRTIO_BALLOON_S_NAMES_prefix "minor-faults", \ 81 VIRTIO_BALLOON_S_NAMES_prefix "free-memory", \ 82 VIRTIO_BALLOON_S_NAMES_prefix "total-memory", \ [all …]
|
| /kernel/linux/linux-6.6/include/uapi/linux/ |
| D | virtio_balloon.h | 18 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 64 #define VIRTIO_BALLOON_S_SWAP_IN 0 /* Amount of memory swapped in */ 65 #define VIRTIO_BALLOON_S_SWAP_OUT 1 /* Amount of memory swapped out */ 77 VIRTIO_BALLOON_S_NAMES_prefix "swap-in", \ 78 VIRTIO_BALLOON_S_NAMES_prefix "swap-out", \ 79 VIRTIO_BALLOON_S_NAMES_prefix "major-faults", \ 80 VIRTIO_BALLOON_S_NAMES_prefix "minor-faults", \ 81 VIRTIO_BALLOON_S_NAMES_prefix "free-memory", \ 82 VIRTIO_BALLOON_S_NAMES_prefix "total-memory", \ [all …]
|
| /kernel/linux/linux-6.6/Documentation/userspace-api/media/v4l/ |
| D | userp.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 14 particular user pointer method (not only memory mapping) is supported 21 data are exchanged, these pointers and meta-information are passed in 23 :c:type:`v4l2_plane` in the multi-planar API case). The 26 No buffers (planes) are allocated beforehand, consequently they are not 33 .. code-block:: c 41 if (ioctl (fd, VIDIOC_REQBUFS, &reqbuf) == -1) { 43 printf ("Video capturing or user pointer streaming is not supported\\n"); 57 swapped out to disk they are brought back and finally locked in physical 66 Applications must take care not to free buffers without dequeuing. [all …]
|
| /kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/ |
| D | userp.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 14 particular user pointer method (not only memory mapping) is supported 21 data are exchanged, these pointers and meta-information are passed in 23 :c:type:`v4l2_plane` in the multi-planar API case). The 26 No buffers (planes) are allocated beforehand, consequently they are not 33 .. code-block:: c 41 if (ioctl (fd, VIDIOC_REQBUFS, &reqbuf) == -1) { 43 printf ("Video capturing or user pointer streaming is not supported\\n"); 57 swapped out to disk they are brought back and finally locked in physical 66 Applications must take care not to free buffers without dequeuing. [all …]
|
| /kernel/linux/linux-6.6/mm/ |
| D | shmem.c | 6 * 2000-2001 Christoph Rohland 7 * 2000-2001 SAP AG 9 * Copyright (C) 2002-2011 Hugh Dickins. 11 * Copyright (C) 2002-2005 VERITAS Software Corporation. 18 * tiny-shmem: 61 #include <linux/backing-dev.h> 101 * inode->i_private (with i_rwsem making sure that it has only one user at 102 * a time): we would prefer not to enlarge the shmem inode just for that. 143 return min3(nr_pages - totalhigh_pages(), nr_pages / 2, in shmem_default_max_inodes() 155 return sb->s_fs_info; in SHMEM_SB() [all …]
|
| /kernel/linux/linux-5.10/arch/mips/cavium-octeon/ |
| D | octeon-platform.c | 6 * Copyright (C) 2004-2017 Cavium, Inc. 16 #include <asm/octeon/cvmx-helper-board.h> 22 #include <asm/octeon/cvmx-uctlx-defs.h> 76 if (dev->of_node) { in octeon2_usb_clocks_start() 80 uctl_node = of_get_parent(dev->of_node); in octeon2_usb_clocks_start() 86 "refclk-frequency", &clock_rate); in octeon2_usb_clocks_start() 88 dev_err(dev, "No UCTL \"refclk-frequency\"\n"); in octeon2_usb_clocks_start() 93 "refclk-type", &clock_type); in octeon2_usb_clocks_start() 201 * Step 4: Program the power-on reset field in the UCTL in octeon2_usb_clocks_start() 202 * clock-reset-control register. in octeon2_usb_clocks_start() [all …]
|
| /kernel/linux/linux-6.6/arch/mips/cavium-octeon/ |
| D | octeon-platform.c | 6 * Copyright (C) 2004-2017 Cavium, Inc. 18 #include <asm/octeon/cvmx-helper-board.h> 24 #include <asm/octeon/cvmx-uctlx-defs.h> 78 if (dev->of_node) { in octeon2_usb_clocks_start() 82 uctl_node = of_get_parent(dev->of_node); in octeon2_usb_clocks_start() 88 "refclk-frequency", &clock_rate); in octeon2_usb_clocks_start() 90 dev_err(dev, "No UCTL \"refclk-frequency\"\n"); in octeon2_usb_clocks_start() 95 "refclk-type", &clock_type); in octeon2_usb_clocks_start() 203 * Step 4: Program the power-on reset field in the UCTL in octeon2_usb_clocks_start() 204 * clock-reset-control register. in octeon2_usb_clocks_start() [all …]
|
| /kernel/linux/linux-5.10/mm/ |
| D | shmem.c | 6 * 2000-2001 Christoph Rohland 7 * 2000-2001 SAP AG 9 * Copyright (C) 2002-2011 Hugh Dickins. 11 * Copyright (C) 2002-2005 VERITAS Software Corporation. 18 * tiny-shmem: 60 #include <linux/backing-dev.h> 99 * inode->i_private (with i_mutex making sure that it has only one user at 100 * a time): we would prefer not to enlarge the shmem inode just for that. 136 return min(nr_pages - totalhigh_pages(), nr_pages / 2); in shmem_default_max_inodes() 156 mapping_gfp_mask(inode->i_mapping), NULL, NULL, NULL); in shmem_getpage() [all …]
|
| /kernel/linux/linux-5.10/arch/s390/appldata/ |
| D | appldata_mem.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Data gathering module for Linux-VM Monitor Stream, Stage 1. 23 #define P2K(x) ((x) << (PAGE_SHIFT - 10)) /* Converts #Pages to KB */ 37 same. If not, the record has been updated on 43 u64 pswpin; /* pages swapped in */ 44 u64 pswpout; /* pages swapped out */ 58 // New in 2.6 --> 62 // <-- New in 2.6 83 mem_data->sync_count_1++; in appldata_get_mem_data() 86 mem_data->pgpgin = ev[PGPGIN] >> 1; in appldata_get_mem_data() [all …]
|
| /kernel/linux/linux-6.6/arch/s390/appldata/ |
| D | appldata_mem.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Data gathering module for Linux-VM Monitor Stream, Stage 1. 23 #define P2K(x) ((x) << (PAGE_SHIFT - 10)) /* Converts #Pages to KB */ 37 same. If not, the record has been updated on 43 u64 pswpin; /* pages swapped in */ 44 u64 pswpout; /* pages swapped out */ 58 // New in 2.6 --> 62 // <-- New in 2.6 83 mem_data->sync_count_1++; in appldata_get_mem_data() 86 mem_data->pgpgin = ev[PGPGIN] >> 1; in appldata_get_mem_data() [all …]
|
| /kernel/linux/linux-6.6/Documentation/input/devices/ |
| D | sentelic.rst | 8 :Copyright: |copy| 2002-2011 Sentelic Corporation. 10 :Last update: Dec-07-2011 28 BYTE |---------------|BYTE |---------------|BYTE|---------------|BYTE|---------------| 30 |---------------| |---------------| |---------------| |---------------| 37 Bit2 => Middle Button, 1 is pressed, 0 is not pressed. 38 Bit1 => Right Button, 1 is pressed, 0 is not pressed. 39 Bit0 => Left Button, 1 is pressed, 0 is not pressed. 40 Byte 2: X Movement(9-bit 2's complement integers) 41 Byte 3: Y Movement(9-bit 2's complement integers) 43 valid values, -8 ~ +7 [all …]
|
| /kernel/linux/linux-5.10/Documentation/input/devices/ |
| D | sentelic.rst | 8 :Copyright: |copy| 2002-2011 Sentelic Corporation. 10 :Last update: Dec-07-2011 28 BYTE |---------------|BYTE |---------------|BYTE|---------------|BYTE|---------------| 30 |---------------| |---------------| |---------------| |---------------| 37 Bit2 => Middle Button, 1 is pressed, 0 is not pressed. 38 Bit1 => Right Button, 1 is pressed, 0 is not pressed. 39 Bit0 => Left Button, 1 is pressed, 0 is not pressed. 40 Byte 2: X Movement(9-bit 2's complement integers) 41 Byte 3: Y Movement(9-bit 2's complement integers) 43 valid values, -8 ~ +7 [all …]
|