Home
last modified time | relevance | path

Searched refs:extclk (Results 1 – 25 of 49) sorted by relevance

12

/linux-6.1.9/drivers/rtc/
Drtc-ftrtc010.c35 struct clk *extclk; member
133 rtc->extclk = devm_clk_get(dev, "EXTCLK"); in ftrtc010_rtc_probe()
134 if (IS_ERR(rtc->extclk)) { in ftrtc010_rtc_probe()
137 ret = clk_prepare_enable(rtc->extclk); in ftrtc010_rtc_probe()
188 clk_disable_unprepare(rtc->extclk); in ftrtc010_rtc_probe()
198 if (!IS_ERR(rtc->extclk)) in ftrtc010_rtc_remove()
199 clk_disable_unprepare(rtc->extclk); in ftrtc010_rtc_remove()
/linux-6.1.9/sound/soc/kirkwood/
Dkirkwood-i2s.c104 if (IS_ERR(priv->extclk)) { in kirkwood_set_rate()
117 clk_set_rate(priv->extclk, 256 * rate); in kirkwood_set_rate()
558 priv->extclk = devm_clk_get(&pdev->dev, "extclk"); in kirkwood_i2s_dev_probe()
559 if (IS_ERR(priv->extclk)) { in kirkwood_i2s_dev_probe()
560 if (PTR_ERR(priv->extclk) == -EPROBE_DEFER) in kirkwood_i2s_dev_probe()
563 if (clk_is_match(priv->extclk, priv->clk)) { in kirkwood_i2s_dev_probe()
564 devm_clk_put(&pdev->dev, priv->extclk); in kirkwood_i2s_dev_probe()
565 priv->extclk = ERR_PTR(-EINVAL); in kirkwood_i2s_dev_probe()
568 clk_prepare_enable(priv->extclk); in kirkwood_i2s_dev_probe()
602 if (!IS_ERR(priv->extclk)) in kirkwood_i2s_dev_probe()
[all …]
Dkirkwood.h135 struct clk *extclk; member
/linux-6.1.9/Documentation/devicetree/bindings/clock/
Dsunplus,sp7021-clkc.yaml36 extclk: osc0 {
40 clock-output-names = "extclk";
48 clocks = <&extclk>;
/linux-6.1.9/drivers/regulator/
Dmax8649.c54 unsigned extclk:1; member
204 info->extclk = pdata->extclk; in max8649_regulator_probe()
205 data = (info->extclk) ? MAX8649_SYNC_EXTCLK : 0; in max8649_regulator_probe()
208 if (info->extclk) { in max8649_regulator_probe()
/linux-6.1.9/sound/soc/pxa/
Dpxa-ssp.c40 struct clk *extclk; member
86 clk_prepare_enable(priv->extclk); in pxa_ssp_startup()
110 clk_disable_unprepare(priv->extclk); in pxa_ssp_shutdown()
193 if (priv->extclk) { in pxa_ssp_set_dai_sysclk()
201 ret = clk_set_rate(priv->extclk, freq); in pxa_ssp_set_dai_sysclk()
778 priv->extclk = devm_clk_get(dev, "extclk"); in pxa_ssp_probe()
779 if (IS_ERR(priv->extclk)) { in pxa_ssp_probe()
780 ret = PTR_ERR(priv->extclk); in pxa_ssp_probe()
784 priv->extclk = NULL; in pxa_ssp_probe()
/linux-6.1.9/Documentation/devicetree/bindings/media/
Dsamsung-s5k6a3.txt18 - clock-names : should contain "extclk" entry for the sensor's EXTCLK clock;
22 - clock-frequency : the frequency at which the "extclk" clock should be
/linux-6.1.9/drivers/mfd/
Dwcd934x.c224 ddata->extclk = devm_clk_get(dev, "extclk"); in wcd934x_slim_probe()
225 if (IS_ERR(ddata->extclk)) { in wcd934x_slim_probe()
227 return PTR_ERR(ddata->extclk); in wcd934x_slim_probe()
/linux-6.1.9/Documentation/devicetree/bindings/media/i2c/
Donnn,ar0521.yaml27 const: extclk
99 clock-names = "extclk";
/linux-6.1.9/include/linux/mfd/wcd934x/
Dwcd934x.h26 struct clk *extclk; member
/linux-6.1.9/include/linux/regulator/
Dmax8649.h36 unsigned extclk:1; member
/linux-6.1.9/Documentation/devicetree/bindings/pinctrl/
Dmarvell,dove-pinctrl.txt33 mpp12 12 gpio, pmu, uart2(rts), audio0(extclk), sdio1(cd),
35 mpp13 13 gpio, pmu, uart2(cts), audio1(extclk), sdio1(wp),
36 ssp(extclk), pmu*
Dmarvell,kirkwood-pinctrl.txt56 mpp44 44 gpio, audio(extclk)
142 mpp28 28 gpio, ge1(col), ts(mp8), tdm(int), audio(extclk)
191 mpp28 28 gpio, ge1(col), ts(mp8), tdm(int), audio(extclk)
207 mpp44 44 gpio, ts(mp8), tdm(rst), audio(extclk)
239 sata1(act), lcd(extclk)
259 mpp28 28 gpio, ge1(col), ts(mp8), tdm(int), audio(extclk),
277 mpp44 44 gpio, ts(mp8), tdm(rst), audio(extclk), lcd(clk)
Dmarvell,armada-370-pinctrl.txt37 mpp16 16 gpio, ge0(rxclk), uart1(rxd), tdm(int), audio(extclk)
86 mpp58 58 gpio, dev(cs0), uart1(rts), tdm(int), audio(extclk),
/linux-6.1.9/drivers/media/i2c/
Dar0521.c98 struct clk *extclk; member
718 clk_disable_unprepare(sensor->extclk); in ar0521_power_off()
746 ret = clk_prepare_enable(sensor->extclk); in ar0521_power_on()
950 sensor->extclk = devm_clk_get(dev, "extclk"); in ar0521_probe()
951 if (IS_ERR(sensor->extclk)) { in ar0521_probe()
953 return PTR_ERR(sensor->extclk); in ar0521_probe()
956 sensor->extclk_freq = clk_get_rate(sensor->extclk); in ar0521_probe()
Dov8865.c697 struct clk *extclk; member
2427 ret = clk_prepare_enable(sensor->extclk); in ov8865_sensor_power()
2442 clk_disable_unprepare(sensor->extclk); in ov8865_sensor_power()
3014 sensor->extclk = devm_clk_get(dev, NULL); in ov8865_probe()
3015 if (PTR_ERR(sensor->extclk) == -ENOENT) { in ov8865_probe()
3017 sensor->extclk = NULL; in ov8865_probe()
3018 } else if (IS_ERR(sensor->extclk)) { in ov8865_probe()
3020 ret = PTR_ERR(sensor->extclk); in ov8865_probe()
3035 if (!ret && sensor->extclk) { in ov8865_probe()
3036 ret = clk_set_rate(sensor->extclk, rate); in ov8865_probe()
[all …]
/linux-6.1.9/arch/arm/boot/dts/
Dsunplus-sp7021.dtsi21 extclk: osc0 { label
25 clock-output-names = "extclk";
41 clocks = <&extclk>;
Ddove-cubox.dts140 clock-names = "internal", "extclk";
/linux-6.1.9/drivers/hwmon/
Dltc2947-core.c962 struct clk *extclk; in ltc2947_setup() local
985 extclk = devm_clk_get_optional_enabled(st->dev, NULL); in ltc2947_setup()
986 if (IS_ERR(extclk)) in ltc2947_setup()
987 return dev_err_probe(st->dev, PTR_ERR(extclk), in ltc2947_setup()
990 if (extclk) { in ltc2947_setup()
996 rate_hz = clk_get_rate(extclk); in ltc2947_setup()
/linux-6.1.9/Documentation/devicetree/bindings/sound/
Dmrvl,pxa-ssp.txt12 can be configured. If a clock names "extclk" exists,
Dmvebu-audio.txt24 "extclk" for the external clock
Dqcom,wcd934x.yaml37 const: extclk
192 clock-names = "extclk";
/linux-6.1.9/Documentation/devicetree/bindings/timer/
Dfaraday,fttmr010.txt36 clocks = <&extclk>, <&pclk>;
/linux-6.1.9/arch/arm/mach-mmp/
Djasper.c123 .extclk = 0,
Dbrownstone.c129 .extclk = 0,

12