| /linux/Documentation/devicetree/bindings/net/wireless/ |
| H A D | qcom,ath10k.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeff Johnson <jjohnson@kernel.org> 18 - qcom,ath10k # SDIO-based devices 19 - qcom,ipq4019-wifi 20 - qcom,wcn3990-wifi # SNoC-based devices 25 reg-names: 27 - const: membase 33 interrupt-names: [all …]
|
| H A D | qcom,ath11k-pci.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/net/wireless/qcom,ath11k-pci.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Jeff Johnson <jjohnson@kernel.org> 19 - pci17cb,1101 # QCA6390 20 - pci17cb,1103 # WCN6855 25 qcom,calibration-variant: 28 string to uniquely identify variant of the calibration data for designs 31 qcom,ath11k-calibration-variant: [all …]
|
| H A D | qcom,ath12k-wsi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/net/wireless/qcom,ath12k-wsi.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Jeff Johnson <jjohnson@kernel.org> 23 multiple WSI-supported devices together, forming a WSI group. 28 +-------+ +-------+ +-------+ 31 +----->| wsi |------->| wsi |------->| wsi |-----+ 33 | +-------+ +-------+ +-------+ | 34 +------------------------------------------------------+ [all …]
|
| /linux/drivers/rtc/ |
| H A D | rtc-ab8500.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) ST-Ericsson SA 2010 69 /* Request a data read */ in ab8500_rtc_read_time() 135 /* Request a data write */ in ab8500_rtc_set_time() 154 alarm->enabled = 1; in ab8500_rtc_read_alarm() 156 alarm->enabled = 0; in ab8500_rtc_read_alarm() 158 alarm->pending = 0; in ab8500_rtc_read_alarm() 171 rtc_time64_to_tm(secs, &alarm->time); in ab8500_rtc_read_alarm() 189 mins = (unsigned long)rtc_tm_to_time64(&alarm->time) / 60; in ab8500_rtc_set_alarm() 203 return ab8500_rtc_irq_enable(dev, alarm->enabled); in ab8500_rtc_set_alarm() [all …]
|
| H A D | rtc-tps6594.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2023 BayLibre Incorporated - https://www.baylibre.com/ 26 #define NUM_TIME_REGS (TPS6594_REG_RTC_WEEKS - TPS6594_REG_RTC_SECONDS + 1) 29 #define NUM_TIME_ALARM_REGS (NUM_TIME_REGS - 1) 33 * After conversion, the values do not exceed the range [-32767, 33767] 36 #define MIN_OFFSET (-277774) 53 struct tps6594 *tps = dev_get_drvdata(dev->parent); in tps6594_rtc_alarm_irq_enable() 58 return regmap_update_bits(tps->regmap, TPS6594_REG_RTC_INTERRUPTS, in tps6594_rtc_alarm_irq_enable() 69 * an up-to-date timestamp. in tps6594_rtc_shadow_timestamp() 71 ret = regmap_clear_bits(tps->regmap, TPS6594_REG_RTC_CTRL_1, in tps6594_rtc_shadow_timestamp() [all …]
|
| /linux/drivers/thermal/ |
| H A D | amlogic_thermal.c | 1 // SPDX-License-Identifier: GPL-2.0+ 10 * U = ---------, uptat = --------- 13 * Temperature = A * ( uptat + u_efuse / 2^16 )- B 15 * A B m n : calibration parameters 16 * u_efuse : fused calibration value, it's a signed 16 bits value 68 * @A: calibration parameters 69 * @B: calibration parameters 70 * @m: calibration parameters 71 * @n: calibration parameters 84 * @u_efuse_off: register offset to read fused calibration value [all …]
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-driver-hid-wiimote | 24 Starting with kernel-version 3.11 Motion Plus hotplugging is 26 extension. You will get uevent notifications for the motion-plus 40 Other strings for each device-type are available and may be 41 added if new device-specific detections are added. 56 balance board. It provides a single line with 3 calibration 63 Calibration data is already applied by the kernel to all input 64 values but may be used by user-space to perform other 72 pro-controller. It provides a single line with 4 calibration 73 values for all 4 analog sticks. Format is: "x1:y1 x2:y2". Data 74 is prefixed with a +/-. Each value is a signed 16bit number. [all …]
|
| H A D | sysfs-bus-iio-bno055 | 3 Contact: linux-iio@vger.kernel.org 12 Contact: linux-iio@vger.kernel.org 21 Contact: linux-iio@vger.kernel.org 27 Contact: linux-iio@vger.kernel.org 33 Contact: linux-iio@vger.kernel.org 36 Calibration" HW function. 40 Contact: linux-iio@vger.kernel.org 47 Contact: linux-iio@vger.kernel.org 49 Reports the binary calibration data blob for the IMU sensors. 53 Contact: linux-iio@vger.kernel.org [all …]
|
| /linux/Documentation/devicetree/bindings/soc/mediatek/ |
| H A D | mtk-svs.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/soc/mediatek/mtk-svs.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Roger Lu <roger.lu@mediatek.com> 11 - Matthias Brugger <matthias.bgg@gmail.com> 12 - Kevin Hilman <khilman@kernel.org> 24 - mediatek,mt8183-svs 25 - mediatek,mt8186-svs 26 - mediatek,mt8188-svs [all …]
|
| /linux/Documentation/sound/codecs/ |
| H A D | cs35l56.rst | 1 .. SPDX-License-Identifier: GPL-2.0-only 14 The high-level summary of this document is: 30 --------------------------------- 52 Firmware is distributed in the linux-firmware repository: 53 https://gitlab.com/kernel-firmware/linux-firmware.git 72 --------------------------- 79 firmware files in linux-firmware for these amplifiers. Firmware files are 82 Cirrus Logic submits files for known laptops to the upstream linux-firmware 85 to linux-firmware. You may need to upgrade to a newer release of 86 linux-firmware to obtain the firmware for your laptop. [all …]
|
| /linux/Documentation/hwmon/ |
| H A D | ina209.rst | 6 * Burr-Brown / Texas Instruments INA209 10 Addresses scanned: - 16 - Paul Hays <Paul.Hays@cattail.ca> 17 - Ira W. Snyder <iws@ovro.caltech.edu> 18 - Guenter Roeck <linux@roeck-us.net> 22 ----------- 24 The TI / Burr-Brown INA209 monitors voltage, current, and power on the high side 27 calibration multiplier to scale the displayed current and power values. 31 ------------- 76 update_interval data conversion time; affects number of samples used [all …]
|
| /linux/drivers/comedi/drivers/ |
| H A D | jr3_pci.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 28 * The raw data is stored in a format which facilitates rapid 30 * format for a single channel of data. Each channel takes four, 31 * two-byte words. 38 * Raw_data is the raw data received directly from the sensor. The 39 * sensor data stream is capable of representing 16 different 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 55 * filtered force data. 139 * was detected in the on-board RAM during the power-up [all …]
|
| H A D | cb_pcidda.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * Driver for the ComputerBoards / MeasurementComputing PCI-DDA series. 9 * COMEDI - Linux Control and Measurement Device Interface 10 * Copyright (C) 1997-8 David A. Schleef <ds@schleef.org> 15 * Description: MeasurementComputing PCI-DDA series 16 * Devices: [Measurement Computing] PCI-DDA08/12 (pci-dda08/12), 17 * PCI-DDA04/12 (pci-dda04/12), PCI-DDA02/12 (pci-dda02/12), 18 * PCI-DDA08/16 (pci-dda08/16), PCI-DDA04/16 (pci-dda04/16), 19 * PCI-DDA02/16 (pci-dda02/16) 51 #define DACALIBRATION1 4 /* D/A CALIBRATION REGISTER 1 */ [all …]
|
| H A D | adv_pci1724.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * Comedi driver for the Advantech PCI-1724U card. 9 * COMEDI - Linux Control and Measurement Device Interface 10 * Copyright (C) 1997-8 David A. Schleef <ds@schleef.org> 15 * Description: Advantech PCI-1724U 16 * Devices: [Advantech] PCI-1724U (adv_pci1724) 18 * Updated: 2013-02-09 24 * Subdevice 1 is the offset calibration for the analog output. 25 * Subdevice 2 is the gain calibration for the analog output. 27 * The calibration offset and gains have quite a large effect on the [all …]
|
| /linux/drivers/iio/chemical/ |
| H A D | sunrise_co2.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Senseair Sunrise 006-0-0007 CO2 sensor driver. 8 * - controllable EN pin 9 * - single-shot operations using the nDRY pin. 10 * - ABC/target calibration 34 * The calibration timeout is not characterized in the datasheet. 54 union i2c_smbus_data data = { }; in sunrise_regmap_read() local 58 return -EINVAL; in sunrise_regmap_read() 60 data.block[0] = val_size; in sunrise_regmap_read() 69 __i2c_smbus_xfer(client->adapter, client->addr, in sunrise_regmap_read() [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> 15 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 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) [all …]
|
| /linux/drivers/power/supply/ |
| H A D | twl4030_madc_battery.c | 1 // SPDX-License-Identifier: GPL-2.0-only 57 return (madc_read(bt->channel_ichg) > 0) ? 1 : 0; in twl4030_madc_bat_get_charging_status() 62 return madc_read(bt->channel_vbat); in twl4030_madc_bat_get_voltage() 67 return madc_read(bt->channel_ichg) * 1000; in twl4030_madc_bat_get_current() 72 return madc_read(bt->channel_temp) * 10; in twl4030_madc_bat_get_temp() 78 struct twl4030_madc_bat_calibration *calibration; in twl4030_madc_bat_voltscale() local 83 calibration = bat->pdata->charging; in twl4030_madc_bat_voltscale() 85 calibration = bat->pdata->discharging; in twl4030_madc_bat_voltscale() 87 if (volt > calibration[0].voltage) { in twl4030_madc_bat_voltscale() 88 res = calibration[0].level; in twl4030_madc_bat_voltscale() [all …]
|
| /linux/drivers/thermal/st/ |
| H A D | st_thermal.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Copyright (C) 2003-2014 STMicroelectronics (R&D) Limited 26 struct device *dev = sensor->dev; in st_thermal_alloc_regfields() 27 struct regmap *regmap = sensor->regmap; in st_thermal_alloc_regfields() 28 const struct reg_field *reg_fields = sensor->cdata->reg_fields; in st_thermal_alloc_regfields() 30 sensor->dcorrect = devm_regmap_field_alloc(dev, regmap, in st_thermal_alloc_regfields() 33 sensor->overflow = devm_regmap_field_alloc(dev, regmap, in st_thermal_alloc_regfields() 36 sensor->temp_data = devm_regmap_field_alloc(dev, regmap, in st_thermal_alloc_regfields() 37 reg_fields[DATA]); in st_thermal_alloc_regfields() 39 if (IS_ERR(sensor->dcorrect) || in st_thermal_alloc_regfields() [all …]
|
| /linux/drivers/thermal/mediatek/ |
| H A D | auxadc_thermal.c | 1 // SPDX-License-Identifier: GPL-2.0-only 15 #include <linux/nvmem-consumer.h> 115 /* The calibration coefficient of sensor */ 119 #define MT8173_TEMP_MIN -20000 123 * Layout of the fuses providing the calibration data 125 * MT8183 has 6 sensors and needs 6 VTS calibration data. 126 * MT8173 has 5 sensors and needs 5 VTS calibration data. 127 * MT2701 has 3 sensors and needs 3 VTS calibration data. 128 * MT2712 has 4 sensors and needs 4 VTS calibration data. 144 * Layout of the fuses providing the calibration data [all …]
|
| /linux/sound/hda/codecs/side-codecs/ |
| H A D | tas2781_hda.c | 1 // SPDX-License-Identifier: GPL-2.0 7 // Author: Shenghao Ding <shenghao-ding@ti.com> 37 * The order of calibrated-data writing function is a bit different from the 38 * order in UEFI. Here is the conversion to match the order of calibrated-data 41 static void cali_cnv(unsigned char *data, unsigned int base, int offset) in cali_cnv() argument 45 memcpy(®_data, &data[base], sizeof(reg_data)); in cali_cnv() 46 /* the data order has to be swapped between r0_low_reg and inv0_reg */ in cali_cnv() 49 cpu_to_be32_array((__force __be32 *)(data + offset + 1), in cali_cnv() 55 struct calidata *cali_data = &p->cali_data; in tas2781_apply_calib() 56 struct cali_reg *r = &cali_data->cali_reg_array; in tas2781_apply_calib() [all …]
|
| /linux/drivers/phy/marvell/ |
| H A D | phy-mvebu-a3700-utmi.c | 1 // SPDX-License-Identifier: GPL-2.0 59 * struct mvebu_a3700_utmi_caps - PHY capabilities 62 * - The UTMI PHY wired to the USB3/USB2 controller (otg) 63 * - The UTMI PHY wired to the USB2 controller (host only) 72 * struct mvebu_a3700_utmi - PHY driver data 89 struct device *dev = &phy->dev; in mvebu_a3700_utmi_phy_power_on() 90 int usb32 = utmi->caps->usb32; in mvebu_a3700_utmi_phy_power_on() 98 reg = readl(utmi->regs + USB2_PHY_PLL_CTRL_REG0); in mvebu_a3700_utmi_phy_power_on() 102 writel(reg, utmi->regs + USB2_PHY_PLL_CTRL_REG0); in mvebu_a3700_utmi_phy_power_on() 105 regmap_update_bits(utmi->usb_misc, USB2_PHY_CTRL(usb32), in mvebu_a3700_utmi_phy_power_on() [all …]
|
| /linux/drivers/hid/ |
| H A D | hid-playstation.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (c) 2020-2022 Sony Interactive Entertainment 17 #include <linux/led-class-multicolor.h> 22 #include "hid-ids.h" 55 int (*parse_report)(struct ps_device *dev, struct hid_report *report, u8 *data, int size); 59 /* Calibration data for playstation motion sensors. */ 131 * and any associated data is then invalid. 184 /* Calibration data for accelerometer and gyroscope. */ 188 /* Timestamp for sensor data */ 258 static_assert(sizeof(struct dualsense_input_report) == DS_INPUT_REPORT_USB_SIZE - 1); [all …]
|
| /linux/drivers/phy/ |
| H A D | phy-xgene.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * AppliedMicro X-Gene Multi-purpose PHY driver 10 * The APM X-Gene PHY consists of two PLL clock macro's (CMU) and lanes. 19 * ----------------- 20 * | Internal | |------| 21 * | Ref PLL CMU |----| | ------------- --------- 22 * ------------ ---- | MUX |-----|PHY PLL CMU|----| Serdes| 23 * | | | | --------- 24 * External Clock ------| | ------------- 25 * |------| [all …]
|
| /linux/Documentation/devicetree/bindings/phy/ |
| H A D | mediatek,dsi-phy.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/phy/mediatek,dsi-phy.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Chun-Kuang Hu <chunkuang.hu@kernel.org> 12 - Philipp Zabel <p.zabel@pengutronix.de> 13 - Chunfeng Yun <chunfeng.yun@mediatek.com> 15 description: The MIPI DSI PHY supports up to 4-lane output. 19 pattern: "^dsi-phy@[0-9a-f]+$" 23 - items: [all …]
|
| /linux/Documentation/devicetree/bindings/thermal/ |
| H A D | mediatek,thermal.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Mediatek thermal controller for on-SoC temperatures 10 - Sascha Hauer <s.hauer@pengutronix.de> 19 - $ref: thermal-sensor.yaml# 24 - enum: 25 - mediatek,mt2701-thermal 26 - mediatek,mt2712-thermal 27 - mediatek,mt7622-thermal [all …]
|