/linux/Documentation/devicetree/bindings/thermal/ |
H A D | nvidia,tegra124-soctherm.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/thermal/nvidia,tegra124-soctherm.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 14 polled or interrupt-based thermal monitoring, CPU and GPU throttling based 21 - nvidia,tegra124-soctherm 22 - nvidia,tegra132-soctherm 23 - nvidia,tegra210-soctherm [all …]
|
/linux/drivers/staging/iio/accel/ |
H A D | adis16203.c | 1 // SPDX-License-Identifier: GPL-2.0+ 31 /* Output, x-axis inclination */ 34 /* Output, y-axis inclination */ 40 /* Alarm 1 amplitude threshold */ 43 /* Alarm 2 amplitude threshold */ 46 /* Alarm 1, sample period */ 49 /* Alarm 2, sample period */ 52 /* Alarm control */ 58 /* General-purpose digital input/output control */ 67 /* Operation, filter configuration */ [all …]
|
/linux/include/linux/mfd/ |
H A D | ac100.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2016 Chen-Yu Tsai 7 * Chen-Yu Tsai <wens@csie.org> 84 /* ADC digital audio processing (high pass filter & auto gain control */ 104 #define AC100_ADC_DAP_H_HPF_C 0x93 /* High High-Pass-Filter Coef */ 105 #define AC100_ADC_DAP_L_HPF_C 0x94 /* Low High-Pass-Filter Coef */ 108 /* DAC digital audio processing (high pass filter & dynamic range control) */ 110 #define AC100_DAC_DAP_H_HPF_C 0xa1 /* High High-Pass-Filter Coef */ 111 #define AC100_DAC_DAP_L_HPF_C 0xa2 /* Low High-Pass-Filter Coef */ 160 /* RTC alarm */
|
/linux/Documentation/driver-api/ |
H A D | ptp.rst | 1 .. SPDX-License-Identifier: GPL-2.0 18 - Set time 19 - Get time 20 - Shift the clock by a given offset atomically 21 - Adjust clock frequency 24 - Time stamp external events 25 - Period output signals configurable from user space 26 - Low Pass Filter (LPF) access from user space 27 - Synchronization of the Linux system time via the PPS subsystem 65 ancillary feature, then the driver should just return -EOPNOTSUPP [all …]
|
/linux/drivers/hwmon/ |
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 …]
|
/linux/drivers/iio/imu/ |
H A D | adis16400.c | 1 // SPDX-License-Identifier: GPL-2.0-only 31 #define ADIS16400_XGYRO_OUT 0x04 /* X-axis gyroscope output */ 32 #define ADIS16400_YGYRO_OUT 0x06 /* Y-axis gyroscope output */ 33 #define ADIS16400_ZGYRO_OUT 0x08 /* Z-axis gyroscope output */ 34 #define ADIS16400_XACCL_OUT 0x0A /* X-axis accelerometer output */ 35 #define ADIS16400_YACCL_OUT 0x0C /* Y-axis accelerometer output */ 36 #define ADIS16400_ZACCL_OUT 0x0E /* Z-axis accelerometer output */ 37 #define ADIS16400_XMAGN_OUT 0x10 /* X-axis magnetometer measurement */ 38 #define ADIS16400_YMAGN_OUT 0x12 /* Y-axis magnetometer measurement */ 39 #define ADIS16400_ZMAGN_OUT 0x14 /* Z-axis magnetometer measurement */ [all …]
|
/linux/drivers/virtio/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 78 If disabled, you get a slightly smaller, non-transitional driver, 106 This driver provides access to virtio-pmem devices, storage devices 107 that are mapped into the physical address space - similar to NVDIMMs 108 - with a virtio-based flushing interface. 132 This driver provides access to virtio-mem paravirtualized memory 135 This driver currently supports x86-64, arm64, riscv and s390. 137 memory hot(un)plug, architecture-specific and/or common 138 code changes may be required for virtio-mem, kdump and kexec to 167 Allow virtio-mmio devices instantiation via the kernel command line [all …]
|
/linux/tools/tracing/rtla/src/ |
H A D | osnoise_top.c | 1 // SPDX-License-Identifier: GPL-2.0 38 * osnoise_free_top - free runtime data 43 free(data->cpu_data); in osnoise_free_top() 48 * osnoise_alloc_histogram - alloc runtime data 58 data->nr_cpus = nr_cpus; in osnoise_alloc_top() 61 data->cpu_data = calloc(1, sizeof(*data->cpu_data) * nr_cpus); in osnoise_alloc_top() 62 if (!data->cpu_data) in osnoise_alloc_top() 73 * osnoise_top_handler - this is the handler for osnoise tracer events 84 int cpu = record->cpu; in osnoise_top_handler() 88 data = tool->data; in osnoise_top_handler() [all …]
|
H A D | osnoise_hist.c | 1 // SPDX-License-Identifier: GPL-2.0 37 * osnoise_free_histogram - free runtime data 45 for (cpu = 0; cpu < data->nr_cpus; cpu++) { in osnoise_free_histogram() 46 if (data->hist[cpu].samples) in osnoise_free_histogram() 47 free(data->hist[cpu].samples); in osnoise_free_histogram() 51 if (data->hist) in osnoise_free_histogram() 52 free(data->hist); in osnoise_free_histogram() 58 * osnoise_alloc_histogram - alloc runtime data 70 data->entries = entries; in osnoise_alloc_histogram() 71 data->bucket_size = bucket_size; in osnoise_alloc_histogram() [all …]
|
H A D | timerlat_top.c | 1 // SPDX-License-Identifier: GPL-2.0 50 * timerlat_free_top - free runtime data 55 free(data->cpu_data); in timerlat_free_top() 60 * timerlat_alloc_histogram - alloc runtime data 71 data->nr_cpus = nr_cpus; in timerlat_alloc_top() 74 data->cpu_data = calloc(1, sizeof(*data->cpu_data) * nr_cpus); in timerlat_alloc_top() 75 if (!data->cpu_data) in timerlat_alloc_top() 80 data->cpu_data[cpu].min_irq = ~0; in timerlat_alloc_top() 81 data->cpu_data[cpu].min_thread = ~0; in timerlat_alloc_top() 82 data->cpu_data[cpu].min_user = ~0; in timerlat_alloc_top() [all …]
|
H A D | timerlat_hist.c | 1 // SPDX-License-Identifier: GPL-2.0 52 * timerlat_free_histogram - free runtime data 60 for (cpu = 0; cpu < data->nr_cpus; cpu++) { in timerlat_free_histogram() 61 if (data->hist[cpu].irq) in timerlat_free_histogram() 62 free(data->hist[cpu].irq); in timerlat_free_histogram() 64 if (data->hist[cpu].thread) in timerlat_free_histogram() 65 free(data->hist[cpu].thread); in timerlat_free_histogram() 67 if (data->hist[cpu].user) in timerlat_free_histogram() 68 free(data->hist[cpu].user); in timerlat_free_histogram() 73 if (data->hist) in timerlat_free_histogram() [all …]
|
/linux/drivers/iio/accel/ |
H A D | adis16201.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * ADIS16201 Dual-Axis Digital Inclinometer and Accelerometer 38 /* Alarm Register Definition */ 48 /* Operation, filter configuration */ 55 /* Data-ready enable: 1 = enabled, 0 = disabled */ 57 /* Data-ready polarity: 1 = active high, 0 = active low */ 59 /* Data-ready line selection: 1 = DIO1, 0 = DIO0 */ 113 switch (chan->type) { in adis16201_read_raw() 115 if (chan->channel == 0) { in adis16201_read_raw() 126 *val = -470; in adis16201_read_raw() [all …]
|
/linux/Documentation/hwmon/ |
H A D | asc7621.rst | 20 Andigilog has both the PECI and pre-PECI versions of the Heceta-6, as 21 Intel calls them. Heceta-6e has high frequency PWM and Heceta-6p has 23 Heceta-6e part and aSC7621 is the Heceta-6p part. They are both in 28 have used registers below 20h for vendor-specific functions in addition 29 to those in the Intel-specified vendor range. 32 The fan speed control uses this finer value to produce a "step-less" fan 33 PWM output. These two bytes are "read-locked" to guarantee that once a 34 high or low byte is read, the other byte is locked-in until after the 37 sheet says 10-bits of resolution, although you may find the lower bits 47 We offer GPIO features on the former VID pins. These are open-drain [all …]
|
H A D | lm85.rst | 79 - Philip Pokorny <ppokorny@penguincomputing.com>, 80 - Frodo Looijaard <frodol@dds.nl>, 81 - Richard Barrington <rich_b_nz@clear.net.nz>, 82 - Margit Schubert-While <margitsw@t-online.de>, 83 - Justin Thiessen <jthiessen@penguincomputing.com> 86 ----------- 92 The LM85 uses the 2-wire interface compatible with the SMBUS 2.0 94 temperatures and five (5) voltages. It has four (4) 16-bit counters for 118 corresponding high/low limit values. The LM85 will signal an ALARM if any 127 ---------------- [all …]
|
/linux/arch/arm/boot/dts/renesas/ |
H A D | r9a06g032.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 9 #include <dt-bindings/interrupt-controller/arm-gic.h> 10 #include <dt-bindings/clock/r9a06g032-sysctrl.h> 14 #address-cells = <1>; 15 #size-cells = <1>; 18 #address-cells = <1>; 19 #size-cells = <0>; 23 compatible = "arm,cortex-a7"; 30 compatible = "arm,cortex-a7"; 33 enable-method = "renesas,r9a06g032-smp"; [all …]
|
/linux/drivers/thermal/tegra/ |
H A D | soctherm.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2014 - 2018, NVIDIA CORPORATION. All rights reserved. 34 #include <dt-bindings/thermal/tegra124-soctherm.h> 197 #define REG_GET_MASK(r, m) (((r) & (m)) >> (ffs(m) - 1)) 200 (((v) & (m >> (ffs(m) - 1))) << (ffs(m) - 1))) 203 #define THROT_DEPTH_DIVIDEND(depth) ((256 * (100 - (depth)) / 100) - 1) 205 /* gk20a nv_therm interface N:3 Mapping. Levels defined in tegra124-soctherm.h 212 #define THROT_LEVEL_TO_DEPTH(level) ((0x1 << (level)) - 1) 229 (ALARM_OFFSET * (throt - THROTTLE_OC1))) 232 (ALARM_OFFSET * (throt - THROTTLE_OC1))) [all …]
|
/linux/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_type.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* Copyright(c) 1999 - 2024 Intel Corporation. */ 91 #define IXGBE_BY_MAC(_hw, r) ((_hw)->mvals[IXGBE_CAT(r, IDX)]) 281 (0x012300 + (((_i) - 24) * 4))) 285 #define IXGBE_IVAR(_i) (0x00900 + ((_i) * 4)) /* 24 at 0x900-0x960 */ 286 #define IXGBE_IVAR_MISC 0x00A00 /* misc MSI-X interrupt causes */ 288 #define IXGBE_MSIXT 0x00000 /* MSI-X Table. 0x0000 - 0x01C */ 289 #define IXGBE_MSIXPBA 0x02000 /* MSI-X Pending bit array */ 298 #define IXGBE_FCRTH_82599(_i) (0x03260 + ((_i) * 4)) /* 8 of these (0-7) */ 299 #define IXGBE_FCRTL_82599(_i) (0x03220 + ((_i) * 4)) /* 8 of these (0-7) */ [all …]
|
/linux/arch/riscv/boot/dts/sophgo/ |
H A D | cv180x.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 7 #include <dt-bindings/clock/sophgo,cv1800.h> 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include "cv18xx-reset.h" 13 #address-cells = <1>; 14 #size-cells = <1>; 17 compatible = "fixed-clock"; 18 clock-output-names = "osc_25m"; 19 #clock-cells = <0>; [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/net/ethernet/freescale/ |
H A D | fec_mpc52xx.c | 9 * Copyright (C) 2003-2004 MontaVista, Software, Inc. 19 #include <linux/dma-mapping.h> 53 #define DRIVER_NAME "mpc52xx-fec" 85 static int debug = -1; /* the above default */ 94 dev_warn(&dev->dev, "transmit timed out\n"); in mpc52xx_fec_tx_timeout() 96 spin_lock_irqsave(&priv->lock, flags); in mpc52xx_fec_tx_timeout() 98 dev->stats.tx_errors++; in mpc52xx_fec_tx_timeout() 99 spin_unlock_irqrestore(&priv->lock, flags); in mpc52xx_fec_tx_timeout() 107 struct mpc52xx_fec __iomem *fec = priv->fec; in mpc52xx_fec_set_paddr() 109 out_be32(&fec->paddr1, *(const u32 *)(&mac[0])); in mpc52xx_fec_set_paddr() [all …]
|
/linux/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt2500pci.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 Copyright (C) 2004 - 2009 Ivo van Doorn <IvDoorn@gmail.com> 36 * Default offset is required for RSSI <-> dBm conversion. 218 * KICK_DECRYPT: Kick decryption engine, self-clear. 228 * CSR11: Back-off control register. 229 * CWMIN: CWmin. Default cwmin is 31 (2^5 - 1). 230 * CWMAX: CWmax. Default cwmax is 1023 (2^10 - 1). 267 * TSF_SYNC: Tsf sync, 0: disable, 1: infra, 2: ad-hoc/master mode. 287 * CFP: ASIC is in contention-free period. 550 * ENABLE_CLK: Enable clk_run, pci clock can't going down to non-operational. [all …]
|
/linux/tools/perf/ |
H A D | builtin-record.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * builtin-record.c 6 * (or a CPU, or a PID) into the perf.data output file - for 11 #include "util/build-id.h" 12 #include <subcmd/parse-options.h> 14 #include "util/parse-events.h" 38 #include "util/parse-branch-options.h" 39 #include "util/parse-regs-options.h" 42 #include "util/perf-hooks.h" 43 #include "util/cpu-set-sched.h" [all …]
|
/linux/drivers/char/ |
H A D | tlclk.c | 62 /* FILTER SELECT */ 211 result = -EBUSY; in tlclk_open() 226 if (result == -EBUSY) in tlclk_open() 248 return -EIO; in tlclk_read() 250 return -EINTR; in tlclk_read() 256 return -EFAULT; in tlclk_read() 781 ret = -ENOMEM; in tlclk_init() 797 ret = -EBUSY; in tlclk_init() 802 printk(KERN_ERR "telclk_interrupt = 0x%x non-mcpbl0010 hw.\n", in tlclk_init() 804 ret = -ENXIO; in tlclk_init() [all …]
|
/linux/drivers/atm/ |
H A D | iphase.h | 29 Complete the ABR logic of the driver, and added the ABR work- 32 Add the flow control logic to the driver to allow rate-limit VC. 127 #define ATM_DESC(skb) (skb->protocol) 128 #define IA_SKB_STATE(skb) (skb->protocol) 177 #define NRMCODE 5 /* 0 - 7 */ 178 #define TRMCODE 3 /* 0 - 7 */ 180 #define ATDFCODE 2 /* 0 - 15 */ 182 /*---------------------- Packet/Cell Memory ------------------------*/ 183 #define TX_PACKET_RAM 0x00000 /* start of Trasnmit Packet memory - 0 */ 186 - descriptor 0 unused */ [all …]
|
/linux/drivers/net/ethernet/neterion/ |
H A D | s2io.c | 2 * s2io.c: A Linux PCI-X Ethernet driver for Neterion 10GbE Server NIC 3 * Copyright(c) 2002-2010 Exar Corp. 47 * Default is '2' - which means disable in promisc mode 48 * and enable in non-promiscuous mode. 60 #include <linux/dma-mapping.h> 78 #include <linux/io-64-nonatomic-lo-hi.h> 89 #include "s2io-regs.h" 104 ret = ((!(rxdp->Control_1 & RXD_OWN_XENA)) && in RXD_IS_UP2DT() 105 (GET_RXD_MARKER(rxdp->Control_2) != THE_RXD_MARK)); in RXD_IS_UP2DT() 125 return test_bit(__S2IO_STATE_CARD_UP, &sp->state); in is_s2io_card_up() [all …]
|