adc_clk 194 drivers/iio/adc/at91_adc.c struct clk *adc_clk; adc_clk 1151 drivers/iio/adc/at91_adc.c unsigned int prsc, mstrclk, ticks, adc_clk, adc_clk_khz, shtim; adc_clk 1223 drivers/iio/adc/at91_adc.c st->adc_clk = devm_clk_get(&pdev->dev, "adc_op_clk"); adc_clk 1224 drivers/iio/adc/at91_adc.c if (IS_ERR(st->adc_clk)) { adc_clk 1226 drivers/iio/adc/at91_adc.c ret = PTR_ERR(st->adc_clk); adc_clk 1230 drivers/iio/adc/at91_adc.c ret = clk_prepare_enable(st->adc_clk); adc_clk 1243 drivers/iio/adc/at91_adc.c adc_clk = clk_get_rate(st->adc_clk); adc_clk 1244 drivers/iio/adc/at91_adc.c adc_clk_khz = adc_clk / 1000; adc_clk 1247 drivers/iio/adc/at91_adc.c mstrclk, adc_clk); adc_clk 1249 drivers/iio/adc/at91_adc.c prsc = (mstrclk / (2 * adc_clk)) - 1; adc_clk 1330 drivers/iio/adc/at91_adc.c clk_disable_unprepare(st->adc_clk); adc_clk 1350 drivers/iio/adc/at91_adc.c clk_disable_unprepare(st->adc_clk); adc_clk 110 drivers/iio/adc/bcm_iproc_adc.c struct clk *adc_clk; adc_clk 534 drivers/iio/adc/bcm_iproc_adc.c adc_priv->adc_clk = devm_clk_get(&pdev->dev, "tsc_clk"); adc_clk 535 drivers/iio/adc/bcm_iproc_adc.c if (IS_ERR(adc_priv->adc_clk)) { adc_clk 538 drivers/iio/adc/bcm_iproc_adc.c ret = PTR_ERR(adc_priv->adc_clk); adc_clk 562 drivers/iio/adc/bcm_iproc_adc.c ret = clk_prepare_enable(adc_priv->adc_clk); adc_clk 594 drivers/iio/adc/bcm_iproc_adc.c clk_disable_unprepare(adc_priv->adc_clk); adc_clk 606 drivers/iio/adc/bcm_iproc_adc.c clk_disable_unprepare(adc_priv->adc_clk); adc_clk 57 drivers/iio/adc/cc10001_adc.c struct clk *adc_clk; adc_clk 350 drivers/iio/adc/cc10001_adc.c adc_dev->adc_clk = devm_clk_get(&pdev->dev, "adc"); adc_clk 351 drivers/iio/adc/cc10001_adc.c if (IS_ERR(adc_dev->adc_clk)) { adc_clk 353 drivers/iio/adc/cc10001_adc.c ret = PTR_ERR(adc_dev->adc_clk); adc_clk 357 drivers/iio/adc/cc10001_adc.c ret = clk_prepare_enable(adc_dev->adc_clk); adc_clk 363 drivers/iio/adc/cc10001_adc.c adc_clk_rate = clk_get_rate(adc_dev->adc_clk); adc_clk 404 drivers/iio/adc/cc10001_adc.c clk_disable_unprepare(adc_dev->adc_clk); adc_clk 418 drivers/iio/adc/cc10001_adc.c clk_disable_unprepare(adc_dev->adc_clk); adc_clk 274 drivers/iio/adc/meson_saradc.c struct clk *adc_clk; adc_clk 695 drivers/iio/adc/meson_saradc.c priv->adc_clk = devm_clk_register(&indio_dev->dev, &priv->clk_gate.hw); adc_clk 696 drivers/iio/adc/meson_saradc.c if (WARN_ON(IS_ERR(priv->adc_clk))) adc_clk 697 drivers/iio/adc/meson_saradc.c return PTR_ERR(priv->adc_clk); adc_clk 902 drivers/iio/adc/meson_saradc.c ret = clk_set_rate(priv->adc_clk, priv->param->clock_rate); adc_clk 962 drivers/iio/adc/meson_saradc.c ret = clk_prepare_enable(priv->adc_clk); adc_clk 994 drivers/iio/adc/meson_saradc.c clk_disable_unprepare(priv->adc_clk); adc_clk 1248 drivers/iio/adc/meson_saradc.c priv->adc_clk = devm_clk_get(&pdev->dev, "adc_clk"); adc_clk 1249 drivers/iio/adc/meson_saradc.c if (IS_ERR(priv->adc_clk)) { adc_clk 1250 drivers/iio/adc/meson_saradc.c if (PTR_ERR(priv->adc_clk) == -ENOENT) { adc_clk 1251 drivers/iio/adc/meson_saradc.c priv->adc_clk = NULL; adc_clk 1254 drivers/iio/adc/meson_saradc.c return PTR_ERR(priv->adc_clk); adc_clk 1269 drivers/iio/adc/meson_saradc.c if (!priv->adc_clk) { adc_clk 44 drivers/iio/adc/mt6577_auxadc.c struct clk *adc_clk; adc_clk 211 drivers/iio/adc/mt6577_auxadc.c ret = clk_prepare_enable(adc_dev->adc_clk); adc_clk 231 drivers/iio/adc/mt6577_auxadc.c clk_disable_unprepare(adc_dev->adc_clk); adc_clk 263 drivers/iio/adc/mt6577_auxadc.c adc_dev->adc_clk = devm_clk_get(&pdev->dev, "main"); adc_clk 264 drivers/iio/adc/mt6577_auxadc.c if (IS_ERR(adc_dev->adc_clk)) { adc_clk 266 drivers/iio/adc/mt6577_auxadc.c return PTR_ERR(adc_dev->adc_clk); adc_clk 269 drivers/iio/adc/mt6577_auxadc.c ret = clk_prepare_enable(adc_dev->adc_clk); adc_clk 275 drivers/iio/adc/mt6577_auxadc.c adc_clk_rate = clk_get_rate(adc_dev->adc_clk); adc_clk 302 drivers/iio/adc/mt6577_auxadc.c clk_disable_unprepare(adc_dev->adc_clk); adc_clk 316 drivers/iio/adc/mt6577_auxadc.c clk_disable_unprepare(adc_dev->adc_clk); adc_clk 23 drivers/iio/adc/npcm_adc.c struct clk *adc_clk; adc_clk 204 drivers/iio/adc/npcm_adc.c info->adc_clk = devm_clk_get(&pdev->dev, NULL); adc_clk 205 drivers/iio/adc/npcm_adc.c if (IS_ERR(info->adc_clk)) { adc_clk 207 drivers/iio/adc/npcm_adc.c return PTR_ERR(info->adc_clk); adc_clk 214 drivers/iio/adc/npcm_adc.c info->adc_sample_hz = clk_get_rate(info->adc_clk) / ((div + 1) * 2); adc_clk 299 drivers/iio/adc/npcm_adc.c clk_disable_unprepare(info->adc_clk); adc_clk 316 drivers/iio/adc/npcm_adc.c clk_disable_unprepare(info->adc_clk); adc_clk 88 drivers/input/touchscreen/imx6ul_tsc.c struct clk *adc_clk; adc_clk 323 drivers/input/touchscreen/imx6ul_tsc.c err = clk_prepare_enable(tsc->adc_clk); adc_clk 348 drivers/input/touchscreen/imx6ul_tsc.c clk_disable_unprepare(tsc->adc_clk); adc_clk 359 drivers/input/touchscreen/imx6ul_tsc.c clk_disable_unprepare(tsc->adc_clk); adc_clk 425 drivers/input/touchscreen/imx6ul_tsc.c tsc->adc_clk = devm_clk_get(&pdev->dev, "adc"); adc_clk 426 drivers/input/touchscreen/imx6ul_tsc.c if (IS_ERR(tsc->adc_clk)) { adc_clk 427 drivers/input/touchscreen/imx6ul_tsc.c err = PTR_ERR(tsc->adc_clk); adc_clk 516 drivers/input/touchscreen/imx6ul_tsc.c clk_disable_unprepare(tsc->adc_clk); adc_clk 534 drivers/input/touchscreen/imx6ul_tsc.c retval = clk_prepare_enable(tsc->adc_clk); adc_clk 540 drivers/input/touchscreen/imx6ul_tsc.c clk_disable_unprepare(tsc->adc_clk); adc_clk 49 drivers/media/dvb-frontends/si2165.c u32 adc_clk; adc_clk 244 drivers/media/dvb-frontends/si2165.c state->adc_clk = state->fvco_hz / (divm * 4u); adc_clk 264 drivers/media/dvb-frontends/si2165.c return state->adc_clk; adc_clk 46 drivers/media/dvb-frontends/stv0367.c u32 adc_clk; adc_clk 2320 drivers/media/dvb-frontends/stv0367.c cab_state->adc_clk = stv0367cab_get_adc_freq(fe, state->config->xtal); adc_clk 2417 drivers/media/dvb-frontends/stv0367.c stv0367cab_set_derot_freq(state, cab_state->adc_clk, adc_clk 2487 drivers/media/dvb-frontends/stv0367.c tmp = stv0367cab_get_derot_freq(state, cab_state->adc_clk); adc_clk 2508 drivers/media/dvb-frontends/stv0367.c if (ifkhz > cab_state->adc_clk / 1000) { adc_clk 2511 drivers/media/dvb-frontends/stv0367.c - stv0367cab_get_derot_freq(state, cab_state->adc_clk) adc_clk 2512 drivers/media/dvb-frontends/stv0367.c - cab_state->adc_clk / 1000 + ifkhz; adc_clk 2516 drivers/media/dvb-frontends/stv0367.c - stv0367cab_get_derot_freq(state, cab_state->adc_clk) adc_clk 2523 drivers/media/dvb-frontends/stv0367.c cab_state->adc_clk) - adc_clk 2524 drivers/media/dvb-frontends/stv0367.c cab_state->adc_clk / 4000; adc_clk 2590 drivers/media/dvb-frontends/stv0367.c cab_state->adc_clk, adc_clk 2640 drivers/media/dvb-frontends/stv0367.c (stv0367cab_get_derot_freq(state, cab_state->adc_clk) - adc_clk 2641 drivers/media/dvb-frontends/stv0367.c cab_state->adc_clk / 4000); adc_clk 2645 drivers/media/dvb-frontends/stv0367.c if (ifkhz > cab_state->adc_clk / 1000) adc_clk 2647 drivers/media/dvb-frontends/stv0367.c - stv0367cab_get_derot_freq(state, cab_state->adc_clk) adc_clk 2648 drivers/media/dvb-frontends/stv0367.c - cab_state->adc_clk / 1000); adc_clk 2651 drivers/media/dvb-frontends/stv0367.c - stv0367cab_get_derot_freq(state, cab_state->adc_clk)); adc_clk 2991 drivers/media/dvb-frontends/stv0367.c state->cab_state->adc_clk = stv0367cab_get_adc_freq(&state->fe,