Home
last modified time | relevance | path

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

12345

/linux/Documentation/devicetree/bindings/leds/backlight/
H A 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 <andersson@kernel.org>
11 - Kiran Gunda <quic_kgunda@quicinc.com>
21 - qcom,pm8941-wled
22 - qcom,pmi8950-wled
23 - qcom,pmi8994-wled
24 - qcom,pmi8998-wled
[all …]
/linux/drivers/devfreq/
H A 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/drivers/gpu/drm/amd/display/dc/
H A Ddm_pp_smu.h117 * 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/arch/arm/mach-shmobile/
H A Dsetup-rcar-gen2.c1 // SPDX-License-Identifier: GPL-2.0
3 * R-Car Generation 2 support
22 { .compatible = "renesas,r8a7742-cpg-mssr", .data = "extal" },
23 { .compatible = "renesas,r8a7743-cpg-mssr", .data = "extal" },
24 { .compatible = "renesas,r8a7744-cpg-mssr", .data = "extal" },
25 { .compatible = "renesas,r8a7790-cpg-mssr", .data = "extal" },
26 { .compatible = "renesas,r8a7791-cpg-mssr", .data = "extal" },
27 { .compatible = "renesas,r8a7793-cpg-mssr", .data = "extal" },
35 u32 freq = 20000000; in get_extal_freq() local
40 return freq; in get_extal_freq()
[all …]
/linux/drivers/net/wireless/broadcom/b43/
H A 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/drivers/staging/media/av7110/
H A Dav7110_v4l.c1 // 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 <mistert@rz.fh-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/drivers/net/wireless/ath/
H A Dspectral_common.h33 * TODO: this might need rework when switching to nl80211-based
54 __be16 freq; member
71 __be16 freq; member
/linux/arch/arm/lib/
H A 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/sound/aoa/soundbus/
H A 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/Documentation/devicetree/bindings/regulator/
H A 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
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/drivers/memory/samsung/
H A Dexynos5422-dmc.c1 // 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/kernel/sched/
H A Dcpufreq_schedutil.c1 // SPDX-License-Identifier: GPL-2.0
3 * CPUFreq governor based on scheduler-provided CPU utilization data.
54 /* The field below is for single-CPU policies only: */
69 * Since cpufreq_update_util() is called with rq->lock held for in sugov_should_update_freq()
70 * the @target_cpu, our per-CPU data is fully serialized. in sugov_should_update_freq()
72 * However, drivers cannot in general deal with cross-CPU in sugov_should_update_freq()
74 * sugov_update_commit() call may not for the fast switching platforms. in sugov_should_update_freq()
80 * This is needed on the slow switching platforms too to prevent CPUs in sugov_should_update_freq()
83 if (!cpufreq_this_cpu_can_update(sg_policy->policy)) in sugov_should_update_freq()
86 if (unlikely(READ_ONCE(sg_policy->limits_changed))) { in sugov_should_update_freq()
[all …]
/linux/Documentation/devicetree/bindings/mfd/
H A Dx-powers,axp152.yaml1 # 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 <wens@csie.org>
13 - if:
18 - x-powers,axp152
19 - x-powers,axp202
20 - x-powers,axp209
[all …]
/linux/sound/soc/codecs/
H A Dmax9867.c1 // 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, &reg); in max9867_filter_get()
88 return -EINVAL; in max9867_filter_get()
91 ucontrol->value.enumerated.item[0] = 1; in max9867_filter_get()
[all …]
/linux/drivers/media/v4l2-core/
H A 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>
39 #include "tuner-simple.h"
45 #define UNSET (-1U)
64 static char pal[] = "--";
[all …]
/linux/tools/perf/util/
H A Devsel.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Parts came from builtin-{top,stat,record}.c, see those files for further
10 * 'int-ll64.h' and avoid compile warnings when printing __u64 with %llu.
39 #include "time-utils.h"
50 #include "trace-event.h"
65 #include "../perf-sys.h"
66 #include "util/parse-branch-options.h"
67 #include "util/bpf-filter.h"
72 #include "util/intel-tpebs.h"
77 #include <event-parse.h>
[all …]
/linux/Documentation/devicetree/bindings/net/wireless/
H A Dmediatek,mt76.yaml1 # 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 <nbd@nbd.name>
12 - Lorenzo Bianconi <lorenzo@kernel.org>
13 - Ryder Lee <ryder.lee@mediatek.com>
25 - mediatek,mt76
26 - mediatek,mt7628-wmac
27 - mediatek,mt7622-wmac
[all …]
/linux/tools/power/cpupower/bench/
H A DREADME-BENCH1 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 …]
/linux/include/linux/
H A Dcpufreq.h1 /* SPDX-License-Identifier: GPL-2.0-only */
6 * (C) 2002 - 2003 Dominik Brodowski <linux@brodo.de>
49 /* in 10^(-9) s = nanoseconds */
70 unsigned int suspend_freq; /* freq to set during suspend */
94 * - Any routine that wants to read from the policy structure will
96 * - Any routine that will write to the policy structure and/or may take away
104 * - fast_switch_possible should be set by the driver if it can
107 * - fast_switch_enabled is to be set by governors that support fast
108 * frequency switching with the help of cpufreq_enable_fast_switch().
158 /* cpufreq-stats */
[all …]
/linux/drivers/cpufreq/
H A Dspear-cpufreq.c2 * drivers/cpufreq/spear-cpufreq.c
60 return ERR_PTR(-EINVAL); in spear1340_cpu_get_possible_parent()
73 * Hence in SPEAr1340 we would operate on source clock directly before switching
148 pr_err("CPU Freq: cpu clk_set_rate failed: %d\n", ret); in spear_cpufreq_target()
155 policy->clk = spear_cpufreq.clk; in spear_cpufreq_init()
162 .name = "cpufreq-spear",
180 return -ENODEV; in spear_cpufreq_probe()
183 if (of_property_read_u32(np, "clock-latency", in spear_cpufreq_probe()
190 ret = -ENODEV; in spear_cpufreq_probe()
196 ret = -ENOMEM; in spear_cpufreq_probe()
[all …]
/linux/rust/kernel/
H A Dcpufreq.rs1 // SPDX-License-Identifier: GPL-2.0
9 //! Reference: <https://docs.kernel.org/admin-guide/pm/cpufreq.html>
55 /// Supports multiple clock domains with per-policy governors in `cpu/cpuN/cpufreq/`.
58 /// Allows post-change notifications outside of the `target()` routine.
61 /// Ensure CPU starts at a valid frequency from the driver's freq-table.
90 // Construct from a C-compatible `u32` value.
91 fn new(val: u32) -> Result<Self> { in new()
104 // Convert to a C-compatible `u32` value.
105 fn from(rel: Relation) -> Self { in from()
141 pub unsafe fn from_raw_mut<'a>(ptr: *mut bindings::cpufreq_policy_data) -> &'a mut Self { in from_raw_mut()
[all …]
/linux/arch/arc/kernel/
H A Dsetup.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
31 #include <asm/dsp-impl.h>
38 /* Part of U-boot ABI: see head.S */
45 struct task_struct *_current_task[NR_CPUS]; /* For stack switching */
100 if (info->arcver < 0x34) in arcompact_mumbojumbo()
105 n += scnprintf(buf + n, len - n, "processor [%d]\t: %s (%s ISA) %s%s%s\n", in arcompact_mumbojumbo()
108 IS_AVAIL1(be, "[Big-Endian]")); in arcompact_mumbojumbo()
114 n += scnprintf(buf + n, len - n, "FPU\t\t: %s%s\n", in arcompact_mumbojumbo()
120 bpu_cache = 256 << (bpu.ent - 1); in arcompact_mumbojumbo()
[all …]
/linux/drivers/gpu/drm/amd/pm/powerplay/inc/
H A Dsmu9_driver_if.h46 #define MAX_GFXCLK_DPM_LEVEL (NUM_GFXCLK_DPM_LEVELS - 1)
47 #define MAX_UVD_DPM_LEVEL (NUM_UVD_DPM_LEVELS - 1)
48 #define MAX_VCE_DPM_LEVEL (NUM_VCE_DPM_LEVELS - 1)
49 #define MAX_MP0CLK_DPM_LEVEL (NUM_MP0CLK_DPM_LEVELS - 1)
50 #define MAX_UCLK_DPM_LEVEL (NUM_UCLK_DPM_LEVELS - 1)
51 #define MAX_SOCCLK_DPM_LEVEL (NUM_SOCCLK_DPM_LEVELS - 1)
52 #define MAX_DCEFCLK_DPM_LEVEL (NUM_DCEFCLK_DPM_LEVELS - 1)
53 #define MAX_LINK_DPM_LEVEL (NUM_LINK_LEVELS - 1)
65 #define MAX_EVV_VOLTAGE_LEVEL (NUM_EVV_VOLTAGE_LEVELS - 1)
121 uint16_t Freq; /* in MHz */ member
[all …]
/linux/drivers/video/fbdev/
H A Dcirrusfb.c2 * drivers/video/cirrusfb.c - driver for Cirrus Logic chipsets
4 * Copyright 1999-2001 Jeff Garzik <jgarzik@pobox.com>
29 * Format this code with GNU indent '-kr -i8 -pcs' options.
103 * per-board-type information, used for enumerating and abstracting
104 * chip-specific information
108 * is required at runtime. Maybe separate into an init-only and
109 * a run-time table?
114 /* for 1/4bpp, 8bpp 15/16bpp, 24bpp, 32bpp - numbers from xorg code */
262 CHIP(PCI_DEVICE_ID_CIRRUS_5430, BT_ALPINE), /* GD-5440 is same id */
375 /*--- Interface used by the world ------------------------------------------*/
[all …]
/linux/drivers/usb/phy/
H A Dphy-tegra-usb.c1 // SPDX-License-Identifier: GPL-2.0
173 unsigned int freq; member
183 .freq = 12000000,
191 .freq = 13000000,
199 .freq = 19200000,
207 .freq = 26000000,
223 void __iomem *base = phy->regs; in set_pts()
226 if (phy->soc_config->has_hostpc) { in set_pts()
242 void __iomem *base = phy->regs; in set_phcd()
245 if (phy->soc_config->has_hostpc) { in set_phcd()
[all …]

12345