Home
last modified time | relevance | path

Searched refs:osc (Results 1 – 25 of 116) sorted by relevance

12345

/Linux-v4.19/drivers/clk/versatile/
Dclk-vexpress-osc.c29 #define to_vexpress_osc(osc) container_of(osc, struct vexpress_osc, hw) argument
34 struct vexpress_osc *osc = to_vexpress_osc(hw); in vexpress_osc_recalc_rate() local
37 regmap_read(osc->reg, 0, &rate); in vexpress_osc_recalc_rate()
45 struct vexpress_osc *osc = to_vexpress_osc(hw); in vexpress_osc_round_rate() local
47 if (osc->rate_min && rate < osc->rate_min) in vexpress_osc_round_rate()
48 rate = osc->rate_min; in vexpress_osc_round_rate()
50 if (osc->rate_max && rate > osc->rate_max) in vexpress_osc_round_rate()
51 rate = osc->rate_max; in vexpress_osc_round_rate()
59 struct vexpress_osc *osc = to_vexpress_osc(hw); in vexpress_osc_set_rate() local
61 return regmap_write(osc->reg, 0, rate); in vexpress_osc_set_rate()
[all …]
/Linux-v4.19/drivers/clk/at91/
Dsckc.c68 struct clk_slow_osc *osc = to_clk_slow_osc(hw); in clk_slow_osc_prepare() local
69 void __iomem *sckcr = osc->sckcr; in clk_slow_osc_prepare()
77 usleep_range(osc->startup_usec, osc->startup_usec + 1); in clk_slow_osc_prepare()
84 struct clk_slow_osc *osc = to_clk_slow_osc(hw); in clk_slow_osc_unprepare() local
85 void __iomem *sckcr = osc->sckcr; in clk_slow_osc_unprepare()
96 struct clk_slow_osc *osc = to_clk_slow_osc(hw); in clk_slow_osc_is_prepared() local
97 void __iomem *sckcr = osc->sckcr; in clk_slow_osc_is_prepared()
119 struct clk_slow_osc *osc; in at91_clk_register_slow_osc() local
127 osc = kzalloc(sizeof(*osc), GFP_KERNEL); in at91_clk_register_slow_osc()
128 if (!osc) in at91_clk_register_slow_osc()
[all …]
Dclk-main.c72 struct clk_main_osc *osc = to_clk_main_osc(hw); in clk_main_osc_prepare() local
73 struct regmap *regmap = osc->regmap; in clk_main_osc_prepare()
95 struct clk_main_osc *osc = to_clk_main_osc(hw); in clk_main_osc_unprepare() local
96 struct regmap *regmap = osc->regmap; in clk_main_osc_unprepare()
112 struct clk_main_osc *osc = to_clk_main_osc(hw); in clk_main_osc_is_prepared() local
113 struct regmap *regmap = osc->regmap; in clk_main_osc_is_prepared()
137 struct clk_main_osc *osc; in at91_clk_register_main_osc() local
145 osc = kzalloc(sizeof(*osc), GFP_KERNEL); in at91_clk_register_main_osc()
146 if (!osc) in at91_clk_register_main_osc()
155 osc->hw.init = &init; in at91_clk_register_main_osc()
[all …]
/Linux-v4.19/arch/arm64/boot/dts/broadcom/stingray/
Dstingray-clock.dtsi35 osc: oscillator { label
44 clocks = <&osc>;
54 clocks = <&osc>;
66 clocks = <&osc>;
78 clocks = <&osc>;
88 clocks = <&osc>;
100 clocks = <&osc>;
110 clocks = <&osc>;
121 clocks = <&osc>;
/Linux-v4.19/arch/arm/boot/dts/
Dbcm-cygnus-clock.dtsi38 osc: oscillator { label
48 clocks = <&osc>;
74 clocks = <&osc>;
101 clocks = <&osc>;
110 clocks = <&osc>;
121 clocks = <&osc>;
129 clocks = <&osc>;
Dvexpress-v2p-ca5s.dts135 compatible = "arm,vexpress-osc";
144 compatible = "arm,vexpress-osc";
153 compatible = "arm,vexpress-osc";
162 compatible = "arm,vexpress-osc";
171 compatible = "arm,vexpress-osc";
180 compatible = "arm,vexpress-osc";
Dvexpress-v2p-ca15-tc1.dts133 compatible = "arm,vexpress-osc";
142 compatible = "arm,vexpress-osc";
151 compatible = "arm,vexpress-osc";
160 compatible = "arm,vexpress-osc";
169 compatible = "arm,vexpress-osc";
178 compatible = "arm,vexpress-osc";
Dvexpress-v2p-ca15_a7.dts239 compatible = "arm,vexpress-osc";
248 compatible = "arm,vexpress-osc";
257 compatible = "arm,vexpress-osc";
266 compatible = "arm,vexpress-osc";
275 compatible = "arm,vexpress-osc";
284 compatible = "arm,vexpress-osc";
293 compatible = "arm,vexpress-osc";
302 compatible = "arm,vexpress-osc";
311 compatible = "arm,vexpress-osc";
Decx-common.dtsi149 osc: oscillator { label
158 clocks = <&osc>;
165 clocks = <&osc>;
186 clocks = <&osc>;
/Linux-v4.19/drivers/rtc/
Drtc-rs5c372.c280 static int rs5c372_get_trim(struct i2c_client *client, int *osc, int *trim) in rs5c372_get_trim() argument
285 if (osc) in rs5c372_get_trim()
286 *osc = (tmp & RS5C372_TRIM_XSL) ? 32000 : 32768; in rs5c372_get_trim()
430 int err, osc, trim; in rs5c372_rtc_proc() local
432 err = rs5c372_get_trim(to_i2c_client(dev), &osc, &trim); in rs5c372_rtc_proc()
435 osc / 1000, osc % 1000); in rs5c372_rtc_proc()
473 int err, osc; in rs5c372_sysfs_show_osc() local
475 err = rs5c372_get_trim(to_i2c_client(dev), &osc, NULL); in rs5c372_sysfs_show_osc()
479 return sprintf(buf, "%d.%03d KHz\n", osc / 1000, osc % 1000); in rs5c372_sysfs_show_osc()
481 static DEVICE_ATTR(osc, S_IRUGO, rs5c372_sysfs_show_osc, NULL);
/Linux-v4.19/arch/xtensa/boot/dts/
Dxtfpga.dtsi23 clocks = <&osc>;
51 osc: main-oscillator { label
66 clocks = <&osc>;
75 clocks = <&osc>;
95 clocks = <&osc>;
Dcsp.dts35 osc: main-oscillator { label
49 clocks = <&osc>, <&osc>;
/Linux-v4.19/arch/arm64/boot/dts/broadcom/northstar2/
Dns2-clock.dtsi35 osc: oscillator { label
47 clocks = <&osc>;
60 clocks = <&osc>;
74 clocks = <&osc>;
102 clocks = <&osc>;
/Linux-v4.19/Documentation/devicetree/bindings/clock/
Dimx6sll-clock.txt9 - clock-names: should include entries "ckil", "osc", "ipp_di0" and "ipp_di1"
25 clocks = <&ckil>, <&osc>, <&ipp_di0>, <&ipp_di1>;
26 clock-names = "ckil", "osc", "ipp_di0", "ipp_di1";
Dnvidia,tegra114-car.txt13 the 32 KHz "32k_in", and the board-specific oscillator "osc".
45 osc: clock@0 {
61 clocks = <&clk_32k> <&osc>;
Dnvidia,tegra20-car.txt13 the 32 KHz "32k_in", and the board-specific oscillator "osc".
45 osc: clock@0 {
61 clocks = <&clk_32k> <&osc>;
Dnvidia,tegra30-car.txt13 the 32 KHz "32k_in", and the board-specific oscillator "osc".
45 osc: clock@0 {
61 clocks = <&clk_32k> <&osc>;
Dclock-bindings.txt83 clocks = <&osc 1>, <&ref 0>;
89 The baud clock is connected to output 1 of the &osc device, and the register
95 osc: oscillator {
99 clock-output-names = "osc";
107 clocks = <&osc 0>;
120 clocks = <&osc 0>, <&pll 1>;
128 * The oscillator is fixed-frequency, and provides one clock output, named "osc".
153 clocks = <&osc 0>, <&pll 1>;
Dat91-clock.txt14 "atmel,at91sam9x5-clk-slow-osc":
17 "atmel,at91sam9x5-clk-slow-rc-osc":
33 "atmel,at91rm9200-clk-main-osc"
34 "atmel,at91sam9x5-clk-main-rc-osc"
122 compatible = "atmel,at91sam9x5-clk-slow-rc-osc";
129 - clocks : shall encode the main osc source clk sources (see atmel datasheet).
132 - atmel,osc-bypass : boolean property. Set this when a clock signal is directly
137 compatible = "atmel,at91rm9200-clk-slow-osc";
193 compatible = "atmel,at91sam9x5-clk-main-rc-osc";
203 - clocks : shall encode the main osc source clk sources (see atmel datasheet).
[all …]
/Linux-v4.19/Documentation/devicetree/bindings/arm/
Dvexpress-sysreg.txt73 "arm,vexpress-osc"
84 - second cell of each group defines device number (eg. osc 0,
85 osc 1 etc.)
94 osc@0 {
95 compatible = "arm,vexpress-osc";
/Linux-v4.19/arch/arm64/boot/dts/synaptics/
Dberlin4ct.dtsi82 osc: osc { label
244 clocks = <&osc>;
251 clocks = <&osc>;
258 clocks = <&osc>;
296 clocks = <&osc>;
/Linux-v4.19/Documentation/devicetree/bindings/mfd/
Drohm,bd71837-pmic.txt29 osc: oscillator {
33 clock-output-names = "osc";
43 clocks = <&osc 0>;
/Linux-v4.19/drivers/clk/tegra/
Dclk-tegra-fixed.c37 struct clk *clk, *osc; in tegra_osc_clk_init() local
55 osc = clk_register_fixed_rate(NULL, "osc", NULL, 0, *osc_freq); in tegra_osc_clk_init()
/Linux-v4.19/drivers/char/hw_random/
Dmxc-rnga.c107 u32 ctrl, osc; in mxc_rnga_init() local
115 osc = __raw_readl(mxc_rng->mem + RNGA_STATUS); in mxc_rnga_init()
116 if (osc & RNGA_STATUS_OSC_DEAD) { in mxc_rnga_init()
/Linux-v4.19/Documentation/devicetree/bindings/phy/
Dphy-miphy28lp.txt34 - st,osc-rdy : to check the MIPHY0_OSC_RDY status in the glue-logic. This
37 - st,osc-force-ext : to select the external oscillator. This can change from
65 st,osc-rdy;
81 st,osc-force-ext;

12345