Home
last modified time | relevance | path

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

12345678910>>...43

/linux/include/linux/
H A 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-paren
281 const char *name; global() member
300 const char *name; global() member
380 clk_hw_register_fixed_rate(dev,name,parent_name,flags,fixed_rate) global() argument
393 devm_clk_hw_register_fixed_rate(dev,name,parent_name,flags,fixed_rate) global() argument
405 devm_clk_hw_register_fixed_rate_parent_data(dev,name,parent_data,flags,fixed_rate) global() argument
419 clk_hw_register_fixed_rate_parent_hw(dev,name,parent_hw,flags,fixed_rate) global() argument
432 clk_hw_register_fixed_rate_parent_data(dev,name,parent_data,flags,fixed_rate) global() argument
447 clk_hw_register_fixed_rate_with_accuracy(dev,name,parent_name,flags,fixed_rate,fixed_accuracy) global() argument
463 clk_hw_register_fixed_rate_with_accuracy_parent_hw(dev,name,parent_hw,flags,fixed_rate,fixed_accuracy) global() argument
478 clk_hw_register_fixed_rate_with_accuracy_parent_data(dev,name,parent_data,flags,fixed_rate,fixed_accuracy) global() argument
492 clk_hw_register_fixed_rate_parent_accuracy(dev,name,parent_data,flags,fixed_rate) global() argument
570 clk_hw_register_gate(dev,name,parent_name,flags,reg,bit_idx,clk_gate_flags,lock) global() argument
587 clk_hw_register_gate_parent_hw(dev,name,parent_hw,flags,reg,bit_idx,clk_gate_flags,lock) global() argument
604 clk_hw_register_gate_parent_data(dev,name,parent_data,flags,reg,bit_idx,clk_gate_flags,lock) global() argument
620 devm_clk_hw_register_gate(dev,name,parent_name,flags,reg,bit_idx,clk_gate_flags,lock) global() argument
637 devm_clk_hw_register_gate_parent_hw(dev,name,parent_hw,flags,reg,bit_idx,clk_gate_flags,lock) global() argument
655 devm_clk_hw_register_gate_parent_data(dev,name,parent_data,flags,reg,bit_idx,clk_gate_flags,lock) global() argument
791 clk_register_divider(dev,name,parent_name,flags,reg,shift,width,clk_divider_flags,lock) global() argument
808 clk_hw_register_divider(dev,name,parent_name,flags,reg,shift,width,clk_divider_flags,lock) global() argument
826 clk_hw_register_divider_parent_hw(dev,name,parent_hw,flags,reg,shift,width,clk_divider_flags,lock) global() argument
845 clk_hw_register_divider_parent_data(dev,name,parent_data,flags,reg,shift,width,clk_divider_flags,lock) global() argument
865 clk_hw_register_divider_table(dev,name,parent_name,flags,reg,shift,width,clk_divider_flags,table,lock) global() argument
885 clk_hw_register_divider_table_parent_hw(dev,name,parent_hw,flags,reg,shift,width,clk_divider_flags,table,lock) global() argument
906 clk_hw_register_divider_table_parent_data(dev,name,parent_data,flags,reg,shift,width,clk_divider_flags,table,lock) global() argument
926 devm_clk_hw_register_divider(dev,name,parent_name,flags,reg,shift,width,clk_divider_flags,lock) global() argument
943 devm_clk_hw_register_divider_parent_hw(dev,name,parent_hw,flags,reg,shift,width,clk_divider_flags,lock) global() argument
964 devm_clk_hw_register_divider_table(dev,name,parent_name,flags,reg,shift,width,clk_divider_flags,table,lock) global() argument
1045 clk_register_mux(dev,name,parent_names,num_parents,flags,reg,shift,width,clk_mux_flags,lock) global() argument
1050 clk_hw_register_mux_table(dev,name,parent_names,num_parents,flags,reg,shift,mask,clk_mux_flags,table,lock) global() argument
1057 clk_hw_register_mux_table_parent_data(dev,name,parent_data,num_parents,flags,reg,shift,mask,clk_mux_flags,table,lock) global() argument
1064 clk_hw_register_mux(dev,name,parent_names,num_parents,flags,reg,shift,width,clk_mux_flags,lock) global() argument
1070 clk_hw_register_mux_hws(dev,name,parent_hws,num_parents,flags,reg,shift,width,clk_mux_flags,lock) global() argument
1075 clk_hw_register_mux_parent_data(dev,name,parent_data,num_parents,flags,reg,shift,width,clk_mux_flags,lock) global() argument
1081 clk_hw_register_mux_parent_data_table(dev,name,parent_data,num_parents,flags,reg,shift,width,clk_mux_flags,table,lock) global() argument
1088 devm_clk_hw_register_mux(dev,name,parent_names,num_parents,flags,reg,shift,width,clk_mux_flags,lock) global() argument
1094 devm_clk_hw_register_mux_parent_hws(dev,name,parent_hws,num_parents,flags,reg,shift,width,clk_mux_flags,lock) global() argument
1101 devm_clk_hw_register_mux_parent_data_table(dev,name,parent_data,num_parents,flags,reg,shift,width,clk_mux_flags,table,lock) global() argument
1449 CLK_OF_DECLARE(name,compat,fn) global() argument
1461 CLK_OF_DECLARE_DRIVER(name,compat,fn) global() argument
[all...]
/linux/drivers/clk/zynqmp/
H A 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>
19 #include "clk-zynqmp.h"
49 * struct clock_parent - Clock parent
50 * @name: Parent name
51 * @id: Parent clock ID
55 char name[MAX_NAME_LEN]; member
61 * struct zynqmp_clock - Clock
[all …]
H A 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 zynqmp_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 …]
H A Dclk-mux-zynqmp.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2016-2018 Xilinx
8 #include <linux/clk-provider.h>
10 #include "clk-zynqmp.h"
13 * DOC: basic adjustable multiplexer clock that cannot gate
15 * Traits of this clock:
16 * prepare - clk_prepare only ensures that parents are prepared
17 * enable - clk_enable only ensures that parents are enabled
18 * rate - rate is only affected by parent switching. No clk_set_rate support
19 * parent - parent is adjustable through clk_set_parent
[all …]
/linux/arch/arm/boot/dts/samsung/
H A 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"
22 stdout-path = &serial_1;
26 compatible = "samsung,secure-firmware";
[all …]
H A Dexynos4210-trats.dts1 // SPDX-License-Identifier: GPL-2.0
12 /dts-v1/;
14 #include <dt-bindings/gpio/gpio.h>
19 chassis-type = "handset";
37 stdout-path = "serial2:115200n8";
40 vemmc_reg: regulator-0 {
41 compatible = "regulator-fixed";
42 regulator-name = "VMEM_VDD_2.8V";
43 regulator-min-microvolt = <2800000>;
44 regulator-max-microvolt = <2800000>;
[all …]
H A Dexynos4210-i9100.dts1 // SPDX-License-Identifier: GPL-2.0
3 * Samsung's Exynos4210 based Galaxy S2 (GT-I9100 version) device tree
11 /dts-v1/;
13 #include "exynos4412-ppmu-common.dtsi"
15 #include <dt-bindings/gpio/gpio.h>
16 #include <dt-bindings/input/linux-event-codes.h>
19 model = "Samsung Galaxy S2 (GT-I9100)";
21 chassis-type = "handset";
35 stdout-path = "serial2:115200n8";
38 vemmc_reg: regulator-0 {
[all …]
H A 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>
19 chassis-type = "handset";
35 stdout-path = "serial2:115200n8";
39 fixed-rate-clocks {
41 compatible = "samsung,clock-xxti";
42 clock-frequency = <0>;
46 compatible = "samsung,clock-xusbxti";
[all …]
H A Dexynos5410-odroidxu.dts1 // SPDX-License-Identifier: GPL-2.0
10 /dts-v1/;
12 #include <dt-bindings/clock/maxim,max77802.h>
13 #include <dt-bindings/gpio/gpio.h>
14 #include <dt-bindings/interrupt-controller/irq.h>
15 #include <dt-bindings/sound/samsung-i2s.h>
16 #include "exynos54xx-odroidxu-leds.dtsi"
20 compatible = "hardkernel,odroid-xu", "samsung,exynos5410", "samsung,exynos5";
34 stdout-path = "serial2:115200n8";
38 pinctrl-0 = <&emmc_nrst_pin>;
[all …]
H A Dexynos4412-midas.dtsi1 // SPDX-License-Identifier: GPL-2.0
12 /dts-v1/;
14 #include "exynos4412-ppmu-common.dtsi"
16 #include <dt-bindings/gpio/gpio.h>
17 #include <dt-bindings/input/input.h>
18 #include <dt-bindings/interrupt-controller/irq.h>
19 #include <dt-bindings/clock/maxim,max77686.h>
20 #include "exynos-pinctrl.h"
34 stdout-path = &serial_2;
38 compatible = "samsung,secure-firmware";
[all …]
/linux/drivers/isdn/mISDN/
H A 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 …]
/linux/drivers/clk/uniphier/
H A Dclk-uniphier-core.c1 // SPDX-License-Identifier: GPL-2.0-or-later
7 #include <linux/clk-provider.h>
13 #include "clk-uniphier.h"
19 switch (data->type) { in uniphier_clk_register()
21 return uniphier_clk_register_cpugear(dev, regmap, data->name, in uniphier_clk_register()
22 &data->data.cpugear); in uniphier_clk_register()
24 return uniphier_clk_register_fixed_factor(dev, data->name, in uniphier_clk_register()
25 &data->data.factor); in uniphier_clk_register()
27 return uniphier_clk_register_fixed_rate(dev, data->name, in uniphier_clk_register()
28 &data->data.rate); in uniphier_clk_register()
[all …]
/linux/drivers/clk/ti/
H A Dadpll.c1 // SPDX-License-Identifier: GPL-2.0-only
5 #include <linux/clk-provider.h>
179 const char *name; in ti_adpll_clk_get_name() local
183 err = of_property_read_string_index(d->np, in ti_adpll_clk_get_name()
184 "clock-output-names", in ti_adpll_clk_get_name()
186 &name); in ti_adpll_clk_get_name()
190 name = devm_kasprintf(d->dev, GFP_KERNEL, "%08lx.adpll.%s", in ti_adpll_clk_get_name()
191 d->pa, postfix); in ti_adpll_clk_get_name()
194 return name; in ti_adpll_clk_get_name()
199 static int ti_adpll_setup_clock(struct ti_adpll_data *d, struct clk *clock, in ti_adpll_setup_clock() argument
[all …]
/linux/drivers/clk/renesas/
H A Dclk-mstp.c1 // SPDX-License-Identifier: GPL-2.0
3 * R-Car MSTP clocks
12 #include <linux/clk-provider.h>
26 * status register when enabling the clock.
32 * struct mstp_clock_group - MSTP gating clocks group
34 * @data: clock specifier translation for clocks in this group
38 * @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()
[all …]
H A Dclk-div6.c1 // SPDX-License-Identifier: GPL-2.0
3 * r8a7790 Common Clock Framework support
10 #include <linux/clk-provider.h>
20 #include "clk-div6.h"
27 * struct div6_clock - CPG 6 bit divider clock
28 * @hw: handle between common and hardware-specific interfaces
29 * @reg: IO-remapped register
30 * @div: divisor value (1-64)
31 * @src_mask: Bitmask covering the register bits to select the parent clock
32 * @nb: Notifier block to save/restore clock state for system resume
[all …]
/linux/drivers/clk/
H A Dclk-fixed-factor.c1 // SPDX-License-Identifier: GPL-2.0
6 #include <linux/clk-provider.h>
13 * DOC: basic fixed multiplier and divider clock that cannot gate
15 * Traits of this clock:
16 * prepare - clk_prepare only ensures that parents are prepared
17 * enable - clk_enable only ensures that parents are enabled
18 * rate - rate is fixed. clk->rate = parent->rate / div * mult
19 * parent - fixed parent. No clk_set_parent support
28 rate = (unsigned long long int)parent_rate * fix->mult; in clk_factor_recalc_rate()
29 do_div(rate, fix->div); in clk_factor_recalc_rate()
[all …]
H A Dclk-axm5516.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * drivers/clk/clk-axm5516.c
5 * Provides clock implementations for three different types of clock devices on
6 * the Axxia device: PLL clock, a clock divider and a clock mux.
16 #include <linux/clk-provider.h>
18 #include <dt-bindings/clock/lsi,axm5516-clks.h>
22 * struct axxia_clk - Common struct to all Axxia clocks.
24 * @regmap: Regmap for the clock control registers
33 * struct axxia_pllclk - Axxia PLL generated clock.
44 * axxia_pllclk_recalc - Calculate the PLL generated clock rate given the
[all …]
/linux/drivers/clk/bcm/
H A Dclk-bcm63xx-gate.c1 // SPDX-License-Identifier: GPL-2.0
3 #include <linux/clk-provider.h>
8 #include <dt-bindings/clock/bcm3368-clock.h>
9 #include <dt-bindings/clock/bcm6318-clock.h>
10 #include <dt-bindings/clock/bcm6328-clock.h>
11 #include <dt-bindings/clock/bcm6358-clock.h>
12 #include <dt-bindings/clock/bcm6362-clock.h>
13 #include <dt-bindings/clock/bcm6368-clock.h>
14 #include <dt-bindings/clock/bcm63268-clock.h>
17 const char * const name; member
[all …]
H A Dclk-kona-setup.c1 // SPDX-License-Identifier: GPL-2.0-only
10 #include "clk-kona.h"
13 #define selector_clear_exists(sel) ((sel)->width = 0)
20 struct ccu_policy *ccu_policy = &ccu->policy; in ccu_data_offsets_valid()
23 limit = ccu->range - sizeof(u32); in ccu_data_offsets_valid()
26 if (ccu_policy->enable.offset > limit) { in ccu_data_offsets_valid()
29 ccu->name, ccu_policy->enable.offset, limit); in ccu_data_offsets_valid()
32 if (ccu_policy->control.offset > limit) { in ccu_data_offsets_valid()
35 ccu->name, ccu_policy->control.offset, limit); in ccu_data_offsets_valid()
45 struct peri_clk_data *peri = bcm_clk->u.peri; in clk_requires_trigger()
[all …]
/linux/Documentation/netlink/specs/
H A Ddpll.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
2 ---
3 name: dpll
8 -
10 name: mode
16 -
17 name: manual
20 -
21 name: automatic
23 render-max: true
[all …]
/linux/arch/arm64/boot/dts/amlogic/
H A Dmeson-g12.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 #include "meson-g12-common.dtsi"
8 #include <dt-bindings/clock/axg-audio-clkc.h>
9 #include <dt-bindings/power/meson-g12a-power.h>
10 #include <dt-bindings/reset/amlogic,meson-axg-audio-arb.h>
11 #include <dt-bindings/reset/amlogic,meson-g12a-audio-reset.h>
14 tdmif_a: audio-controller-0 {
15 compatible = "amlogic,axg-tdm-iface";
16 #sound-dai-cells = <0>;
17 sound-name-prefix = "TDM_A";
[all …]
/linux/tools/testing/selftests/vDSO/
H A Dvdso_test_correctness.c1 // SPDX-License-Identifier: GPL-2.0
3 * ldt_gdt.c - Test cases for LDT and GDT access
4 * Copyright (c) 2011-2015 Andrew Lutomirski
26 static const char **name; variable
47 /* max length of lines in /proc/self/maps - anything longer is skipped here */
83 char name[MAPS_LINE_LEN]; in vsyscall_getcpu() local
85 /* sscanf() is safe here as strlen(name) >= strlen(line) */ in vsyscall_getcpu()
86 if (sscanf(line, "%p-%p %c-%cp %*x %*x:%*x %*u %s", in vsyscall_getcpu()
87 &start, &end, &r, &x, name) != 5) in vsyscall_getcpu()
90 if (strcmp(name, "[vsyscall]")) in vsyscall_getcpu()
[all …]
/linux/Documentation/devicetree/bindings/clock/ti/davinci/
H A Dpll.txt5 an multiplexers for various clock signals.
8 - compatible: shall be one of:
9 - "ti,da850-pll0" for PLL0 on DA850/OMAP-L138/AM18XX
10 - "ti,da850-pll1" for PLL1 on DA850/OMAP-L138/AM18XX
11 - reg: physical base address and size of the controller's register area.
12 - clocks: phandles corresponding to the clock names
13 - clock-names: names of the clock sources - depends on compatible string
14 - for "ti,da850-pll0", shall be "clksrc", "extclksrc"
15 - for "ti,da850-pll1", shall be "clksrc"
18 - ti,clkmode-square-wave: Indicates that the board is supplying a square
[all …]
/linux/Documentation/devicetree/bindings/display/
H A Dallwinner,sun8i-r40-tcon-top.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/display/allwinner,sun8i-r40-tcon-top.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Chen-Yu Tsai <wens@csie.org>
11 - Maxime Ripard <mripard@kernel.org>
17 encoder clock source and contains additional TV TCON and DSI gates.
22 / [0] TCON-LCD0
25 \ / [1] TCON-LCD1 - LCD1/LVDS1
26 TCON-TOP
[all …]
/linux/Documentation/devicetree/bindings/soc/fsl/cpm_qe/qe/
H A Ducc.txt4 - device_type : should be "network", "hldc", "uart", "transparent"
6 - compatible : could be "ucc_geth" or "fsl_atm" and so on.
7 - cell-index : the ucc number(1-8), corresponding to UCCx in UM.
8 - reg : Offset and length of the register set for the device
9 - interrupts : <a b> where a is the interrupt number and b is a
14 - pio-handle : The phandle for the Parallel I/O port configuration.
15 - port-number : for UART drivers, the port number to use, between 0 and 3.
18 CPM UART driver, the port-number is required for the QE UART driver.
19 - soft-uart : for UART drivers, if specified this means the QE UART device
20 driver should use "Soft-UART" mode, which is needed on some SOCs that have
[all …]

12345678910>>...43