/Linux-v5.10/Documentation/devicetree/bindings/iio/imu/ |
D | adi,adis16475.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Nuno Sá <nuno.sa@analog.com> 14 https://www.analog.com/media/en/technical-documentation/data-sheets/ADIS16475.pdf 19 - adi,adis16475-1 20 - adi,adis16475-2 21 - adi,adis16475-3 22 - adi,adis16477-1 23 - adi,adis16477-2 [all …]
|
/Linux-v5.10/drivers/media/platform/exynos-gsc/ |
D | gsc-core.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2011 - 2012 Samsung Electronics Co., Ltd. 6 * header file for Samsung EXYNOS5 SoC series G-Scaler driver 20 #include <media/videobuf2-v4l2.h> 21 #include <media/v4l2-ctrls.h> 22 #include <media/v4l2-device.h> 23 #include <media/v4l2-mem2mem.h> 24 #include <media/v4l2-mediabus.h> 25 #include <media/videobuf2-dma-contig.h> 27 #include "gsc-regs.h" [all …]
|
/Linux-v5.10/Documentation/misc-devices/ |
D | lis3lv02d.rst | 12 - Yan Burman <burman.yan@gmail.com> 13 - Eric Piel <eric.piel@tremplin-utc.net> 17 ----------- 25 /sys/devices/platform/lis3lv02d. Reported values are scaled 31 - 3D position that the accelerometer reports. Format: "(x,y,z)" 33 - read reports the sampling rate of the accelerometer device in HZ. 37 - performs selftest for the chip as specified by chip manufacturer. 40 the laptop to act as a pinball machine-esque joystick. Joystick device can be 42 By default output values are scaled between -32768 .. 32767. In joystick raw 63 acts similar to /dev/rtc and reacts on free-fall interrupts received [all …]
|
/Linux-v5.10/drivers/iio/imu/ |
D | adis16475.c | 1 // SPDX-License-Identifier: GPL-2.0 125 struct adis16475 *st = file->private_data; in adis16475_show_firmware_revision() 131 ret = adis_read_reg_16(&st->adis, ADIS16475_REG_FIRM_REV, &rev); in adis16475_show_firmware_revision() 151 struct adis16475 *st = file->private_data; in adis16475_show_firmware_date() 157 ret = adis_read_reg_16(&st->adis, ADIS16475_REG_FIRM_Y, &year); in adis16475_show_firmware_date() 161 ret = adis_read_reg_16(&st->adis, ADIS16475_REG_FIRM_DM, &md); in adis16475_show_firmware_date() 165 len = snprintf(buf, sizeof(buf), "%.2x-%.2x-%.4x\n", md >> 8, md & 0xff, in adis16475_show_firmware_date() 184 ret = adis_read_reg_16(&st->adis, ADIS16475_REG_SERIAL_NUM, &serial); in adis16475_show_serial_number() 201 ret = adis_read_reg_16(&st->adis, ADIS16475_REG_PROD_ID, &prod_id); in adis16475_show_product_id() 218 ret = adis_read_reg_32(&st->adis, ADIS16475_REG_FLASH_CNT, in adis16475_show_flash_count() [all …]
|
/Linux-v5.10/drivers/media/platform/mtk-mdp/ |
D | mtk_mdp_core.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2015-2016 MediaTek Inc. 12 #include <media/v4l2-ctrls.h> 13 #include <media/v4l2-device.h> 14 #include <media/v4l2-mem2mem.h> 15 #include <media/videobuf2-core.h> 16 #include <media/videobuf2-dma-contig.h> 22 #define MTK_MDP_MODULE_NAME "mtk-mdp" 24 #define MTK_MDP_SHUTDOWN_TIMEOUT ((100*HZ)/1000) /* 100ms */ 34 * struct mtk_mdp_pix_align - alignment of image [all …]
|
/Linux-v5.10/drivers/media/test-drivers/vivid/ |
D | vivid-kthread-cap.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * vivid-kthread-cap.h - video/vbi capture thread support functions. 20 #include <linux/v4l2-dv-timings.h> 22 #include <media/videobuf2-vmalloc.h> 23 #include <media/v4l2-dv-timings.h> 24 #include <media/v4l2-ioctl.h> 25 #include <media/v4l2-fh.h> 26 #include <media/v4l2-event.h> 27 #include <media/v4l2-rect.h> 29 #include "vivid-core.h" [all …]
|
/Linux-v5.10/drivers/misc/echo/ |
D | echo.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * SpanDSP - a series of DSP components for telephony 5 * echo.c - A line echo canceller. This code is being developed 30 especially for double talk - there were always cases where my DTD 50 on 4 real-world samples. 54 on the real-world samples. I have no idea why, perhaps a scaling 59 dot product) compared to the current sample-by-sample update. 66 Path Models", IEEE Transactions on communications, COM-25, 87 Thanks to Steve Underwood, Jean-Marc Valin, and Ramakrishnan 118 factor = clean >> -shift; in lms_adapt_bg() [all …]
|
/Linux-v5.10/Documentation/admin-guide/media/ |
D | vivid.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 output, vbi capture and output, metadata capture and output, radio receivers and 9 simple framebuffer device is available for testing capture and output overlays. 13 Each input can be a webcam, TV capture device, S-Video capture device or an HDMI 14 capture device. Each output can be an S-Video output device or an HDMI output 23 - Support for read()/write(), MMAP, USERPTR and DMABUF streaming I/O. 24 - A large list of test patterns and variations thereof 25 - Working brightness, contrast, saturation and hue controls 26 - Support for the alpha color component 27 - Full colorspace support, including limited/full RGB range [all …]
|
/Linux-v5.10/Documentation/hwmon/ |
D | sysfs-interface.rst | 5 through the sysfs interface. Since lm-sensors 3.0.0, libsensors is 6 completely chip-independent. It assumes that all the kernel drivers 10 This is a major improvement compared to lm-sensors 2. 17 voltages between 0 and +4V. Other voltages are scaled back into that 22 For this reason, even if we aim at a chip-independent libsensors, it will 37 Up to lm-sensors 3.0.0, libsensors looks for hardware monitoring attributes 38 in the "physical" device directory. Since lm-sensors 3.0.1, attributes found 61 to cause an alarm) is chip-dependent. 68 ------------------------------------------------------------------------- 71 `[0-*]` denotes any positive number starting from 0 [all …]
|
/Linux-v5.10/Documentation/ABI/testing/ |
D | sysfs-bus-iio | 3 Contact: linux-iio@vger.kernel.org 11 Contact: linux-iio@vger.kernel.org 25 Contact: linux-iio@vger.kernel.org 31 Contact: linux-iio@vger.kernel.org 38 Contact: linux-iio@vger.kernel.org 48 Contact: linux-iio@vger.kernel.org 65 Contact: linux-iio@vger.kernel.org 70 - a small discrete set of values like "0 2 4 6 8" 71 - a range with minimum, step and maximum frequencies like 76 Contact: linux-iio@vger.kernel.org [all …]
|
/Linux-v5.10/drivers/staging/comedi/drivers/ |
D | jr3_pci.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 31 * two-byte words. 42 * Channels 1-6 contain the coupled force data Fx through Mz. Channel 43 * 7 contains the sensor's calibration data. The use of channels 8-15 139 * was detected in the on-board RAM during the power-up 249 * 0 - end transform packet 250 * 1 - translate along X axis (TX) 251 * 2 - translate along Y axis (TY) 252 * 3 - translate along Z axis (TZ) 253 * 4 - rotate about X axis (RX) [all …]
|
/Linux-v5.10/arch/alpha/kernel/ |
D | osf_sys.c | 1 // SPDX-License-Identifier: GPL-2.0 10 * Some of the system calls expect a non-C calling standard, others have 62 retval = -ENOMEM; in SYSCALL_DEFINE1() 67 * This is pure guess-work.. 75 mm = current->mm; in SYSCALL_DEFINE4() 76 mm->end_code = bss_start + bss_len; in SYSCALL_DEFINE4() 77 mm->start_brk = bss_start + bss_len; in SYSCALL_DEFINE4() 78 mm->brk = bss_start + bss_len; in SYSCALL_DEFINE4() 120 buf->error = -EINVAL; /* only used if we fail */ in osf_filldir() 121 if (reclen > buf->count) in osf_filldir() [all …]
|
/Linux-v5.10/Documentation/virt/kvm/ |
D | timekeeping.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 Timekeeping Virtualization for X86-Based Architectures 32 information relevant to KVM and hardware-based virtualization. 41 2.1. i8254 - PIT 42 ---------------- 46 channels which can be programmed to deliver periodic or one-shot interrupts. 53 The PIT uses I/O ports 0x40 - 0x43. Access to the 16-bit counters is done 59 -------------- ---------------- 61 | 1.1932 MHz|---------->| CLOCK OUT | ---------> IRQ 0 63 -------------- | +->| GATE TIMER 0 | [all …]
|
/Linux-v5.10/sound/pci/ |
D | azt3328.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* azt3328.c - driver for Aztech AZF3328 based soundcards (e.g. PCI168). 3 * Copyright (C) 2002, 2005 - 2011 by Andreas Mohr <andi AT lisas.de> 7 * found in a Fujitsu-Siemens PC ("Cordant", aluminum case). 13 * Keywords: Windows XP Vista 168nt4-125.zip 168win95-125.zip PCI 168 download 17 * despite the high level of Internet ignorance - as usual :-P - 18 * about very good support for this card - on Linux!) 25 * in the first place >:-P}), 34 * for compatibility reasons) from Azfin (joint-venture of Aztech and Fincitec, 36 * Fincitec-related company ARSmikro) has the following features: [all …]
|
/Linux-v5.10/arch/powerpc/platforms/52xx/ |
D | mpc52xx_gpt.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 12 * output signals or measure input signals. 19 * -EBUSY). Thus, the safety wdt function always has precedence over the gpt 21 * this means that gpt0 is locked in wdt mode until the next reboot - this 27 * gpio-controller; 28 * #gpio-cells = < 2 >; 29 * This driver will register the GPIO pin if it finds the gpio-controller 34 * interrupt-controller; 35 * #interrupt-cells = < 1 >; 43 * use it as a GPIO output will not work. [all …]
|
/Linux-v5.10/drivers/hwmon/ |
D | adm9240.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 18 * Voltage Six inputs are scaled by chip, VID also reported 21 * Alarms 16-bit map of active alarms 22 * Analog Out 0..1250 mV output 26 * Test hardware: Intel SE440BX-2 desktop motherboard --Grant 35 #include <linux/hwmon-sysfs.h> 37 #include <linux/hwmon-vid.h> 74 return (val * mul - div / 2) / div; in SCALE() 93 /* temperature range: -40..125, 127 disables temperature alarm */ 96 val = clamp_val(val, -40000, 127000); in TEMP_TO_REG() [all …]
|
D | lm85.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * lm85.c - Part of lm_sensors, Linux kernel modules for hardware 7 * Copyright (c) 2003 Margit Schubert-While <margitsw@t-online.de> 9 * Copyright (C) 2007--2014 Jean Delvare <jdelvare@suse.de> 21 #include <linux/hwmon-vid.h> 22 #include <linux/hwmon-sysfs.h> 59 ((data)->type == adt7468 && !((data)->cfg5 & ADT7468_OFF64)) 61 ((data)->type == adt7468 && !((data)->cfg5 & ADT7468_HFPWM)) 105 #define EMC6D100_REG_IN(nr) (0x70 + ((nr) - 5)) 106 #define EMC6D100_REG_IN_MIN(nr) (0x73 + ((nr) - 5) * 2) [all …]
|
D | adm1026.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * adm1026.c - Part of lm_sensors, Linux kernel modules for hardware 19 #include <linux/hwmon-sysfs.h> 20 #include <linux/hwmon-vid.h> 27 static int gpio_input[17] = { -1, -1, -1, -1, -1, -1, -1, -1, -1, 28 -1, -1, -1, -1, -1, -1, -1, -1 }; 29 static int gpio_output[17] = { -1, -1, -1, -1, -1, -1, -1, -1, -1, 30 -1, -1, -1, -1, -1, -1, -1, -1 }; 31 static int gpio_inverted[17] = { -1, -1, -1, -1, -1, -1, -1, -1, -1, 32 -1, -1, -1, -1, -1, -1, -1, -1 }; [all …]
|
D | lm87.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 * Copyright (C) 2004-2008 Jean Delvare <jdelvare@suse.de> 17 * Voltages are scaled internally with ratios such that the nominal value of 20 * reported with a 1 deg resolution and a 3-4 deg accuracy. Complete 30 * - in0+in5 (default) or temp3 31 * - fan1 (default) or in6 32 * - fan2 (default) or in7 33 * - VID lines (default) or IRQ lines (not handled by this driver) 35 * The LM87 additionally features an analog output, supposedly usable to 52 #include <linux/hwmon-sysfs.h> [all …]
|
/Linux-v5.10/Documentation/admin-guide/laptops/ |
D | thinkpad-acpi.rst | 9 - Borislav Deianov <borislav@users.sf.net> 10 - Henrique de Moraes Holschuh <hmh@hmh.eng.br> 12 http://ibm-acpi.sf.net/ 19 This driver used to be named ibm-acpi until kernel 2.6.21 and release 20 0.13-20070314. It used to be in the drivers/acpi tree, but it was 21 moved to the drivers/misc tree and renamed to thinkpad-acpi for kernel 25 The driver is named "thinkpad-acpi". In some places, like module 29 "tpacpi" is used as a shorthand where "thinkpad-acpi" would be too 33 ------ 38 - Fn key combinations [all …]
|
/Linux-v5.10/drivers/char/ |
D | random.c | 2 * random.c -- A strong random number generator 29 * the restrictions contained in a BSD-style copyright.) 59 * to produce truly random numbers on a computer --- as opposed to 60 * pseudo-random numbers, which can easily generated by using a 62 * the sequence of pseudo-random number generators, and for some 69 * Sources of randomness from the environment include inter-keyboard 70 * timings, inter-interrupt timings from some interrupts, and other 71 * events which are both (a) non-deterministic and (b) hard for an 73 * added to an "entropy pool", which is mixed using a CRC-like function. 85 * about the input of SHA from its output. Even if it is possible to [all …]
|
/Linux-v5.10/drivers/clk/tegra/ |
D | clk-dfll.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * clk-dfll.c - Tegra DFLL clock source common code 5 * Copyright (C) 2012-2019 NVIDIA Corporation. All rights reserved. 12 * "CL-DVFS". To try to avoid confusion, this code refers to them 18 * DFLL can be operated in either open-loop mode or closed-loop mode. 19 * In open-loop mode, the DFLL generates an output clock appropriate 20 * to the supply voltage. In closed-loop mode, when configured with a 27 * performance-measurement code and any code that relies on the CPU 32 #include <linux/clk-provider.h> 49 #include "clk-dfll.h" [all …]
|
/Linux-v5.10/drivers/media/usb/gspca/ |
D | ov534.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * ov534-ov7xxx gspca driver 7 * Copyright (C) 2009 Jean-Francois Moine http://moinejf.free.fr 14 * PS3 Eye camera - brightness, contrast, awb, agc, aec controls 16 * PS3 Eye camera - FPS range extended by Joseph Howse 26 #include <linux/fixp-arith.h> 27 #include <media/v4l2-ctrls.h> 147 /* comments from the ms-win file apollo7670.set */ 309 {0x41, 0x38}, /* jfm: auto sharpness + auto de-noise */ 360 {0x8d, 0x1c}, /* output YUV */ [all …]
|
/Linux-v5.10/drivers/gpu/drm/gma500/ |
D | psb_intel_sdvo.c | 3 * Copyright © 2006-2007 Intel Corporation 51 #define IS_TV(c) (c->output_flag & SDVO_TV_MASK) 52 #define IS_TMDS(c) (c->output_flag & SDVO_TMDS_MASK) 53 #define IS_LVDS(c) (c->output_flag & SDVO_LVDS_MASK) 54 #define IS_TV_OR_LVDS(c) (c->output_flag & (SDVO_TV_MASK | SDVO_LVDS_MASK)) 78 /* Active outputs controlled by this SDVO output */ 103 * This is set if we're going to treat the device as TV-out. 105 * While we have these nice friendly flags for output types that ought 106 * to decide this for us, the S-Video output on our HDMI+S-Video card 122 * This is set if we detect output of sdvo device as LVDS and [all …]
|
/Linux-v5.10/drivers/net/wireless/ath/ath5k/ |
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> 41 * Here we handle the low-level functions related to baseband 47 * - Channel setting/switching 49 * - Automatic Gain Control (AGC) calibration 51 * - Noise Floor calibration 53 * - I/Q imbalance calibration (QAM correction) 55 * - Calibration due to thermal changes (gain_F) [all …]
|