Home
last modified time | relevance | path

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

1234567

/linux/drivers/clk/at91/
A Dsckc.c82 usleep_range(osc->startup_usec, osc->startup_usec + 1); in clk_slow_osc_prepare()
133 osc = kzalloc(sizeof(*osc), GFP_KERNEL); in at91_clk_register_slow_osc()
134 if (!osc) in at91_clk_register_slow_osc()
167 kfree(osc); in at91_clk_unregister_slow_osc()
213 return !!(readl(osc->sckcr) & osc->bits->cr_rcen); in clk_slow_rc_osc_is_prepared()
240 osc = kzalloc(sizeof(*osc), GFP_KERNEL); in at91_clk_register_slow_rc_osc()
241 if (!osc) in at91_clk_register_slow_rc_osc()
272 kfree(osc); in at91_clk_unregister_slow_rc_osc()
540 if ((readl(osc->sckcr) & osc->bits->cr_oscsel)) { in clk_sama5d4_slow_osc_prepare()
592 osc = kzalloc(sizeof(*osc), GFP_KERNEL); in of_sama5d4_sckc_setup()
[all …]
A Dclk-main.c139 if (osc->pms.status) in clk_main_osc_restore_context()
165 osc = kzalloc(sizeof(*osc), GFP_KERNEL); in at91_clk_register_main_osc()
166 if (!osc) in at91_clk_register_main_osc()
175 osc->hw.init = &init; in at91_clk_register_main_osc()
184 hw = &osc->hw; in at91_clk_register_main_osc()
187 kfree(osc); in at91_clk_register_main_osc()
278 if (osc->pms.status) in clk_main_rc_osc_restore_context()
305 osc = kzalloc(sizeof(*osc), GFP_KERNEL); in at91_clk_register_main_rc_osc()
306 if (!osc) in at91_clk_register_main_rc_osc()
320 hw = &osc->hw; in at91_clk_register_main_rc_osc()
[all …]
/linux/drivers/clk/versatile/
A Dclk-vexpress-osc.c23 #define to_vexpress_osc(osc) container_of(osc, struct vexpress_osc, hw) argument
41 if (osc->rate_min && rate < osc->rate_min) in vexpress_osc_round_rate()
42 rate = osc->rate_min; in vexpress_osc_round_rate()
44 if (osc->rate_max && rate > osc->rate_max) in vexpress_osc_round_rate()
45 rate = osc->rate_max; in vexpress_osc_round_rate()
68 struct vexpress_osc *osc; in vexpress_osc_probe() local
72 osc = devm_kzalloc(&pdev->dev, sizeof(*osc), GFP_KERNEL); in vexpress_osc_probe()
73 if (!osc) in vexpress_osc_probe()
77 if (IS_ERR(osc->reg)) in vexpress_osc_probe()
94 osc->hw.init = &init; in vexpress_osc_probe()
[all …]
/linux/arch/arm64/boot/dts/broadcom/stingray/
A 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/Documentation/devicetree/bindings/clock/
A Dimx6sll-clock.yaml32 - description: 32k osc
33 - description: 24m osc
40 - const: osc
65 clocks = <&ckil>, <&osc>, <&ipp_di0>, <&ipp_di1>;
66 clock-names = "ckil", "osc", "ipp_di0", "ipp_di1";
A Dimx6ul-clock.yaml32 - description: 32k osc
33 - description: 24m osc
40 - const: osc
65 clocks = <&ckil>, <&osc>, <&ipp_di0>, <&ipp_di1>;
66 clock-names = "ckil", "osc", "ipp_di0", "ipp_di1";
A Dimx7d-clock.yaml35 - description: 32k osc
36 - description: 24m osc
41 - const: osc
63 clocks = <&ckil>, <&osc>;
64 clock-names = "ckil", "osc";
A Dimx6sx-clock.yaml32 - description: 32k osc
33 - description: 24m osc
42 - const: osc
69 clocks = <&ckil>, <&osc>, <&ipp_di0>, <&ipp_di1>, <&anaclk1>, <&anaclk2>;
70 clock-names = "ckil", "osc", "ipp_di0", "ipp_di1", "anaclk1", "anaclk2";
A Dimx8m-clock.yaml61 - description: 32k osc
62 - description: 25m osc
63 - description: 27m osc
83 - description: 32k osc
84 - description: 24m osc
A Dallwinner,sun4i-a10-osc-clk.yaml4 $id: http://devicetree.org/schemas/clock/allwinner,sun4i-a10-osc-clk.yaml#
20 const: allwinner,sun4i-a10-osc-clk
45 compatible = "allwinner,sun4i-a10-osc-clk";
A Dbitmain,bm1880-clk.yaml37 const: osc
59 clocks = <&osc>;
60 clock-names = "osc";
A Dcalxeda.yaml53 osc: oscillator {
62 clocks = <&osc>;
69 clocks = <&osc>;
A 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>;
/linux/arch/arm/boot/dts/
A 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>;
A Dvexpress-v2p-ca5s.dts149 compatible = "arm,vexpress-osc";
158 compatible = "arm,vexpress-osc";
167 compatible = "arm,vexpress-osc";
176 compatible = "arm,vexpress-osc";
185 compatible = "arm,vexpress-osc";
194 compatible = "arm,vexpress-osc";
A Dvexpress-v2p-ca15-tc1.dts147 compatible = "arm,vexpress-osc";
156 compatible = "arm,vexpress-osc";
165 compatible = "arm,vexpress-osc";
174 compatible = "arm,vexpress-osc";
183 compatible = "arm,vexpress-osc";
192 compatible = "arm,vexpress-osc";
A Dvexpress-v2p-ca15_a7.dts258 compatible = "arm,vexpress-osc";
267 compatible = "arm,vexpress-osc";
276 compatible = "arm,vexpress-osc";
285 compatible = "arm,vexpress-osc";
294 compatible = "arm,vexpress-osc";
303 compatible = "arm,vexpress-osc";
312 compatible = "arm,vexpress-osc";
321 compatible = "arm,vexpress-osc";
330 compatible = "arm,vexpress-osc";
/linux/drivers/rtc/
A Drtc-rs5c372.c322 static int rs5c372_get_trim(struct i2c_client *client, int *osc, int *trim) in rs5c372_get_trim() argument
327 if (osc) in rs5c372_get_trim()
328 *osc = (tmp & RS5C372_TRIM_XSL) ? 32000 : 32768; in rs5c372_get_trim()
472 int err, osc, trim; in rs5c372_rtc_proc() local
474 err = rs5c372_get_trim(to_i2c_client(dev), &osc, &trim); in rs5c372_rtc_proc()
477 osc / 1000, osc % 1000); in rs5c372_rtc_proc()
515 int err, osc; in rs5c372_sysfs_show_osc() local
517 err = rs5c372_get_trim(to_i2c_client(dev), &osc, NULL); in rs5c372_sysfs_show_osc()
521 return sprintf(buf, "%d.%03d KHz\n", osc / 1000, osc % 1000); in rs5c372_sysfs_show_osc()
523 static DEVICE_ATTR(osc, S_IRUGO, rs5c372_sysfs_show_osc, NULL);
/linux/arch/xtensa/boot/dts/
A Dxtfpga.dtsi23 clocks = <&osc>;
51 osc: main-oscillator { label
66 clocks = <&osc>;
75 clocks = <&osc>;
95 clocks = <&osc>;
A Dcsp.dts35 osc: main-oscillator { label
49 clocks = <&osc>, <&osc>;
A Dvirt.dts25 clocks = <&osc>;
30 osc: osc { label
/linux/arch/arm64/boot/dts/broadcom/northstar2/
A Dns2-clock.dtsi35 osc: oscillator { label
47 clocks = <&osc>;
60 clocks = <&osc>;
74 clocks = <&osc>;
102 clocks = <&osc>;
/linux/drivers/clk/tegra/
A Dclk-tegra-fixed.c30 struct clk *clk, *osc; in tegra_osc_clk_init() local
53 osc = clk_register_fixed_rate(NULL, "osc", NULL, 0, *osc_freq); in tegra_osc_clk_init()
54 *dt_clk = osc; in tegra_osc_clk_init()
/linux/Documentation/devicetree/bindings/arm/
A 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/arch/arm64/boot/dts/synaptics/
A Dberlin4ct.dtsi82 osc: osc { label
244 clocks = <&osc>;
251 clocks = <&osc>;
258 clocks = <&osc>;
296 clocks = <&osc>;

Completed in 31 milliseconds

1234567