/Linux-v6.1/Documentation/devicetree/bindings/ufs/ |
D | ufs-common.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/ufs/ufs-common.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Alim Akhtar <alim.akhtar@samsung.com> 11 - Avri Altman <avri.altman@wdc.com> 16 clock-names: true 18 freq-table-hz: 21 - description: Minimum frequency for given clock in Hz 22 - description: Maximum frequency for given clock in Hz [all …]
|
D | mediatek,ufs.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Stanley Chu <stanley.chu@mediatek.com> 13 - $ref: ufs-common.yaml 18 - mediatek,mt8183-ufshci 19 - mediatek,mt8192-ufshci 24 clock-names: 26 - const: ufs 34 vcc-supply: true [all …]
|
D | cdns,ufshc.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jan Kotas <jank@cadence.com> 12 # Select only our matches, not all jedec,ufs-2.0 18 - cdns,ufshc 19 - cdns,ufshc-m31-16nm 21 - compatible 24 - $ref: ufs-common.yaml 29 - enum: [all …]
|
D | renesas,ufs.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Renesas R-Car UFS Host Controller 10 - Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> 13 - $ref: ufs-common.yaml 17 const: renesas,r8a779f0-ufs 25 clock-names: 27 - const: fck 28 - const: ref_clk [all …]
|
D | hisilicon,ufs.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Li Wei <liwei213@huawei.com> 18 - hisilicon,hi3660-ufs 19 - hisilicon,hi3670-ufs 21 - compatible 24 - $ref: ufs-common.yaml 29 - items: 30 - const: hisilicon,hi3660-ufs [all …]
|
D | ti,j721e-ufs.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/ufs/ti,j721e-ufs.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Vignesh Raghavendra <vigneshr@ti.com> 15 - const: ti,j721e-ufs 23 description: phandle to the M-PHY clock 25 power-domains: 28 assigned-clocks: 31 assigned-clock-parents: [all …]
|
/Linux-v6.1/drivers/ufs/host/ |
D | ufshcd-pltfrm.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Copyright (C) 2011-2013 Samsung India Software Operations 17 #include "ufshcd-pltfrm.h" 27 struct device *dev = hba->dev; in ufshcd_parse_clock_info() 28 struct device_node *np = dev->of_node; in ufshcd_parse_clock_info() 38 cnt = of_property_count_strings(np, "clock-names"); in ufshcd_parse_clock_info() 39 if (!cnt || (cnt == -EINVAL)) { in ufshcd_parse_clock_info() 51 if (!of_get_property(np, "freq-table-hz", &len)) { in ufshcd_parse_clock_info() 52 dev_info(dev, "freq-table-hz property not specified\n"); in ufshcd_parse_clock_info() 61 dev_err(dev, "%s len mismatch\n", "freq-table-hz"); in ufshcd_parse_clock_info() [all …]
|
/Linux-v6.1/drivers/cpufreq/ |
D | sh-cpufreq.c | 4 * Copyright (C) 2002 - 2012 Paul Mundt 7 * Clock framework bits from arch/avr32/mach-at32ap/cpufreq.c 9 * Copyright (C) 2004-2007 Atmel Corporation 34 unsigned int freq; member 45 struct cpufreq_policy *policy = target->policy; in __sh_cpufreq_target() 46 int cpu = policy->cpu; in __sh_cpufreq_target() 50 long freq; in __sh_cpufreq_target() local 53 return -ENODEV; in __sh_cpufreq_target() 57 /* Convert target_freq from kHz to Hz */ in __sh_cpufreq_target() 58 freq = clk_round_rate(cpuclk, target->freq * 1000); in __sh_cpufreq_target() [all …]
|
D | s3c24xx-cpufreq.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2006-2008 Simtec Electronics 24 #include <linux/soc/samsung/s3c-cpufreq-core.h> 25 #include <linux/soc/samsung/s3c-pm.h> 30 /* note, cpufreq support deals in kHz, no Hz */ 62 cfg->freq.fclk = fclk = clk_get_rate(clk_fclk); in s3c_cpufreq_getcur() 63 cfg->freq.hclk = hclk = clk_get_rate(clk_hclk); in s3c_cpufreq_getcur() 64 cfg->freq.pclk = pclk = clk_get_rate(clk_pclk); in s3c_cpufreq_getcur() 65 cfg->freq.armclk = armclk = clk_get_rate(clk_arm); in s3c_cpufreq_getcur() 67 cfg->pll.driver_data = s3c24xx_read_mpllcon(); in s3c_cpufreq_getcur() [all …]
|
D | scmi-cpufreq.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2018-2021 ARM Ltd. 11 #include <linux/clk-provider.h> 37 struct scmi_data *priv = policy->driver_data; in scmi_cpufreq_get_rate() 41 ret = perf_ops->freq_get(ph, priv->domain_id, &rate, false); in scmi_cpufreq_get_rate() 48 * perf_ops->freq_set is not a synchronous, the actual OPP change will 55 struct scmi_data *priv = policy->driver_data; in scmi_cpufreq_set_target() 56 u64 freq = policy->freq_table[index].frequency; in scmi_cpufreq_set_target() local 58 return perf_ops->freq_set(ph, priv->domain_id, freq * 1000, false); in scmi_cpufreq_set_target() 64 struct scmi_data *priv = policy->driver_data; in scmi_cpufreq_fast_switch() [all …]
|
D | imx6q-cpufreq.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 #include <linux/nvmem-consumer.h> 81 dev_dbg(cpu_dev, "%u MHz, %ld mV --> %u MHz, %ld mV\n", in imx6q_set_target() 114 * - Enable pll2_pfd2_396m_clk and reparent pll1_sw_clk to it in imx6q_set_target() 115 * - Reprogram pll1_sys_clk and reparent pll1_sw_clk back to it in imx6q_set_target() 116 * - Disable pll2_pfd2_396m_clk in imx6q_set_target() 167 /* PLL1 is only needed until after ARM-PODF is set. */ in imx6q_set_target() 192 policy->clk = clks[ARM].clk; in imx6q_cpufreq_init() 194 policy->suspend_freq = max_freq; in imx6q_cpufreq_init() 207 .name = "imx6q-cpufreq", [all …]
|
/Linux-v6.1/drivers/opp/ |
D | of.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2009-2010 Texas Instruments Incorporated. 31 /* "operating-points-v2" can be an array for power domain providers */ in _opp_of_get_opp_desc_node() 32 return of_parse_phandle(np, "operating-points-v2", index); in _opp_of_get_opp_desc_node() 38 return _opp_of_get_opp_desc_node(dev->of_node, 0); in dev_pm_opp_of_get_opp_desc_node() 47 np = _opp_of_get_opp_desc_node(dev->of_node, index); in _managed_opp() 52 if (opp_table->np == np) { in _managed_opp() 54 * Multiple devices can point to the same OPP table and in _managed_opp() 55 * so will have same node-pointer, np. in _managed_opp() 58 * OPP table contains a "opp-shared" property. in _managed_opp() [all …]
|
D | core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2009-2010 Texas Instruments Incorporated. 26 * The root of the list of all opp-tables. All opp_table structures branch off 48 mutex_lock(&opp_table->lock); in _find_opp_dev() 49 list_for_each_entry(opp_dev, &opp_table->dev_list, node) in _find_opp_dev() 50 if (opp_dev->dev == dev) { in _find_opp_dev() 55 mutex_unlock(&opp_table->lock); in _find_opp_dev() 70 return ERR_PTR(-ENODEV); in _find_opp_table_unlocked() 74 * _find_opp_table() - find opp_table struct using device pointer 75 * @dev: device pointer used to lookup OPP table [all …]
|
/Linux-v6.1/net/ipv6/ |
D | ip6_flowlabel.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 36 /* FL hash table */ 49 /* FL hash table lock: it protects only of GC */ 57 DEFINE_STATIC_KEY_DEFERRED_FALSE(ipv6_flowlabel_exclusive, HZ); 63 fl = rcu_dereference_bh(fl->next)) 65 for (fl = rcu_dereference_bh(fl->next); \ 67 fl = rcu_dereference_bh(fl->next)) 70 for (sfl = rcu_dereference_bh(np->ipv6_fl_list); \ 72 sfl = rcu_dereference_bh(sfl->next)) 79 if (fl->label == label && net_eq(fl->fl_net, net)) in __fl_lookup() [all …]
|
/Linux-v6.1/drivers/media/dvb-frontends/ |
D | stv0900_priv.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 45 /* One point of the lookup table */ 51 /* Lookup table definition */ 53 s32 size;/* Size of the lookup table */ 54 struct stv000_lookpoint table[STV0900_MAXLOOKUPSIZE];/* Lookup table */ member 126 STV0900_BLIND_SEARCH,/* offset freq and SR are Unknown */ 128 STV0900_WARM_START/* offset freq and SR are known */ 226 u32 dmd_ref_clk;/* Reference,Input clock for the demod in Hz */ 255 u32 search_range;/* Range of the search (in Hz) */ 295 s32 freq[2]; member
|
/Linux-v6.1/drivers/media/i2c/ |
D | saa7115.c | 1 // SPDX-License-Identifier: GPL-2.0+ 2 // saa711x - Philips SAA711x video decoder driver 23 // Copyright (c) 2005-2006 Mauro Carvalho Chehab <mchehab@kernel.org> 33 #include <media/v4l2-device.h> 34 #include <media/v4l2-ctrls.h> 35 #include <media/v4l2-mc.h> 49 MODULE_PARM_DESC(debug, "Debug level (0-1)"); 104 return &container_of(ctrl->handler, struct saa711x_state, hdl)->sd; in to_sd() 107 /* ----------------------------------------------------------------------- */ 164 filled with 0 - seems better not to touch on they */ in saa711x_writeregs() [all …]
|
/Linux-v6.1/arch/arm/include/asm/ |
D | delay.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright (C) 1995-2004 Russell King 5 * Delay routines, using a pre-computed "loops_per_second" value. 11 #include <asm/param.h> /* HZ */ 20 * jiffies_per_sec = HZ 23 * Therefore the constant part is HZ / 1000000 which is a small 32 * UDELAY_MULT = 2^31 * HZ / 1000000 33 * = (2^31 / 1000000) * HZ 34 * = 2147.483648 * HZ 35 * = 2147 * HZ + 483648 * HZ / 1000000 [all …]
|
/Linux-v6.1/arch/arm64/boot/dts/qcom/ |
D | sc8280xp.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 7 #include <dt-bindings/clock/qcom,gcc-sc8280xp.h> 8 #include <dt-bindings/clock/qcom,rpmh.h> 9 #include <dt-bindings/interconnect/qcom,sc8280xp.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #include <dt-bindings/mailbox/qcom-ipcc.h> 12 #include <dt-bindings/power/qcom-rpmpd.h> 13 #include <dt-bindings/soc/qcom,rpmh-rsc.h> 14 #include <dt-bindings/thermal/thermal.h> 17 interrupt-parent = <&intc>; [all …]
|
D | sc7180.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 5 * Copyright (c) 2019-2020, The Linux Foundation. All rights reserved. 8 #include <dt-bindings/clock/qcom,dispcc-sc7180.h> 9 #include <dt-bindings/clock/qcom,gcc-sc7180.h> 10 #include <dt-bindings/clock/qcom,gpucc-sc7180.h> 11 #include <dt-bindings/clock/qcom,lpasscorecc-sc7180.h> 12 #include <dt-bindings/clock/qcom,rpmh.h> 13 #include <dt-bindings/clock/qcom,videocc-sc7180.h> 14 #include <dt-bindings/interconnect/qcom,osm-l3.h> 15 #include <dt-bindings/interconnect/qcom,sc7180.h> [all …]
|
/Linux-v6.1/arch/m68k/mac/ |
D | macboing.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Mac bong noise generator. Note - we ought to put a boingy noise 6 * ---------------------------------------------------------------------- 10 * Juergen Mellinger (juergen.mellinger@t-online.de) 21 * dumb triangular wave table 26 * Alan's original sine table; needs interpolating to 0x800 27 * (hint: interpolate or hardwire [0 -> Pi/2[, it's symmetric) 31 0, -39, -75, -103, -121, -127, -121, -103, -75, -39 44 static unsigned long mac_bell_phase; /* 0..2*Pi -> 0..0x800 (wavetable size) */ 78 switch ( macintosh_config->ident ) in mac_init_asc() [all …]
|
/Linux-v6.1/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() 28 * to something that actually is in the opp table: in msm_devfreq_target() 30 opp = devfreq_recommended_opp(dev, freq, flags); in msm_devfreq_target() 36 if (gpu->funcs->gpu_set_freq) { in msm_devfreq_target() 37 mutex_lock(&df->lock); in msm_devfreq_target() 38 gpu->funcs->gpu_set_freq(gpu, opp, df->suspended); in msm_devfreq_target() 39 mutex_unlock(&df->lock); in msm_devfreq_target() [all …]
|
/Linux-v6.1/Documentation/power/ |
D | opp.rst | 5 (C) 2009-2010 Nishanth Menon <nm@ti.com>, Texas Instruments Incorporated 20 ------------------------------------------------- 22 Complex SoCs of today consists of a multiple sub-modules working in conjunction. 25 facilitate this, sub-modules in a SoC are grouped into domains, allowing some 39 We can represent these as three OPPs as the following {Hz, uV} tuples: 41 - {300000000, 1000000} 42 - {800000000, 1200000} 43 - {1000000000, 1300000} 46 ---------------------------------------- 57 (users) -> registers a set of default OPPs -> (library) [all …]
|
/Linux-v6.1/drivers/net/wireless/ath/ath5k/ |
D | phy.c | 2 * Copyright (c) 2004-2007 Reyk Floeter <reyk@openbsd.org> 3 * Copyright (c) 2006-2009 Nick Kossifidis <mickflemm@gmail.com> 4 * Copyright (c) 2007-2008 Jiri Slaby <jirislaby@gmail.com> 5 * Copyright (c) 2008-2009 Felix Fietkau <nbd@openwrt.org> 41 * Here we handle the low-level functions related to baseband 47 * - Channel setting/switching 49 * - Automatic Gain Control (AGC) calibration 51 * - Noise Floor calibration 53 * - I/Q imbalance calibration (QAM correction) 55 * - Calibration due to thermal changes (gain_F) [all …]
|
/Linux-v6.1/arch/arm/mach-versatile/ |
D | spc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 #include <linux/clk-provider.h> 28 #define SPCLOG "vexpress-spc: " 39 /* SPC wake-up IRQs status and mask */ 46 /* SPC per-CPU mailboxes */ 68 /* wake-up interrupt masks */ 71 /* TC2 static dual-cluster configuration */ 75 * Even though the SPC takes max 3-5 ms to complete any OPP/COMMS 77 * to be incremented. So setting timeout value of 20ms = 2jiffies@100Hz 90 unsigned long freq; member [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/iio/temperature/ |
D | adi,ltc2983.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Analog Devices LTC2983 Multi-sensor Temperature system 10 - Nuno Sá <nuno.sa@analog.com> 13 Analog Devices LTC2983 Multi-Sensor Digital Temperature Measurement System 14 https://www.analog.com/media/en/technical-documentation/data-sheets/2983fc.pdf 19 - adi,ltc2983 27 adi,mux-delay-config-us: 38 adi,filter-notch-freq: [all …]
|