Searched refs:iio_cb (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/input/touchscreen/ |
H A D | resistive-adc-touch.c | 30 * @iio_cb: iio_callback buffer for the data 38 struct iio_cb_buffer *iio_cb; member 77 error = iio_channel_start_all_cb(st->iio_cb); in grts_open() 89 iio_channel_stop_all_cb(st->iio_cb); in grts_close() 167 st->iio_cb = iio_channel_get_all_cb(dev, grts_cb, st); in grts_probe() 168 if (IS_ERR(st->iio_cb)) { in grts_probe() 170 return PTR_ERR(st->iio_cb); in grts_probe() 173 error = devm_add_action_or_reset(dev, grts_disable, st->iio_cb); in grts_probe()
|
/kernel/linux/linux-6.6/drivers/input/touchscreen/ |
H A D | resistive-adc-touch.c | 42 * @iio_cb: iio_callback buffer for the data 52 struct iio_cb_buffer *iio_cb; member 114 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()
|
/kernel/linux/linux-5.10/sound/soc/stm/ |
H A D | stm32_adfsdm.c | 35 struct iio_cb_buffer *iio_cb; member 67 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() 279 return iio_channel_cb_set_buffer_watermark(priv->iio_cb, in stm32_adfsdm_pcm_hw_params() 338 priv->iio_cb = iio_channel_get_all_cb(&pdev->dev, NULL, NULL); in stm32_adfsdm_probe() 339 if (IS_ERR(priv->iio_cb)) in stm32_adfsdm_probe() 340 return PTR_ERR(priv->iio_cb); in stm32_adfsdm_probe()
|
/kernel/linux/linux-6.6/sound/soc/stm/ |
H A D | stm32_adfsdm.c | 35 struct iio_cb_buffer *iio_cb; member 67 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()
|
Completed in 3 milliseconds