Home
last modified time | relevance | path

Searched +full:active +full:- +full:distance (Results 1 – 25 of 96) sorted by relevance

1234

/Linux-v5.15/mm/
Dworkingset.c1 // SPDX-License-Identifier: GPL-2.0
24 * inactive and the active list. Freshly faulted pages start out at
27 * are promoted to the active list, to protect them from reclaim,
28 * whereas active pages are demoted to the inactive list when the
29 * active list grows too big.
31 * fault ------------------------+
33 * +--------------+ | +-------------+
34 * reclaim <- | inactive | <-+-- demotion | active | <--+
35 * +--------------+ +-------------+ |
37 * +-------------- promotion ------------------+
[all …]
Dcompaction.c1 // SPDX-License-Identifier: GPL-2.0
9 * Copyright IBM Corp. 2007-2010 Mel Gorman <mel@csn.ul.ie>
17 #include <linux/backing-dev.h>
20 #include <linux/page-isolation.h>
59 * Page order with-respect-to which proactive compaction
68 #define COMPACTION_HPAGE_ORDER (PMD_SHIFT - PAGE_SHIFT)
78 list_del(&page->lru); in release_freepages()
94 list_del(&page->lru); in split_map_pages()
104 list_add(&page->lru, &tmp_list); in split_map_pages()
123 if (mapping && mapping->a_ops && mapping->a_ops->isolate_page) in PageMovable()
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/input/touchscreen/
Dcypress,cy8ctma340.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
14 - Javier Martinez Canillas <javier@dowhile0.org>
15 - Linus Walleij <linus.walleij@linaro.org>
18 - $ref: touchscreen.yaml#
26 - const: cypress,cy8ctma340
27 - const: cypress,cy8ctst341
28 - const: cypress,cyttsp-spi
31 - const: cypress,cyttsp-i2c
[all …]
/Linux-v5.15/drivers/input/touchscreen/
Dcyttsp_core.c1 // SPDX-License-Identifier: GPL-2.0-only
49 /* Active distance in pixels for a gesture to be reported */
52 /* Active Power state scanning/processing refresh interval */
56 /* touch timeout for the Active power */
85 error = ts->bus_ops->read(ts->dev, ts->xfer_buf, command, in ttsp_read_block_data()
93 return -EIO; in ttsp_read_block_data()
103 error = ts->bus_ops->write(ts->dev, ts->xfer_buf, command, in ttsp_write_block_data()
111 return -EIO; in ttsp_write_block_data()
121 if (ts->use_hndshk) in cyttsp_handshake()
123 ts->xy_data.hst_mode ^ CY_HNDSHK_BIT); in cyttsp_handshake()
[all …]
/Linux-v5.15/Documentation/ABI/obsolete/
Dsysfs-driver-hid-roccat-konepure1 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
7 that's active when the mouse is powered on next time.
13 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
21 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
29 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
40 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
55 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
71 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
74 Description: The mouse has a tracking- and a distance-control-unit. These
75 can be activated/deactivated and the lift-off distance can be
[all …]
Dsysfs-driver-hid-roccat-koneplus1 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
4 Description: The integer value of this attribute ranges from 0-4.
7 profile that's active when the mouse is powered on next time.
12 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
15 Description: The integer value of this attribute ranges from 0-4.
18 profile that's active when the mouse is powered on next time.
24 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
36 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
44 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
55 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
[all …]
/Linux-v5.15/drivers/input/
Dinput-mt.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (c) 2008-2010 Henrik Rydberg
16 if (dev->absinfo && test_bit(src, dev->absbit)) { in copy_abs()
17 dev->absinfo[dst] = dev->absinfo[src]; in copy_abs()
18 dev->absinfo[dst].fuzz = 0; in copy_abs()
19 __set_bit(dst, dev->absbit); in copy_abs()
24 * input_mt_init_slots() - initialize MT input slots
35 * May be called repeatedly. Returns -EINVAL if attempting to
41 struct input_mt *mt = dev->mt; in input_mt_init_slots()
47 return mt->num_slots != num_slots ? -EINVAL : 0; in input_mt_init_slots()
[all …]
/Linux-v5.15/include/uapi/linux/
Domap3isp.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
5 * TI OMAP3 ISP - User-space API
25 * 02110-1301 USA
41 * VIDIOC_OMAP3ISP_AF_CFG: Set auto-focus module configuration
121 * struct omap3isp_h3a_aewb_config - AE AWB configuration reset values
123 * @win_height: Window Height. Range 2 - 256, even values only.
124 * @win_width: Window Width. Range 6 - 256, even values only.
125 * @ver_win_count: Vertical Window Count. Range 1 - 128.
126 * @hor_win_count: Horizontal Window Count. Range 1 - 36.
127 * @ver_win_start: Vertical Window Start. Range 0 - 4095.
[all …]
/Linux-v5.15/arch/powerpc/platforms/pseries/
Dlpar.c1 // SPDX-License-Identifier: GPL-2.0-or-later
9 /* Enables debugging of low-level hash table routines - careful! */
14 #include <linux/dma-mapping.h>
43 #include <asm/asm-prototypes.h>
91 if (pp->dispatch_log) in alloc_dtl_buffers()
103 pp->dtl_ridx = 0; in alloc_dtl_buffers()
104 pp->dispatch_log = dtl; in alloc_dtl_buffers()
105 pp->dispatch_log_end = dtl + N_DISPATCH_LOG; in alloc_dtl_buffers()
106 pp->dtl_curr = dtl; in alloc_dtl_buffers()
123 dtl = pp->dispatch_log; in register_dtl_buffer()
[all …]
/Linux-v5.15/tools/thermal/tmon/
Dtmon.82 # SPDX-License-Identifier: GPL-2.0
4 \fBtmon\fP - A monitoring and testing tool for Linux kernel thermal subsystem
13 real-time thermal data; tune
22 - show thermal zone information
23 - show cooling device information
24 - show trip point binding within each thermal zone
25 - show trip point and cooling device instance bindings
28 - show temperature of all thermal zones w.r.t. its trip points and types
29 - show states of all cooling devices
32 - with a built-in Proportional Integral Derivative (\fBPID\fP)
[all …]
/Linux-v5.15/Documentation/userspace-api/media/v4l/
Dext-ctrls-camera.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
3 .. _camera-controls:
13 .. _camera-control-id:
23 .. _v4l2-exposure-auto-type:
28 enum v4l2_exposure_auto_type -
37 .. flat-table::
38 :header-rows: 0
39 :stub-columns: 0
41 * - ``V4L2_EXPOSURE_AUTO``
42 - Automatic exposure time, automatic iris aperture.
[all …]
/Linux-v5.15/drivers/video/fbdev/aty/
Dradeon_monitor.c1 // SPDX-License-Identifier: GPL-2.0
18 .height = -1,
19 .width = -1,
62 * device-tree. This also contains some "hacks" to work around a few machine
63 * models with broken OF probing by hard-coding known EDIDs for some Mac
77 pmt = of_get_property(dp, "display-type", NULL); in radeon_parse_montype_prop()
80 pr_debug("display-type: %s\n", pmt); in radeon_parse_montype_prop()
90 printk(KERN_WARNING "radeonfb: Unknown OF display-type: %s\n", in radeon_parse_montype_prop()
102 * single-head cards have hdno == -1 and skip this step in radeon_parse_montype_prop()
104 if (pedid == NULL && dp->parent && (hdno != -1)) in radeon_parse_montype_prop()
[all …]
/Linux-v5.15/drivers/gpu/drm/radeon/
Dradeon_display.c2 * Copyright 2007-8 Advanced Micro Devices, Inc.
52 struct drm_device *dev = crtc->dev; in avivo_crtc_load_lut()
53 struct radeon_device *rdev = dev->dev_private; in avivo_crtc_load_lut()
57 DRM_DEBUG_KMS("%d\n", radeon_crtc->crtc_id); in avivo_crtc_load_lut()
58 WREG32(AVIVO_DC_LUTA_CONTROL + radeon_crtc->crtc_offset, 0); in avivo_crtc_load_lut()
60 WREG32(AVIVO_DC_LUTA_BLACK_OFFSET_BLUE + radeon_crtc->crtc_offset, 0); in avivo_crtc_load_lut()
61 WREG32(AVIVO_DC_LUTA_BLACK_OFFSET_GREEN + radeon_crtc->crtc_offset, 0); in avivo_crtc_load_lut()
62 WREG32(AVIVO_DC_LUTA_BLACK_OFFSET_RED + radeon_crtc->crtc_offset, 0); in avivo_crtc_load_lut()
64 WREG32(AVIVO_DC_LUTA_WHITE_OFFSET_BLUE + radeon_crtc->crtc_offset, 0xffff); in avivo_crtc_load_lut()
65 WREG32(AVIVO_DC_LUTA_WHITE_OFFSET_GREEN + radeon_crtc->crtc_offset, 0xffff); in avivo_crtc_load_lut()
[all …]
/Linux-v5.15/Documentation/block/
Dbfq-iosched.rst5 BFQ is a proportional-share I/O scheduler, with some extra
6 low-latency capabilities. In addition to cgroups support (blkio or io
9 - BFQ guarantees a high system and application responsiveness, and a
10 low latency for time-sensitive applications, such as audio or video
12 - BFQ distributes bandwidth, and not just time, among processes or
19 goal, for a given device, is to achieve the maximum-possible
20 throughput at all times, then do switch off all low-latency heuristics
25 As every I/O scheduler, BFQ adds some overhead to per-I/O-request
27 single-lock-protected, per-request processing time of BFQ---i.e., the
29 completion hooks---is, e.g., 1.9 us on an Intel Core i7-2760QM@2.40GHz
[all …]
/Linux-v5.15/net/rxrpc/
Dconn_client.c1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /* Client connection-specific management code.
13 * (2) DONT_REUSE - The connection should be discarded as soon as possible and
31 #include "ar-internal.h"
38 * We use machine-unique IDs for our client connections.
52 struct rxrpc_net *rxnet = conn->params.local->rxnet; in rxrpc_get_client_connection_id()
68 conn->proto.epoch = rxnet->epoch; in rxrpc_get_client_connection_id()
69 conn->proto.cid = id << RXRPC_CIDSHIFT; in rxrpc_get_client_connection_id()
70 set_bit(RXRPC_CONN_HAS_IDR, &conn->flags); in rxrpc_get_client_connection_id()
71 _leave(" [CID %x]", conn->proto.cid); in rxrpc_get_client_connection_id()
[all …]
/Linux-v5.15/drivers/iio/proximity/
Drfd77402.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * rfd77402.c - Support for RF Digital RFD77402 Time-of-Flight (distance) sensor
5 * Copyright 2017 Peter Meerwald-Stadler <pmeerw@pmeerw.net>
7 * 7-bit I2C slave address 0x4c
108 return -ENODEV; in rfd77402_set_state()
129 while (tries-- > 0) { in rfd77402_measure()
139 ret = -ETIMEDOUT; in rfd77402_measure()
149 ret = -EIO; in rfd77402_measure()
170 mutex_lock(&data->lock); in rfd77402_read_raw()
171 ret = rfd77402_measure(data->client); in rfd77402_read_raw()
[all …]
/Linux-v5.15/drivers/gpu/drm/amd/amdgpu/
Damdgpu_display.c2 * Copyright 2007-8 Advanced Micro Devices, Inc.
51 schedule_work(&work->flip_work.work); in amdgpu_display_flip_callback()
64 if (!dma_fence_add_callback(fence, &work->cb, in amdgpu_display_flip_handle_fence()
78 struct amdgpu_device *adev = work->adev; in amdgpu_display_flip_work_func()
79 struct amdgpu_crtc *amdgpu_crtc = adev->mode_info.crtcs[work->crtc_id]; in amdgpu_display_flip_work_func()
81 struct drm_crtc *crtc = &amdgpu_crtc->base; in amdgpu_display_flip_work_func()
86 if (amdgpu_display_flip_handle_fence(work, &work->excl)) in amdgpu_display_flip_work_func()
89 for (i = 0; i < work->shared_count; ++i) in amdgpu_display_flip_work_func()
90 if (amdgpu_display_flip_handle_fence(work, &work->shared[i])) in amdgpu_display_flip_work_func()
96 if (amdgpu_crtc->enabled && in amdgpu_display_flip_work_func()
[all …]
/Linux-v5.15/drivers/net/phy/
Dmarvell.c1 // SPDX-License-Identifier: GPL-2.0+
184 /* RGMII to 1000BASE-X */
186 /* RGMII to 100BASE-FX */
341 if (phydev->interrupts == PHY_INTERRUPT_ENABLED) { in marvell_config_intr()
405 err = marvell_set_polarity(phydev, phydev->mdix_ctrl); in marvell_config_aneg()
420 if (phydev->autoneg != AUTONEG_ENABLE || changed) { in marvell_config_aneg()
470 * marvell,reg-init property stored in the of_node for the phydev.
472 * marvell,reg-init = <reg-page reg mask value>,...;
474 * There may be one or more sets of <reg-page reg mask value>:
476 * reg-page: which register bank to use.
[all …]
/Linux-v5.15/drivers/media/i2c/
Dths8200.c2 * ths8200 - Texas Instruments THS8200 video encoder driver
23 #include <linux/v4l2-dv-timings.h>
25 #include <media/v4l2-dv-timings.h>
26 #include <media/v4l2-async.h>
27 #include <media/v4l2-device.h>
33 MODULE_PARM_DESC(debug, "debug level (0-2)");
93 /* To set specific bits in the register, a clear-mask is given (to be AND-ed),
94 * and then the value-mask (to be OR-ed).
108 reg->val = ths8200_read(sd, reg->reg & 0xff); in ths8200_g_register()
109 reg->size = 1; in ths8200_g_register()
[all …]
/Linux-v5.15/Documentation/input/
Devent-codes.rst1 .. _input-event-codes:
36 - Used as markers to separate events. Events may be separated in time or in
41 - Used to describe state changes of keyboards, buttons, or other key-like
46 - Used to describe relative axis value changes, e.g. moving the mouse 5 units
51 - Used to describe absolute axis value changes, e.g. describing the
56 - Used to describe miscellaneous input data that do not fit into other types.
60 - Used to describe binary state input switches.
64 - Used to turn LEDs on devices on and off.
68 - Used to output sound to devices.
72 - Used for autorepeating devices.
[all …]
/Linux-v5.15/drivers/staging/media/atomisp/i2c/
Datomisp-ov2722.c1 // SPDX-License-Identifier: GPL-2.0
31 #include <media/v4l2-device.h>
46 if (!client->adapter) { in ov2722_read_reg()
47 dev_err(&client->dev, "%s error, no client->adapter\n", in ov2722_read_reg()
49 return -ENODEV; in ov2722_read_reg()
54 dev_err(&client->dev, "%s error, invalid data length\n", in ov2722_read_reg()
56 return -EINVAL; in ov2722_read_reg()
61 msg[0].addr = client->addr; in ov2722_read_reg()
70 msg[1].addr = client->addr; in ov2722_read_reg()
75 err = i2c_transfer(client->adapter, msg, 2); in ov2722_read_reg()
[all …]
Datomisp-gc0310.c1 // SPDX-License-Identifier: GPL-2.0
31 #include <media/v4l2-device.h>
45 if (!client->adapter) { in gc0310_read_reg()
46 dev_err(&client->dev, "%s error, no client->adapter\n", in gc0310_read_reg()
48 return -ENODEV; in gc0310_read_reg()
52 dev_err(&client->dev, "%s error, invalid data length\n", in gc0310_read_reg()
54 return -EINVAL; in gc0310_read_reg()
59 msg[0].addr = client->addr; in gc0310_read_reg()
67 msg[1].addr = client->addr; in gc0310_read_reg()
72 err = i2c_transfer(client->adapter, msg, 2); in gc0310_read_reg()
[all …]
/Linux-v5.15/fs/gfs2/
Dlog.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
4 * Copyright (C) 2004-2007 Red Hat, Inc. All rights reserved.
38 * gfs2_struct2blk - compute stuff
55 first = sdp->sd_ldptrs; in gfs2_struct2blk()
59 second = sdp->sd_inptrs; in gfs2_struct2blk()
60 blks += DIV_ROUND_UP(nstruct - first, second); in gfs2_struct2blk()
67 * gfs2_remove_from_ail - Remove an entry from the ail lists, updating counters
76 bd->bd_tr = NULL; in gfs2_remove_from_ail()
77 list_del_init(&bd->bd_ail_st_list); in gfs2_remove_from_ail()
[all …]
/Linux-v5.15/drivers/gpu/drm/amd/amdkfd/
Dkfd_priv.h58 * BITS[63:62] - Encode MMAP type
59 * BITS[61:46] - Encode gpu_id. To identify to which GPU the offset belongs to
60 * BITS[45:0] - MMAP offset value
73 #define KFD_MMAP_GPU_ID_MASK (((1ULL << KFD_GPU_ID_HASH_WIDTH) - 1) \
98 * Size of the per-process TBA+TMA buffer: 2 pages
101 * page is used as TMA for user-mode trap handler setup in daisy-chain mode.
116 * The doorbell index distance between SDMA RLC (2*i) and (2*i+1) in the
117 * same SDMA engine on SOC15, which has 8-byte doorbells for SDMA.
118 * 512 8-byte doorbell distance (i.e. one page away) ensures that SDMA RLC
150 * This kernel module is used to simulate large bar machine on non-large bar
[all …]
/Linux-v5.15/drivers/base/
Dnode.c1 // SPDX-License-Identifier: GPL-2.0
41 cpumask_and(mask, cpumask_of_node(node_dev->dev.id), cpu_online_mask); in cpumap_read()
62 cpumask_and(mask, cpumask_of_node(node_dev->dev.id), cpu_online_mask); in cpulist_read()
72 * struct node_access_nodes - Access class device to hold user visible
117 list_for_each_entry_safe(c, cnext, &node->access_list, list_node) { in node_remove_accesses()
118 list_del(&c->list_node); in node_remove_accesses()
119 device_unregister(&c->dev); in node_remove_accesses()
134 list_for_each_entry(access_node, &node->access_list, list_node) in node_init_node_access()
135 if (access_node->access == access) in node_init_node_access()
142 access_node->access = access; in node_init_node_access()
[all …]

1234