| /linux/Documentation/misc-devices/ |
| H A D | lis3lv02d.rst | 12 - Yan Burman <burman.yan@gmail.com> 13 - Eric Piel <eric.piel@tremplin-utc.net> 17 ----------- 25 /sys/devices/faux/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/drivers/media/platform/mediatek/mdp/ |
| H A 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/drivers/net/ethernet/intel/ixgbe/ |
| H A D | ixgbe_ptp.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 1999 - 2018 Intel Corporation. */ 30 * Period * [ 2 ^ ( MaxWidth - PeriodWidth ) ] 47 * +--------------+ +--------------+ 49 * *--------------+ +--------------+ 52 * +--------------+ +--------------+ 54 * *--------------+ +--------------+ 58 * 2^36 * 10^-9 / 60 = 1.14 minutes or 69 seconds 61 * 2^43 * 10^-9 / 3600 = 2.4 hours 74 #define IXGBE_OVERFLOW_PERIOD (HZ * 30) [all …]
|
| /linux/Documentation/admin-guide/media/ |
| H A 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/drivers/net/ethernet/freescale/ |
| H A D | fec_ptp.c | 1 // SPDX-License-Identifier: GPL-2.0 92 * fec_ptp_read - read raw cycle counter (to be used by time counter) 105 tempval = readl(fep->hwp + FEC_ATIME_CTRL); in fec_ptp_read() 107 writel(tempval, fep->hwp + FEC_ATIME_CTRL); in fec_ptp_read() 109 if (fep->quirks & FEC_QUIRK_BUG_CAPTURE) in fec_ptp_read() 112 return readl(fep->hwp + FEC_ATIME); in fec_ptp_read() 118 * @enable: enable the channel pps output 120 * This function enables the PPS output on the timer channel. 129 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_ptp_enable_pps() 131 if (fep->pps_enable == enable) { in fec_ptp_enable_pps() [all …]
|
| /linux/drivers/hwmon/ |
| H A D | asus_wmi_sensors.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Copyright (C) 2018-2019 Ed Brindley <kernel@maidavale.org> 9 * - CPU Core Voltage, 10 * - CPU SOC Voltage, 11 * - DRAM Voltage, 12 * - VDDP Voltage, 13 * - 1.8V PLL Voltage, 14 * - +12V Voltage, 15 * - +5V Voltage, 16 * - 3VSB Voltage, [all …]
|
| H A 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 …]
|
| H A 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 …]
|
| H A 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/drivers/comedi/drivers/ |
| H A 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/arch/alpha/kernel/ |
| H A 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 63 retval = -ENOMEM; in SYSCALL_DEFINE1() 68 * This is pure guess-work.. 76 mm = current->mm; in SYSCALL_DEFINE4() 77 mm->end_code = bss_start + bss_len; in SYSCALL_DEFINE4() 78 mm->start_brk = bss_start + bss_len; in SYSCALL_DEFINE4() 79 mm->brk = bss_start + bss_len; in SYSCALL_DEFINE4() 121 buf->error = -EINVAL; /* only used if we fail */ in osf_filldir() 122 if (reclen > buf->count) in osf_filldir() [all …]
|
| /linux/Documentation/virt/kvm/x86/ |
| H A 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/Documentation/hwmon/ |
| H A 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. 69 ---------------- 76 ------------------------------------------------------------------------- [all …]
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-class-hwmon | 16 The contents of the label are free-form. 84 Because of this variation, values are generally NOT scaled 88 These drivers will output the actual voltage. Rule of 135 this voltage channel is being used for, and user-space 137 user-space. 145 When disabled the sensor read will return -ENODATA. 147 - 1: Enable 148 - 0: Disable 156 - 1: Failed 157 - 0: Ok [all …]
|
| /linux/sound/pci/ |
| H A 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-12 [all...] |
| /linux/arch/powerpc/platforms/52xx/ |
| H A 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/Documentation/admin-guide/laptops/ |
| H A 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/drivers/clk/tegra/ |
| H A 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/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/net/ipv4/ |
| H A D | tcp_output.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 * Corey Minyard <wf-rch!minyard@relay.EU.net> 13 * Florian La Roche, <flla@stud.uni-sb.de> 31 * David S. Miller : Output engine completely rewritten. 33 * Cacophonix Gaul : draft-minshall-nagle-01 61 tp->tcp_clock_cache = val; in tcp_mstamp_refresh() 62 tp->tcp_mstamp = div_u64(val, NSEC_PER_USEC); in tcp_mstamp_refresh() 73 unsigned int prior_packets = tp->packets_out; in tcp_event_new_data_sent() 75 WRITE_ONCE(tp->snd_nxt, TCP_SKB_CB(skb)->end_seq); in tcp_event_new_data_sent() 77 __skb_unlink(skb, &sk->sk_write_queue); in tcp_event_new_data_sent() [all …]
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_ptp.c | 1 // SPDX-License-Identifier: GPL-2.0 19 { TIME_SYNC, { 4, -1 }, { 0, 0 }}, 20 { ONE_PPS, { -1, 5 }, { 0, 11 }}, 29 { TIME_SYNC, { 4, -1 }, { 11, 0 }}, 30 { ONE_PPS, { -1, 5 }, { 0, 9 }}, 39 { ONE_PPS, { -1, 5 }, { 0, 1 }}, 51 { SDP0, { -1, 0 }, { 0, 1 }}, 52 { SDP1, { 1, -1 }, { 0, 0 }}, 53 { SDP2, { -1, 2 }, { 0, 1 }}, 54 { SDP3, { 3, -1 }, { 0, 0 }}, [all …]
|
| /linux/drivers/iio/imu/ |
| H A D | adis16480.c | 1 // SPDX-License-Identifier: GPL-2.0-only 116 ADIS16480_REG((page) + 1, (x) - 60 + 8)) 199 struct adis16480 *adis16480 = file->private_data; in adis16480_show_firmware_revision() 205 ret = adis_read_reg_16(&adis16480->adis, ADIS16480_REG_FIRM_REV, &rev); in adis16480_show_firmware_revision() 224 struct adis16480 *adis16480 = file->private_data; in adis16480_show_firmware_date() 230 ret = adis_read_reg_16(&adis16480->adis, ADIS16480_REG_FIRM_Y, &year); in adis16480_show_firmware_date() 234 ret = adis_read_reg_16(&adis16480->adis, ADIS16480_REG_FIRM_DM, &md); in adis16480_show_firmware_date() 238 len = snprintf(buf, sizeof(buf), "%.2x-%.2x-%.4x\n", in adis16480_show_firmware_date() 257 ret = adis_read_reg_16(&adis16480->adis, ADIS16480_REG_SERIAL_NUM, in adis16480_show_serial_number() 275 ret = adis_read_reg_16(&adis16480->adis, ADIS16480_REG_PROD_ID, in adis16480_show_product_id() [all …]
|
| /linux/drivers/gpu/drm/bridge/ |
| H A D | tda998x_drv.c | 1 // SPDX-License-Identifier: GPL-2.0-only 15 #include <sound/hdmi-codec.h> 25 #include <media/cec-notifier.h> 27 #include <dt-bindings/display/tda998x.h> 411 .addr = priv->cec_addr, in cec_write() 417 ret = i2c_transfer(priv->hdmi->adapter, &msg, 1); in cec_write() 419 dev_err(&priv->hdmi->dev, "Error %d writing to cec:0x%x\n", in cec_write() 429 .addr = priv->cec_addr, in cec_read() 433 .addr = priv->cec_addr, in cec_read() 441 ret = i2c_transfer(priv->hdmi->adapter, msg, ARRAY_SIZE(msg)); in cec_read() [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/media/i2c/ccs/ |
| H A D | ccs-core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * drivers/media/i2c/ccs/ccs-core.c 8 * Copyright (C) 2010--2012 Nokia Corporation 13 * Based on smia-sensor.c by Tuukka Toivonen <tuukkat76@gmail.com> 27 #include <linux/v4l2-mediabus.h> 28 #include <media/v4l2-cci.h> 29 #include <media/v4l2-device.h> 30 #include <media/v4l2-fwnode.h> 46 * ccs_module_idents - supported camera modules 49 CCS_IDENT_L(0x01, 0x022b, -1, "vs6555"), [all …]
|