Home
last modified time | relevance | path

Searched +full:ambient +full:- +full:celsius (Results 1 – 12 of 12) sorted by relevance

/Linux-v5.10/Documentation/devicetree/bindings/power/supply/
Dbattery.yaml1 # 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
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
34 over-voltage-threshold-microvolt:
[all …]
/Linux-v5.10/Documentation/devicetree/bindings/iio/temperature/
Dmlx90632.txt3 Link to datasheet: https://www.melexis.com/en/documents/documentation/datasheets/datasheet-mlx90632
7 temperature is in range between -20 to 200 degrees Celsius with relative error
8 of measurement below 1 degree Celsius in object temperature range for
9 industrial applications. Since it can operate and measure ambient temperature
10 in range of -20 to 85 degrees Celsius it is suitable also for outdoor use.
12 Be aware that electronics surrounding the sensor can increase ambient
20 - compatible: should be "melexis,mlx90632"
21 - reg: the I2C address of the sensor (default 0x3a)
/Linux-v5.10/Documentation/power/
Dpower_supply_class.rst8 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 +--------------------------------------------------------------------------+
142 relative, time-based measurements.
[all …]
/Linux-v5.10/drivers/sbus/char/
Dbbc_envctrl.c1 // 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
33 * can be controlled independently for the cpu or ambient temperature.
44 * disabled/enabled when entering/exiting the lowest power-saving
59 * before the hardware based power-off event is triggered.
62 /* These settings are in Celsius. We use these defaults only
63 * if we cannot interrogate the cpu-fru SEEPROM.
[all …]
/Linux-v5.10/drivers/power/supply/
Dpower_supply_core.c1 // SPDX-License-Identifier: GPL-2.0-only
42 if (!supply->supplied_from && !supplier->supplied_to) in __power_supply_is_supplied_by()
46 if (supply->supplied_from) { in __power_supply_is_supplied_by()
47 if (!supplier->desc->name) in __power_supply_is_supplied_by()
49 for (i = 0; i < supply->num_supplies; i++) in __power_supply_is_supplied_by()
50 if (!strcmp(supplier->desc->name, supply->supplied_from[i])) in __power_supply_is_supplied_by()
53 if (!supply->desc->name) in __power_supply_is_supplied_by()
55 for (i = 0; i < supplier->num_supplicants; i++) in __power_supply_is_supplied_by()
56 if (!strcmp(supplier->supplied_to[i], supply->desc->name)) in __power_supply_is_supplied_by()
69 if (pst->desc->external_power_changed) in __power_supply_changed_work()
[all …]
/Linux-v5.10/drivers/net/ethernet/sfc/
Dmcdi_mon.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright 2011-2013 Solarflare Communications Inc.
42 SENSOR(CONTROLLER_TEMP, "Controller board temp.", TEMP, -1),
43 SENSOR(PHY_COMMON_TEMP, "PHY temp.", TEMP, -1),
44 SENSOR(CONTROLLER_COOLING, "Controller heat sink", COOL, -1),
49 SENSOR(IN_1V0, "1.0V supply", IN, -1),
50 SENSOR(IN_1V2, "1.2V supply", IN, -1),
51 SENSOR(IN_1V8, "1.8V supply", IN, -1),
52 SENSOR(IN_2V5, "2.5V supply", IN, -1),
53 SENSOR(IN_3V3, "3.3V supply", IN, -1),
[all …]
Dmcdi_pcol.h1 /* 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-v5.10/drivers/thermal/
Dsun8i_thermal.c1 // SPDX-License-Identifier: GPL-2.0
15 #include <linux/nvmem-consumer.h>
58 /* millidegree celsius */
92 /* Temp Unit: millidegree Celsius */
96 return tmdev->chip->offset - (reg * tmdev->chip->scale / 10); in sun8i_ths_calc_temp()
103 return -1191 * reg / 10 + 223000; in sun50i_h5_calc_temp()
105 return -1452 * reg / 10 + 259000; in sun50i_h5_calc_temp()
107 return -1590 * reg / 10 + 276000; in sun50i_h5_calc_temp()
113 struct ths_device *tmdev = s->tmdev; in sun8i_ths_get_temp()
116 regmap_read(tmdev->regmap, tmdev->chip->temp_data_base + in sun8i_ths_get_temp()
[all …]
/Linux-v5.10/drivers/net/ethernet/sfc/falcon/
Dfalcon_boards.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright 2007-2012 Solarflare Communications Inc.
27 /* Board temperature is about 15°C above ambient when air flow is
28 * limited. The maximum acceptable ambient temperature varies
91 struct i2c_client *client = i2c_new_client_device(&board->i2c_adap, info); in ef4_init_lm87()
97 /* Read-to-clear alarm/interrupt status */ in ef4_init_lm87()
108 board->hwmon_client = client; in ef4_init_lm87()
118 i2c_unregister_device(falcon_board(efx)->hwmon_client); in ef4_fini_lm87()
123 struct i2c_client *client = falcon_board(efx)->hwmon_client; in ef4_check_lm87()
129 if (EF4_WORKAROUND_7884(efx) && efx->link_state.up) in ef4_check_lm87()
[all …]
/Linux-v5.10/Documentation/ABI/testing/
Dsysfs-bus-iio3 Contact: linux-iio@vger.kernel.org
11 Contact: linux-iio@vger.kernel.org
25 Contact: linux-iio@vger.kernel.org
31 Contact: linux-iio@vger.kernel.org
38 Contact: linux-iio@vger.kernel.org
48 Contact: linux-iio@vger.kernel.org
65 Contact: linux-iio@vger.kernel.org
70 - a small discrete set of values like "0 2 4 6 8"
71 - a range with minimum, step and maximum frequencies like
76 Contact: linux-iio@vger.kernel.org
[all …]
/Linux-v5.10/drivers/hwmon/
Dltc2947-core.c1 // SPDX-License-Identifier: GPL-2.0
12 #include <linux/hwmon-sysfs.h>
65 #define VOLTAGE_MIN -300
76 #define CURRENT_MIN -30000
85 #define POWER_MIN -450000000
95 /* in millidegress Celsius */
97 #define TEMP_MIN -40000
107 #define LTC2947_ALERTS_SIZE (LTC2947_REG_STATVDVCC - LTC2947_REG_STATUS)
125 * complete sequence select_page->read/write needs to be protected.
138 ret = regmap_bulk_read(st->map, reg, &__val, 2); in __ltc2947_val_read16()
[all …]
/Linux-v5.10/drivers/net/ethernet/mellanox/mlxsw/
Dreg.h1 /* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */
2 /* Copyright (c) 2015-2018 Mellanox Technologies. All rights reserved */
29 #define MLXSW_REG_LEN(type) MLXSW_REG(type)->len
30 #define MLXSW_REG_ZERO(type, payload) memset(payload, 0, MLXSW_REG(type)->len)
32 /* SGCR - Switch General Configuration Register
33 * --------------------------------------------
55 /* SPAD - Switch Physical Address Register
56 * ---------------------------------------
72 /* SMID - Switch Multicast ID
73 * --------------------------
[all …]