Home
last modified time | relevance | path

Searched +full:switching +full:- +full:freq (Results 1 – 25 of 156) sorted by relevance

1234567

/linux-5.10/Documentation/devicetree/bindings/leds/backlight/
Dqcom-wled.yaml1 # 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 <bjorn.andersson@linaro.org>
11 - Kiran Gunda <kgunda@codeaurora.org>
21 - qcom,pm8941-wled
22 - qcom,pmi8998-wled
23 - qcom,pm660l-wled
24 - qcom,pm8150l-wled
[all …]
/linux-5.10/drivers/devfreq/
Dimx8m-ddrc.c1 // 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-5.10/drivers/cpufreq/
DKconfig.powerpc1 # 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 Maple 970FX
31 This adds support for frequency switching on Apple PowerBooks,
39 This adds support for frequency switching on Apple iMac G5,
47 This adds the support for frequency switching on PA Semi
55 This adds support for CPU frequency switching on IBM POWERNV
Dcpufreq.c1 // 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 …]
Ds3c2416-cpufreq.c1 // SPDX-License-Identifier: GPL-2.0-only
47 /* pseudo-frequency for dvs mode */
61 /* S3C2416 only supports changing the voltage in the dvs-mode.
94 /* return our pseudo-frequency when in dvs mode */ in s3c2416_cpufreq_get_speed()
95 if (s3c_freq->is_dvs) in s3c2416_cpufreq_get_speed()
98 return clk_get_rate(s3c_freq->armclk) / 1000; in s3c2416_cpufreq_get_speed()
102 unsigned int freq) in s3c2416_cpufreq_set_armdiv() argument
106 if (clk_get_rate(s3c_freq->armdiv) / 1000 != freq) { in s3c2416_cpufreq_set_armdiv()
107 ret = clk_set_rate(s3c_freq->armdiv, freq * 1000); in s3c2416_cpufreq_set_armdiv()
110 freq, ret); in s3c2416_cpufreq_set_armdiv()
[all …]
Dpmac64-cpufreq.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2002 - 2005 Benjamin Herrenschmidt <benh@kernel.crashing.org>
4 * and Markus Demleitner <msdemlei@cl.uni-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 …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
16 For details, take a look at <file:Documentation/cpu-freq>.
80 loading your cpufreq low-level hardware driver.
93 loading your cpufreq low-level hardware driver.
143 For details, take a look at <file:Documentation/cpu-freq/>.
151 'ondemand' - This driver adds a dynamic cpufreq policy governor.
155 do fast frequency switching (i.e, very low latency frequency
161 For details, take a look at linux/Documentation/cpu-freq.
170 'conservative' - this driver is rather similar to the 'ondemand'
179 step-by-step latency issues between the minimum and maximum frequency
[all …]
Dmaple-cpufreq.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2011 Dmitry Eremin-Solenikov
4 * Copyright (C) 2002 - 2005 Benjamin Herrenschmidt <benh@kernel.crashing.org>
5 * and Markus Demleitner <msdemlei@cl.uni-heidelberg.de>
40 #define PCR_FREQ_REQ_VALID 0x00010000U /* freq request valid */
67 * the various frequencies, retrieved from the device-tree
75 * SCOM based frequency switching for 970FX rev3
164 int rc = -ENODEV; in maple_cpufreq_init()
189 /* Look for the powertune data in the device-tree */ in maple_cpufreq_init()
191 * On Maple this property is provided by PIBS in dual-processor config, in maple_cpufreq_init()
[all …]
Dvexpress-spc-cpufreq.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2013 - 2019 ARM Ltd.
47 #define ACTUAL_FREQ(cluster, freq) ((cluster == A7_CLUSTER) ? freq << 1 : freq) argument
48 #define VIRT_FREQ(cluster, freq) ((cluster == A7_CLUSTER) ? freq >> 1 : freq) argument
141 ret = -EIO; in ve_spc_cpufreq_set_rate()
157 /* Recalc freq for old cluster when switching clusters */ in ve_spc_cpufreq_set_rate()
164 /* Set freq of old cluster if there are cpus left on it */ in ve_spc_cpufreq_set_rate()
183 u32 cpu = policy->cpu, cur_cluster, new_cluster, actual_cluster; in ve_spc_cpufreq_set_target()
220 if (pos->frequency < min_freq) in get_table_min()
221 min_freq = pos->frequency; in get_table_min()
[all …]
Dcpufreq_ondemand.c1 // SPDX-License-Identifier: GPL-2.0-only
13 #include <linux/percpu-defs.h>
20 /* On-demand governor macros */
57 * Find right freq to be set now with powersave_bias on.
68 struct policy_dbs_info *policy_dbs = policy->governor_data; in generic_powersave_bias_target()
70 struct dbs_data *dbs_data = policy_dbs->dbs_data; in generic_powersave_bias_target()
71 struct od_dbs_tuners *od_tuners = dbs_data->tuners; in generic_powersave_bias_target()
72 struct cpufreq_frequency_table *freq_table = policy->freq_table; in generic_powersave_bias_target()
75 dbs_info->freq_lo = 0; in generic_powersave_bias_target()
76 dbs_info->freq_lo_delay_us = 0; in generic_powersave_bias_target()
[all …]
/linux-5.10/drivers/acpi/dptf/
Ddptf_pch_fivr.c1 // SPDX-License-Identifier: GPL-2.0-only
15 * freq_mhz_low_clock : Set PCH FIVR switching freq for
17 * freq_mhz_high_clock : Set PCH FIVR switching freq for
29 status = acpi_evaluate_integer(acpi_dev->handle, #method,\
34 return -EINVAL;\
47 return -EINVAL;\
49 status = acpi_execute_simple_method(acpi_dev->handle, #method, val);\
53 return -EINVAL;\
82 acpi_dev = ACPI_COMPANION(&(pdev->dev)); in pch_fivr_add()
84 return -ENODEV; in pch_fivr_add()
[all …]
/linux-5.10/drivers/gpu/drm/amd/display/dc/
Ddm_pp_smu.h116 * fixed clock at requested freq, either from FCH bypass or DFS
153 // voltage managed SMU, freq set by driver
160 // freq/voltage managed by SMU
176 * fixed clock at requested freq, either from FCH bypass or DFS
233 * is used to perform uCLK switching, so disabling pstate disables uCLK switching.
235 * Note that when setting handshake to unsupported, the call is pre-emptive. That means
237 * request to go un-acked. Only when the call completes should such a state be applied to
250 uint32_t Freq; // In MHz member
/linux-5.10/drivers/net/wireless/broadcom/b43/
Dradio_2059.h1 /* 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-5.10/drivers/media/pci/ttpci/
Dav7110_v4l.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * av7110_v4l.c: av7110 video4linux interface for DVB and Siemens DVB-C analog module
5 * Copyright (C) 1999-2002 Ralph Metzler
9 * Copyright (C) 1998,1999 Christian Theiss <mistert@rz.fh-augsburg.de>
32 switch (av7110->adac_type) { in msp_writereg()
43 if (i2c_transfer(&av7110->i2c_adap, &msgs, 1) != 1) { in msp_writereg()
44 dprintk(1, "dvb-ttpci: failed @ card %d, %u = %u\n", in msp_writereg()
45 av7110->dvb_adapter.num, reg, val); in msp_writereg()
46 return -EIO; in msp_writereg()
60 switch (av7110->adac_type) { in msp_readreg()
[all …]
/linux-5.10/arch/arm/mach-shmobile/
Dsetup-rcar-gen2.c1 // SPDX-License-Identifier: GPL-2.0
3 * R-Car Generation 2 support
12 #include <linux/dma-map-ops.h>
24 #include "rcar-gen2.h"
27 { .compatible = "renesas,r8a7742-cpg-mssr", .data = "extal" },
28 { .compatible = "renesas,r8a7743-cpg-mssr", .data = "extal" },
29 { .compatible = "renesas,r8a7744-cpg-mssr", .data = "extal" },
30 { .compatible = "renesas,r8a7790-cpg-mssr", .data = "extal" },
31 { .compatible = "renesas,r8a7791-cpg-mssr", .data = "extal" },
32 { .compatible = "renesas,r8a7793-cpg-mssr", .data = "extal" },
[all …]
/linux-5.10/drivers/net/wireless/ath/
Dspectral_common.h34 * TODO: this might need rework when switching to nl80211-based
55 __be16 freq; member
72 __be16 freq; member
/linux-5.10/arch/arm/lib/
Ddelay.c1 // 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-5.10/sound/aoa/soundbus/
Dsoundbus.h1 /* 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-5.10/Documentation/devicetree/bindings/regulator/
Dmps,mpq7920.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Saravanan Sekar <sravanhome@gmail.com>
14 pattern: "pmic@[0-9a-f]{1,2}"
17 - mps,mpq7920
28 after their hardware counterparts BUCK[1-4], one LDORTC, and LDO[2-5]
31 mps,switch-freq:
36 switching frequency must be one of following corresponding value
40 "^ldo[1-4]$":
[all …]
/linux-5.10/drivers/memory/samsung/
Dexynos5422-dmc.c1 // SPDX-License-Identifier: GPL-2.0
9 #include <linux/devfreq-event.h>
100 * struct dmc_opp_table - Operating level desciption
112 * struct exynos5_dmc - main structure describing DMC device
195 __val = (t_val) << (timing)->bit_beg; \
219 TIMING_FIELD("tW2W-C2C", 14, 14),
220 TIMING_FIELD("tR2R-C2C", 12, 12),
242 for (i = 0; i < dmc->num_counters; i++) { in exynos5_counters_set_event()
243 if (!dmc->counter[i]) in exynos5_counters_set_event()
245 ret = devfreq_event_set_event(dmc->counter[i]); in exynos5_counters_set_event()
[all …]
/linux-5.10/kernel/sched/
Dcpufreq_schedutil.c1 // SPDX-License-Identifier: GPL-2.0
3 * CPUFreq governor based on scheduler-provided CPU utilization data.
59 /* The field below is for single-CPU policies only: */
74 * Since cpufreq_update_util() is called with rq->lock held for in sugov_should_update_freq()
75 * the @target_cpu, our per-CPU data is fully serialized. in sugov_should_update_freq()
77 * However, drivers cannot in general deal with cross-CPU in sugov_should_update_freq()
79 * sugov_update_commit() call may not for the fast switching platforms. in sugov_should_update_freq()
85 * This is needed on the slow switching platforms too to prevent CPUs in sugov_should_update_freq()
88 if (!cpufreq_this_cpu_can_update(sg_policy->policy)) in sugov_should_update_freq()
91 if (unlikely(sg_policy->limits_changed)) { in sugov_should_update_freq()
[all …]
/linux-5.10/drivers/opp/
Dcore.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2009-2010 Texas Instruments Incorporated.
25 * The root of the list of all opp-tables. All opp_table structures branch off
38 list_for_each_entry(opp_dev, &opp_table->dev_list, node) in _find_opp_dev()
39 if (opp_dev->dev == dev) in _find_opp_dev()
51 mutex_lock(&opp_table->lock); in _find_opp_table_unlocked()
53 mutex_unlock(&opp_table->lock); in _find_opp_table_unlocked()
62 return ERR_PTR(-ENODEV); in _find_opp_table_unlocked()
66 * _find_opp_table() - find opp_table struct using device pointer
71 * Return: pointer to 'struct opp_table' if found, otherwise -ENODEV or
[all …]
Dti-opp-supply.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2016-2017 Texas Instruments Incorporated - https://www.ti.com/
5 * Dave Gerlach <d-gerlach@ti.com>
25 * struct ti_opp_supply_optimum_voltage_table - optimized voltage table
35 * struct ti_opp_supply_data - OMAP specific opp supply data
49 * struct ti_opp_supply_of_data - device tree match data
52 * @efuse_voltage_uv: Are the efuse entries in micro-volts? if not, assume
53 * milli-volts.
64 * _store_optimized_voltages() - store optimized voltages
89 ret = -ENODEV; in _store_optimized_voltages()
[all …]
/linux-5.10/sound/soc/codecs/
Dmax9867.c1 // SPDX-License-Identifier: GPL-2.0
5 // Copyright 2013-2015 Maxim Integrated Products
6 // Copyright 2018 Ladislav Michl <ladis@linux-mips.org>
40 "Butterworth/8-24"
53 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in max9867_adc_dac_event()
57 if (!strcmp(w->name, "ADCL")) in max9867_adc_dac_event()
59 else if (!strcmp(w->name, "ADCR")) in max9867_adc_dac_event()
61 else if (!strcmp(w->name, "DACL")) in max9867_adc_dac_event()
63 else if (!strcmp(w->name, "DACR")) in max9867_adc_dac_event()
69 max9867->adc_dac_active |= BIT(adc_dac); in max9867_adc_dac_event()
[all …]
/linux-5.10/drivers/media/v4l2-core/
Dtuner-core.c1 // 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>
38 #include "tuner-xc2028.h"
39 #include "tuner-simple.h"
45 #define UNSET (-1U)
[all …]

1234567