Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/iio/adc/
Dad7766.c35 struct ad7766 { struct
70 struct ad7766 *ad7766 = iio_priv(indio_dev); in ad7766_trigger_handler() local
73 ret = spi_sync(ad7766->spi, &ad7766->msg); in ad7766_trigger_handler()
77 iio_push_to_buffers_with_timestamp(indio_dev, ad7766->data, in ad7766_trigger_handler()
87 struct ad7766 *ad7766 = iio_priv(indio_dev); in ad7766_preenable() local
90 ret = regulator_bulk_enable(ARRAY_SIZE(ad7766->reg), ad7766->reg); in ad7766_preenable()
92 dev_err(&ad7766->spi->dev, "Failed to enable supplies: %d\n", in ad7766_preenable()
97 ret = clk_prepare_enable(ad7766->mclk); in ad7766_preenable()
99 dev_err(&ad7766->spi->dev, "Failed to enable MCLK: %d\n", ret); in ad7766_preenable()
100 regulator_bulk_disable(ARRAY_SIZE(ad7766->reg), ad7766->reg); in ad7766_preenable()
[all …]
DMakefile23 obj-$(CONFIG_AD7766) += ad7766.o
DKconfig178 called ad7766.