| /kernel/linux/linux-5.10/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 <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 …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/leds/backlight/ |
| D | pm8941-wled.txt | 4 - compatible: should be "qcom,pm8941-wled" 5 - reg: slave address 8 - default-brightness: brightness value on boot, value from: 0-4095 10 - label: The name of the backlight device 11 - qcom,cs-out: bool; enable current sink output 12 - qcom,cabc: bool; enable content adaptive backlight control 13 - qcom,ext-gen: bool; use externally generated modulator signal to dim 14 - qcom,current-limit: mA; per-string current limit; value from 0 to 25 16 - qcom,current-boost-limit: mA; boost current limit; one of: 19 - qcom,switching-freq: kHz; switching frequency; one of: [all …]
|
| /kernel/linux/linux-4.19/drivers/cpufreq/ |
| D | Kconfig.powerpc | 7 For details, take a look at <file:Documentation/cpu-freq/>. 23 This adds support for frequency switching on Maple 970FX 30 This adds support for frequency switching on Apple PowerBooks, 38 This adds support for frequency switching on Apple iMac G5, 46 This adds the support for frequency switching on PA Semi 54 This adds support for CPU frequency switching on IBM POWERNV
|
| D | cpufreq.c | 5 * (C) 2002 - 2003 Dominik Brodowski <linux@brodo.de> 8 * Oct 2005 - Ashok Raj <ashok.raj@intel.com> 10 * Feb 2006 - Jacob Shin <jacob.shin@amd.com> 11 * Fix handling for CPU hotplug -- affected CPUs 38 return cpumask_empty(policy->cpus); in policy_is_inactive() 60 * The "cpufreq driver" - the arch- or hardware-dependent low 73 return cpufreq_driver->target_index || cpufreq_driver->target; in has_target() 107 return !!(cpufreq_driver->flags & CPUFREQ_HAVE_GOVERNOR_PER_POLICY); in have_governor_per_policy() 114 return &policy->kobj; in get_governor_parent_kobj() 135 idle_time = cur_wall_time - busy_time; in get_cpu_idle_time_jiffy() [all …]
|
| D | s3c2416-cpufreq.c | 50 /* pseudo-frequency for dvs mode */ 64 /* S3C2416 only supports changing the voltage in the dvs-mode. 97 /* return our pseudo-frequency when in dvs mode */ in s3c2416_cpufreq_get_speed() 98 if (s3c_freq->is_dvs) in s3c2416_cpufreq_get_speed() 101 return clk_get_rate(s3c_freq->armclk) / 1000; in s3c2416_cpufreq_get_speed() 105 unsigned int freq) in s3c2416_cpufreq_set_armdiv() argument 109 if (clk_get_rate(s3c_freq->armdiv) / 1000 != freq) { in s3c2416_cpufreq_set_armdiv() 110 ret = clk_set_rate(s3c_freq->armdiv, freq * 1000); in s3c2416_cpufreq_set_armdiv() 113 freq, ret); in s3c2416_cpufreq_set_armdiv() 128 if (s3c_freq->is_dvs) { in s3c2416_cpufreq_enter_dvs() [all …]
|
| D | pmac64-cpufreq.c | 2 * Copyright (C) 2002 - 2005 Benjamin Herrenschmidt <benh@kernel.crashing.org> 3 * and Markus Demleitner <msdemlei@cl.uni-heidelberg.de> 49 #define PCR_FREQ_REQ_VALID 0x00010000U /* freq request valid */ 76 * the various frequencies, retrieved from the device-tree 96 * SMU based voltage switching for Neo2 platforms 111 * Platform function based voltage/vdnap switching for Neo2 148 * SCOM based frequency switching for 970FX rev3 208 * Fake voltage switching for platforms with missing support 218 * Platform function based voltage switching for PowerMac7,2 & 7,3 243 * Platform function based frequency switching for PowerMac7,2 & 7,3 [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/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 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
|
| 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 …]
|
| D | s3c2416-cpufreq.c | 1 // 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 …]
|
| D | pmac64-cpufreq.c | 1 // 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 …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/ |
| D | dm_pp_smu.h | 116 * 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
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-4.19/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);
|
| /kernel/linux/linux-5.10/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);
|
| /kernel/linux/linux-4.19/drivers/clk/meson/ |
| D | gxbb-aoclk-32k.c | 1 // SPDX-License-Identifier: GPL-2.0+ 7 #include <linux/clk-provider.h> 10 #include "gxbb-aoclk.h" 14 * 32,768KHz clock for low-power suspend mode and CEC. 17 * ______ | Div1 |-| Cnt1 | ______ 19 * Xtal-->| Gate |---| ______ ______ X-X--| Gate |--> 21 * | | Div2 |-| Cnt2 | | 26 * for each divider to set when the switching is done. 67 * - will use N1 divider only 69 * - hold M1 cycles of N1 divider then changes to N2 [all …]
|
| /kernel/linux/linux-5.10/drivers/media/pci/ttpci/ |
| D | av7110_v4l.c | 1 // 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 …]
|
| /kernel/linux/linux-4.19/drivers/media/pci/ttpci/ |
| D | av7110_v4l.c | 2 * av7110_v4l.c: av7110 video4linux interface for DVB and Siemens DVB-C analog module 4 * Copyright (C) 1999-2002 Ralph Metzler 8 * Copyright (C) 1998,1999 Christian Theiss <mistert@rz.fh-augsburg.de> 43 switch (av7110->adac_type) { in msp_writereg() 54 if (i2c_transfer(&av7110->i2c_adap, &msgs, 1) != 1) { in msp_writereg() 55 dprintk(1, "dvb-ttpci: failed @ card %d, %u = %u\n", in msp_writereg() 56 av7110->dvb_adapter.num, reg, val); in msp_writereg() 57 return -EIO; in msp_writereg() 71 switch (av7110->adac_type) { in msp_readreg() 84 if (i2c_transfer(&av7110->i2c_adap, &msgs[0], 2) != 2) { in msp_readreg() [all …]
|
| /kernel/linux/linux-4.19/drivers/net/wireless/ath/ |
| D | spectral_common.h | 33 * TODO: this might need rework when switching to nl80211-based 53 __be16 freq; member 70 __be16 freq; member
|
| /kernel/linux/linux-5.10/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> 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 …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/ath/ |
| D | spectral_common.h | 34 * TODO: this might need rework when switching to nl80211-based 55 __be16 freq; member 72 __be16 freq; member
|
| /kernel/linux/linux-5.10/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()
|
| /kernel/linux/linux-5.10/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 <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 …]
|
| /kernel/linux/linux-5.10/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.
|
| /kernel/linux/linux-4.19/arch/arm/lib/ |
| D | delay.c | 17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 30 * Default to the loop-based delay implementation. 45 return -ENXIO; in read_current_timer() 47 *timer_val = delay_timer->read_current_timer(); in read_current_timer() 61 while ((get_cycles() - start) < cycles) in __timer_delay() 82 clocks_calc_mult_shift(&new_mult, &new_shift, timer->freq, in register_current_timer_delay() 93 pr_info("Switching to timer-based delay loop, resolution %lluns\n", res); in register_current_timer_delay() 95 lpj_fine = timer->freq / HZ; in register_current_timer_delay()
|