| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/adc/ |
| D | st,stm32-adc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: "http://devicetree.org/schemas/iio/adc/st,stm32-adc.yaml#" 5 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 10 STM32 ADC is a successive approximation analog-to-digital converter. 13 stored in a left-aligned or right-aligned 32-bit data register. 17 voltage goes beyond the user-defined, higher or lower thresholds. 22 - Fabrice Gasnier <fabrice.gasnier@st.com> 27 - st,stm32f4-adc-core 28 - st,stm32h7-adc-core [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/iio/adc/ |
| D | st,stm32-adc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/st,stm32-adc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 STM32 ADC is a successive approximation analog-to-digital converter. 13 stored in a left-aligned or right-aligned 32-bit data register. 17 voltage goes beyond the user-defined, higher or lower thresholds. 22 - Fabrice Gasnier <fabrice.gasnier@foss.st.com> 27 - st,stm32f4-adc-core 28 - st,stm32h7-adc-core [all …]
|
| /kernel/linux/linux-5.10/include/sound/ac97/ |
| D | regs.h | 1 /* SPDX-License-Identifier: GPL-2.0+ 33 /* range 0x28-0x3a - AUDIO AC'97 2.0 extensions */ 44 /* range 0x3c-0x58 - MODEM */ 59 /* range 0x5a-0x7b - Vendor Specific */ 62 /* range 0x60-0x6f (page 1) - extended codec registers */ 108 #define AC97_BC_16BIT_DAC 0x0000 /* 16-bit DAC resolution */ 109 #define AC97_BC_18BIT_DAC 0x0040 /* 18-bit DAC resolution */ 110 #define AC97_BC_20BIT_DAC 0x0080 /* 20-bit DAC resolution */ 112 #define AC97_BC_16BIT_ADC 0x0000 /* 16-bit ADC resolution */ 113 #define AC97_BC_18BIT_ADC 0x0100 /* 18-bit ADC resolution */ [all …]
|
| /kernel/linux/linux-6.6/include/sound/ac97/ |
| D | regs.h | 1 /* SPDX-License-Identifier: GPL-2.0+ 33 /* range 0x28-0x3a - AUDIO AC'97 2.0 extensions */ 44 /* range 0x3c-0x58 - MODEM */ 59 /* range 0x5a-0x7b - Vendor Specific */ 62 /* range 0x60-0x6f (page 1) - extended codec registers */ 108 #define AC97_BC_16BIT_DAC 0x0000 /* 16-bit DAC resolution */ 109 #define AC97_BC_18BIT_DAC 0x0040 /* 18-bit DAC resolution */ 110 #define AC97_BC_20BIT_DAC 0x0080 /* 20-bit DAC resolution */ 112 #define AC97_BC_16BIT_ADC 0x0000 /* 16-bit ADC resolution */ 113 #define AC97_BC_18BIT_ADC 0x0100 /* 18-bit ADC resolution */ [all …]
|
| /kernel/linux/linux-6.6/include/uapi/linux/ |
| D | input.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 3 * Copyright (c) 1999-2002 Vojtech Pavlik 20 #include "input-event-codes.h" 56 * IOCTLs (0x00 - 0x7f) 67 * struct input_absinfo - used by EVIOCGABS/EVIOCSABS ioctls 75 * @resolution: specifies resolution for the values reported for 81 * The default resolution for main axes (ABS_X, ABS_Y, ABS_Z, 83 * per millimeter (units/mm), resolution for rotational axes 85 * The resolution for the size axes (ABS_MT_TOUCH_MAJOR, 88 * When INPUT_PROP_ACCELEROMETER is set the resolution changes. [all …]
|
| /kernel/linux/linux-5.10/include/uapi/linux/ |
| D | input.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 3 * Copyright (c) 1999-2002 Vojtech Pavlik 20 #include "input-event-codes.h" 56 * IOCTLs (0x00 - 0x7f) 67 * struct input_absinfo - used by EVIOCGABS/EVIOCSABS ioctls 75 * @resolution: specifies resolution for the values reported for 81 * The default resolution for main axes (ABS_X, ABS_Y, ABS_Z) 82 * is reported in units per millimeter (units/mm), resolution 85 * When INPUT_PROP_ACCELEROMETER is set the resolution changes. 96 __s32 resolution; member [all …]
|
| /kernel/linux/linux-6.6/include/sound/ |
| D | ac97_codec.h | 1 /* SPDX-License-Identifier: GPL-2.0+ 24 /* specific - SigmaTel */ 33 #define AC97_SIGMATEL_MULTICHN 0x74 /* Multi-Channel programming */ 37 /* specific - Analog Devices */ 44 #define AC97_AD_MISC 0x76 /* Misc Control Bits */ 47 /* specific - Cirrus Logic */ 56 /* specific - Conexant */ 64 /* specific - ALC */ 83 #define AC97_ALC650_SPSR_MASK 0x0f00 /* S/PDIF Sample Rate bits */ 106 /* specific - Yamaha YMF7x3 */ [all …]
|
| /kernel/linux/linux-5.10/include/sound/ |
| D | ac97_codec.h | 1 /* SPDX-License-Identifier: GPL-2.0+ 24 /* specific - SigmaTel */ 33 #define AC97_SIGMATEL_MULTICHN 0x74 /* Multi-Channel programming */ 37 /* specific - Analog Devices */ 44 #define AC97_AD_MISC 0x76 /* Misc Control Bits */ 47 /* specific - Cirrus Logic */ 56 /* specific - Conexant */ 64 /* specific - ALC */ 83 #define AC97_ALC650_SPSR_MASK 0x0f00 /* S/PDIF Sample Rate bits */ 106 /* specific - Yamaha YMF7x3 */ [all …]
|
| /kernel/linux/linux-5.10/Documentation/input/devices/ |
| 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 14 resolution. 17 keyswitches, mouse resolution, etc. can be accommodated. 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 55 The mouse port should be capable of supporting a mouse with resolution of 67 --------------------------- 72 settable threshold of motion. Regardless of the threshold, all bits of [all …]
|
| /kernel/linux/linux-6.6/Documentation/input/devices/ |
| 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 14 resolution. 17 keyswitches, mouse resolution, etc. can be accommodated. 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 55 The mouse port should be capable of supporting a mouse with resolution of 67 --------------------------- 72 settable threshold of motion. Regardless of the threshold, all bits of [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/ |
| D | ia_css_frame_public.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 20 * This file contains structs to describe various frame-formats supported by the ISP. 72 /* Container for semi-planar YUV frames. 87 /* Container for 6-plane frames. These frames are used internally 93 struct ia_css_frame_plane gr; /** Red-green plane */ 94 struct ia_css_frame_plane gb; /** Blue-green plane */ 99 /* Crop info struct - stores the lines to be cropped in isp */ 111 struct ia_css_resolution res; /** Frame resolution (valid data) */ 114 unsigned int raw_bit_depth; /** number of valid bits per pixel, 154 * -1 if data address is static during life time of pipeline [all …]
|
| /kernel/linux/linux-5.10/Documentation/i2c/ |
| D | smbus-protocol.rst | 42 Addr (7 bits) I2C 7 bit address. Note that this can be expanded as usual to 44 Comm (8 bits) Command byte, a data byte which often selects a register on 46 Data (8 bits) A plain data byte. Sometimes, I write DataLow, DataHigh 48 Count (8 bits) A data byte containing the length of a block operation. 115 byte. But this time, the data is a complete word (16 bits):: 147 This is the opposite of the Read Word operation. 16 bits 164 16 bits of data to it, and reads 16 bits of data in return:: 205 SMBus Block Write - Block Read Process Call 208 SMBus Block Write - Block Read Process Call was introduced in 239 client->irq assigned to a Host Notify IRQ if noone else specified an other. [all …]
|
| /kernel/linux/linux-6.6/Documentation/i2c/ |
| D | smbus-protocol.rst | 44 Addr (7 bits) I2C 7 bit address. Note that this can be expanded to 46 Comm (8 bits) Command byte, a data byte which often selects a register on 48 Data (8 bits) A plain data byte. DataLow and DataHigh represent the low and 50 Count (8 bits) A data byte containing the length of a block operation. 117 byte. But this time, the data is a complete word (16 bits):: 149 This is the opposite of the Read Word operation. 16 bits 166 16 bits of data to it, and reads 16 bits of data in return:: 207 SMBus Block Write - Block Read Process Call 210 SMBus Block Write - Block Read Process Call was introduced in 241 client->irq assigned to a Host Notify IRQ if no one else specified another. [all …]
|
| /kernel/linux/linux-5.10/Documentation/hwmon/ |
| 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 27 specification. First enhancement is temperature reading resolution. We 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 [all …]
|
| /kernel/linux/linux-6.6/Documentation/hwmon/ |
| 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 27 specification. First enhancement is temperature reading resolution. We 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 [all …]
|
| /kernel/linux/linux-5.10/drivers/video/fbdev/ |
| D | efifb.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * (c) 2006 Edgar Hucek <gimli@dark-green.com> 6 * Original efi driver written by Gerd Knorr <kraxel@goldbach.in-berlin.de> 12 #include <linux/efi-bgrt.h> 51 .height = -1, 52 .width = -1, 78 if (regno >= info->cmap.len) in efifb_setcolreg() 82 red >>= 16 - info->var.red.length; in efifb_setcolreg() 83 green >>= 16 - info->var.green.length; in efifb_setcolreg() 84 blue >>= 16 - info->var.blue.length; in efifb_setcolreg() [all …]
|
| /kernel/linux/linux-6.6/drivers/video/fbdev/ |
| D | efifb.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * (c) 2006 Edgar Hucek <gimli@dark-green.com> 6 * Original efi driver written by Gerd Knorr <kraxel@goldbach.in-berlin.de> 13 #include <linux/efi-bgrt.h> 61 .height = -1, 62 .width = -1, 88 if (regno >= info->cmap.len) in efifb_setcolreg() 92 red >>= 16 - info->var.red.length; in efifb_setcolreg() 93 green >>= 16 - info->var.green.length; in efifb_setcolreg() 94 blue >>= 16 - info->var.blue.length; in efifb_setcolreg() [all …]
|
| /kernel/linux/linux-5.10/drivers/iio/temperature/ |
| D | ltc2983.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Analog Devices LTC2983 Multi-Sensor Digital Temperature Measurement System 42 (((chan - 1) * 4) + LTC2983_CHAN_ASSIGN_START_REG) 44 (((chan - 1) * 4) + LTC2983_TEMP_RES_START_REG) 273 * the number of integer and fractional bits are specified. The resolution 274 * is given by 1/@resolution and tell us the number of fractional bits. For 275 * instance a resolution of 2^-10 means we have 10 fractional bits. 277 static u32 __convert_to_raw(const u64 val, const u32 resolution) in __convert_to_raw() argument 279 u64 __res = val * resolution; in __convert_to_raw() 287 static u32 __convert_to_raw_sign(const u64 val, const u32 resolution) in __convert_to_raw_sign() argument [all …]
|
| /kernel/linux/linux-6.6/include/linux/ |
| D | scmi_protocol.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2018-2021 ARM Ltd. 21 * struct scmi_revision_info - version information structure 30 * @impl_ver: A vendor-specific implementation version. 32 * @sub_vendor_id: A sub-vendor identifier(Null terminated ASCII string) 74 * struct scmi_clk_proto_ops - represents the various operations provided 106 * struct scmi_perf_proto_ops - represents the various operations provided 158 * struct scmi_power_proto_ops - represents the various operations provided 171 #define SCMI_POWER_STATE_ID_MASK (BIT(28) - 1) 184 * struct scmi_sensor_reading - represent a timestamped read [all …]
|
| /kernel/linux/linux-6.6/drivers/iio/temperature/ |
| D | ltc2983.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Analog Devices LTC2983 Multi-Sensor Digital Temperature Measurement System 57 (((chan - 1) * 4) + LTC2983_CHAN_ASSIGN_START_REG) 59 (((chan - 1) * 4) + LTC2983_TEMP_RES_START_REG) 306 * the number of integer and fractional bits are specified. The resolution 307 * is given by 1/@resolution and tell us the number of fractional bits. For 308 * instance a resolution of 2^-10 means we have 10 fractional bits. 310 static u32 __convert_to_raw(const u64 val, const u32 resolution) in __convert_to_raw() argument 312 u64 __res = val * resolution; in __convert_to_raw() 320 static u32 __convert_to_raw_sign(const u64 val, const u32 resolution) in __convert_to_raw_sign() argument [all …]
|
| /kernel/linux/linux-5.10/drivers/media/i2c/m5mols/ |
| D | m5mols_core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Driver for M-5MOLS 8M Pixel camera sensor with ISP 21 #include <media/v4l2-ctrls.h> 22 #include <media/v4l2-device.h> 23 #include <media/v4l2-subdev.h> 71 { 0x01, M5MOLS_RESTYPE_MONITOR, 128, 96 }, /* SUB-QCIF */ 100 { 0x19, M5MOLS_RESTYPE_CAPTURE, 1920, 1080 }, /* Full-HD */ 112 * m5mols_swap_byte - an byte array to integer conversion function 114 * @length: size in bytes of I2C packet defined in the M-5MOLS datasheet 131 * m5mols_read - I2C read function [all …]
|
| /kernel/linux/linux-6.6/Documentation/watchdog/ |
| D | watchdog-kernel-api.rst | 5 Last reviewed: 12-Feb-2013 10 ------------ 14 file: Documentation/watchdog/watchdog-api.rst . 24 ------- 82 * gov: a pointer to the assigned watchdog device pretimeout governor or NULL. 91 'timeout'. Not used if max_hw_heartbeat_ms is non-zero. 93 in milli-seconds. This value is normally 0; it should only be provided 95 * max_hw_heartbeat_ms: Maximum hardware heartbeat, in milli-seconds. 106 should define ops->restart. Priority can be changed through 109 WDIOF_* status bits). [all …]
|
| /kernel/linux/linux-5.10/Documentation/watchdog/ |
| D | watchdog-kernel-api.rst | 5 Last reviewed: 12-Feb-2013 10 ------------ 14 file: Documentation/watchdog/watchdog-api.rst . 24 ------- 82 * gov: a pointer to the assigned watchdog device pretimeout governor or NULL. 91 'timeout'. Not used if max_hw_heartbeat_ms is non-zero. 93 in milli-seconds. This value is normally 0; it should only be provided 95 * max_hw_heartbeat_ms: Maximum hardware heartbeat, in milli-seconds. 106 should define ops->restart. Priority can be changed through 109 WDIOF_* status bits). [all …]
|
| /kernel/linux/linux-5.10/Documentation/admin-guide/ |
| D | ras.rst | 33 ------------- 47 Self-Monitoring, Analysis and Reporting Technology (SMART). 55 --------------- 68 * **Correctable Error (CE)** - the error detection mechanism detected and 72 * **Uncorrected Error (UE)** - the amount of errors happened above the error 73 correction threshold, and the system was unable to auto-correct. 75 * **Fatal Error** - when an UE error happens on a critical component of the 79 * **Non-fatal Error** - when an UE error happens on an unused component, 87 The mechanism for handling non-fatal errors is usually complex and may 92 ------------------------------------ [all …]
|
| /kernel/linux/linux-6.6/Documentation/admin-guide/ |
| D | ras.rst | 33 ------------- 47 Self-Monitoring, Analysis and Reporting Technology (SMART). 55 --------------- 68 * **Correctable Error (CE)** - the error detection mechanism detected and 72 * **Uncorrected Error (UE)** - the amount of errors happened above the error 73 correction threshold, and the system was unable to auto-correct. 75 * **Fatal Error** - when an UE error happens on a critical component of the 79 * **Non-fatal Error** - when an UE error happens on an unused component, 87 The mechanism for handling non-fatal errors is usually complex and may 92 ------------------------------------ [all …]
|