Home
last modified time | relevance | path

Searched +full:tempmon +full:- +full:data (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/thermal/
H A Dimx_thermal.c1 // SPDX-License-Identifier: GPL-2.0
17 #include <linux/nvmem-consumer.h>
207 struct regmap *tempmon; member
219 static void imx_set_panic_temp(struct imx_thermal_data *data, in imx_set_panic_temp() argument
222 const struct thermal_soc_data *soc_data = data->socdata; in imx_set_panic_temp()
223 struct regmap *map = data->tempmon; in imx_set_panic_temp()
226 critical_value = (data->c2 - panic_temp) / data->c1; in imx_set_panic_temp()
228 regmap_write(map, soc_data->panic_alarm_ctrl + REG_CLR, in imx_set_panic_temp()
229 soc_data->panic_alarm_mask); in imx_set_panic_temp()
230 regmap_write(map, soc_data->panic_alarm_ctrl + REG_SET, in imx_set_panic_temp()
[all …]
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
47 Say Y to add a debugfs-based thermal core testing facility.
53 int "Emergency poweroff delay in milli-seconds"
84 prompt "APIs to parse thermal data out of device tree"
89 read and parse thermal data definitions out of the
115 contribution should be provided through platform data.
145 bool "Fair-share thermal governor"
147 Enable this to manage platform thermals using fair-share governor.
250 memory-mapped reads to get the temperature. Any HW/System that
251 allows temperature reading by a single memory-mapped reading, be it
[all …]
/linux/sound/soc/codecs/
H A Dcs35l41.c1 // SPDX-License-Identifier: GPL-2.0
3 // cs35l41.c -- CS35l41 ALSA SoC audio driver
5 // Copyright 2017-2021 Cirrus Logic, Inc.
23 #include <sound/soc-dapm.h>
165 return -EINVAL; in cs35l41_get_fs_mon_config_index()
170 1, 913, TLV_DB_MINMAX_ITEM(-10200, 1200));
187 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dap in cs35l41_dsp_preload_ev()
383 cs35l41_irq(int irq,void * data) cs35l41_irq() argument
[all...]
H A Dcs35l45.c1 // SPDX-License-Identifier: GPL-2.0
3 // cs35l45.c - CS35L45 ALSA SoC audio driver
5 // Copyright 2019-2022 Cirrus Logic, Inc.
53 if (!cs35l45->dsp.cs_dsp.running) { in cs35l45_set_cspl_mbox_cmd()
54 dev_err(cs35l45->dev, "DSP not running\n"); in cs35l45_set_cspl_mbox_cmd()
55 return -EPERM; in cs35l45_set_cspl_mbox_cmd()
62 dev_err(cs35l45->dev, "Failed to write MBOX: %d\n", ret); in cs35l45_set_cspl_mbox_cmd()
72 dev_err(cs35l45->dev, "Failed to read MBOX STS: %d\n", ret); in cs35l45_set_cspl_mbox_cmd()
77 dev_dbg(cs35l45->dev, "[%u] cmd %u returned invalid sts %u", i, cmd, sts); in cs35l45_set_cspl_mbox_cmd()
83 dev_err(cs35l45->dev, "Failed to set mailbox cmd %u (status %u)\n", cmd, sts); in cs35l45_set_cspl_mbox_cmd()
[all …]
H A Dcs35l56.c1 // SPDX-License-Identifier: GPL-2.0-only
27 #include <sound/cs-amp-lib.h>
31 #include <sound/soc-dapm.h>
43 flush_work(&cs35l56->dsp_work); in cs35l56_wait_dsp_ready()
66 static DECLARE_TLV_DB_SCALE(vol_tlv, -10000, 25, 0);
181 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in cs35l56_play_event()
186 dev_dbg(cs35l56->base.dev, "play: %d\n", event); in cs35l56_play_event()
191 return regmap_write(cs35l56->base.regmap, CS35L56_DSP_VIRTUAL1_MBOX_1, in cs35l56_play_event()
195 ret = regmap_read_poll_timeout(cs35l56->base.regmap, in cs35l56_play_event()
196 cs35l56->base.fw_reg->transducer_actual_ps, in cs35l56_play_event()
[all …]
H A Dcs35l56-shared.c1 // SPDX-License-Identifier: GPL-2.0-only
15 #include <sound/cs-amp-lib.h>
21 * Firmware can change these to non-defaults to satisfy SDCA.
44 /* These are not reset by a soft-reset, so patch to defaults. */
51 /* These are not reset by a soft-reset, so patch to defaults. */
61 ret = regmap_register_patch(cs35l56_base->regma in cs35l56_set_patch()
535 cs35l56_irq(int irq,void * data) cs35l56_irq() argument
1148 cs35l56_fill_supply_names(struct regulator_bulk_data * data) cs35l56_fill_supply_names() argument
[all...]