Searched refs:iio_cb (Results 1 – 2 of 2) sorted by relevance
52 struct iio_cb_buffer *iio_cb; member114 error = iio_channel_start_all_cb(st->iio_cb); in grts_open()126 iio_channel_stop_all_cb(st->iio_cb); in grts_close()266 st->iio_cb = iio_channel_get_all_cb(dev, grts_cb, st); in grts_probe()267 if (IS_ERR(st->iio_cb)) { in grts_probe()269 return PTR_ERR(st->iio_cb); in grts_probe()272 error = devm_add_action_or_reset(dev, grts_disable, st->iio_cb); in grts_probe()
35 struct iio_cb_buffer *iio_cb; member67 iio_channel_stop_all_cb(priv->iio_cb); in stm32_adfsdm_shutdown()81 iio_channel_stop_all_cb(priv->iio_cb); in stm32_adfsdm_dai_prepare()95 ret = iio_channel_start_all_cb(priv->iio_cb); in stm32_adfsdm_dai_prepare()280 return iio_channel_cb_set_buffer_watermark(priv->iio_cb, in stm32_adfsdm_pcm_hw_params()354 priv->iio_cb = iio_channel_get_all_cb(&pdev->dev, &stm32_adfsdm_dummy_cb, NULL); in stm32_adfsdm_probe()355 if (IS_ERR(priv->iio_cb)) in stm32_adfsdm_probe()356 return PTR_ERR(priv->iio_cb); in stm32_adfsdm_probe()358 ret = devm_add_action_or_reset(&pdev->dev, stm32_adfsdm_cleanup, priv->iio_cb); in stm32_adfsdm_probe()