/linux-6.14.4/Documentation/devicetree/bindings/leds/backlight/ |
D | qcom-wled.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/leds/backlight/qcom-wled.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Bjorn Andersson <[email protected]> 11 - Kiran Gunda <[email protected]> 21 - qcom,pm8941-wled 22 - qcom,pmi8950-wled 23 - qcom,pmi8994-wled 24 - qcom,pmi8998-wled [all …]
|
/linux-6.14.4/drivers/devfreq/ |
D | imx8m-ddrc.c | 1 // SPDX-License-Identifier: GPL-2.0 13 #include <linux/clk-provider.h> 14 #include <linux/arm-smccc.h> 40 * +----------+ |\ +------+ 41 * | dram_pll |-------|M| dram_core | | 42 * +----------+ |U|---------->| D | 43 * /--|X| | D | 46 * +---------+ | | 48 * +---------+ | | 50 * +----------+ | | | [all …]
|
/linux-6.14.4/drivers/cpufreq/ |
D | Kconfig.powerpc | 1 # SPDX-License-Identifier: GPL-2.0-only 8 For details, take a look at <file:Documentation/cpu-freq/>. 24 This adds support for frequency switching on Apple PowerBooks, 32 This adds support for frequency switching on Apple iMac G5, 40 This adds the support for frequency switching on PA Semi 48 This adds support for CPU frequency switching on IBM POWERNV
|
D | cpufreq.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * (C) 2002 - 2003 Dominik Brodowski <[email protected]> 9 * Oct 2005 - Ashok Raj <[email protected]> 11 * Feb 2006 - Jacob Shin <[email protected]> 12 * Fix handling for CPU hotplug -- affected CPUs 55 * The "cpufreq driver" - the arch- or hardware-dependent low 74 return cpufreq_driver->target_index || cpufreq_driver->target; in has_target() 79 return !!cpufreq_driver->target_index; in has_target_index() 115 return !!(cpufreq_driver->flags & CPUFREQ_HAVE_GOVERNOR_PER_POLICY); in have_governor_per_policy() 124 return &policy->kobj; in get_governor_parent_kobj() [all …]
|
D | pmac64-cpufreq.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2002 - 2005 Benjamin Herrenschmidt <[email protected]> 4 * and Markus Demleitner <[email protected]-heidelberg.de> 46 #define PCR_FREQ_REQ_VALID 0x00010000U /* freq request valid */ 73 * the various frequencies, retrieved from the device-tree 93 * SMU based voltage switching for Neo2 platforms 108 * Platform function based voltage/vdnap switching for Neo2 145 * SCOM based frequency switching for 970FX rev3 205 * Fake voltage switching for platforms with missing support 215 * Platform function based voltage switching for PowerMac7,2 & 7,3 [all …]
|
D | vexpress-spc-cpufreq.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2013 - 2019 ARM Ltd. 45 #define ACTUAL_FREQ(cluster, freq) ((cluster == A7_CLUSTER) ? freq << 1 : freq) argument 46 #define VIRT_FREQ(cluster, freq) ((cluster == A7_CLUSTER) ? freq >> 1 : freq) argument 138 ret = -EIO; in ve_spc_cpufreq_set_rate() 154 /* Recalc freq for old cluster when switching clusters */ in ve_spc_cpufreq_set_rate() 161 /* Set freq of old cluster if there are cpus left on it */ in ve_spc_cpufreq_set_rate() 180 u32 cpu = policy->cpu, cur_cluster, new_cluster, actual_cluster; in ve_spc_cpufreq_set_target() 217 if (pos->frequency < min_freq) in get_table_min() 218 min_freq = pos->frequency; in get_table_min() [all …]
|
D | armada-37xx-cpufreq.c | 1 // SPDX-License-Identifier: GPL-2.0+ 7 * Gregory CLEMENT <gregory.clement@free-electrons.com> 24 #include "cpufreq-dt.h" 115 static struct armada_37xx_dvfs *armada_37xx_cpu_freq_info_get(u32 freq) in armada_37xx_cpu_freq_info_get() argument 120 if (freq == armada_37xx_dvfs[i].cpu_freq_max) in armada_37xx_cpu_freq_info_get() 124 pr_err("Unsupported CPU frequency %d MHz\n", freq/1000000); in armada_37xx_cpu_freq_info_get() 166 * Set cpu divider based on the pre-computed array in in armada37xx_cpufreq_dvfs_setup() 187 * the round-up closest to the target voltage value. 193 /* Find out the round-up closest supported voltage value */ in armada_37xx_avs_val_match() 203 avs = ARRAY_SIZE(avs_map) - 1; in armada_37xx_avs_val_match() [all …]
|
D | cpufreq_ondemand.c | 1 // SPDX-License-Identifier: GPL-2.0-only 13 #include <linux/percpu-defs.h> 20 /* On-demand governor macros */ 56 * Find right freq to be set now with powersave_bias on. 67 struct policy_dbs_info *policy_dbs = policy->governor_data; in generic_powersave_bias_target() 69 struct dbs_data *dbs_data = policy_dbs->dbs_data; in generic_powersave_bias_target() 70 struct od_dbs_tuners *od_tuners = dbs_data->tuners; in generic_powersave_bias_target() 71 struct cpufreq_frequency_table *freq_table = policy->freq_table; in generic_powersave_bias_target() 74 dbs_info->freq_lo = 0; in generic_powersave_bias_target() 75 dbs_info->freq_lo_delay_us = 0; in generic_powersave_bias_target() [all …]
|
/linux-6.14.4/drivers/gpu/drm/amd/display/dc/ |
D | dm_pp_smu.h | 117 * fixed clock at requested freq, either from FCH bypass or DFS 154 // voltage managed SMU, freq set by driver 161 // freq/voltage managed by SMU 177 * fixed clock at requested freq, either from FCH bypass or DFS 234 * is used to perform uCLK switching, so disabling pstate disables uCLK switching. 236 * Note that when setting handshake to unsupported, the call is pre-emptive. That means 238 * request to go un-acked. Only when the call completes should such a state be applied to 254 uint32_t Freq; // In MHz member
|
/linux-6.14.4/drivers/net/wireless/broadcom/b43/ |
D | radio_2059.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 26 /* Values for various registers uploaded on channel switching */ 29 u16 freq; member 59 *b43_phy_ht_get_channeltab_e_r2059(struct b43_wldev *dev, u16 freq);
|
/linux-6.14.4/drivers/acpi/dptf/ |
D | dptf_pch_fivr.c | 1 // SPDX-License-Identifier: GPL-2.0-only 24 int ret = -EFAULT; in pch_fivr_read() 31 if (!obj || obj->type != ACPI_TYPE_PACKAGE) in pch_fivr_read() 38 if (fivr_resp->status) in pch_fivr_read() 51 * freq_mhz_low_clock : Set PCH FIVR switching freq for 53 * freq_mhz_high_clock : Set PCH FIVR switching freq for 65 status = pch_fivr_read(acpi_dev->handle, #method, &fivr_resp);\ 82 return -EINVAL;\ 84 status = acpi_execute_simple_method(acpi_dev->handle, #method, val);\ 88 return -EINVAL;\ [all …]
|
/linux-6.14.4/drivers/staging/media/av7110/ |
D | av7110_v4l.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * - video4linux interface for DVB and Siemens DVB-C analog module 6 * Copyright (C) 1999-2002 Ralph Metzler 10 * Copyright (C) 1998,1999 Christian Theiss <[email protected]-augsburg.de> 33 switch (av7110->adac_type) { in msp_writereg() 44 if (i2c_transfer(&av7110->i2c_adap, &msgs, 1) != 1) { in msp_writereg() 45 dprintk(1, "failed @ card %d, %u = %u\n", av7110->dvb_adapter.num, reg, val); in msp_writereg() 46 return -EIO; in msp_writereg() 60 switch (av7110->adac_type) { in msp_readreg() 73 if (i2c_transfer(&av7110->i2c_adap, &msgs[0], 2) != 2) { in msp_readreg() [all …]
|
/linux-6.14.4/arch/arm/mach-shmobile/ |
D | setup-rcar-gen2.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * R-Car Generation 2 support 12 #include <linux/dma-map-ops.h> 23 #include "rcar-gen2.h" 26 { .compatible = "renesas,r8a7742-cpg-mssr", .data = "extal" }, 27 { .compatible = "renesas,r8a7743-cpg-mssr", .data = "extal" }, 28 { .compatible = "renesas,r8a7744-cpg-mssr", .data = "extal" }, 29 { .compatible = "renesas,r8a7790-cpg-mssr", .data = "extal" }, 30 { .compatible = "renesas,r8a7791-cpg-mssr", .data = "extal" }, 31 { .compatible = "renesas,r8a7793-cpg-mssr", .data = "extal" }, [all …]
|
/linux-6.14.4/drivers/net/wireless/ath/ |
D | spectral_common.h | 33 * TODO: this might need rework when switching to nl80211-based 54 __be16 freq; member 71 __be16 freq; member
|
/linux-6.14.4/arch/arm/lib/ |
D | delay.c | 1 // SPDX-License-Identifier: GPL-2.0-only 18 * Default to the loop-based delay implementation. 33 return -ENXIO; in read_current_timer() 35 *timer_val = delay_timer->read_current_timer(); in read_current_timer() 49 while ((get_cycles() - start) < cycles) in __timer_delay() 70 clocks_calc_mult_shift(&new_mult, &new_shift, timer->freq, in register_current_timer_delay() 81 pr_info("Switching to timer-based delay loop, resolution %lluns\n", res); in register_current_timer_delay() 83 lpj_fine = timer->freq / HZ; in register_current_timer_delay()
|
/linux-6.14.4/sound/aoa/soundbus/ |
D | soundbus.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 15 /* When switching from master to slave or the other way around, 22 * The constants here are codec-point of view, so when we switch 71 * to be used (master clock speed = sysclock_factor * sampling freq) 76 /* Bus factor, bus clock speed = bus_factor * sampling freq) 82 /* clock switching, see above */ 89 * That can depend on other user-switchable controls.
|
/linux-6.14.4/Documentation/devicetree/bindings/regulator/ |
D | mps,mpq7920.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Saravanan Sekar <[email protected]> 14 pattern: "pmic@[0-9a-f]{1,2}" 17 - mps,mpq7920 27 after their hardware counterparts BUCK[1-4], one LDORTC, and LDO[2-5] 30 mps,switch-freq: 35 switching frequency must be one of following corresponding value 44 "^ldo[1-4]$": [all …]
|
/linux-6.14.4/drivers/gpu/drm/msm/ |
D | msm_gpu_devfreq.c | 1 // SPDX-License-Identifier: GPL-2.0-only 19 static int msm_devfreq_target(struct device *dev, unsigned long *freq, in msm_devfreq_target() argument 23 struct msm_gpu_devfreq *df = &gpu->devfreq; in msm_devfreq_target() 27 * Note that devfreq_recommended_opp() can modify the freq in msm_devfreq_target() 30 opp = devfreq_recommended_opp(dev, freq, flags); in msm_devfreq_target() 38 * the new target freq (to use when we return to active) in msm_devfreq_target() 40 if (df->idle_freq) { in msm_devfreq_target() 41 df->idle_freq = *freq; in msm_devfreq_target() 46 if (gpu->funcs->gpu_set_freq) { in msm_devfreq_target() 47 mutex_lock(&df->lock); in msm_devfreq_target() [all …]
|
/linux-6.14.4/drivers/memory/samsung/ |
D | exynos5422-dmc.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include <linux/devfreq-event.h> 101 * struct dmc_opp_table - Operating level desciption 113 * struct exynos5_dmc - main structure describing DMC device 196 __val = (t_val) << (timing)->bit_beg; \ 220 TIMING_FIELD("tW2W-C2C", 14, 14), 221 TIMING_FIELD("tR2R-C2C", 12, 12), 243 for (i = 0; i < dmc->num_counters; i++) { in exynos5_counters_set_event() 244 if (!dmc->counter[i]) in exynos5_counters_set_event() 246 ret = devfreq_event_set_event(dmc->counter[i]); in exynos5_counters_set_event() [all …]
|
/linux-6.14.4/kernel/sched/ |
D | cpufreq_schedutil.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * CPUFreq governor based on scheduler-provided CPU utilization data. 52 /* The field below is for single-CPU policies only: */ 67 * Since cpufreq_update_util() is called with rq->lock held for in sugov_should_update_freq() 68 * the @target_cpu, our per-CPU data is fully serialized. in sugov_should_update_freq() 70 * However, drivers cannot in general deal with cross-CPU in sugov_should_update_freq() 72 * sugov_update_commit() call may not for the fast switching platforms. in sugov_should_update_freq() 78 * This is needed on the slow switching platforms too to prevent CPUs in sugov_should_update_freq() 81 if (!cpufreq_this_cpu_can_update(sg_policy->policy)) in sugov_should_update_freq() 84 if (unlikely(READ_ONCE(sg_policy->limits_changed))) { in sugov_should_update_freq() [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/mfd/ |
D | x-powers,axp152.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/mfd/x-powers,axp152.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: X-Powers AXP PMIC 10 - Chen-Yu Tsai <[email protected]> 13 - if: 18 - x-powers,axp152 19 - x-powers,axp202 20 - x-powers,axp209 [all …]
|
/linux-6.14.4/sound/soc/codecs/ |
D | max9867.c | 1 // SPDX-License-Identifier: GPL-2.0 5 // Copyright 2013-2015 Maxim Integrated Products 6 // Copyright 2018 Ladislav Michl <ladis@linux-mips.org> 42 "Butterworth/8-24" 55 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in max9867_adc_dac_event() 71 max9867->adc_dac_active |= BIT(adc_dac); in max9867_adc_dac_event() 73 max9867->adc_dac_active &= ~BIT(adc_dac); in max9867_adc_dac_event() 86 ret = regmap_read(max9867->regmap, MAX9867_CODECFLTR, ®); in max9867_filter_get() 88 return -EINVAL; in max9867_filter_get() 91 ucontrol->value.enumerated.item[0] = 1; in max9867_filter_get() [all …]
|
/linux-6.14.4/drivers/media/v4l2-core/ |
D | tuner-core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * Copyright(c) 2005-2011 by Mauro Carvalho Chehab 9 * - Added support for a separate Radio tuner 10 * - Major rework and cleanups at the code 31 #include <media/tuner-types.h> 32 #include <media/v4l2-device.h> 33 #include <media/v4l2-ioctl.h> 39 #include "tuner-simple.h" 45 #define UNSET (-1U) 64 static char pal[] = "--"; [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/net/wireless/ |
D | mediatek,mt76.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 # Copyright (c) 2018-2019 The Linux Foundation. All rights reserved. 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Felix Fietkau <[email protected]> 12 - Lorenzo Bianconi <[email protected]> 13 - Ryder Lee <[email protected]> 25 - mediatek,mt76 26 - mediatek,mt7628-wmac 27 - mediatek,mt7622-wmac [all …]
|
/linux-6.14.4/tools/power/cpupower/bench/ |
D | README-BENCH | 1 This is cpufreq-bench, a microbenchmark for the cpufreq framework. 7 - Identify worst case performance loss when doing dynamic frequency 9 - Identify average reaction time of a governor to CPU load changes 10 - (Stress) Testing whether a cpufreq low level driver or governor works 12 - Identify cpufreq related performance regressions between kernels 13 - Possibly Real time priority testing? -> what happens if there are 15 - ... 18 - Power saving related regressions (In fact as better the performance 21 - Real world (workloads) 27 cpufreq-bench helps to test the condition of a given cpufreq governor. [all …]
|