/openbmc/linux/Documentation/admin-guide/mm/ |
H A 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 …]
|
H A 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 …]
|
/openbmc/linux/arch/sparc/kernel/ |
H A 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 …]
|
/openbmc/qemu/ui/ |
H A D | dbus-console.c | 4 * Copyright (c) 2021 Marc-André Lureau <marcandre.lureau@redhat.com> 17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 25 #include "qemu/error-report.h" 28 #include "ui/kbd-state.h" 66 g_object_set(ddc->iface, in G_DEFINE_TYPE() 131 .dpy_name = "dbus-console", 145 ddc->listeners = g_ptr_array_new_with_free_func(g_object_unref); in dbus_display_console_init() 146 ddc->dcl.ops = &dbus_console_dcl_ops; in dbus_display_console_init() 154 unregister_displaychangelistener(&ddc->dcl); in dbus_display_console_dispose() 155 g_clear_object(&ddc->iface_touch); in dbus_display_console_dispose() [all …]
|
H A D | dbus-clipboard.c | 4 * Copyright (c) 2021 Marc-André Lureau <marcandre.lureau@redhat.com> 17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 26 #include "qemu/error-report.h" 27 #include "qemu/main-loop.h" 35 #define MIME_TEXT_PLAIN_UTF8 "text/plain;charset=utf-8" 46 info->types[type].data, in dbus_clipboard_complete_request() 47 info->types[type].size, in dbus_clipboard_complete_request() 53 dpy->clipboard, invocation, in dbus_clipboard_complete_request() 60 bool self_update = info->owner == &dpy->clipboard_peer; in dbus_clipboard_update_info() 65 if (info->owner == NULL) { in dbus_clipboard_update_info() [all …]
|
/openbmc/linux/sound/firewire/dice/ |
H A 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 …]
|
/openbmc/u-boot/doc/ |
H A D | README.ti-secure | 22 Booting of U-Boot SPL 25 When CONFIG_TI_SECURE_DEVICE is set, the U-Boot SPL build process 29 SECDEV package. If the TI_SECURE_DEV_PKG variable is not defined or 32 bootable image was not created. 36 ${TI_SECURE_DEV_PKG}/scripts/create-boot-image.sh 38 This is called as part of the SPL/u-boot build process. As the secure 49 create-boot-image.sh \ 55 SPI_X-LOADER - Generates an image for SPI flash (byte swapped) 56 X-LOADER - Generates an image for non-XIP flash 57 MLO - Generates an image for SD/MMC/eMMC media [all …]
|
/openbmc/linux/drivers/media/platform/renesas/ |
H A 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 …]
|
/openbmc/linux/drivers/platform/x86/ |
H A 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 …]
|
/openbmc/u-boot/drivers/fpga/ |
H A D | zynqmppl.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * (C) Copyright 2015 - 2016, Xilinx, Inc, 47 * Keep in your mind that it is byte loading on little-endian system 61 for (p = 3; p >= 0; p--) { in load_word() 78 /* Checking that passing bin is not a bitstream */ in check_header() 83 * Bitstreams in binary format are swapped in check_header() 85 * Do not swap dummy word but if swap is done assume in check_header() 91 debug("%s: data swapped - let's swap\n", __func__); in check_header() 122 /* Loop can be huge - support CTRL + C */ in check_data() 144 new_buf -= ARCH_DMA_MINALIGN; in zynqmp_align_dma_buffer() [all …]
|
/openbmc/linux/include/uapi/linux/ |
H A 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 …]
|
/openbmc/linux/Documentation/userspace-api/media/v4l/ |
H A 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 …]
|
/openbmc/qemu/include/standard-headers/linux/ |
H A 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 28 #include "standard-headers/linux/types.h" 29 #include "standard-headers/linux/virtio_types.h" 30 #include "standard-headers/linux/virtio_ids.h" 31 #include "standard-headers/linux/virtio_config.h" 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 */ 83 VIRTIO_BALLOON_S_NAMES_prefix "swap-in", \ 84 VIRTIO_BALLOON_S_NAMES_prefix "swap-out", \ [all …]
|
/openbmc/linux/mm/ |
H A 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 …]
|
/openbmc/linux/arch/mips/cavium-octeon/ |
H A 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 …]
|
/openbmc/linux/arch/s390/appldata/ |
H A 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 …]
|
/openbmc/linux/Documentation/input/devices/ |
H A 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 …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/ |
H A D | nouveau_exec.c | 1 // SPDX-License-Identifier: MIT 26 * userspace-managable portion of the VA space. It provides operations to map 27 * and unmap memory. Mappings may be flagged as sparse. Sparse mappings are not 32 * bounds (but not crossing those bounds) of a previously mapped sparse 40 * Unmap requests are not bound to the range of existing mappings and can even 51 * The kernel does not permit to: 52 * - unmap non-existent sparse mappings 53 * - unmap a sparse mapping and map a new sparse mapping overlapping the range 55 * - unmap a sparse mapping and map new memory backed mappings overlapping the 61 * mappings are created in the GPU's MMU. If the given memory is swapped out [all …]
|
/openbmc/linux/Documentation/mm/ |
H A D | arch_pgtable_helpers.rst | 1 .. SPDX-License-Identifier: GPL-2.0 18 +---------------------------+--------------------------------------------------+ 20 +---------------------------+--------------------------------------------------+ 21 | pte_bad | Tests a non-table mapped PTE | 22 +---------------------------+--------------------------------------------------+ 24 +---------------------------+--------------------------------------------------+ 26 +---------------------------+--------------------------------------------------+ 28 +---------------------------+--------------------------------------------------+ 30 +---------------------------+--------------------------------------------------+ 32 +---------------------------+--------------------------------------------------+ [all …]
|
/openbmc/linux/drivers/cpuidle/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 10 CPU idle is a generic framework for supporting software-controlled 11 idle processor power management. It includes modular cross-platform 12 governors that can be swapped during runtime. 14 If you're using an ACPI-enabled platform, you should say Y here. 31 focused on timer events and does not do any interactivity boosting. 34 to use. Say Y here if you are not happy with the alternatives. 69 menu "RISC-V CPU Idle Drivers"
|
/openbmc/linux/arch/riscv/include/asm/ |
H A D | pgtable-bits.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 25 * _PAGE_PROT_NONE is set on not-present pages (and ignored by the hardware) to 26 * distinguish them from swapped out pages
|
/openbmc/linux/fs/btrfs/ |
H A D | qgroup.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 13 #include "delayed-ref.h" 28 * - Newly allocated extents 29 * - Extents going to be deleted (in this trans) 30 * - Extents whose owner is going to be modified 61 * 1) Record the subtree root block get swapped. 73 * In this case, NA and OA are going to be swapped, record (NA, OA) into 100 * modification to the swapped subtrees, no need to trigger heavy qgroup 154 * Space reserved for metadata (per-transaction) 180 * *currently* meta is just reserve-and-clear during transaction. [all …]
|
/openbmc/qemu/scripts/coccinelle/ |
H A D | inplace-byteswaps.cocci | 1 // Replace uses of in-place byteswapping functions with calls to the 2 // equivalent not-in-place functions. This is necessary to avoid 3 // undefined behaviour if the expression being swapped is a field in a 9 -be16_to_cpus(&E); 14 -be32_to_cpus(&E); 19 -be64_to_cpus(&E); 24 -cpu_to_be16s(&E); 29 -cpu_to_be32s(&E); 34 -cpu_to_be64s(&E); 39 -le16_to_cpus(&E); [all …]
|
/openbmc/u-boot/tools/easylogo/ |
H A D | easylogo.c | 2 ** Easylogo TGA->header converter 5 ** AIRVENT SAM s.p.a - RIMINI(ITALY) 6 ** (C) 2007-2008 Mike Frysinger <vapier@gentoo.org> 72 while (count--) { in StringUpperCase() 75 *str = 'A' + (c - 'a'); in StringUpperCase() 85 while (count--) { in StringLowerCase() 88 *str = 'a' + (c - 'A'); in StringLowerCase() 96 /* Transform (0-255) components to (0-100) */ in pixel_rgb_to_yuyv() 97 pR = rgb_pixel->r * 100 / 255; in pixel_rgb_to_yuyv() 98 pG = rgb_pixel->g * 100 / 255; in pixel_rgb_to_yuyv() [all …]
|
/openbmc/qemu/target/arm/tcg/ |
H A D | arm_ldst.h | 2 * ARM load/store instructions for code (armeb-user support) 17 * License along with this library; if not, see <http://www.gnu.org/licenses/>. 26 /* Load an instruction and return it in the standard little-endian order */ 38 /* In big-endian (BE32) mode, adjacent Thumb instructions have been swapped in arm_lduw_code()
|