| /kernel/linux/linux-6.6/drivers/rtc/ |
| D | rtc-ftrtc010.c | 35 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() 135 dev_err(dev, "could not get EXTCLK\n"); in ftrtc010_rtc_probe() 137 ret = clk_prepare_enable(rtc->extclk); in ftrtc010_rtc_probe() 139 dev_err(dev, "failed to enable EXTCLK\n"); 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()
|
| /kernel/linux/linux-5.10/drivers/rtc/ |
| D | rtc-ftrtc010.c | 35 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() 135 dev_err(dev, "could not get EXTCLK\n"); in ftrtc010_rtc_probe() 137 ret = clk_prepare_enable(rtc->extclk); in ftrtc010_rtc_probe() 139 dev_err(dev, "failed to enable EXTCLK\n"); in ftrtc010_rtc_probe() 186 if (!IS_ERR(rtc->extclk)) in ftrtc010_rtc_remove() 187 clk_disable_unprepare(rtc->extclk); in ftrtc010_rtc_remove()
|
| /kernel/linux/linux-5.10/sound/soc/kirkwood/ |
| D | kirkwood-i2s.c | 104 if (IS_ERR(priv->extclk)) { in kirkwood_set_rate() 115 dev_dbg(dai->dev, "%s: extclk set rate = %lu -> %lu\n", 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() [all …]
|
| /kernel/linux/linux-6.6/sound/soc/kirkwood/ |
| D | kirkwood-i2s.c | 220 if (IS_ERR(priv->extclk)) { in kirkwood_set_rate() 234 dev_dbg(dai->dev, "%s: extclk set rate = %lu -> %lu\n", in kirkwood_set_rate() 236 clk_set_rate(priv->extclk, 256 * rate); in kirkwood_set_rate() 688 priv->extclk = devm_clk_get(&pdev->dev, "extclk"); in kirkwood_i2s_dev_probe() 689 if (IS_ERR(priv->extclk)) { in kirkwood_i2s_dev_probe() 690 if (PTR_ERR(priv->extclk) == -EPROBE_DEFER) in kirkwood_i2s_dev_probe() 693 if (clk_is_match(priv->extclk, priv->clk)) { in kirkwood_i2s_dev_probe() 694 devm_clk_put(&pdev->dev, priv->extclk); in kirkwood_i2s_dev_probe() 695 priv->extclk = ERR_PTR(-EINVAL); in kirkwood_i2s_dev_probe() 698 clk_prepare_enable(priv->extclk); in kirkwood_i2s_dev_probe() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/rtc/ |
| D | faraday,ftrtc010.txt | 13 PCLK and EXTCLK clocks. Faraday calls the later CLK1HZ and 17 - clock-names: should name the clocks "PCLK" and "EXTCLK" 27 clock-names = "PCLK", "EXTCLK";
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/timer/ |
| D | faraday,fttmr010.txt | 23 - clock-names : should be "EXTCLK" and "PCLK" for the external tick timer 36 clocks = <&extclk>, <&pclk>; 37 clock-names = "EXTCLK", "PCLK";
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/timer/ |
| D | faraday,fttmr010.txt | 23 - clock-names : should be "EXTCLK" and "PCLK" for the external tick timer 36 clocks = <&extclk>, <&pclk>; 37 clock-names = "EXTCLK", "PCLK";
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/clock/ |
| D | sunplus,sp7021-clkc.yaml | 36 extclk: osc0 { 40 clock-output-names = "extclk"; 48 clocks = <&extclk>;
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/rtc/ |
| D | faraday,ftrtc010.yaml | 35 - description: EXTCLK clocks. Faraday calls it CLK1HZ and says the clock 42 - const: EXTCLK 57 clock-names = "PCLK", "EXTCLK";
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/media/ |
| D | samsung-s5k6a3.txt | 18 - clock-names : should contain "extclk" entry for the sensor's EXTCLK clock; 22 - clock-frequency : the frequency at which the "extclk" clock should be
|
| /kernel/linux/linux-5.10/sound/soc/pxa/ |
| D | pxa-ssp.c | 40 struct clk *extclk; member 102 if (priv->extclk) in pxa_ssp_startup() 103 clk_prepare_enable(priv->extclk); in pxa_ssp_startup() 127 if (priv->extclk) in pxa_ssp_shutdown() 128 clk_disable_unprepare(priv->extclk); in pxa_ssp_shutdown() 211 if (priv->extclk) { in pxa_ssp_set_dai_sysclk() 215 * For DT based boards, if an extclk is given, use it in pxa_ssp_set_dai_sysclk() 219 ret = clk_set_rate(priv->extclk, freq); in pxa_ssp_set_dai_sysclk() 796 priv->extclk = devm_clk_get(dev, "extclk"); in pxa_ssp_probe() 797 if (IS_ERR(priv->extclk)) { in pxa_ssp_probe() [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/media/i2c/ |
| D | samsung,s5k6a3.yaml | 28 - const: extclk 32 description: extclk clock frequency 85 clock-names = "extclk";
|
| D | onnn,ar0521.yaml | 27 const: extclk 99 clock-names = "extclk";
|
| /kernel/linux/linux-5.10/drivers/regulator/ |
| D | max8649.c | 54 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()
|
| /kernel/linux/linux-6.6/drivers/regulator/ |
| D | max8649.c | 54 unsigned extclk:1; member 203 info->extclk = pdata->extclk; in max8649_regulator_probe() 204 data = (info->extclk) ? MAX8649_SYNC_EXTCLK : 0; in max8649_regulator_probe() 207 if (info->extclk) { in max8649_regulator_probe()
|
| /kernel/linux/linux-6.6/sound/soc/pxa/ |
| D | pxa-ssp.c | 40 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() 197 * For DT based boards, if an extclk is given, use it in pxa_ssp_set_dai_sysclk() 201 ret = clk_set_rate(priv->extclk, freq); in pxa_ssp_set_dai_sysclk() 772 priv->extclk = devm_clk_get(dev, "extclk"); in pxa_ssp_probe() 773 if (IS_ERR(priv->extclk)) { in pxa_ssp_probe() 774 ret = PTR_ERR(priv->extclk); in pxa_ssp_probe() 778 priv->extclk = NULL; in pxa_ssp_probe()
|
| /kernel/linux/linux-6.6/drivers/mfd/ |
| D | wcd934x.c | 229 ddata->extclk = devm_clk_get(dev, "extclk"); in wcd934x_slim_probe() 230 if (IS_ERR(ddata->extclk)) in wcd934x_slim_probe() 231 return dev_err_probe(dev, PTR_ERR(ddata->extclk), in wcd934x_slim_probe() 232 "Failed to get extclk"); in wcd934x_slim_probe()
|
| /kernel/linux/linux-5.10/drivers/mfd/ |
| D | wcd934x.c | 233 ddata->extclk = devm_clk_get(dev, "extclk"); in wcd934x_slim_probe() 234 if (IS_ERR(ddata->extclk)) { in wcd934x_slim_probe() 235 dev_err(dev, "Failed to get extclk"); in wcd934x_slim_probe() 236 return PTR_ERR(ddata->extclk); in wcd934x_slim_probe()
|
| /kernel/linux/linux-6.6/include/linux/mfd/wcd934x/ |
| D | wcd934x.h | 18 * @extclk: External clock 26 struct clk *extclk; member
|
| /kernel/linux/linux-5.10/include/linux/mfd/wcd934x/ |
| D | wcd934x.h | 18 * @extclk: External clock 26 struct clk *extclk; member
|
| /kernel/linux/linux-5.10/drivers/hwmon/ |
| D | ltc2947-core.c | 961 struct clk *extclk = data; in ltc2947_clk_disable() local 963 clk_disable_unprepare(extclk); in ltc2947_clk_disable() 969 struct clk *extclk; in ltc2947_setup() local 992 extclk = devm_clk_get_optional(st->dev, NULL); in ltc2947_setup() 993 if (IS_ERR(extclk)) in ltc2947_setup() 994 return dev_err_probe(st->dev, PTR_ERR(extclk), in ltc2947_setup() 997 if (extclk) { in ltc2947_setup() 1003 rate_hz = clk_get_rate(extclk); in ltc2947_setup() 1010 ret = clk_prepare_enable(extclk); in ltc2947_setup() 1015 extclk); in ltc2947_setup()
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/pinctrl/ |
| D | marvell,dove-pinctrl.txt | 33 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*
|
| D | marvell,kirkwood-pinctrl.txt | 56 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)
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/pinctrl/ |
| D | marvell,dove-pinctrl.txt | 33 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*
|
| /kernel/linux/linux-6.6/drivers/media/i2c/ |
| D | ar0521.c | 16 /* External clock (extclk) frequencies */ 117 struct clk *extclk; member 847 clk_disable_unprepare(sensor->extclk); in ar0521_power_off() 876 ret = clk_prepare_enable(sensor->extclk); in ar0521_power_on() 1098 /* Get master clock (extclk) */ in ar0521_probe() 1099 sensor->extclk = devm_clk_get(dev, "extclk"); in ar0521_probe() 1100 if (IS_ERR(sensor->extclk)) { in ar0521_probe() 1101 dev_err(dev, "failed to get extclk\n"); in ar0521_probe() 1102 return PTR_ERR(sensor->extclk); in ar0521_probe() 1105 sensor->extclk_freq = clk_get_rate(sensor->extclk); in ar0521_probe() [all …]
|