Home
last modified time | relevance | path

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

12345

/openbmc/linux/mm/
H A 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 …]
H A 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>
57 * Page order with-respect-to which proactive compaction
66 #define COMPACTION_HPAGE_ORDER (PMD_SHIFT - PAGE_SHIFT)
76 list_del(&page->lru); in release_freepages()
92 list_del(&page->lru); in split_map_pages()
102 list_add(&page->lru, &tmp_list); in split_map_pages()
130 page->mapping = (void *)((unsigned long)mops | PAGE_MAPPING_MOVABLE); in __SetPageMovable()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/input/touchscreen/
H A 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 …]
H A Dazoteq,iqs7211.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jeff LaBundy <jeff@labundy.com>
13 The Azoteq IQS7210A, IQS7211A and IQS7211E trackpad and touchscreen control-
14 lers employ projected-capacitance sensing and can track two contacts.
21 - azoteq,iqs7210a
22 - azoteq,iqs7211a
23 - azoteq,iqs7211e
28 irq-gpios:
[all …]
/openbmc/linux/drivers/input/touchscreen/
H A 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 …]
/openbmc/linux/net/rxrpc/
H A 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"
39 atomic_inc(&bundle->active); in rxrpc_activate_bundle()
48 idr_remove(&local->conn_ids, conn->proto.cid >> RXRPC_CIDSHIFT); in rxrpc_put_client_connection_id()
59 if (!idr_is_empty(&local->conn_ids)) { in rxrpc_destroy_client_conn_ids()
60 idr_for_each_entry(&local->conn_ids, conn, id) { in rxrpc_destroy_client_conn_ids()
62 conn, refcount_read(&conn->ref)); in rxrpc_destroy_client_conn_ids()
67 idr_destroy(&local->conn_ids); in rxrpc_destroy_client_conn_ids()
[all …]
/openbmc/linux/Documentation/ABI/obsolete/
H A 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 …]
H A 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 …]
/openbmc/qemu/audio/
H A Daudio_int.h4 * Copyright (c) 2003-2005 Vassili Karpov (malc)
114 int active; member
126 int active; member
268 return (dst >= src) ? (dst - src) : (len - src + dst); in audio_ring_dist()
272 * audio_ring_posb() - returns new position in ringbuffer in backward
273 * direction at given distance
276 * @dist: distance in ringbuffer to walk in reverse direction
281 return pos >= dist ? pos - dist : len - dist + pos; in audio_ring_posb()
/openbmc/linux/Documentation/devicetree/bindings/input/
H A Dsyna,rmi4.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jason A. Donenfeld <Jason@zx2c4.com>
11 - Matthias Schiffer <matthias.schiffer@ew.tq-group.com
12 - Vincent Huang <vincent.huang@tw.synaptics.com>
22 - syna,rmi4-i2c
23 - syna,rmi4-spi
28 '#address-cells':
31 '#size-cells':
[all …]
H A Dazoteq,iqs7222.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jeff LaBundy <jeff@labundy.com>
21 - azoteq,iqs7222a
22 - azoteq,iqs7222b
23 - azoteq,iqs7222c
24 - azoteq,iqs7222d
29 irq-gpios:
32 Specifies the GPIO connected to the device's active-low RDY output.
[all …]
/openbmc/linux/include/uapi/linux/
H A 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 …]
/openbmc/linux/drivers/input/
H A Dinput-mt.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (c) 2008-2010 Henrik Rydberg
11 #include "input-core-private.h"
17 if (dev->absinfo && test_bit(src, dev->absbit)) { in copy_abs()
18 dev->absinfo[dst] = dev->absinfo[src]; in copy_abs()
19 dev->absinfo[dst].fuzz = 0; in copy_abs()
20 __set_bit(dst, dev->absbit); in copy_abs()
25 * input_mt_init_slots() - initialize MT input slots
36 * May be called repeatedly. Returns -EINVAL if attempting to
42 struct input_mt *mt = dev->mt; in input_mt_init_slots()
[all …]
/openbmc/linux/tools/thermal/tmon/
H A 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 …]
/openbmc/linux/arch/powerpc/platforms/pseries/
H A 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>
35 #include <asm/papr-sysparm.h>
93 if (pp->dispatch_log) in alloc_dtl_buffers()
105 pp->dtl_ridx = 0; in alloc_dtl_buffers()
106 pp->dispatch_log = dtl; in alloc_dtl_buffers()
107 pp->dispatch_log_end = dtl + N_DISPATCH_LOG; in alloc_dtl_buffers()
108 pp->dtl_curr = dtl; in alloc_dtl_buffers()
125 dtl = pp->dispatch_log; in register_dtl_buffer()
[all …]
/openbmc/linux/drivers/gpu/drm/radeon/
H A 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 …]
/openbmc/linux/drivers/video/fbdev/aty/
H A 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 …]
/openbmc/linux/Documentation/userspace-api/media/v4l/
H A 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 …]
/openbmc/linux/Documentation/block/
H A 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 …]
/openbmc/linux/drivers/iio/proximity/
H A 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 …]
/openbmc/linux/drivers/cxl/core/
H A Dregion.c1 // SPDX-License-Identifier: GPL-2.0-only
20 * Memory ranges, Regions represent the active mapped capacity by the HDM
37 struct cxl_region_params *p = &cxlr->params; in uuid_show()
43 if (cxlr->mode != CXL_DECODER_PMEM) in uuid_show()
46 rc = sysfs_emit(buf, "%pUb\n", &p->uuid); in uuid_show()
63 p = &cxlr->params; in is_dup()
65 if (uuid_equal(&p->uuid, uuid)) { in is_dup()
67 return -EBUSY; in is_dup()
77 struct cxl_region_params *p = &cxlr->params; in uuid_store()
82 return -EINVAL; in uuid_store()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_display.c2 * Copyright 2007-8 Advanced Micro Devices, Inc.
51 * amdgpu_display_hotplug_work_func - work handler for display hotplug event
71 struct drm_mode_config *mode_config = &dev->mode_config; in amdgpu_display_hotplug_work_func()
75 mutex_lock(&mode_config->mutex); in amdgpu_display_hotplug_work_func()
80 mutex_unlock(&mode_config->mutex); in amdgpu_display_hotplug_work_func()
97 schedule_work(&work->flip_work.work); in amdgpu_display_flip_callback()
110 if (!dma_fence_add_callback(fence, &work->cb, in amdgpu_display_flip_handle_fence()
124 struct amdgpu_device *adev = work->adev; in amdgpu_display_flip_work_func()
125 struct amdgpu_crtc *amdgpu_crtc = adev->mode_info.crtcs[work->crtc_id]; in amdgpu_display_flip_work_func()
127 struct drm_crtc *crtc = &amdgpu_crtc->base; in amdgpu_display_flip_work_func()
[all …]
/openbmc/openpower-occ-control/
H A Docc_status.cpp8 #include <phosphor-logging/lg2.hpp>
25 if (value != this->occActive()) in occActive()
31 // OCC is active in occActive()
32 // Clear prior throttle reason (before setting device active) in occActive()
35 // Set the device active in occActive()
57 // Update the OCC active sensor in occActive()
67 if (this->managerCallBack) in occActive()
69 this->managerCallBack(instance, value); in occActive()
74 // OCC is no longer active in occActive()
86 pmode->setMasterActive(false); in occActive()
[all …]
/openbmc/linux/kernel/sched/
H A Dtopology.c1 // SPDX-License-Identifier: GPL-2.0
38 struct sched_group *group = sd->groups; in sched_domain_debug_one()
39 unsigned long flags = sd->flags; in sched_domain_debug_one()
44 printk(KERN_DEBUG "%*s domain-%d: ", level, "", level); in sched_domain_debug_one()
46 cpumask_pr_args(sched_domain_span(sd)), sd->name); in sched_domain_debug_one()
49 printk(KERN_ERR "ERROR: domain->span does not contain CPU%d\n", cpu); in sched_domain_debug_one()
52 printk(KERN_ERR "ERROR: domain->groups does not contain CPU%d\n", cpu); in sched_domain_debug_one()
59 if ((meta_flags & SDF_SHARED_CHILD) && sd->child && in sched_domain_debug_one()
60 !(sd->child->flags & flag)) in sched_domain_debug_one()
64 if ((meta_flags & SDF_SHARED_PARENT) && sd->parent && in sched_domain_debug_one()
[all …]
/openbmc/linux/drivers/base/
H A 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 …]

12345