Home
last modified time | relevance | path

Searched +full:clock +full:- +full:name (Results 1 – 25 of 1077) sorted by relevance

12345678910>>...44

/kernel/linux/linux-5.10/include/linux/
Dclk-provider.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (c) 2010-2011 Jeremy Kerr <jeremy.kerr@canonical.com>
4 * Copyright (C) 2011-2012 Linaro Ltd <mturquette@linaro.org>
14 * top-level framework. custom flags for dealing with hardware specifics
20 #define CLK_SET_PARENT_GATE BIT(1) /* must be gated across re-parent */
26 #define CLK_SET_RATE_NO_REPARENT BIT(7) /* don't re-parent on rate change */
29 #define CLK_SET_RATE_UNGATE BIT(10) /* clock needs to run to set rate */
31 /* parents need enable during gate/ungate, set rate and re-parent */
33 /* duty cycle call may be forwarded to the parent clock */
42 * struct clk_rate_request - Structure encoding the clk constraints that
[all …]
/kernel/linux/linux-4.19/drivers/clk/samsung/
Dclk.h10 * Common Clock Framework support for all Samsung platforms
16 #include <linux/clk-provider.h>
17 #include "clk-pll.h"
20 * struct samsung_clk_provider: information about clock provider
22 * @lock: maintains exclusion between callbacks for a given clock-provider.
23 * @clk_data: holds clock related data like clk_hw* and number of clocks.
34 * struct samsung_clock_alias: information about mux clock
35 * @id: platform specific id of the clock.
36 * @dev_name: name of the device to which this clock belongs.
37 * @alias: optional clock alias name to be assigned to this clock.
[all …]
/kernel/linux/linux-5.10/drivers/clk/zynqmp/
Dclkc.c1 // SPDX-License-Identifier: GPL-2.0
3 * Zynq UltraScale+ MPSoC clock controller
5 * Copyright (C) 2016-2019 Xilinx
12 #include <linux/clk-provider.h>
18 #include "clk-zynqmp.h"
48 * struct clock_parent - Clock parent
49 * @name: Parent name
50 * @id: Parent clock ID
54 char name[MAX_NAME_LEN]; member
60 * struct zynqmp_clock - Clock
[all …]
Dclk-gate-zynqmp.c1 // SPDX-License-Identifier: GPL-2.0
3 * Zynq UltraScale+ MPSoC clock controller
5 * Copyright (C) 2016-2018 Xilinx
7 * Gated clock implementation
10 #include <linux/clk-provider.h>
12 #include "clk-zynqmp.h"
15 * struct clk_gate - gating clock
16 * @hw: handle between common and hardware-specific interfaces
17 * @flags: hardware-specific flags
18 * @clk_id: Id of clock
[all …]
/kernel/linux/linux-5.10/drivers/clk/samsung/
Dclk.h1 /* SPDX-License-Identifier: GPL-2.0-only */
7 * Common Clock Framework support for all Samsung platforms
13 #include <linux/clk-provider.h>
14 #include "clk-pll.h"
17 * struct samsung_clk_provider: information about clock provider
19 * @lock: maintains exclusion between callbacks for a given clock-provider.
20 * @clk_data: holds clock related data like clk_hw* and number of clocks.
31 * struct samsung_clock_alias: information about mux clock
32 * @id: platform specific id of the clock.
33 * @dev_name: name of the device to which this clock belongs.
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/clock/
Dxgene.txt1 Device Tree Clock bindings for APM X-Gene
3 This binding uses the common clock binding[1].
5 [1] Documentation/devicetree/bindings/clock/clock-bindings.txt
8 - compatible : shall be one of the following:
9 "apm,xgene-socpll-clock" - for a X-Gene SoC PLL clock
10 "apm,xgene-pcppll-clock" - for a X-Gene PCP PLL clock
11 "apm,xgene-pmd-clock" - for a X-Gene PMD clock
12 "apm,xgene-device-clock" - for a X-Gene device clock
13 "apm,xgene-socpll-v2-clock" - for a X-Gene SoC PLL v2 clock
14 "apm,xgene-pcppll-v2-clock" - for a X-Gene PCP PLL v2 clock
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/clock/
Dxgene.txt1 Device Tree Clock bindings for APM X-Gene
3 This binding uses the common clock binding[1].
5 [1] Documentation/devicetree/bindings/clock/clock-bindings.txt
8 - compatible : shall be one of the following:
9 "apm,xgene-socpll-clock" - for a X-Gene SoC PLL clock
10 "apm,xgene-pcppll-clock" - for a X-Gene PCP PLL clock
11 "apm,xgene-pmd-clock" - for a X-Gene PMD clock
12 "apm,xgene-device-clock" - for a X-Gene device clock
13 "apm,xgene-socpll-v2-clock" - for a X-Gene SoC PLL v2 clock
14 "apm,xgene-pcppll-v2-clock" - for a X-Gene PCP PLL v2 clock
[all …]
/kernel/linux/linux-4.19/drivers/clk/
Dclk-fixed-rate.c2 * Copyright (C) 2010-2011 Canonical Ltd <jeremy.kerr@canonical.com>
3 * Copyright (C) 2011-2012 Mike Turquette, Linaro Ltd <mturquette@linaro.org>
9 * Fixed rate clock implementation
12 #include <linux/clk-provider.h>
21 * DOC: basic fixed-rate clock that cannot gate
23 * Traits of this clock:
24 * prepare - clk_(un)prepare only ensures parents are prepared
25 * enable - clk_enable only ensures parents are enabled
26 * rate - rate is always a fixed value. No clk_set_rate support
27 * parent - fixed parent. No clk_set_parent support
[all …]
Dclk-gpio.c2 * Copyright (C) 2013 - 2014 Texas Instruments Incorporated - http://www.ti.com
12 * Gpio controlled clock implementation
15 #include <linux/clk-provider.h>
25 * DOC: basic gpio gated clock which can be enabled and disabled
27 * Traits of this clock:
28 * prepare - clk_(un)prepare only ensures parent is (un)prepared
29 * enable - clk_enable and clk_disable are functional & control gpio
30 * rate - inherits rate from parent. No clk_set_rate support
31 * parent - fixed parent. No clk_set_parent support
38 gpiod_set_value(clk->gpiod, 1); in clk_gpio_gate_enable()
[all …]
Dclk-divider.c4 * Copyright (C) 2011-2012 Mike Turquette, Linaro Ltd <mturquette@linaro.org>
10 * Adjustable divider clock implementation
13 #include <linux/clk-provider.h>
22 * DOC: basic adjustable divider clock that cannot gate
24 * Traits of this clock:
25 * prepare - clk_prepare only ensures that parents are prepared
26 * enable - clk_enable only ensures that parents are enabled
27 * rate - rate is adjustable. clk->rate = ceiling(parent->rate / divisor)
28 * parent - fixed parent. No clk_set_parent support
37 for (clkt = table; clkt->div; clkt++) in _get_table_maxdiv()
[all …]
/kernel/linux/linux-5.10/drivers/isdn/mISDN/
Dclock.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * A clock source registers using mISDN_register_clock:
8 * name = text string to name clock source
9 * priority = value to priorize clock sources (0 = default)
10 * ctl = callback function to enable/disable clock source
11 * priv = private pointer of clock source
12 * return = pointer to clock source structure;
17 * A clock source calls mISDN_clock_update with given samples elapsed, if
21 * A clock source unregisters using mISDN_unregister_clock.
23 * To get current clock, call mISDN_clock_get. The signed short value
[all …]
/kernel/linux/linux-4.19/drivers/clk/renesas/
Dclk-mstp.c2 * R-Car MSTP clocks
15 #include <linux/clk-provider.h>
28 * status register when enabling the clock.
34 * struct mstp_clock_group - MSTP gating clocks group
40 * @width_8bit: registers are 8-bit, not 32-bit
51 * struct mstp_clock - MSTP gating clock
52 * @hw: handle between common and hardware-specific interfaces
67 return group->width_8bit ? readb(reg) : readl(reg); in cpg_mstp_read()
73 group->width_8bit ? writeb(val, reg) : writel(val, reg); in cpg_mstp_write()
78 struct mstp_clock *clock = to_mstp_clock(hw); in cpg_mstp_clock_endisable() local
[all …]
Dclk-div6.c2 * r8a7790 Common Clock Framework support
13 #include <linux/clk-provider.h>
23 #include "clk-div6.h"
30 * struct div6_clock - CPG 6 bit divider clock
31 * @hw: handle between common and hardware-specific interfaces
32 * @reg: IO-remapped register
33 * @div: divisor value (1-64)
34 * @src_shift: Shift to access the register bits to select the parent clock
35 * @src_width: Number of register bits to select the parent clock (may be 0)
37 * @nb: Notifier block to save/restore clock state for system resume
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dexynos4412-odroid-common.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 * Common definition for Hardkernel's Exynos4412 based ODROID-X/X2/U2/U3 boards
7 #include <dt-bindings/sound/samsung-i2s.h>
8 #include <dt-bindings/input/input.h>
9 #include <dt-bindings/clock/maxim,max77686.h>
11 #include "exynos4412-ppmu-common.dtsi"
12 #include <dt-bindings/gpio/gpio.h>
13 #include "exynos-mfc-reserved-memory.dtsi"
17 stdout-path = &serial_1;
21 compatible = "samsung,secure-firmware";
[all …]
Dexynos4210-trats.dts1 // SPDX-License-Identifier: GPL-2.0
12 /dts-v1/;
14 #include <dt-bindings/gpio/gpio.h>
30 stdout-path = "serial2:115200n8";
33 vemmc_reg: regulator-0 {
34 compatible = "regulator-fixed";
35 regulator-name = "VMEM_VDD_2.8V";
36 regulator-min-microvolt = <2800000>;
37 regulator-max-microvolt = <2800000>;
39 enable-active-high;
[all …]
Dexynos4210-universal_c210.dts1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
12 /dts-v1/;
14 #include <dt-bindings/gpio/gpio.h>
28 stdout-path = "serial2:115200n8";
32 fixed-rate-clocks {
34 compatible = "samsung,clock-xxti";
35 clock-frequency = <0>;
39 compatible = "samsung,clock-xusbxti";
40 clock-frequency = <24000000>;
[all …]
/kernel/linux/linux-4.19/arch/arm/boot/dts/
Dexynos4412-odroid-common.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 * Common definition for Hardkernel's Exynos4412 based ODROID-X/X2/U2/U3 boards
7 #include <dt-bindings/sound/samsung-i2s.h>
8 #include <dt-bindings/input/input.h>
9 #include <dt-bindings/clock/maxim,max77686.h>
11 #include "exynos4412-ppmu-common.dtsi"
12 #include <dt-bindings/gpio/gpio.h>
13 #include "exynos-mfc-reserved-memory.dtsi"
17 stdout-path = &serial_1;
21 compatible = "samsung,secure-firmware";
[all …]
Dexynos4210-trats.dts1 // SPDX-License-Identifier: GPL-2.0
12 /dts-v1/;
14 #include <dt-bindings/gpio/gpio.h>
30 stdout-path = &serial_2;
34 compatible = "simple-bus";
36 vemmc_reg: regulator-0 {
37 compatible = "regulator-fixed";
38 regulator-name = "VMEM_VDD_2.8V";
39 regulator-min-microvolt = <2800000>;
40 regulator-max-microvolt = <2800000>;
[all …]
/kernel/linux/linux-5.10/drivers/clk/uniphier/
Dclk-uniphier-core.c1 // SPDX-License-Identifier: GPL-2.0-or-later
7 #include <linux/clk-provider.h>
14 #include "clk-uniphier.h"
20 switch (data->type) { in uniphier_clk_register()
22 return uniphier_clk_register_cpugear(dev, regmap, data->name, in uniphier_clk_register()
23 &data->data.cpugear); in uniphier_clk_register()
25 return uniphier_clk_register_fixed_factor(dev, data->name, in uniphier_clk_register()
26 &data->data.factor); in uniphier_clk_register()
28 return uniphier_clk_register_fixed_rate(dev, data->name, in uniphier_clk_register()
29 &data->data.rate); in uniphier_clk_register()
[all …]
/kernel/linux/linux-4.19/drivers/isdn/mISDN/
Dclock.c15 * A clock source registers using mISDN_register_clock:
16 * name = text string to name clock source
17 * priority = value to priorize clock sources (0 = default)
18 * ctl = callback function to enable/disable clock source
19 * priv = private pointer of clock source
20 * return = pointer to clock source structure;
25 * A clock source calls mISDN_clock_update with given samples elapsed, if
29 * A clock source unregisters using mISDN_unregister_clock.
31 * To get current clock, call mISDN_clock_get. The signed short value
32 * counts the number of samples since. Time since last clock event is added.
[all …]
/kernel/linux/linux-5.10/drivers/clk/renesas/
Dclk-mstp.c1 // SPDX-License-Identifier: GPL-2.0
3 * R-Car MSTP clocks
12 #include <linux/clk-provider.h>
25 * status register when enabling the clock.
31 * struct mstp_clock_group - MSTP gating clocks group
33 * @data: clock specifier translation for clocks in this group
37 * @width_8bit: registers are 8-bit, not 32-bit
50 * struct mstp_clock - MSTP gating clock
51 * @hw: handle between common and hardware-specific interfaces
66 return group->width_8bit ? readb(reg) : readl(reg); in cpg_mstp_read()
[all …]
/kernel/linux/linux-4.19/drivers/clk/uniphier/
Dclk-uniphier-core.c16 #include <linux/clk-provider.h>
23 #include "clk-uniphier.h"
29 switch (data->type) { in uniphier_clk_register()
31 return uniphier_clk_register_cpugear(dev, regmap, data->name, in uniphier_clk_register()
32 &data->data.cpugear); in uniphier_clk_register()
34 return uniphier_clk_register_fixed_factor(dev, data->name, in uniphier_clk_register()
35 &data->data.factor); in uniphier_clk_register()
37 return uniphier_clk_register_fixed_rate(dev, data->name, in uniphier_clk_register()
38 &data->data.rate); in uniphier_clk_register()
40 return uniphier_clk_register_gate(dev, regmap, data->name, in uniphier_clk_register()
[all …]
/kernel/linux/linux-4.19/include/linux/
Dclk-provider.h2 * linux/include/linux/clk-provider.h
4 * Copyright (c) 2010-2011 Jeremy Kerr <jeremy.kerr@canonical.com>
5 * Copyright (C) 2011-2012 Linaro Ltd <mturquette@linaro.org>
22 * top-level framework. custom flags for dealing with hardware specifics
28 #define CLK_SET_PARENT_GATE BIT(1) /* must be gated across re-parent */
34 #define CLK_SET_RATE_NO_REPARENT BIT(7) /* don't re-parent on rate change */
37 #define CLK_SET_RATE_UNGATE BIT(10) /* clock needs to run to set rate */
39 /* parents need enable during gate/ungate, set rate and re-parent */
41 /* duty cycle call may be forwarded to the parent clock */
50 * struct clk_rate_request - Structure encoding the clk constraints that
[all …]
/kernel/linux/linux-5.10/drivers/clk/ti/
Dadpll.c14 #include <linux/clk-provider.h>
186 const char *name; in ti_adpll_clk_get_name() local
190 err = of_property_read_string_index(d->np, in ti_adpll_clk_get_name()
191 "clock-output-names", in ti_adpll_clk_get_name()
193 &name); in ti_adpll_clk_get_name()
197 name = devm_kasprintf(d->dev, GFP_KERNEL, "%08lx.adpll.%s", in ti_adpll_clk_get_name()
198 d->pa, postfix); in ti_adpll_clk_get_name()
201 return name; in ti_adpll_clk_get_name()
206 static int ti_adpll_setup_clock(struct ti_adpll_data *d, struct clk *clock, in ti_adpll_setup_clock() argument
207 int index, int output_index, const char *name, in ti_adpll_setup_clock() argument
[all …]
/kernel/linux/linux-4.19/drivers/clk/ti/
Dadpll.c14 #include <linux/clk-provider.h>
185 const char *name; in ti_adpll_clk_get_name() local
189 err = of_property_read_string_index(d->np, in ti_adpll_clk_get_name()
190 "clock-output-names", in ti_adpll_clk_get_name()
192 &name); in ti_adpll_clk_get_name()
196 name = devm_kasprintf(d->dev, GFP_KERNEL, "%08lx.adpll.%s", in ti_adpll_clk_get_name()
197 d->pa, postfix); in ti_adpll_clk_get_name()
200 return name; in ti_adpll_clk_get_name()
205 static int ti_adpll_setup_clock(struct ti_adpll_data *d, struct clk *clock, in ti_adpll_setup_clock() argument
206 int index, int output_index, const char *name, in ti_adpll_setup_clock() argument
[all …]

12345678910>>...44