• Home
  • Raw
  • Download

Lines Matching refs:adis

68 	struct adis adis;  member
82 ret = adis_read_reg_16(&adis16136->adis, ADIS16136_REG_SERIAL_NUM, in adis16136_show_serial()
87 ret = adis_read_reg_16(&adis16136->adis, ADIS16136_REG_LOT1, &lot1); in adis16136_show_serial()
91 ret = adis_read_reg_16(&adis16136->adis, ADIS16136_REG_LOT2, &lot2); in adis16136_show_serial()
95 ret = adis_read_reg_16(&adis16136->adis, ADIS16136_REG_LOT3, &lot3); in adis16136_show_serial()
118 ret = adis_read_reg_16(&adis16136->adis, ADIS16136_REG_PROD_ID, in adis16136_show_product_id()
136 ret = adis_read_reg_16(&adis16136->adis, ADIS16136_REG_FLASH_CNT, in adis16136_show_flash_count()
184 return adis_write_reg_16(&adis16136->adis, ADIS16136_REG_SMPL_PRD, t); in adis16136_set_freq()
192 ret = __adis_read_reg_16(&adis16136->adis, ADIS16136_REG_SMPL_PRD, &t); in __adis16136_get_freq()
226 struct mutex *slock = &adis16136->adis.state_lock; in adis16136_read_frequency()
257 struct mutex *slock = &adis16136->adis.state_lock; in adis16136_set_filter()
271 ret = __adis_write_reg_16(&adis16136->adis, ADIS16136_REG_AVG_CNT, i); in adis16136_set_filter()
281 struct mutex *slock = &adis16136->adis.state_lock; in adis16136_get_filter()
288 ret = __adis_read_reg_16(&adis16136->adis, ADIS16136_REG_AVG_CNT, in adis16136_get_filter()
329 ret = adis_read_reg_32(&adis16136->adis, in adis16136_read_raw()
351 return adis_write_reg_32(&adis16136->adis, in adis16136_write_raw()
425 ret = adis_write_reg_16(&adis16136->adis, ADIS16136_REG_SLP_CTRL, 0xff); in adis16136_stop_device()
440 ret = adis_initial_startup(&adis16136->adis); in adis16136_initial_setup()
444 ret = adis_read_reg_16(&adis16136->adis, ADIS16136_REG_PROD_ID, in adis16136_initial_setup()
556 ret = adis_init(&adis16136->adis, indio_dev, spi, adis16136_data); in adis16136_probe()
560 ret = devm_adis_setup_buffer_and_trigger(&adis16136->adis, indio_dev, NULL); in adis16136_probe()