Home
last modified time | relevance | path

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

12345678910>>...12

/OK3568_Linux_fs/kernel/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 <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 …]
/OK3568_Linux_fs/kernel/drivers/cpufreq/
H A 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
H A 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
58 * The "cpufreq driver" - the arch- or hardware-dependent low
77 return cpufreq_driver->target_index || cpufreq_driver->target; in has_target()
112 return !!(cpufreq_driver->flags & CPUFREQ_HAVE_GOVERNOR_PER_POLICY); in have_governor_per_policy()
121 return &policy->kobj; in get_governor_parent_kobj()
145 idle_time = cur_wall_time - busy_time; in get_cpu_idle_time_jiffy()
[all …]
H A 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 …]
H A 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 …]
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
16 For details, take a look at <file:Documentation/cpu-freq>.
38 bool "CPU frequency time-in-state statistics"
40 Export CPU time-in-state information through procfs.
87 loading your cpufreq low-level hardware driver.
100 loading your cpufreq low-level hardware driver.
123 loading your cpufreq low-level hardware driver, using the
124 'interactive' governor for latency-sensitive workloads.
161 For details, take a look at <file:Documentation/cpu-freq/>.
169 'ondemand' - This driver adds a dynamic cpufreq policy governor.
[all …]
H A 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 …]
H A 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 …]
/OK3568_Linux_fs/kernel/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 …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/
H A 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
/OK3568_Linux_fs/kernel/drivers/acpi/dptf/
H A Ddptf_pch_fivr.c1 // 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 …]
/OK3568_Linux_fs/kernel/drivers/media/pci/ttpci/
H A 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 …]
/OK3568_Linux_fs/kernel/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);
/OK3568_Linux_fs/kernel/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.
/OK3568_Linux_fs/kernel/arch/arm/mach-shmobile/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/ath/
H A Dspectral_common.h34 * TODO: this might need rework when switching to nl80211-based
55 __be16 freq; member
72 __be16 freq; member
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/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
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 …]
/OK3568_Linux_fs/u-boot/drivers/clk/rockchip/
H A Dclk_rk322x.c4 * SPDX-License-Identifier: GPL-2.0
8 #include <clk-uclass.h>
17 #include <dt-bindings/clock/rk3228-cru.h>
94 struct rk322x_cru *cru = priv->cru; in rk322x_armclk_set_clk()
101 return -EINVAL; in rk322x_armclk_set_clk()
110 priv->cru, APLL); in rk322x_armclk_set_clk()
113 priv->cru, APLL, hz)) in rk322x_armclk_set_clk()
114 return -EINVAL; in rk322x_armclk_set_clk()
115 rk_clrsetreg(&cru->cru_clksel_con[0], in rk322x_armclk_set_clk()
119 rk_clrsetreg(&cru->cru_clksel_con[1], in rk322x_armclk_set_clk()
[all …]
H A Dclk_rk3328.c4 * SPDX-License-Identifier: GPL-2.0
9 #include <clk-uclass.h>
19 #include <dt-bindings/clock/rk3328-cru.h>
24 ((input_rate) / (output_rate) - 1);
120 struct rk3328_cru *cru = priv->cru; in rk3328_armclk_set_clk()
127 return -EINVAL; in rk3328_armclk_set_clk()
136 priv->cru, NPLL); in rk3328_armclk_set_clk()
139 priv->cru, NPLL, hz)) in rk3328_armclk_set_clk()
140 return -EINVAL; in rk3328_armclk_set_clk()
141 rk_clrsetreg(&cru->clksel_con[0], in rk3328_armclk_set_clk()
[all …]
/OK3568_Linux_fs/external/xserver/hw/kdrive/
H A DXkdrive.man5 Xkdrive \- tiny X server
23 .B -dumb
26 .B -origin \fIX\fP,\fIY\fP
29 .B -screen \fIwidth\fBx\fIheight\fR[\fBx\fIdepth\fR[\fBx\fIfreq\fR]]\fR[\fB@\fIrotation\fR]\fB
32 .B -softCursor
35 .B -videoTest
38 .B -zaphod
39 disable switching screens by moving the pointer across a screen boundary.
41 .B -2button
44 .B -3button
/OK3568_Linux_fs/kernel/drivers/memory/samsung/
H A 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 …]
/OK3568_Linux_fs/kernel/kernel/sched/
H A Dcpufreq_schedutil.c1 // SPDX-License-Identifier: GPL-2.0
3 * CPUFreq governor based on scheduler-provided CPU utilization data.
63 /* The field below is for single-CPU policies only: */
78 * Since cpufreq_update_util() is called with rq->lock held for in sugov_should_update_freq()
79 * the @target_cpu, our per-CPU data is fully serialized. in sugov_should_update_freq()
81 * However, drivers cannot in general deal with cross-CPU in sugov_should_update_freq()
83 * sugov_update_commit() call may not for the fast switching platforms. in sugov_should_update_freq()
89 * This is needed on the slow switching platforms too to prevent CPUs in sugov_should_update_freq()
92 if (!cpufreq_this_cpu_can_update(sg_policy->policy)) in sugov_should_update_freq()
95 if (unlikely(sg_policy->limits_changed)) { in sugov_should_update_freq()
[all …]
/OK3568_Linux_fs/kernel/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
15 #include <traceevent/event-parse.h>
43 #include "trace-event.h"
48 #include "../perf-sys.h"
49 #include "util/parse-branch-options.h"
88 return -EINVAL; in evsel__object_config()
102 #define FD(e, x, y) (*(int *)xyarray__entry(e->core.fd, x, y))
121 * __perf_evsel__calc_id_pos - calculate id_pos.
136 return -1; in __perf_evsel__calc_id_pos()
[all …]
/OK3568_Linux_fs/kernel/drivers/opp/
H A 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 …]

12345678910>>...12