Lines Matching refs:adis
108 struct adis adis; member
175 ret = adis_write_reg_16(&adis16260->adis, ADIS16260_SLP_CNT, val); in adis16260_stop_device()
193 struct adis *adis = &adis16260->adis; in adis16260_read_raw() local
233 ret = adis_read_reg_16(adis, addr, &val16); in adis16260_read_raw()
241 ret = adis_read_reg_16(adis, addr, &val16); in adis16260_read_raw()
248 ret = adis_read_reg_16(adis, ADIS16260_SMPL_PRD, &val16); in adis16260_read_raw()
252 if (spi_get_device_id(adis->spi)->driver_data) in adis16260_read_raw()
272 struct adis *adis = &adis16260->adis; in adis16260_write_raw() local
283 return adis_write_reg_16(adis, addr, val); in adis16260_write_raw()
289 return adis_write_reg_16(adis, addr, val); in adis16260_write_raw()
291 adis_dev_lock(adis); in adis16260_write_raw()
292 if (spi_get_device_id(adis->spi)->driver_data) in adis16260_write_raw()
303 adis->spi->max_speed_hz = ADIS16260_SPI_SLOW; in adis16260_write_raw()
305 adis->spi->max_speed_hz = ADIS16260_SPI_FAST; in adis16260_write_raw()
306 ret = __adis_write_reg_8(adis, ADIS16260_SMPL_PRD, t); in adis16260_write_raw()
308 adis_dev_unlock(adis); in adis16260_write_raw()
389 ret = adis_init(&adis16260->adis, indio_dev, spi, &adis16260_data); in adis16260_probe()
393 ret = devm_adis_setup_buffer_and_trigger(&adis16260->adis, indio_dev, NULL); in adis16260_probe()
398 ret = adis_initial_startup(&adis16260->adis); in adis16260_probe()