| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/supply/ |
| D | bq25890.txt | 1 Binding for TI bq25890 Li-Ion Charger 7 - compatible: Should contain one of the following: 12 - reg: integer, i2c address of the device. 13 - interrupts: interrupt line; 14 - ti,battery-regulation-voltage: integer, maximum charging voltage (in uV); 15 - ti,charge-current: integer, maximum charging current (in uA); 16 - ti,termination-current: integer, charge will be terminated when current in 17 constant-voltage phase drops below this value (in uA); 18 - ti,precharge-current: integer, maximum charge current during precharge 20 - ti,minimum-sys-voltage: integer, when battery is charging and it is below [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/power/supply/ |
| D | bq25890.yaml | 1 # SPDX-License-Identifier: GPL-2.0 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Bq25890, bq25892, bq25895 and bq25896 Li-Ion Charger 11 - Sebastian Reichel <sre@kernel.org> 14 - $ref: power-supply.yaml# 19 - enum: 20 - ti,bq25890 21 - items: 22 - enum: [all …]
|
| /kernel/linux/linux-5.10/drivers/cpufreq/ |
| D | Kconfig.x86 | 1 # SPDX-License-Identifier: GPL-2.0-only 30 <file:Documentation/admin-guide/pm/cpufreq_drivers.rst>. 33 module will be called pcc-cpufreq. 38 tristate "ACPI Processor P-States driver" 47 module will be called acpi-cpufreq. 49 For details, take a look at <file:Documentation/cpu-freq/>. 58 The powernow-k8 driver used to provide a sysfs knob called "cpb" 60 file has now been superseded by the more generic "boost" entry. 63 entry in addition to the new boost ones, for compatibility reasons. 66 tristate "SFI Performance-States driver" [all …]
|
| D | cppc_cpufreq.c | 1 // SPDX-License-Identifier: GPL-2.0-only 66 if (dm->type == DMI_ENTRY_PROCESSOR && in cppc_find_dmi_mhz() 67 dm->length >= DMI_ENTRY_PROCESSOR_MIN_LENGTH) { in cppc_find_dmi_mhz() 92 * use them to convert perf to freq and vice versa 94 * If the perf/freq point lies between Nominal and Lowest, we can treat 95 * (Low perf, Low freq) and (Nom Perf, Nom freq) as 2D co-ordinates of a line 97 * For perf/freq > Nominal, we use the ratio perf:freq at Nominal for conversion 103 struct cppc_perf_caps *caps = &cpu->perf_caps; in cppc_cpufreq_perf_to_khz() 106 if (caps->lowest_freq && caps->nominal_freq) { in cppc_cpufreq_perf_to_khz() 107 if (perf >= caps->nominal_perf) { in cppc_cpufreq_perf_to_khz() [all …]
|
| D | cpufreq.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * (C) 2002 - 2003 Dominik Brodowski <linux@brodo.de> 9 * Oct 2005 - Ashok Raj <ashok.raj@intel.com> 11 * Feb 2006 - Jacob Shin <jacob.shin@amd.com> 12 * Fix handling for CPU hotplug -- affected CPUs 56 * The "cpufreq driver" - the arch- or hardware-dependent low 75 return cpufreq_driver->target_index || cpufreq_driver->target; in has_target() 110 return !!(cpufreq_driver->flags & CPUFREQ_HAVE_GOVERNOR_PER_POLICY); in have_governor_per_policy() 119 return &policy->kobj; in get_governor_parent_kobj() 143 idle_time = cur_wall_time - busy_time; in get_cpu_idle_time_jiffy() [all …]
|
| /kernel/linux/linux-6.6/drivers/cpufreq/ |
| D | Kconfig.x86 | 1 # SPDX-License-Identifier: GPL-2.0-only 30 <file:Documentation/admin-guide/pm/cpufreq_drivers.rst>. 33 module will be called pcc-cpufreq. 38 bool "AMD Processor P-State driver" 50 <file:Documentation/admin-guide/pm/amd-pstate.rst>. 55 int "AMD Processor P-State default mode" 60 Select the default mode the amd-pstate driver will use on 63 1 -> Disabled 64 2 -> Passive 65 3 -> Active (EPP) [all …]
|
| D | cpufreq.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * (C) 2002 - 2003 Dominik Brodowski <linux@brodo.de> 9 * Oct 2005 - Ashok Raj <ashok.raj@intel.com> 11 * Feb 2006 - Jacob Shin <jacob.shin@amd.com> 12 * Fix handling for CPU hotplug -- affected CPUs 54 * The "cpufreq driver" - the arch- or hardware-dependent low 73 return cpufreq_driver->target_index || cpufreq_driver->target; in has_target() 78 return !!cpufreq_driver->target_index; in has_target_index() 114 return !!(cpufreq_driver->flags & CPUFREQ_HAVE_GOVERNOR_PER_POLICY); in have_governor_per_policy() 123 return &policy->kobj; in get_governor_parent_kobj() [all …]
|
| /kernel/linux/linux-5.10/Documentation/admin-guide/pm/ |
| D | intel-speed-select.rst | 1 .. SPDX-License-Identifier: GPL-2.0 14 - https://www.intel.com/content/www/us/en/architecture-and-technology/speed-select-technology-artic… 15 - https://builders.intel.com/docs/networkbuilders/intel-speed-select-technology-base-frequency-enha… 19 dynamically without pre-configuring via BIOS setup options. This dynamic 29 intel-speed-select configuration tool 32 Most Linux distribution packages may include the "intel-speed-select" tool. If not, 38 # cd tools/power/x86/intel-speed-select/ 43 ------------ 47 # intel-speed-select --help 49 The top-level help describes arguments and features. Notice that there is a [all …]
|
| /kernel/linux/linux-6.6/Documentation/admin-guide/pm/ |
| D | intel-speed-select.rst | 1 .. SPDX-License-Identifier: GPL-2.0 14 - https://www.intel.com/content/www/us/en/architecture-and-technology/speed-select-technology-artic… 15 - https://builders.intel.com/docs/networkbuilders/intel-speed-select-technology-base-frequency-enha… 19 dynamically without pre-configuring via BIOS setup options. This dynamic 29 intel-speed-select configuration tool 32 Most Linux distribution packages may include the "intel-speed-select" tool. If not, 38 # cd tools/power/x86/intel-speed-select/ 43 ------------ 47 # intel-speed-select --help 49 The top-level help describes arguments and features. Notice that there is a [all …]
|
| /kernel/linux/linux-6.6/sound/soc/codecs/ |
| D | cs35l32.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * cs35l32.c -- CS35L32 ALSA SoC audio driver 27 #include <sound/soc-dapm.h> 30 #include <dt-bindings/sound/cs35l32.h> 54 { 0x09, 0x20 }, /* Low Battery Threshold */ 123 SND_SOC_DAPM_SUPPLY("BOOST", CS35L32_PWRCTL1, 2, 1, NULL, 0), 139 {"Speaker", NULL, "BOOST"}, 154 struct snd_soc_component *component = codec_dai->component; in cs35l32_set_dai_fmt() 167 return -EINVAL; in cs35l32_set_dai_fmt() 175 struct snd_soc_component *component = dai->component; in cs35l32_set_tristate() [all …]
|
| D | cs35l34.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * cs35l34.c -- CS35l34 ALSA SoC audio driver 28 #include <sound/soc-dapm.h> 48 struct gpio_desc *reset_gpio; /* Active-low reset GPIO */ 235 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in cs35l34_sdin_event() 241 if (priv->tdm_mode) in cs35l34_sdin_event() 242 regmap_update_bits(priv->regmap, CS35L34_PWRCTL3, in cs35l34_sdin_event() 245 ret = regmap_update_bits(priv->regmap, CS35L34_PWRCTL1, in cs35l34_sdin_event() 248 dev_err(component->dev, "Cannot set Power bits %d\n", ret); in cs35l34_sdin_event() 254 if (priv->tdm_mode) { in cs35l34_sdin_event() [all …]
|
| D | es8316.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * es8316.c -- es8316 ALSA SoC audio driver 6 * Authors: David Yang <yangxiaohua@everest-semi.com>, 21 #include <sound/soc-dapm.h> 51 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(dac_vol_tlv, -9600, 50, 1); 52 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(adc_vol_tlv, -9600, 50, 1); 53 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(alc_max_gain_tlv, -650, 150, 0); 54 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(alc_min_gain_tlv, -1200, 150, 0); 57 0, 10, TLV_DB_SCALE_ITEM(-1650, 150, 0), 58 11, 11, TLV_DB_SCALE_ITEM(-150, 0, 0), [all …]
|
| D | wm8737.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8737.c -- WM8737 ALSA SoC Audio driver 25 #include <sound/soc-dapm.h> 47 { 0, 0x00C3 }, /* R0 - Left PGA volume */ 48 { 1, 0x00C3 }, /* R1 - Right PGA volume */ 49 { 2, 0x0007 }, /* R2 - AUDIO path L */ 50 { 3, 0x0007 }, /* R3 - AUDIO path R */ 51 { 4, 0x0000 }, /* R4 - 3D Enhance */ 52 { 5, 0x0000 }, /* R5 - ADC Control */ 53 { 6, 0x0000 }, /* R6 - Power Management */ [all …]
|
| D | wm8960.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8960.c -- WM8960 ALSA SoC Audio driver 5 * Copyright 2007-11 Wolfson Microelectronics, plc 29 /* R25 - Power 1 */ 33 /* R26 - Power 2 */ 38 /* R28 - Anti-pop 1 */ 45 /* R29 - Anti-pop 2 */ 157 static const char *wm8960_3d_upper_cutoff[] = {"High", "Low"}; 158 static const char *wm8960_3d_lower_cutoff[] = {"Low", "High"}; 192 if (wm8960->deemph) { in wm8960_set_deemph() [all …]
|
| D | wm8985.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8985.c -- WM8985 / WM8758 ALSA SoC Audio driver 49 { 1, 0x0000 }, /* R1 - Power management 1 */ 50 { 2, 0x0000 }, /* R2 - Power management 2 */ 51 { 3, 0x0000 }, /* R3 - Power management 3 */ 52 { 4, 0x0050 }, /* R4 - Audio Interface */ 53 { 5, 0x0000 }, /* R5 - Companding control */ 54 { 6, 0x0140 }, /* R6 - Clock Gen control */ 55 { 7, 0x0000 }, /* R7 - Additional control */ 56 { 8, 0x0000 }, /* R8 - GPIO Control */ [all …]
|
| D | wm8983.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8983.c -- WM8983 ALSA SoC Audio driver 29 { 0x01, 0x0000 }, /* R1 - Power management 1 */ 30 { 0x02, 0x0000 }, /* R2 - Power management 2 */ 31 { 0x03, 0x0000 }, /* R3 - Power management 3 */ 32 { 0x04, 0x0050 }, /* R4 - Audio Interface */ 33 { 0x05, 0x0000 }, /* R5 - Companding control */ 34 { 0x06, 0x0140 }, /* R6 - Clock Gen control */ 35 { 0x07, 0x0000 }, /* R7 - Additional control */ 36 { 0x08, 0x0000 }, /* R8 - GPIO Control */ [all …]
|
| /kernel/linux/linux-5.10/sound/soc/codecs/ |
| D | cs35l32.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * cs35l32.c -- CS35L32 ALSA SoC audio driver 27 #include <sound/soc-dapm.h> 30 #include <dt-bindings/sound/cs35l32.h> 53 { 0x09, 0x20 }, /* Low Battery Threshold */ 122 SND_SOC_DAPM_SUPPLY("BOOST", CS35L32_PWRCTL1, 2, 1, NULL, 0), 138 {"Speaker", NULL, "BOOST"}, 153 struct snd_soc_component *component = codec_dai->component; in cs35l32_set_dai_fmt() 166 return -EINVAL; in cs35l32_set_dai_fmt() 174 struct snd_soc_component *component = dai->component; in cs35l32_set_tristate() [all …]
|
| D | cs35l34.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * cs35l34.c -- CS35l34 ALSA SoC audio driver 28 #include <sound/soc-dapm.h> 47 struct gpio_desc *reset_gpio; /* Active-low reset GPIO */ 234 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in cs35l34_sdin_event() 240 if (priv->tdm_mode) in cs35l34_sdin_event() 241 regmap_update_bits(priv->regmap, CS35L34_PWRCTL3, in cs35l34_sdin_event() 244 ret = regmap_update_bits(priv->regmap, CS35L34_PWRCTL1, in cs35l34_sdin_event() 247 dev_err(component->dev, "Cannot set Power bits %d\n", ret); in cs35l34_sdin_event() 253 if (priv->tdm_mode) { in cs35l34_sdin_event() [all …]
|
| D | es8316.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * es8316.c -- es8316 ALSA SoC audio driver 6 * Authors: David Yang <yangxiaohua@everest-semi.com>, 21 #include <sound/soc-dapm.h> 51 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(dac_vol_tlv, -9600, 50, 1); 52 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(adc_vol_tlv, -9600, 50, 1); 53 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(alc_max_gain_tlv, -650, 150, 0); 54 static const SNDRV_CTL_TLVD_DECLARE_DB_SCALE(alc_min_gain_tlv, -1200, 150, 0); 57 0, 10, TLV_DB_SCALE_ITEM(-1650, 150, 0), 58 11, 11, TLV_DB_SCALE_ITEM(-150, 0, 0), [all …]
|
| D | wm8737.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8737.c -- WM8737 ALSA SoC Audio driver 25 #include <sound/soc-dapm.h> 47 { 0, 0x00C3 }, /* R0 - Left PGA volume */ 48 { 1, 0x00C3 }, /* R1 - Right PGA volume */ 49 { 2, 0x0007 }, /* R2 - AUDIO path L */ 50 { 3, 0x0007 }, /* R3 - AUDIO path R */ 51 { 4, 0x0000 }, /* R4 - 3D Enhance */ 52 { 5, 0x0000 }, /* R5 - ADC Control */ 53 { 6, 0x0000 }, /* R6 - Power Management */ [all …]
|
| D | wm8960.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8960.c -- WM8960 ALSA SoC Audio driver 5 * Copyright 2007-11 Wolfson Microelectronics, plc 28 /* R25 - Power 1 */ 32 /* R26 - Power 2 */ 37 /* R28 - Anti-pop 1 */ 44 /* R29 - Anti-pop 2 */ 143 static const char *wm8960_3d_upper_cutoff[] = {"High", "Low"}; 144 static const char *wm8960_3d_lower_cutoff[] = {"Low", "High"}; 176 if (wm8960->deemph) { in wm8960_set_deemph() [all …]
|
| D | wm8985.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8985.c -- WM8985 / WM8758 ALSA SoC Audio driver 49 { 1, 0x0000 }, /* R1 - Power management 1 */ 50 { 2, 0x0000 }, /* R2 - Power management 2 */ 51 { 3, 0x0000 }, /* R3 - Power management 3 */ 52 { 4, 0x0050 }, /* R4 - Audio Interface */ 53 { 5, 0x0000 }, /* R5 - Companding control */ 54 { 6, 0x0140 }, /* R6 - Clock Gen control */ 55 { 7, 0x0000 }, /* R7 - Additional control */ 56 { 8, 0x0000 }, /* R8 - GPIO Control */ [all …]
|
| D | wm8983.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8983.c -- WM8983 ALSA SoC Audio driver 29 { 0x01, 0x0000 }, /* R1 - Power management 1 */ 30 { 0x02, 0x0000 }, /* R2 - Power management 2 */ 31 { 0x03, 0x0000 }, /* R3 - Power management 3 */ 32 { 0x04, 0x0050 }, /* R4 - Audio Interface */ 33 { 0x05, 0x0000 }, /* R5 - Companding control */ 34 { 0x06, 0x0140 }, /* R6 - Clock Gen control */ 35 { 0x07, 0x0000 }, /* R7 - Additional control */ 36 { 0x08, 0x0000 }, /* R8 - GPIO Control */ [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/ |
| D | debugfs_gt_pm.c | 1 // SPDX-License-Identifier: MIT 23 struct intel_gt *gt = m->private; in fw_domains_show() 24 struct intel_uncore *uncore = gt->uncore; in fw_domains_show() 29 uncore->user_forcewake_count); in fw_domains_show() 33 intel_uncore_forcewake_domain_to_str(fw_domain->id), in fw_domains_show() 34 READ_ONCE(fw_domain->wake_count)); in fw_domains_show() 44 struct intel_gt *gt = m->private; in print_rc6_res() 47 with_intel_runtime_pm(gt->uncore->rpm, wakeref) in print_rc6_res() 49 intel_uncore_read(gt->uncore, reg), in print_rc6_res() 50 intel_rc6_residency_us(>->rc6, reg)); in print_rc6_res() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/ |
| D | intel_gt_pm_debugfs.c | 1 // SPDX-License-Identifier: MIT 29 atomic_inc(>->user_wakeref); in intel_gt_pm_debugfs_forcewake_user_open() 31 if (GRAPHICS_VER(gt->i915) >= 6) in intel_gt_pm_debugfs_forcewake_user_open() 32 intel_uncore_forcewake_user_get(gt->uncore); in intel_gt_pm_debugfs_forcewake_user_open() 37 if (GRAPHICS_VER(gt->i915) >= 6) in intel_gt_pm_debugfs_forcewake_user_release() 38 intel_uncore_forcewake_user_put(gt->uncore); in intel_gt_pm_debugfs_forcewake_user_release() 40 atomic_dec(>->user_wakeref); in intel_gt_pm_debugfs_forcewake_user_release() 45 struct intel_gt *gt = inode->i_private; in forcewake_user_open() 54 struct intel_gt *gt = inode->i_private; in forcewake_user_release() 69 struct intel_gt *gt = m->private; in fw_domains_show() [all …]
|