| /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 …]
|
| /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 …]
|
| /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 …]
|
| /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 …]
|
| /linux/mm/ |
| H A D | mremap.c | 1 // SPDX-License-Identifier: GPL-2.0 48 * delta to account for hugetlb alignment). 51 /* User-provided state. */ 52 unsigned long addr; /* User-specified address from which we remap. */ 55 const unsigned long flags; /* user-specified MREMAP_* flags. */ 67 unsigned long delta; /* Absolute delta of old_len,new_len. */ member 70 bool mmap_locked; /* Is mm currently write-locked? */ 145 if (vma->vm_file) in take_rmap_locks() 146 i_mmap_lock_write(vma->vm_file->f_mapping); in take_rmap_locks() 147 if (vma->anon_vma) in take_rmap_locks() [all …]
|
| H A D | vmscan.c | 1 // SPDX-License-Identifier: GPL-2.0 31 #include <linux/backing-dev.h> 45 #include <linux/memory-tiers.h> 188 if ((_folio)->lru.prev != _base) { \ 191 prev = lru_to_folio(&(_folio->lru)); \ 192 prefetchw(&prev->_field); \ 209 return sc->target_mem_cgroup; in cgroup_reclaim() 218 return !sc->target_mem_cgroup || mem_cgroup_is_root(sc->target_mem_cgroup); in root_reclaim() 222 * writeback_throttling_sane - is the usual dirty throttling mechanism available? 247 if (sc->proactive && sc->proactive_swappiness) in sc_swappiness() [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 …]
|
| /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 …]
|
| /linux/kernel/sched/ |
| H A D | fair.c | 1 // SPDX-License-Identifier: GPL-2.0 44 #include <linux/memory-tiers.h> 62 * The initial- and re-scaling of tunables is configurable 66 * SCHED_TUNABLESCALING_NONE - unscaled, always *1 67 * SCHED_TUNABLESCALING_LOG - scaled logarithmically, *1+ilog(ncpus) 68 * SCHED_TUNABLESCALING_LINEAR - scaled linear, *ncpus 75 * Minimal preemption granularity for CPU-bound tasks: 96 return -cpu; in arch_asym_cpu_priority() 116 * Amount of runtime to allocate from global (tg) to local (per-cfs_rq) pool 167 lw->weight += inc; in update_load_add() [all …]
|
| /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> 57 #define NEXT_DESP_IDX(X, Y) (((X) + 1) & ((Y) - 1)) argument 62 #define MTK_PP_MAX_BUF_SIZE (PAGE_SIZE - MTK_PP_PAD) 136 /* Unicast Filter MAC Address Register - Low */ 140 /* Unicast Filter MAC Address Register - High */ 167 #define PSE_IQ_REV(x) (0x140 + (((x) - 1) << 2)) [all …]
|
| /linux/drivers/net/wireless/realtek/rtw88/ |
| H A D | rtw88xxa.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 34 struct rtw_efuse *efuse = &rtwdev->efuse; in rtw8812a_read_amplifier_type() 36 efuse->ext_pa_2g = (efuse->pa_type_2g & BIT(5)) && in rtw8812a_read_amplifier_type() 37 (efuse->pa_type_2g & BIT(4)); in rtw8812a_read_amplifier_type() 38 efuse->ext_lna_2g = (efuse->lna_type_2g & BIT(7)) && in rtw8812a_read_amplifier_type() 39 (efuse->lna_type_2g & BIT(3)); in rtw8812a_read_amplifier_type() 41 efuse->ext_pa_5g = (efuse->pa_type_5g & BIT(1)) && in rtw8812a_read_amplifier_type() 42 (efuse->pa_type_5g & BIT(0)); in rtw8812a_read_amplifier_type() 43 efuse->ext_lna_5g = (efuse->lna_type_5g & BIT(7)) && in rtw8812a_read_amplifier_type() 44 (efuse->lna_type_5g & BIT(3)); in rtw8812a_read_amplifier_type() [all …]
|
| /linux/drivers/iio/accel/ |
| H A D | kionix-kx022a.c | 1 // SPDX-License-Identifier: GPL-2.0-only 39 #include "kionix-kx022a.h" 99 * The HW does not set WHO_AM_I reg as read-only but we don't want to write it 100 * so we still include it in the read-only ranges. 317 return &data->orientation; in kx022a_get_mount_matrix() 360 KX022A_ACCEL_CHAN(Y, KX022A_REG_YOUT_L, 1), 367 KX022A_ACCEL_CHAN(Y, KX132_REG_YOUT_L, 1), 403 * range is typically +-2G/4G/8G/16G, distributed over the amount of bits. 406 * => KX022A uses 16 bit (HiRes mode - assume the low 8 bits are zeroed 407 * in low-power mode(?) ) [all …]
|
| /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 …]
|
| /linux/Documentation/admin-guide/ |
| H A D | kernel-parameters.txt | 16 force -- enable ACPI if default was off 17 on -- enable ACPI but allow fallback to DT [arm64,riscv64] 18 off -- disable ACPI if default was on 19 noirq -- do not use ACPI for IRQ routing 20 strict -- Be less tolerant of platforms that are not 22 rsdt -- prefer RSDT over (default) XSDT 23 copy_dsdt -- copy DSDT to memory 24 nocmcff -- Disable firmware first mode for corrected 28 nospcr -- disable console in ACPI SPCR table as 45 If set to vendor, prefer vendor-specific driver [all …]
|
| /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 …]
|
| /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> 60 * The first pass is depth-first-search to check that the program is a DAG. 62 * - larger than BPF_MAXINSNS insns 63 * - if loop is present (detected via back-edge) 64 * - unreachable insns exist (shouldn't be a forest. program = one function) 65 * - out of bounds or malformed jumps 77 * All registers are 64-bit. [all …]
|
| /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 */ 52 #define BPF_CMPXCHG (0xf0 | BPF_FETCH) /* atomic compare-and-write */ 54 #define BPF_LOAD_ACQ 0x100 /* load-acquire */ 55 #define BPF_STORE_REL 0x110 /* store-release */ [all …]
|
| /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 */ 52 #define BPF_CMPXCHG (0xf0 | BPF_FETCH) /* atomic compare-and-write */ 54 #define BPF_LOAD_ACQ 0x100 /* load-acquire */ 55 #define BPF_STORE_REL 0x110 /* store-release */ [all …]
|
| /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 64 * A selftest will lurk into the ring-buffer to count the 66 * insertions into the ring-buffer such as trace_printk could occurred 72 * If boot-time tracing including tracers/events via kernel cmdline 126 * ftrace_dump_on_oops - variable to dump ftrace buffer on oops 262 strscpy(ftrace_dump_on_oops + 1, str, MAX_TRACER_SIZE - 1); in set_ftrace_dump_on_oops() 286 int left = sizeof(boot_snapshot_info) - boot_snapshot_index; in boot_alloc_snapshot() 292 return -1; in boot_alloc_snapshot() [all …]
|
| /linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
| H A D | hclge_debugfs.c | 1 // SPDX-License-Identifier: GPL-2.0+ 2 /* Copyright (c) 2018-2019 Hisilicon Limited. */ 16 (((struct hnae3_ae_dev *)hnae3_seq_file_to_ae_dev(s))->priv) 730 sprintf(buf, "vf%u", id - 1U); in hclge_dbg_get_func_id_str() 747 dev_err(&hdev->pdev->dev, in hclge_dbg_get_dfx_bd_num() 758 dev_err(&hdev->pdev->dev, "The value of dfx bd_num is 0!\n"); in hclge_dbg_get_dfx_bd_num() 759 return -EINVAL; in hclge_dbg_get_dfx_bd_num() 772 desc->data[0] = cpu_to_le32(index); in hclge_dbg_cmd_send() 775 desc->flag |= cpu_to_le16(HCLGE_COMM_CMD_FLAG_NEXT); in hclge_dbg_cmd_send() 780 ret = hclge_cmd_send(&hdev->hw, desc_src, bd_num); in hclge_dbg_cmd_send() [all …]
|
| /linux/drivers/media/dvb-frontends/drx39xyj/ |
| H A D | drxj.c | 2 Copyright (c), 2004-2005,2007-2010 Trident Microsystems, Inc. 52 /*----------------------------------------------------------------------------- 54 ----------------------------------------------------------------------------*/ 75 #define DRX39XX_MAIN_FIRMWARE "dvb-fe-drxj-mc-1.0.8.fw" 201 /*----------------------------------------------------------------------------- 203 ----------------------------------------------------------------------------*/ 205 /*----------------------------------------------------------------------------- 207 ----------------------------------------------------------------------------*/ 209 #define DRXJ_WAKE_UP_KEY (demod->my_i2c_dev_addr->i2c_addr) 413 * \brief RAM location of Threshold registers [all …]
|