/openbmc/linux/Documentation/input/devices/ |
H A D | atarikbd.rst | 12 provides a convenient connection point for a mouse and switch-type joysticks. 13 The ikbd processor also maintains a time-of-day clock with one second 18 The ikbd communicates with the main processor over a high speed bi-directional 41 0xF8-0xFB relative mouse position records (lsbs determined by 43 0xFC time-of-day 67 --------------------------- 72 settable threshold of motion. Regardless of the threshold, all bits of 75 significantly more than the threshold delta x or y. This may happen since no 84 ; where y is the right button state 86 X ; delta x as twos complement integer [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/input/ |
H A D | syna,rmi4.yaml | 1 # 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 …]
|
/openbmc/linux/arch/arm64/boot/dts/freescale/ |
H A D | imx8mq-zii-ultra-rmb3.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 /dts-v1/; 8 #include "imx8mq-zii-ultra.dtsi" 12 compatible = "zii,imx8mq-ultra-rmb3", "zii,imx8mq-ultra", "fsl,imx8mq"; 15 compatible = "simple-audio-card"; 16 simple-audio-card,name = "front"; 17 simple-audio-card,format = "i2s"; 18 simple-audio-card,bitclock-master = <&sound1_codec>; 19 simple-audio-card,frame-master = <&sound1_codec>; 20 simple-audio-card,widgets = [all …]
|
/openbmc/linux/drivers/input/rmi4/ |
H A D | rmi_2d_sensor.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2011-2016 Synaptics Incorporated 16 #define RMI_2D_REL_POS_MIN -128 26 struct rmi_2d_axis_alignment *axis_align = &sensor->axis_align; in rmi_2d_sensor_abs_process() 29 if (obj->type == RMI_2D_OBJECT_NONE) in rmi_2d_sensor_abs_process() 32 if (axis_align->flip_x) in rmi_2d_sensor_abs_process() 33 obj->x = sensor->max_x - obj->x; in rmi_2d_sensor_abs_process() 35 if (axis_align->flip_y) in rmi_2d_sensor_abs_process() 36 obj->y = sensor->max_y - obj->y; in rmi_2d_sensor_abs_process() 38 if (axis_align->swap_axes) in rmi_2d_sensor_abs_process() [all …]
|
/openbmc/linux/drivers/staging/media/ipu3/include/uapi/ |
H A D | intel-ipu3.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2 /* Copyright (C) 2017 - 2018 Intel Corporation */ 11 /* Vendor specific - used for IPU3 camera sub-system */ 17 /* from include/uapi/linux/v4l2-controls.h */ 26 #define IPU3_UAPI_GRID_START_MASK ((1 << 12) - 1) 34 * struct ipu3_uapi_grid_config - Grid plane config 51 * @y_start: Y value of top left corner of ROI 53 * @y_end: Y value of bottom right corner of ROI 56 * create a grid-based output, and the data is then divided into "slices". 71 * struct ipu3_uapi_awb_set_item - Memory layout for each cell in AWB [all …]
|
/openbmc/linux/drivers/iio/adc/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 10 bool "ST-Ericsson AB8500 GPADC driver" 12 default y 33 Say yes here to build support for Analog Devices AD4130-8 SPI analog 44 Say yes here to build support for Analog Devices AD7091R-5 ADC. 47 tristate "Analog Devices AD7124 and similar sigma-delta ADCs driver" 51 Say yes here to build support for Analog Devices AD7124-4 and AD7124-8 64 If unsure, say N (but it's safe to say "Y"). 126 tristate "Analog Devices AD7476 1-channel ADCs driver and other similar devices from AD and TI" 152 ad7605-4, ad7606, ad7606-6, ad7606-4 analog to digital converters (ADC). [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/modules/color/ |
H A D | color_gamma.c | 48 * X[i] = 2 * X[i-NUM_PTS_IN_REGION] for i>=16 66 /* one-time setup of X points */ 78 for (segment = 6; segment > (6 - NUM_REGIONS); segment--) { in setup_x_points_distribution() 82 seg_offset = (segment + (NUM_REGIONS - 7)) * NUM_PTS_IN_REGION; in setup_x_points_distribution() 89 (coordinates_x[index-1].x, increment); in setup_x_points_distribution() 174 /* de gamma, non-linear to linear */ 182 struct fixed31_32 threshold; in compute_hlg_eotf() local 190 threshold = dc_fixpt_from_fraction(1, 2); in compute_hlg_eotf() 192 if (dc_fixpt_lt(in_x, threshold)) { in compute_hlg_eotf() 206 /* re gamma, linear to non-linear */ [all …]
|
/openbmc/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx6qdl-zii-rdu2.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 3 * Copyright (C) 2016-2017 Zodiac Inflight Innovations 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/sound/fsl-imx-audmux.h> 11 stdout-path = &uart1; 15 mdio-gpio0 = &mdio1; 20 compatible = "virtual,mdio-gpio"; 21 #address-cells = <1>; 22 #size-cells = <0>; 23 pinctrl-names = "default"; [all …]
|
/openbmc/linux/drivers/net/wireless/ath/ath5k/ |
H A D | phy.c | 2 * Copyright (c) 2004-2007 Reyk Floeter <reyk@openbsd.org> 3 * Copyright (c) 2006-2009 Nick Kossifidis <mickflemm@gmail.com> 4 * Copyright (c) 2007-2008 Jiri Slaby <jirislaby@gmail.com> 5 * Copyright (c) 2008-2009 Felix Fietkau <nbd@openwrt.org> 42 * Here we handle the low-level functions related to baseband 48 * - Channel setting/switching 50 * - Automatic Gain Control (AGC) calibration 52 * - Noise Floor calibration 54 * - I/Q imbalance calibration (QAM correction) 56 * - Calibration due to thermal changes (gain_F) [all …]
|
/openbmc/linux/kernel/sched/ |
H A D | fair.c | 1 // SPDX-License-Identifier: GPL-2.0 43 #include <linux/memory-tiers.h> 61 * The initial- and re-scaling of tunables is configurable 65 * SCHED_TUNABLESCALING_NONE - unscaled, always *1 66 * SCHED_TUNABLESCALING_LOG - scaled logarithmical, *1+ilog(ncpus) 67 * SCHED_TUNABLESCALING_LINEAR - scaled linear, *ncpus 74 * Minimal preemption granularity for CPU-boun 311 calc_delta_fair(u64 delta,struct sched_entity * se) calc_delta_fair() argument 550 s64 delta = (s64)(vruntime - max_vruntime); max_vruntime() local 559 s64 delta = (s64)(vruntime - min_vruntime); min_vruntime() local 659 avg_vruntime_update(struct cfs_rq * cfs_rq,s64 delta) avg_vruntime_update() argument 766 s64 delta = (s64)(vruntime - min_vruntime); __update_min_vruntime() local 2727 u64 runtime, delta, now; numa_get_avg_runtime() local 4165 long delta = cfs_rq->avg.load_avg - cfs_rq->tg_load_avg_contrib; update_tg_load_avg() local 5731 u64 delta = rq_clock(rq) - cfs_rq->throttled_clock_self; tg_unthrottle_up() local 6637 s64 delta = slice - ran; hrtick_start_fair() local 8816 s64 delta; task_hot() local 10506 u64 x, y, tmp; update_idle_cpu_scan() local 12552 s64 delta; cfs_prio_less() local [all...] |
/openbmc/openbmc-tools/dbus-vis/ |
H A D | timeline_view.js | 27 const x = 0, y = 0, w = HISTOGRAM_W, h = HISTOGRAM_H; 41 ctx.fillRect(x, y, w, h); 46 ctx.strokeRect(x + PAD, y + PAD, w - 2 * PAD, h - 2 * PAD); 50 let dx0 = x + PAD2 + (w - 2 * PAD2) * 1.0 * i / buckets.length, 51 dx1 = x + PAD2 + (w - 2 * PAD2) * 1.0 * (i + 1) / buckets.length, 52 dy0 = y + h - h * 1.0 * buckets[i] / maxCount, dy1 = y + h; 61 threshEntry[0][1] = hist[0] + (hist[1] - hist[0]) / bucketsLen * i; 63 if (cumDensity0 < 1 - HISTOGRAM_RIGHT_TAIL_WIDTH && 64 cumDensity1 >= 1 - HISTOGRAM_RIGHT_TAIL_WIDTH) { 65 threshEntry[1][0] = (i - 1) / buckets.length; [all …]
|
/openbmc/linux/drivers/net/ethernet/mediatek/ |
H A D | mtk_eth_soc.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright (C) 2009-2016 John Crispin <blogic@openwrt.org> 5 * Copyright (C) 2009-2016 Felix Fietkau <nbd@openwrt.org> 6 * Copyright (C) 2013-2016 Michael Lee <igvtee@gmail.com> 12 #include <linux/dma-mapping.h> 55 #define NEXT_DESP_IDX(X, Y) (((X) + 1) & ((Y) - 1)) argument 60 #define MTK_PP_MAX_BUF_SIZE (PAGE_SIZE - MTK_PP_PAD) 134 /* Unicast Filter MAC Address Register - Low */ 138 /* Unicast Filter MAC Address Register - High */ 155 #define PSE_IQ_REV(x) (0x140 + (((x) - 1) << 2)) [all …]
|
/openbmc/linux/drivers/iio/accel/ |
H A D | kionix-kx022a.c | 1 // SPDX-License-Identifier: GPL-2.0-only 27 #include "kionix-kx022a.h" 87 * The HW does not set WHO_AM_I reg as read-only but we don't want to write it 88 * so we still include it in the read-only ranges. 192 return &data->orientation; in kx022a_get_mount_matrix() 235 KX022A_ACCEL_CHAN(Y, 1), 271 * range is typically +-2G/4G/8G/16G, distributed over the amount of bits. 274 * => KX022A uses 16 bit (HiRes mode - assume the low 8 bits are zeroed 275 * in low-power mode(?) ) 276 * => +/-2G => 4 / 2^16 * 9,80665 [all …]
|
/openbmc/ipmitool/lib/ |
H A D | ipmi_sel.c | 1 /* -*-mode: C; indent-tabs-mode: t; -*- 22 * PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY EXCLUDED. 62 #define SEL_BYTE(n) (n-3) /* So we can refer to byte positions in log entries (byte 3 is at index 0… 72 * Returns -1 for XX, -2 for R, -3 for non-hex (string), or positive integer from a hex value. 78 return -1; in ipmi_sel_oem_readval() 81 return -2; in ipmi_sel_oem_readval() 84 return -3; in ipmi_sel_oem_readval() 97 if (evt[2] == rec->value[SEL_BYTE(3)] in ipmi_sel_oem_match() 98 && ((rec->value[SEL_BYTE(4)] < 0) in ipmi_sel_oem_match() 99 || (evt[3] == rec->value[SEL_BYTE(4)])) in ipmi_sel_oem_match() [all …]
|
/openbmc/linux/drivers/media/usb/uvc/ |
H A D | uvc_video.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * uvc_video.c -- USB Video Class driver - Video handling 5 * Copyright (C) 2005-2010 9 #include <linux/dma-mapping.h> 24 #include <media/v4l2-common.h> 28 /* ------------------------------------------------------------------------ 39 pipe = (query & 0x80) ? usb_rcvctrlpipe(dev->udev, 0) in __uvc_query_ctrl() 40 : usb_sndctrlpipe(dev->udev, 0); in __uvc_query_ctrl() 43 return usb_control_msg(dev->udev, pipe, query, type, cs << 8, in __uvc_query_ctrl() 89 * Most controls are little-endian integers, in which case the missing in uvc_query_ctrl() [all …]
|
/openbmc/linux/mm/ |
H A D | vmscan.c | 1 // SPDX-License-Identifier: GPL-2.0 31 #include <linux/backing-dev.h> 46 #include <linux/memory-tiers.h> 175 if ((_folio)->lru.prev != _base) { \ 178 prev = lru_to_folio(&(_folio->lru)); \ 179 prefetchw(&prev->_field); \ 211 return rcu_dereference_protected(memcg->nodeinfo[nid]->shrinker_info, in shrinker_info_protected() 226 pn = memcg->nodeinfo[nid]; in expand_one_shrinker_info() 233 if (new_nr_max <= old->map_nr_max) in expand_one_shrinker_info() 238 return -ENOMEM; in expand_one_shrinker_info() [all …]
|
H A D | percpu.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * mm/percpu.c - percpu memory allocator 13 * a 1-to-1 mapping for units to possible cpus. These units are grouped 17 * ------------------- ------------------- ------------ 19 * ------------------- ...... ------------------- .... ------------ 23 * c1:u1, c1:u2, etc. On NUMA machines, the mapping may be non-linear 35 * linker. The reserved section, if non-zero, primarily manages static 40 * memcg-awareness. To make a percpu allocation memcg-aware the __GFP_ACCOUNT 41 * flag should be passed. All memcg-aware allocations are sharing one set 61 * - define __addr_to_pcpu_ptr() and __pcpu_ptr_to_addr() to translate [all …]
|
/openbmc/linux/Documentation/userspace-api/media/v4l/ |
H A D | ext-ctrls-codec.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _codec-controls: 24 .. _mpeg-control-id: 27 ----------------- 35 .. _v4l2-mpeg-stream-type: 40 enum v4l2_mpeg_stream_type - 41 The MPEG-1, -2 or -4 output stream type. One cannot assume anything 48 .. flat-table:: 49 :header-rows: 0 50 :stub-columns: 0 [all …]
|
/openbmc/linux/drivers/atm/ |
H A D | he.c | 6 Copyright (C) 1999-2001 Naval Research Laboratory 20 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 29 Copyright (C) 1999-2001 Naval Research Laboratory 42 ForeRunnerHE(tm)", MANU0361-01 - Rev. A, 08/21/98. 69 #include <linux/dma-mapping.h> 88 #define hprintk(fmt,args...) printk(KERN_ERR DEV_LABEL "%d: " fmt, he_dev->number , ##args) 91 #define HPRINTK(fmt,args...) printk(KERN_DEBUG DEV_LABEL "%d: " fmt, he_dev->number , ##args) 116 static short nvpibits = -1; 117 static short nvcibits = -1; 176 #define he_writel(dev, val, reg) do { writel(val, (dev)->membase + (reg)); wmb(); } while (0) [all …]
|
/openbmc/linux/Documentation/admin-guide/ |
H A D | kernel-parameters.txt | 5 force -- enable ACPI if default was off 6 on -- enable ACPI but allow fallback to DT [arm64,riscv64] 7 off -- disable ACPI if default was on 8 noirq -- do not use ACPI for IRQ routing 9 strict -- Be less tolerant of platforms that are not 11 rsdt -- prefer RSDT over (default) XSDT 12 copy_dsdt -- copy DSDT to memory 26 If set to vendor, prefer vendor-specific driver 58 Documentation/firmware-guide/acpi/debug.rst for more information about 116 Format: <byte> or <bitmap-list> [all …]
|
/openbmc/linux/kernel/bpf/ |
H A D | verifier.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* Copyright (c) 2011-2014 PLUMgrid, http://plumgrid.com 7 #include <linux/bpf-cgroup.h> 23 #include <linux/error-injection.h> 48 * The first pass is depth-first-search to check that the program is a DAG. 50 * - larger than BPF_MAXINSNS insns 51 * - if loop is present (detected via back-edge) 52 * - unreachable insns exist (shouldn't be a forest. program = one function) 53 * - out of bounds or malformed jumps 65 * All registers are 64-bit. [all …]
|
/openbmc/linux/include/uapi/linux/ |
H A D | bpf.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2 /* Copyright (c) 2011-2014 PLUMgrid, http://plumgrid.com 21 #define BPF_DW 0x18 /* double word (64-bit) */ 23 #define BPF_ATOMIC 0xc0 /* atomic memory ops - op type in immediate */ 24 #define BPF_XADD 0xc0 /* exclusive add - legacy name */ 32 #define BPF_TO_LE 0x00 /* convert to little-endian */ 33 #define BPF_TO_BE 0x08 /* convert to big-endian */ 51 #define BPF_CMPXCHG (0xf0 | BPF_FETCH) /* atomic compare-and-write */ 69 /* BPF has 10 general purpose 64-bit registers and stack frame. */ 111 BPF_CGROUP_ITER_DESCENDANTS_PRE, /* walk descendants in pre-order. */ [all …]
|
/openbmc/linux/tools/include/uapi/linux/ |
H A D | bpf.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2 /* Copyright (c) 2011-2014 PLUMgrid, http://plumgrid.com 21 #define BPF_DW 0x18 /* double word (64-bit) */ 23 #define BPF_ATOMIC 0xc0 /* atomic memory ops - op type in immediate */ 24 #define BPF_XADD 0xc0 /* exclusive add - legacy name */ 32 #define BPF_TO_LE 0x00 /* convert to little-endian */ 33 #define BPF_TO_BE 0x08 /* convert to big-endian */ 51 #define BPF_CMPXCHG (0xf0 | BPF_FETCH) /* atomic compare-and-write */ 69 /* BPF has 10 general purpose 64-bit registers and stack frame. */ 111 BPF_CGROUP_ITER_DESCENDANTS_PRE, /* walk descendants in pre-order. */ [all …]
|
/openbmc/linux/Documentation/filesystems/ |
H A D | xfs-delayed-logging-design.rst | 1 .. SPDX-License-Identifier: GPL-2.0 33 details logged are made up of the changes to in-core structures rather than 34 on-disk structures. Other objects - typically buffers - have their physical 64 place. This means that permanent transactions can be used for one-shot 65 modifications, but one-shot reservations cannot be used for permanent 68 In the code, a one-shot transaction pattern looks somewhat like this:: 97 While this might look similar to a one-shot transaction, there is an important 123 the on-disk journal. 165 transaction, we have to reserve enough space to record a full leaf-to-root split 183 For one-shot transactions, a single unit space reservation is all that is [all …]
|
/openbmc/linux/kernel/trace/ |
H A D | trace.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2007-2012 Steven Rostedt <srostedt@redhat.com> 12 * Copyright (C) 2004-2006 Ingo Molnar 67 * A selftest will lurk into the ring-buffer to count the 69 * insertions into the ring-buffer such as trace_printk could occurred 75 * If boot-time tracing including tracers/events via kernel cmdline 127 * ftrace_dump_on_oops - variable to dump ftrace buffer on oops 238 int left = sizeof(boot_snapshot_info) - boot_snapshot_index; in boot_alloc_snapshot() 244 return -1; in boot_alloc_snapshot() 270 int left = sizeof(boot_instance_info) - boot_instance_index; in boot_instance() [all …]
|