Home
last modified time | relevance | path

Searched +full:- +full:273150 (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/inc/
H A Dpp_thermal.h29 {-273150, 99000, 99000, -273150, 99000, 99000, -273150, 99000, 99000},
34 {-273150, 99000, 99000, -273150, 99000, 99000, -273150, 99000, 99000},
/openbmc/linux/Documentation/devicetree/bindings/iio/afe/
H A Dtemperature-transducer.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/afe/temperature-transducer.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Liam Beguin <liambeguin@gmail.com>
19 When an io-channel measures the output voltage of a temperature analog front
35 -----
37 +---+---+
39 +---+---+ -----
41 V proportional to T +----+----+
[all …]
/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/inc/
H A Dsmu_v11_0.h70 {-273150, 99000, 99000, -273150, 99000, 99000, -273150, 99000, 99000},
/openbmc/linux/include/linux/
H A Dunits.h1 /* SPDX-License-Identifier: GPL-2.0 */
34 #define ABSOLUTE_ZERO_MILLICELSIUS -273150
43 return t - ABSOLUTE_ZERO_MILLICELSIUS; in millicelsius_to_milli_kelvin()
76 * deci_kelvin_to_millicelsius_with_offset - convert Kelvin to Celsius
84 return t * MILLIDEGREE_PER_DECIDEGREE - offset; in deci_kelvin_to_millicelsius_with_offset()
107 return t - DIV_ROUND_CLOSEST(ABSOLUTE_ZERO_MILLICELSIUS, in celsius_to_kelvin()
/openbmc/linux/drivers/iio/adc/
H A Dstmpe-adc.c1 // SPDX-License-Identifier: GPL-2.0
5 * 4 channel, 10/12-bit ADC
7 * Copyright (C) 2013-2018 Toradex AG <stefan.agner@toradex.com>
66 mutex_lock(&info->lock); in stmpe_read_voltage()
68 reinit_completion(&info->completion); in stmpe_read_voltage()
70 info->channel = (u8)chan->channel; in stmpe_read_voltage()
72 if (info->channel > STMPE_ADC_LAST_NR) { in stmpe_read_voltage()
73 mutex_unlock(&info->lock); in stmpe_read_voltage()
74 return -EINVAL; in stmpe_read_voltage()
77 stmpe_reg_write(info->stmpe, STMPE_REG_ADC_CAPT, in stmpe_read_voltage()
[all …]
H A Dxilinx-xadc-core.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright 2013-2014 Analog Devices Inc.
6 * Author: Lars-Peter Clausen <lars@metafoo.de>
9 * - XADC hardmacro: Xilinx UG480
10 * - ZYNQ XADC interface: Xilinx UG585
11 * - AXI XADC interface: Xilinx PG019
36 #include "xilinx-xadc.h"
117 * overloaded by the interrupts that it soft-lockups. For this reason the driver
126 writel(val, xadc->base + reg); in xadc_write_reg()
132 *val = readl(xadc->base + reg); in xadc_read_reg()
[all …]
H A Dqcom-spmi-rradc.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2016-2017, 2019, The Linux Foundation. All rights reserved.
28 #include <soc/qcom/qcom-spmi-pmic.h>
30 #define DRIVER_NAME "qcom-spmi-rradc"
219 * struct rradc_channel - rradc channel data
263 dev_err(chip->dev, in rradc_read()
266 return -EINVAL; in rradc_read()
270 ret = regmap_bulk_read(chip->regmap, chip->base + addr, buf, in rradc_read()
273 dev_err(chip->dev, "rr_adc reg 0x%x failed :%d\n", addr, in rradc_read()
278 ret = regmap_bulk_read(chip->regmap, chip->base + addr, in rradc_read()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/smu13/
H A Dsmu_v13_0_7_ppt.c260 struct amdgpu_device *adev = smu->adev; in smu_v13_0_7_get_allowed_feature_mask()
263 return -EINVAL; in smu_v13_0_7_get_allowed_feature_mask()
269 if (adev->pm.pp_feature & PP_SCLK_DPM_MASK) { in smu_v13_0_7_get_allowed_feature_mask()
275 if (adev->pm.pp_feature & PP_GFXOFF_MASK) in smu_v13_0_7_get_allowed_feature_mask()
278 if (adev->pm.pp_feature & PP_MCLK_DPM_MASK) { in smu_v13_0_7_get_allowed_feature_mask()
287 if (adev->pm.pp_feature & PP_PCIE_DPM_MASK) in smu_v13_0_7_get_allowed_feature_mask()
290 if (adev->pm.pp_feature & PP_SCLK_DEEP_SLEEP_MASK) in smu_v13_0_7_get_allowed_feature_mask()
293 if (adev->pm.pp_feature & PP_ULV_MASK) in smu_v13_0_7_get_allowed_feature_mask()
316 if (adev->pm.pp_feature & PP_DCEFCLK_DPM_MASK) in smu_v13_0_7_get_allowed_feature_mask()
319 if ((adev->pg_flags & AMD_PG_SUPPORT_ATHUB) && in smu_v13_0_7_get_allowed_feature_mask()
[all …]
H A Daldebaran_ppt.c98 {-273150, 99000, 99000, -273150, 99000, 99000, -273150, 99000, 99000},
229 struct smu_table_context *smu_table = &smu->smu_table; in aldebaran_tables_init()
230 struct smu_table *tables = smu_table->tables; in aldebaran_tables_init()
247 smu_table->metrics_table = kzalloc(sizeof(SmuMetrics_t), GFP_KERNEL); in aldebaran_tables_init()
248 if (!smu_table->metrics_table) in aldebaran_tables_init()
249 return -ENOMEM; in aldebaran_tables_init()
250 smu_table->metrics_time = 0; in aldebaran_tables_init()
252 smu_table->gpu_metrics_table_size = sizeof(struct gpu_metrics_v1_3); in aldebaran_tables_init()
253 smu_table->gpu_metrics_table = kzalloc(smu_table->gpu_metrics_table_size, GFP_KERNEL); in aldebaran_tables_init()
254 if (!smu_table->gpu_metrics_table) { in aldebaran_tables_init()
[all …]
H A Dsmu_v13_0_0_ppt.c291 struct amdgpu_device *adev = smu->adev; in smu_v13_0_0_get_allowed_feature_mask()
295 return -EINVAL; in smu_v13_0_0_get_allowed_feature_mask()
299 if (!(adev->pm.pp_feature & PP_SCLK_DPM_MASK)) { in smu_v13_0_0_get_allowed_feature_mask()
304 if (!(adev->pg_flags & AMD_PG_SUPPORT_ATHUB) || in smu_v13_0_0_get_allowed_feature_mask()
305 !(adev->pg_flags & AMD_PG_SUPPORT_MMHUB)) in smu_v13_0_0_get_allowed_feature_mask()
308 if (!(adev->pm.pp_feature & PP_SOCCLK_DPM_MASK)) in smu_v13_0_0_get_allowed_feature_mask()
314 !(adev->pm.pp_feature & PP_GFXOFF_MASK)) in smu_v13_0_0_get_allowed_feature_mask()
317 if (!(adev->pm.pp_feature & PP_MCLK_DPM_MASK)) { in smu_v13_0_0_get_allowed_feature_mask()
323 if (!(adev->pm.pp_feature & PP_SCLK_DEEP_SLEEP_MASK)) in smu_v13_0_0_get_allowed_feature_mask()
326 if (!(adev->pm.pp_feature & PP_PCIE_DPM_MASK)) { in smu_v13_0_0_get_allowed_feature_mask()
[all …]