Home
last modified time | relevance | path

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

12345678910

/kernel/linux/linux-4.19/Documentation/devicetree/bindings/clock/
Dfixed-clock.txt1 Binding for simple fixed-rate clock sources.
3 This binding uses the common clock binding[1].
5 [1] Documentation/devicetree/bindings/clock/clock-bindings.txt
8 - compatible : shall be "fixed-clock".
9 - #clock-cells : from common clock binding; shall be set to 0.
10 - clock-frequency : frequency of clock in Hz. Should be a single cell.
13 - clock-accuracy : accuracy of clock in ppb (parts per billion).
15 - clock-output-names : From common clock binding.
18 clock {
19 compatible = "fixed-clock";
[all …]
Dat91-clock.txt1 Device Tree Clock bindings for arch-at91
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 "atmel,at91sam9x5-sckc" or
10 "atmel,sama5d4-sckc":
11 at91 SCKC (Slow Clock Controller)
12 This node contains the slow clock definitions.
14 "atmel,at91sam9x5-clk-slow-osc":
17 "atmel,at91sam9x5-clk-slow-rc-osc":
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/clock/
Dfixed-clock.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/clock/fixed-clock.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Binding for simple fixed-rate clock sources
10 - Michael Turquette <mturquette@baylibre.com>
11 - Stephen Boyd <sboyd@kernel.org>
15 const: fixed-clock
17 "#clock-cells":
20 clock-frequency: true
[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.c2 * Copyright (C) 2010-2011 Canonical Ltd <jeremy.kerr@canonical.com>
3 * Copyright (C) 2011-2012 Linaro Ltd <mturquette@linaro.org>
9 * Standard functionality for the common clock API. See Documentation/driver-api/clk.rst
13 #include <linux/clk-provider.h>
14 #include <linux/clk/clk-conf.h>
79 unsigned long accuracy; member
111 if (!core->dev) in clk_pm_runtime_get()
114 ret = pm_runtime_get_sync(core->dev); in clk_pm_runtime_get()
116 pm_runtime_put_noidle(core->dev); in clk_pm_runtime_get()
124 if (!core->dev) in clk_pm_runtime_put()
[all …]
Dclk-asm9260.c2 * Copyright (c) 2014 Oleksij Rempel <linux@rempel-privat.de>.
21 #include <linux/clk-provider.h>
25 #include <dt-bindings/clock/alphascale,asm9260.h>
274 u32 accuracy = 0; in asm9260_acc_init() local
279 clk_data->num = MAX_CLKS; in asm9260_acc_init()
280 hws = clk_data->hws; in asm9260_acc_init()
282 base = of_io_request_and_map(np, 0, np->name); in asm9260_acc_init()
284 panic("%s: unable to map resource", np->name); in asm9260_acc_init()
290 accuracy = clk_get_accuracy(__clk_lookup(ref_clk)); in asm9260_acc_init()
292 ref_clk, 0, rate, accuracy); in asm9260_acc_init()
[all …]
/kernel/linux/linux-5.10/drivers/clk/
Dclk-fixed-rate.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2010-2011 Canonical Ltd <jeremy.kerr@canonical.com>
4 * Copyright (C) 2011-2012 Mike Turquette, Linaro Ltd <mturquette@linaro.org>
6 * Fixed rate clock implementation
9 #include <linux/clk-provider.h>
18 * DOC: basic fixed-rate clock that cannot gate
20 * Traits of this clock:
21 * prepare - clk_(un)prepare only ensures parents are prepared
22 * enable - clk_enable only ensures parents are enabled
23 * rate - rate is always a fixed value. No clk_set_rate support
[all …]
Dclk.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2010-2011 Canonical Ltd <jeremy.kerr@canonical.com>
4 * Copyright (C) 2011-2012 Linaro Ltd <mturquette@linaro.org>
6 * Standard functionality for the common clock API. See Documentation/driver-api/clk.rst
10 #include <linux/clk-provider.h>
11 #include <linux/clk/clk-conf.h>
80 unsigned long accuracy; member
113 if (!core->rpm_enabled) in clk_pm_runtime_get()
116 ret = pm_runtime_get_sync(core->dev); in clk_pm_runtime_get()
118 pm_runtime_put_noidle(core->dev); in clk_pm_runtime_get()
[all …]
/kernel/linux/linux-4.19/drivers/clk/at91/
Dsckc.c13 #include <linux/clk-provider.h>
52 unsigned long accuracy; member
69 void __iomem *sckcr = osc->sckcr; in clk_slow_osc_prepare()
78 udelay(osc->startup_usec); in clk_slow_osc_prepare()
80 usleep_range(osc->startup_usec, osc->startup_usec + 1); in clk_slow_osc_prepare()
88 void __iomem *sckcr = osc->sckcr; in clk_slow_osc_unprepare()
100 void __iomem *sckcr = osc->sckcr; in clk_slow_osc_is_prepared()
128 return ERR_PTR(-EINVAL); in at91_clk_register_slow_osc()
132 return ERR_PTR(-ENOMEM); in at91_clk_register_slow_osc()
140 osc->hw.init = &init; in at91_clk_register_slow_osc()
[all …]
Dclk-main.c11 #include <linux/clk-provider.h>
45 unsigned long accuracy; member
77 struct regmap *regmap = osc->regmap; in clk_main_osc_prepare()
100 struct regmap *regmap = osc->regmap; in clk_main_osc_unprepare()
117 struct regmap *regmap = osc->regmap; in clk_main_osc_is_prepared()
147 return ERR_PTR(-EINVAL); in at91_clk_register_main_osc()
151 return ERR_PTR(-ENOMEM); in at91_clk_register_main_osc()
159 osc->hw.init = &init; in at91_clk_register_main_osc()
160 osc->regmap = regmap; in at91_clk_register_main_osc()
168 hw = &osc->hw; in at91_clk_register_main_osc()
[all …]
/kernel/linux/linux-4.19/arch/arm64/boot/dts/xilinx/
Dzynqmp-clk.dtsi1 // SPDX-License-Identifier: GPL-2.0+
3 * Clock specification for Xilinx ZynqMP
5 * (C) Copyright 2015 - 2018, Xilinx, Inc.
12 compatible = "fixed-clock";
13 #clock-cells = <0>;
14 clock-frequency = <100000000>;
18 compatible = "fixed-clock";
19 #clock-cells = <0>;
20 clock-frequency = <125000000>;
24 compatible = "fixed-clock";
[all …]
/kernel/linux/linux-4.19/Documentation/timers/
Dtimekeeping.txt1 Clock sources, Clock events, sched_clock() and delay timers
2 -----------------------------------------------------------
9 If you grep through the kernel source you will find a number of architecture-
10 specific implementations of clock sources, clockevents and several likewise
11 architecture-specific overrides of the sched_clock() function and some
14 To provide timekeeping for your platform, the clock source provides
15 the basic timeline, whereas clock events shoot interrupts on certain points
16 on this timeline, providing facilities such as high-resolution timers.
21 Clock sources
22 -------------
[all …]
/kernel/linux/linux-5.10/Documentation/timers/
Dtimekeeping.rst2 Clock sources, Clock events, sched_clock() and delay timers
10 If you grep through the kernel source you will find a number of architecture-
11 specific implementations of clock sources, clockevents and several likewise
12 architecture-specific overrides of the sched_clock() function and some
15 To provide timekeeping for your platform, the clock source provides
16 the basic timeline, whereas clock events shoot interrupts on certain points
17 on this timeline, providing facilities such as high-resolution timers.
22 Clock sources
23 -------------
25 The purpose of the clock source is to provide a timeline for the system that
[all …]
/kernel/linux/linux-4.19/Documentation/hwmon/
Dpc8736017 -----------------
35 -----------
48 PC87360 - 2 2 - 0xE1
49 PC87363 - 2 2 - 0xE8
50 PC87364 - 3 3 - 0xE4
52 PC87366 11 3 3 3-4 0xE9
58 --------------
64 Fan readings are affected by a programmable clock divider, giving the
65 readings more range or accuracy. Usually, users have to learn how it works,
66 but this driver implements dynamic clock divider selection, so you don't
[all …]
Dshtc119 -----------
27 address 0x70. See Documentation/i2c/instantiating-devices for methods to
31 1. blocking (pull the I2C clock line down while performing the measurement) or
32 non-blocking mode. Blocking mode will guarantee the fastest result but
33 the I2C bus will be busy during that time. By default, non-blocking mode
34 is used. Make sure clock-stretching works properly on your device if you
36 2. high or low accuracy. High accuracy is used by default and using it is
39 sysfs-Interface
40 ---------------
42 temp1_input - temperature input
[all …]
Dsht3x5 * Sensirion SHT3x-DIS
15 -----------
17 This driver implements support for the Sensirion SHT3x-DIS chip, a humidity
24 Documentation/i2c/instantiating-devices for methods to instantiate the device.
27 1. blocking (pull the I2C clock line down while performing the measurement) or
28 non-blocking mode. Blocking mode will guarantee the fastest result but
29 the I2C bus will be busy during that time. By default, non-blocking mode
30 is used. Make sure clock-stretching works properly on your device if you
32 2. high or low accuracy. High accuracy is used by default and using it is
53 sysfs-Interface
[all …]
/kernel/linux/linux-5.10/Documentation/hwmon/
Dpc87360.rst22 -----------------
27 - 0: None
28 - **1**: Forcibly enable internal voltage and temperature channels,
30 - 2: Forcibly enable all voltage and temperature channels, except in9
31 - 3: Forcibly enable all voltage and temperature channels, including in9
42 -----------
56 PC87360 - 2 2 - 0xE1
57 PC87363 - 2 2 - 0xE8
58 PC87364 - 3 3 - 0xE4
60 PC87366 11 3 3 3-4 0xE9
[all …]
Dshtc1.rst41 -----------
48 address 0x70. See Documentation/i2c/instantiating-devices.rst for methods to
53 1. blocking (pull the I2C clock line down while performing the measurement) or
54 non-blocking mode. Blocking mode will guarantee the fastest result but
55 the I2C bus will be busy during that time. By default, non-blocking mode
56 is used. Make sure clock-stretching works properly on your device if you
58 2. high or low accuracy. High accuracy is used by default and using it is
61 sysfs-Interface
62 ---------------
65 - temperature input
[all …]
Dsht3x.rst6 * Sensirion SHT3x-DIS
16 - David Frey <david.frey@sensirion.com>
17 - Pascal Sachs <pascal.sachs@sensirion.com>
20 -----------
22 This driver implements support for the Sensirion SHT3x-DIS chip, a humidity
29 Documentation/i2c/instantiating-devices.rst for methods to instantiate the device.
33 1. blocking (pull the I2C clock line down while performing the measurement) or
34 non-blocking mode. Blocking mode will guarantee the fastest result but
35 the I2C bus will be busy during that time. By default, non-blocking mode
36 is used. Make sure clock-stretching works properly on your device if you
[all …]
/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 */
27 #define CLK_GET_ACCURACY_NOCACHE BIT(8) /* do not use the cached clk accuracy */
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 */
[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 */
35 #define CLK_GET_ACCURACY_NOCACHE BIT(8) /* do not use the cached clk accuracy */
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 */
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dalphascale-asm9260.dtsi2 * Copyright 2014 Oleksij Rempel <linux@rempel-privat.de>
7 #include <dt-bindings/clock/alphascale,asm9260.h>
10 #address-cells = <1>;
11 #size-cells = <1>;
12 interrupt-parent = <&icoll>;
20 #address-cells = <0>;
21 #size-cells = <0>;
24 compatible = "arm,arm926ej-s";
31 compatible = "fixed-clock";
32 #clock-cells = <0>;
[all …]
/kernel/linux/linux-4.19/arch/arm/boot/dts/
Dalphascale-asm9260.dtsi2 * Copyright 2014 Oleksij Rempel <linux@rempel-privat.de>
8 #include <dt-bindings/clock/alphascale,asm9260.h>
11 interrupt-parent = <&icoll>;
19 #address-cells = <0>;
20 #size-cells = <0>;
23 compatible = "arm,arm926ej-s";
30 compatible = "fixed-clock";
31 #clock-cells = <0>;
32 clock-frequency = <24000000>;
33 clock-accuracy = <30000>;
[all …]
/kernel/linux/linux-5.10/Documentation/sound/designs/
Dtimestamping.rst7 - Trigger_tstamp is the system time snapshot taken when the .trigger
11 estimate with a delay. In the latter two cases, the low-level driver
17 - tstamp is the current system timestamp updated during the last
19 The difference (tstamp - trigger_tstamp) defines the elapsed time.
29 - ``avail`` reports how much can be written in the ring buffer
30 - ``delay`` reports the time it will take to hear a new sample after all
43 ascii-art, this could be represented as follows (for the playback
47 --------------------------------------------------------------> time
53 |< codec delay >|<--hw delay-->|<queued samples>|<---avail->|
54 |<----------------- delay---------------------->| |
[all …]
/kernel/linux/linux-4.19/Documentation/sound/designs/
Dtimestamping.rst7 - Trigger_tstamp is the system time snapshot taken when the .trigger
11 estimate with a delay. In the latter two cases, the low-level driver
17 - tstamp is the current system timestamp updated during the last
19 The difference (tstamp - trigger_tstamp) defines the elapsed time.
29 - ``avail`` reports how much can be written in the ring buffer
30 - ``delay`` reports the time it will take to hear a new sample after all
43 ascii-art, this could be represented as follows (for the playback
47 --------------------------------------------------------------> time
53 |< codec delay >|<--hw delay-->|<queued samples>|<---avail->|
54 |<----------------- delay---------------------->| |
[all …]

12345678910