Searched refs:ext_ref (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/include/linux/platform_data/
H A Dad7298.h14 * @ext_ref: Whether to use an external reference voltage.
17 bool ext_ref; member in struct:ad7298_platform_data
/linux-4.4.14/drivers/iio/adc/
H A Dad7298.c45 unsigned ext_ref; member in struct:ad7298_state
116 command = AD7298_WRITE | st->ext_ref; ad7298_update_scan_mode()
177 st->tx_buf[0] = cpu_to_be16(AD7298_WRITE | st->ext_ref | ad7298_scan_direct()
193 AD7298_TAVG | st->ext_ref); ad7298_scan_temp()
220 if (st->ext_ref) { ad7298_get_ref_voltage()
299 if (pdata && pdata->ext_ref) ad7298_probe()
300 st->ext_ref = AD7298_EXTREF; ad7298_probe()
302 if (st->ext_ref) { ad7298_probe()
353 if (st->ext_ref) ad7298_probe()
366 if (st->ext_ref) ad7298_remove()
/linux-4.4.14/drivers/iio/dac/
H A Dad7303.c204 bool ext_ref; ad7303_probe() local
225 ext_ref = of_property_read_bool(spi->dev.of_node, ad7303_probe()
230 ext_ref = true; ad7303_probe()
232 ext_ref = false; ad7303_probe()
235 if (ext_ref) { ad7303_probe()

Completed in 134 milliseconds