/linux/drivers/media/platform/samsung/exynos-gsc/ |
H A 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/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/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/drivers/media/test-drivers/vivid/ |
H A 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> 23 #include <media/videobuf2-vmalloc.h> 24 #include <media/v4l2-dv-timings.h> 25 #include <media/v4l2-ioctl.h> 26 #include <media/v4l2-fh.h> 27 #include <media/v4l2-event.h> 28 #include <media/v4l2-rect.h> 30 #include "vivid-core.h" [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/drivers/misc/echo/ |
H A 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/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/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/net/ethernet/freescale/ |
H A D | fec_ptp.c | 1 // SPDX-License-Identifier: GPL-2.0 93 * fec_ptp_read - read raw cycle counter (to be used by time counter) 106 tempval = readl(fep->hwp + FEC_ATIME_CTRL); in fec_ptp_read() 108 writel(tempval, fep->hwp + FEC_ATIME_CTRL); in fec_ptp_read() 110 if (fep->quirks & FEC_QUIRK_BUG_CAPTURE) in fec_ptp_read() 113 return readl(fep->hwp + FEC_ATIME); in fec_ptp_read() 119 * @enable: enable the channel pps output 130 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_ptp_enable_pps() 132 if (fep->pps_enable == enable) { in fec_ptp_enable_pps() 133 spin_unlock_irqrestore(&fep->tmreg_lock, flags); in fec_ptp_enable_pps() [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-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/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/drivers/iio/imu/ |
H A D | adis16475.c | 1 // SPDX-License-Identifier: GPL-2.0 165 …"Allow IMU rates below the minimum advisable when external clk is used in SCALED mode (default: N)… 171 struct adis16475 *st = file->private_data; in adis16475_show_firmware_revision() 177 ret = adis_read_reg_16(&st->adis, ADIS16475_REG_FIRM_REV, &rev); in adis16475_show_firmware_revision() 197 struct adis16475 *st = file->private_data; in adis16475_show_firmware_date() 203 ret = adis_read_reg_16(&st->adis, ADIS16475_REG_FIRM_Y, &year); in adis16475_show_firmware_date() 207 ret = adis_read_reg_16(&st->adis, ADIS16475_REG_FIRM_DM, &md); in adis16475_show_firmware_date() 211 len = snprintf(buf, sizeof(buf), "%.2x-%.2x-%.4x\n", md >> 8, md & 0xff, in adis16475_show_firmware_date() 230 ret = adis_read_reg_16(&st->adis, ADIS16475_REG_SERIAL_NUM, &serial); in adis16475_show_serial_number() 247 ret = adis_read_reg_16(&st->adis, ADIS16475_REG_PROD_ID, &prod_id); in adis16475_show_product_id() [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/gpu/drm/ |
H A D | drm_connector.c | 51 * Hence they are reference-counted using drm_connector_get() and 67 * For connectors which are not fixed (like built-in panels) the driver needs to 76 * Note drm_connector_[un]register() first take connector->lock and then 94 { DRM_MODE_CONNECTOR_DVII, "DVI-I" }, 95 { DRM_MODE_CONNECTOR_DVID, "DVI-D" }, 96 { DRM_MODE_CONNECTOR_DVIA, "DVI-A" }, 103 { DRM_MODE_CONNECTOR_HDMIA, "HDMI-A" }, 104 { DRM_MODE_CONNECTOR_HDMIB, "HDMI-B" }, 132 * drm_get_connector_type_name - return a string for connector type 147 * drm_connector_get_cmdline_mode - reads the user's cmdline mode [all …]
|
/linux/drivers/gpu/drm/gma500/ |
H A D | psb_intel_sdvo.c | 3 * Copyright © 2006-2007 Intel Corporation 53 #define IS_TV(c) (c->output_flag & SDVO_TV_MASK) 54 #define IS_TMDS(c) (c->output_flag & SDVO_TMDS_MASK) 55 #define IS_LVDS(c) (c->output_flag & SDVO_LVDS_MASK) 56 #define IS_TV_OR_LVDS(c) (c->output_flag & (SDVO_TV_MASK | SDVO_LVDS_MASK)) 80 /* Active outputs controlled by this SDVO output */ 105 * This is set if we're going to treat the device as TV-out. 107 * While we have these nice friendly flags for output types that ought 108 * to decide this for us, the S-Video output on our HDMI+S-Video card 124 * This is set if we detect output of sdvo device as LVDS and [all …]
|
/linux/drivers/net/ethernet/cavium/liquidio/ |
H A D | lio_main.c | 7 * Copyright (c) 2003-2016 Cavium, Inc. 14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty 54 …nds to wait for DDR initialization. 0 waits for ddr_timeout to be set to non-zero value before sta… 58 static int debug = -1; 69 "Bitmask indicating which consoles have debug output redirected to syslog."); 72 * octeon_console_debug_enabled - determines if a given console has debug enabled. 92 /* time to wait for possible in-flight requests in milliseconds */ 125 (CN23XX_DEFAULT_INPUT_JABBER - OCTNIC_GSO_MAX_HEADER_SIZE) 159 struct octeon_device *oct = oct_priv->dev; in octeon_droq_bh() 162 if (!(oct->io_qmask.oq & BIT_ULL(q_no))) in octeon_droq_bh() [all …]
|