/linux/Documentation/driver-api/thermal/ |
H A D | exynos_thermal.rst | 15 --------------------------- 17 This driver allows to read temperature inside Samsung Exynos4/5 series of SoC. 19 The chip only exposes the measured 8-bit temperature code value 21 Temperature can be taken from the temperature code. 22 There are three equations converting from temperature to temperature code. 27 Tc = (T - 25) * (TI2 - TI1) / (85 - 25) + TI1 31 Tc = T + TI1 - 25 38 Temperature code, T: Temperature, 40 Trimming info for 25 degree Celsius (stored at TRIMINFO register) 41 Temperature code measured at 25 degree Celsius which is unchanged [all …]
|
/linux/Documentation/hwmon/ |
H A D | bt1-pvt.rst | 1 .. SPDX-License-Identifier: GPL-2.0-only 3 Kernel driver bt1-pvt 8 * Baikal-T1 PVT sensor (in SoC) 10 Prefix: 'bt1-pvt' 12 Addresses scanned: - 21 ----------- 24 embedded into Baikal-T1 process, voltage and temperature sensors. PVT IP-core 25 consists of one temperature and four voltage sensors, which can be used to 26 monitor the chip internal environment like heating, supply voltage and 29 compile-time configurable due to the hardware interface implementation [all …]
|
H A D | vt1211.rst | 10 Addresses scanned: none, address read from Super-I/O config space 24 ----------------- 29 configuration for channels 1-5. 30 Legal values are in the range of 0-31. Bit 0 maps to 36 Override the BIOS default temperature interrupt mode. 40 long as the temperature stays above the hysteresis 47 ----------- 49 The VIA VT1211 Super-I/O chip includes complete hardware monitoring 50 capabilities. It monitors 2 dedicated temperature sensor inputs (temp1 and 51 temp2), 1 dedicated voltage (in5) and 2 fans. Additionally, the chip [all …]
|
H A D | w83781d.rst | 10 Addresses scanned: I2C 0x28 - 0x2f, ISA 0x290 (8 I/O ports) 12 Datasheet: http://www.winbond-usa.com/products/winbond_products/pdfs/PCIC/w83781d.pdf 18 Addresses scanned: I2C 0x28 - 0x2f, ISA 0x290 (8 I/O ports) 28 Datasheet: http://www.winbond-usa.com/products/winbond_products/pdfs/PCIC/w83783s.pdf 34 Addresses scanned: I2C 0x28 - 0x2f 42 - Frodo Looijaard <frodol@dds.nl>, 43 - Philip Edelbrock <phil@netroedge.com>, 44 - Mark Studebaker <mdsxyz123@yahoo.com> 47 ----------------- 52 Use 'init=0' to bypass initializing the chip. [all …]
|
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 8 This makes adding or updating support for any given chip very easy, as 10 This is a major improvement compared to lm-sensors 2. 14 temperature sensor is connected to the CPU, or that the second fan is on 22 For this reason, even if we aim at a chip-independent libsensors, it will 33 Each chip gets its own directory in the sysfs /sys/devices tree. To 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 48 types for sensor chips are "in" (voltage), "temp" (temperature) and [all …]
|
/linux/Documentation/devicetree/bindings/power/supply/ |
H A D | summit,smb347-charger.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/power/supply/summit,smb347-charger.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - David Heidelberg <david@ixit.cz> 11 - Dmitry Osipenko <digetx@gmail.com> 16 - summit,smb345 17 - summit,smb347 18 - summit,smb358 26 monitored-battery: [all …]
|
H A D | battery.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sebastian Reichel <sre@kernel.org> 14 In smart batteries, these are typically stored in non-volatile memory 15 on a fuel gauge chip. The battery node should be used where there is 16 no appropriate non-volatile memory, or it is unprogrammed/incorrect. 27 Batteries must be referenced by chargers and/or fuel-gauges using a phandle. 28 The phandle's property should be named "monitored-battery". 32 const: simple-battery [all …]
|
/linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
H A D | tt.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright(c) 2007 - 2014 Intel Corporation. All rights reserved. 16 #include "iwl-io.h" 17 #include "iwl-modparams.h" 18 #include "iwl-debug.h" 28 *----------------------------------------------------------------------------- 35 static const struct iwl_tt_trans tt_range_0[IWL_TI_STATE_MAX - 1] = { 37 {IWL_TI_1, 105, CT_KILL_THRESHOLD - 1}, 40 static const struct iwl_tt_trans tt_range_1[IWL_TI_STATE_MAX - 1] = { 42 {IWL_TI_2, 110, CT_KILL_THRESHOLD - 1}, [all …]
|
/linux/drivers/hwmon/ |
H A D | drivetemp.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Hwmon client for disk and solid state drives with temperature sensors 7 * Hwmon client for S.M.A.R.T. hard disk drives with temperature sensors. 10 * hwmon: Driver for SCSI/ATA temperature sensors 13 * This drive supports reporting the temperature of SATA drives. It can be 14 * easily extended to report the temperature of SCSI drives. 16 * The primary means to read drive temperatures and temperature limits 18 * ATA8-ACS. 19 * It can be used to read the current drive temperature, temperature limits, 21 * feature set is documented in "AT Attachment 8 - ATA/ATAPI Command Set [all …]
|
H A D | bt1-pvt.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 * Baikal-T1 Process, Voltage, Temperature sensor driver 18 #include <linux/hwmon-sysfs.h> 34 #include "bt1-pvt.h" 38 * with the sensor names, activation modes, threshold registers base address 42 PVT_SENSOR_INFO(0, "CPU Core Temperature", hwmon_temp, TEMP, TTHRES), 44 PVT_SENSOR_INFO(1, "CPU Core Low-Vt", hwmon_in, LVT, LTHRES), 45 PVT_SENSOR_INFO(2, "CPU Core High-Vt", hwmon_in, HVT, HTHRES), 46 PVT_SENSOR_INFO(3, "CPU Core Standard-Vt", hwmon_in, SVT, STHRES), 50 * The original translation formulae of the temperature (in degrees of Celsius) [all …]
|
/linux/Documentation/power/ |
H A D | power_supply_class.rst | 8 properties to user-space. 52 µA, µAh, µWh, seconds and tenths of degree Celsius unless otherwise 60 +--------------------------------------------------------------------------+ 61 | **Charge/Energy/Capacity - how to not confuse** | 62 +--------------------------------------------------------------------------+ 66 | - `CHARGE_*` | 68 | - `ENERGY_*` | 70 | - `CAPACITY` | 72 +--------------------------------------------------------------------------+ 133 considered full/empty at given conditions (temperature, age)". [all …]
|
/linux/drivers/sbus/char/ |
H A D | bbc_envctrl.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* bbc_envctrl.c: UltraSPARC-III environment control driver. 26 /* Two temperature sensors exist in the SunBLADE-1000 enclosure. 29 * for the ambient temperature. 31 * The max1617 is capable of being programmed with power-off 32 * temperature values, one low limit and one high limit. These 33 * can be controlled independently for the cpu or ambient temperature. 35 * with which the max1617 does temperature sampling can be controlled 44 * disabled/enabled when entering/exiting the lowest power-saving 48 * temperature sensors. Based upon the samples it will adjust the [all …]
|
/linux/arch/arm/boot/dts/qcom/ |
H A D | qcom-apq8026-samsung-milletwifi.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 7 /dts-v1/; 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/power/summit,smb347-charger.h> 11 #include "qcom-msm8226.dtsi" 14 /delete-node/ &adsp_region; 15 /delete-node/ &smem_region; 18 model = "Samsung Galaxy Tab 4 8.0 Wi-Fi"; 20 chassis-type = "tablet"; 29 #address-cells = <1>; [all …]
|
/linux/drivers/platform/x86/ |
H A D | hdaps.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * hdaps.c - driver for IBM's Hard Drive Active Protection System 9 * starting with the R40, T41, and X40. It provides a basic two-axis 10 * accelerometer and other data, such as the device's temperature. 31 #define HDAPS_NR_PORTS 0x30 /* number of ports: 0x1600 - 0x162f */ 34 #define HDAPS_PORT_YPOS 0x1612 /* y-axis position */ 35 #define HDAPS_PORT_XPOS 0x1614 /* x-axis position */ 36 #define HDAPS_PORT_TEMP1 0x1616 /* device temperature, in Celsius */ 37 #define HDAPS_PORT_YVAR 0x1617 /* y-axis variance (what is this?) */ 38 #define HDAPS_PORT_XVAR 0x1619 /* x-axis variance (what is this?) */ [all …]
|
/linux/drivers/net/wireless/intel/iwlegacy/ |
H A D | 4965.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright(c) 2003 - 2011 Intel Corporation. All rights reserved. 8 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 15 #include <linux/dma-mapping.h> 29 * il_verify_inst_sparse - verify runtime uCode image in card vs. host, 44 /* read data comes through single port, auto-incr addr */ in il4965_verify_inst_sparse() 50 ret = -EIO; in il4965_verify_inst_sparse() 61 * il4965_verify_inst_full - verify runtime uCode image in card vs. host, 77 for (; len > 0; len -= sizeof(u32), image++) { in il4965_verify_inst_full() 78 /* read data comes through single port, auto-incr addr */ in il4965_verify_inst_full() [all …]
|
/linux/drivers/net/wireless/ath/ath10k/ |
H A D | wmi-tlv.h | 1 /* SPDX-License-Identifier: ISC */ 3 * Copyright (c) 2005-2011 Atheros Communications Inc. 4 * Copyright (c) 2011-2017 Qualcomm Atheros, Inc. 5 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved. 1459 __le32_to_cpu((wmi_svc_bmap)[((svc_id) - (len)) / 32]) & \ 1460 BIT(((((svc_id) - (len)) % 32) & 0x1f))) 1817 /* temperature value in Celsius degree */ 1818 __le32 temperature; member 1886 WMI_TLV_PEER_TYPE_DEFAULT = 0, /* generic / non-BSS / self-peer */ 2006 __le32 num_tx_frames[4]; /* per-AC */ [all …]
|
H A D | wmi.h | 1 /* SPDX-License-Identifier: ISC */ 3 * Copyright (c) 2005-2011 Atheros Communications Inc. 4 * Copyright (c) 2011-2017 Qualcomm Atheros, Inc. 5 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved. 6 * Copyright (c) 2021-2024 Qualcomm Innovation Center, Inc. All rights reserved. 29 * 1. Add new WMI commands ONLY within the specified range - 0x9000 - 0x9fff 45 * variable is already 4-byte aligned by virtue of being a u32 527 * for wmi_services is 64 as target is using only 4-bits of each 32-bit 533 __le32_to_cpu((wmi_svc_bmap)[((svc_id) - (len)) / 28]) & \ 534 BIT(((((svc_id) - (len)) % 28) & 0x1f) + 4)) [all …]
|
/linux/arch/arm/boot/dts/samsung/ |
H A D | exynos4412-p4note.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 * Based on exynos4412-midas.dtsi. 10 /dts-v1/; 12 #include "exynos4412-ppmu-common.dtsi" 14 #include <dt-bindings/clock/maxim,max77686.h> 15 #include <dt-bindings/gpio/gpio.h> 16 #include <dt-bindings/input/linux-event-codes.h> 17 #include <dt-bindings/interrupt-controller/irq.h> 18 #include <dt-bindings/power/summit,smb347-charger.h> 19 #include "exynos-pinctrl.h" [all …]
|
/linux/drivers/net/ethernet/sfc/siena/ |
H A D | mcdi_pcol.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright 2009-2018 Solarflare Communications Inc. 5 * Copyright 2019-2020 Xilinx Inc. 13 /* Power-on reset state */ 35 /* The 'doorbell' addresses are hard-wired to alert the MC when written */ 38 /* The rest of these are firmware-defined */ 46 /* Values to be written to the per-port status dword in shared 71 * | | \--- Response 72 * | \------- Error 73 * \------------------------------ Resync (always set) [all …]
|
/linux/drivers/net/ethernet/sfc/ |
H A D | mcdi_pcol.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright 2009-2018 Solarflare Communications Inc. 5 * Copyright 2019-2020 Xilinx Inc. 13 /* Power-on reset state */ 35 /* The 'doorbell' addresses are hard-wired to alert the MC when written */ 38 /* The rest of these are firmware-defined */ 46 /* Values to be written to the per-port status dword in shared 71 * | | \--- Response 72 * | \------- Error 73 * \------------------------------ Resync (always set) [all …]
|
/linux/drivers/scsi/lpfc/ |
H A D | lpfc_sli.c | 4 * Copyright (C) 2017-2024 Broadcom. All Rights Reserved. The term * 6 * Copyright (C) 2004-2016 Emulex. All rights reserved. * 9 * Portions Copyright (C) 2004-2005 Christoph Hellwig * 17 * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE * 110 /* Word 0, 1, 2 - BDE is variable */ in lpfc_wqe_cmd_template() 112 /* Word 3 - cmd_buff_len, payload_offset_len is zero */ in lpfc_wqe_cmd_template() 114 /* Word 4 - total_xfer_len is variable */ in lpfc_wqe_cmd_template() 116 /* Word 5 - is zero */ in lpfc_wqe_cmd_template() 118 /* Word 6 - ctxt_tag, xri_tag is variable */ in lpfc_wqe_cmd_template() 121 bf_set(wqe_cmnd, &wqe->fcp_iread.wqe_com, CMD_FCP_IREAD64_WQE); in lpfc_wqe_cmd_template() [all …]
|
/linux/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt.c | 1 /* Broadcom NetXtreme-C/E network driver. 3 * Copyright (c) 2014-2016 Broadcom Corporation 4 * Copyright (c) 2016-2019 Broadcom Limited 25 #include <linux/dma-mapping.h> 60 #include <linux/pci-tph.h> 95 [BCM57301] = { "Broadcom BCM57301 NetXtreme-C 10Gb Ethernet" }, 96 [BCM57302] = { "Broadcom BCM57302 NetXtreme-C 10Gb/25Gb Ethernet" }, 97 [BCM57304] = { "Broadcom BCM57304 NetXtreme-C 10Gb/25Gb/40Gb/50Gb Ethernet" }, 98 [BCM57417_NPAR] = { "Broadcom BCM57417 NetXtreme-E Ethernet Partition" }, 100 [BCM57311] = { "Broadcom BCM57311 NetXtreme-C 10Gb Ethernet" }, [all …]
|