Home
last modified time | relevance | path

Searched refs:ad7766 (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/iio/adc/
Dad7766.c35 struct ad7766 { struct
71 struct ad7766 *ad7766 = iio_priv(indio_dev); in ad7766_trigger_handler() local
74 ret = spi_sync(ad7766->spi, &ad7766->msg); in ad7766_trigger_handler()
78 iio_push_to_buffers_with_timestamp(indio_dev, ad7766->data, in ad7766_trigger_handler()
88 struct ad7766 *ad7766 = iio_priv(indio_dev); in ad7766_preenable() local
91 ret = regulator_bulk_enable(ARRAY_SIZE(ad7766->reg), ad7766->reg); in ad7766_preenable()
93 dev_err(&ad7766->spi->dev, "Failed to enable supplies: %d\n", in ad7766_preenable()
98 ret = clk_prepare_enable(ad7766->mclk); in ad7766_preenable()
100 dev_err(&ad7766->spi->dev, "Failed to enable MCLK: %d\n", ret); in ad7766_preenable()
101 regulator_bulk_disable(ARRAY_SIZE(ad7766->reg), ad7766->reg); in ad7766_preenable()
[all …]
DMakefile17 obj-$(CONFIG_AD7766) += ad7766.o
DKconfig113 called ad7766.