/Linux-v4.19/drivers/iio/adc/ |
D | mt6577_auxadc.c | 47 struct clk *adc_clk; member 192 ret = clk_prepare_enable(adc_dev->adc_clk); in mt6577_auxadc_resume() 212 clk_disable_unprepare(adc_dev->adc_clk); in mt6577_auxadc_suspend() 244 adc_dev->adc_clk = devm_clk_get(&pdev->dev, "main"); in mt6577_auxadc_probe() 245 if (IS_ERR(adc_dev->adc_clk)) { in mt6577_auxadc_probe() 247 return PTR_ERR(adc_dev->adc_clk); in mt6577_auxadc_probe() 250 ret = clk_prepare_enable(adc_dev->adc_clk); in mt6577_auxadc_probe() 256 adc_clk_rate = clk_get_rate(adc_dev->adc_clk); in mt6577_auxadc_probe() 283 clk_disable_unprepare(adc_dev->adc_clk); in mt6577_auxadc_probe() 297 clk_disable_unprepare(adc_dev->adc_clk); in mt6577_auxadc_remove()
|
D | cc10001_adc.c | 61 struct clk *adc_clk; member 354 adc_dev->adc_clk = devm_clk_get(&pdev->dev, "adc"); in cc10001_adc_probe() 355 if (IS_ERR(adc_dev->adc_clk)) { in cc10001_adc_probe() 357 ret = PTR_ERR(adc_dev->adc_clk); in cc10001_adc_probe() 361 ret = clk_prepare_enable(adc_dev->adc_clk); in cc10001_adc_probe() 367 adc_clk_rate = clk_get_rate(adc_dev->adc_clk); in cc10001_adc_probe() 408 clk_disable_unprepare(adc_dev->adc_clk); in cc10001_adc_probe() 422 clk_disable_unprepare(adc_dev->adc_clk); in cc10001_adc_remove()
|
D | meson_saradc.c | 242 struct clk *adc_clk; member 621 priv->adc_clk = devm_clk_register(&indio_dev->dev, &priv->clk_gate.hw); in meson_sar_adc_clk_init() 622 if (WARN_ON(IS_ERR(priv->adc_clk))) in meson_sar_adc_clk_init() 623 return PTR_ERR(priv->adc_clk); in meson_sar_adc_clk_init() 719 ret = clk_set_rate(priv->adc_clk, priv->data->param->clock_rate); in meson_sar_adc_init() 779 ret = clk_prepare_enable(priv->adc_clk); in meson_sar_adc_hw_enable() 811 clk_disable_unprepare(priv->adc_clk); in meson_sar_adc_hw_disable() 1046 priv->adc_clk = devm_clk_get(&pdev->dev, "adc_clk"); in meson_sar_adc_probe() 1047 if (IS_ERR(priv->adc_clk)) { in meson_sar_adc_probe() 1048 if (PTR_ERR(priv->adc_clk) == -ENOENT) { in meson_sar_adc_probe() [all …]
|
D | bcm_iproc_adc.c | 121 struct clk *adc_clk; member 545 adc_priv->adc_clk = devm_clk_get(&pdev->dev, "tsc_clk"); in iproc_adc_probe() 546 if (IS_ERR(adc_priv->adc_clk)) { in iproc_adc_probe() 549 ret = PTR_ERR(adc_priv->adc_clk); in iproc_adc_probe() 576 ret = clk_prepare_enable(adc_priv->adc_clk); in iproc_adc_probe() 608 clk_disable_unprepare(adc_priv->adc_clk); in iproc_adc_probe() 620 clk_disable_unprepare(adc_priv->adc_clk); in iproc_adc_remove()
|
D | at91_adc.c | 195 struct clk *adc_clk; member 1142 unsigned int prsc, mstrclk, ticks, adc_clk, adc_clk_khz, shtim; in at91_adc_probe() local 1216 st->adc_clk = devm_clk_get(&pdev->dev, "adc_op_clk"); in at91_adc_probe() 1217 if (IS_ERR(st->adc_clk)) { in at91_adc_probe() 1219 ret = PTR_ERR(st->adc_clk); in at91_adc_probe() 1223 ret = clk_prepare_enable(st->adc_clk); in at91_adc_probe() 1236 adc_clk = clk_get_rate(st->adc_clk); in at91_adc_probe() 1237 adc_clk_khz = adc_clk / 1000; in at91_adc_probe() 1240 mstrclk, adc_clk); in at91_adc_probe() 1242 prsc = (mstrclk / (2 * adc_clk)) - 1; in at91_adc_probe() [all …]
|
/Linux-v4.19/drivers/input/touchscreen/ |
D | imx6ul_tsc.c | 88 struct clk *adc_clk; member 323 err = clk_prepare_enable(tsc->adc_clk); in imx6ul_tsc_open() 348 clk_disable_unprepare(tsc->adc_clk); in imx6ul_tsc_open() 359 clk_disable_unprepare(tsc->adc_clk); in imx6ul_tsc_close() 429 tsc->adc_clk = devm_clk_get(&pdev->dev, "adc"); in imx6ul_tsc_probe() 430 if (IS_ERR(tsc->adc_clk)) { in imx6ul_tsc_probe() 431 err = PTR_ERR(tsc->adc_clk); in imx6ul_tsc_probe() 524 clk_disable_unprepare(tsc->adc_clk); in imx6ul_tsc_suspend() 542 retval = clk_prepare_enable(tsc->adc_clk); in imx6ul_tsc_resume() 548 clk_disable_unprepare(tsc->adc_clk); in imx6ul_tsc_resume()
|
/Linux-v4.19/Documentation/devicetree/bindings/iio/adc/ |
D | at91-sama5d2_adc.txt | 8 - clock-names: Must be "adc_clk". 39 clocks = <&adc_clk>; 40 clock-names = "adc_clk";
|
D | amlogic,meson-saradc.txt | 20 - "adc_clk" for the ADC (sampling) clock 36 clock-names = "clkin", "core", "sana", "adc_clk", "adc_sel";
|
D | at91_adc.txt | 9 Required elements: "adc_clk", "adc_op_clk". 52 clocks = <&adc_clk>, <&adc_op_clk>; 53 clock-names = "adc_clk", "adc_op_clk";
|
D | cc10001_adc.txt | 19 clocks = <&adc_clk>;
|
/Linux-v4.19/drivers/media/dvb-frontends/ |
D | stv0367.c | 56 u32 adc_clk; member 2330 cab_state->adc_clk = stv0367cab_get_adc_freq(fe, state->config->xtal); in stv0367cab_init() 2427 stv0367cab_set_derot_freq(state, cab_state->adc_clk, in stv0367cab_algo() 2497 tmp = stv0367cab_get_derot_freq(state, cab_state->adc_clk); in stv0367cab_algo() 2518 if (ifkhz > cab_state->adc_clk / 1000) { in stv0367cab_algo() 2521 - stv0367cab_get_derot_freq(state, cab_state->adc_clk) in stv0367cab_algo() 2522 - cab_state->adc_clk / 1000 + ifkhz; in stv0367cab_algo() 2526 - stv0367cab_get_derot_freq(state, cab_state->adc_clk) in stv0367cab_algo() 2533 cab_state->adc_clk) - in stv0367cab_algo() 2534 cab_state->adc_clk / 4000; in stv0367cab_algo() [all …]
|
D | si2165.c | 58 u32 adc_clk; member 253 state->adc_clk = state->fvco_hz / (divm * 4u); in si2165_init_pll() 273 return state->adc_clk; in si2165_get_fe_clk()
|
/Linux-v4.19/Documentation/devicetree/bindings/input/touchscreen/ |
D | brcm,iproc-touchscreen.txt | 74 clocks = <&adc_clk>;
|
/Linux-v4.19/arch/arm/boot/dts/ |
D | at91sam9260.dtsi | 257 adc_clk: adc_clk { label 949 clocks = <&adc_clk>, <&adc_op_clk>; 950 clock-names = "adc_clk", "adc_op_clk";
|
D | at91sam9rl.dtsi | 269 clocks = <&adc_clk>, <&adc_op_clk>; 270 clock-names = "adc_clk", "adc_op_clk"; 1014 adc_clk: adc_clk { label
|
D | at91sam9x5.dtsi | 355 adc_clk: adc_clk { label 1077 clocks = <&adc_clk>, 1079 clock-names = "adc_clk", "adc_op_clk";
|
D | sama5d2.dtsi | 772 adc_clk: adc_clk { label 1432 clocks = <&adc_clk>; 1433 clock-names = "adc_clk";
|
D | at91sam9g45.dtsi | 340 adc_clk: adc_clk { label 1077 clocks = <&adc_clk>, <&adc_op_clk>; 1078 clock-names = "adc_clk", "adc_op_clk";
|
D | sama5d3.dtsi | 319 clocks = <&adc_clk>, 321 clock-names = "adc_clk", "adc_op_clk"; 1268 adc_clk: adc_clk { label
|
D | sama5d4.dtsi | 718 adc_clk: adc_clk { label 1236 clocks = <&adc_clk>, 1238 clock-names = "adc_clk", "adc_op_clk";
|
D | at91sam9n12.dtsi | 345 adc_clk: adc_clk { label
|
/Linux-v4.19/arch/arm64/boot/dts/amlogic/ |
D | meson-gxbb.dtsi | 710 clock-names = "clkin", "core", "adc_clk", "adc_sel";
|
D | meson-gxl.dtsi | 711 clock-names = "clkin", "core", "adc_clk", "adc_sel";
|
D | meson-axg.dtsi | 1505 clock-names = "clkin", "core", "adc_clk", "adc_sel";
|