Lines Matching refs:adis
69 struct adis adis; member
80 ret = adis_read_reg_16(&adis16460->adis, ADIS16460_REG_SERIAL_NUM, in adis16460_show_serial_number()
98 ret = adis_read_reg_16(&adis16460->adis, ADIS16460_REG_PROD_ID, in adis16460_show_product_id()
116 ret = adis_read_reg_32(&adis16460->adis, ADIS16460_REG_FLASH_CNT, in adis16460_show_flash_count()
168 return adis_write_reg_16(&st->adis, ADIS16460_REG_DEC_RATE, t); in adis16460_set_freq()
178 ret = adis_read_reg_16(&st->adis, ADIS16460_REG_DEC_RATE, &t); in adis16460_get_freq()
322 static int adis16460_enable_irq(struct adis *adis, bool enable) in adis16460_enable_irq() argument
329 enable_irq(adis->spi->irq); in adis16460_enable_irq()
331 disable_irq(adis->spi->irq); in adis16460_enable_irq()
399 ret = adis_init(&st->adis, indio_dev, spi, &adis16460_data); in adis16460_probe()
404 st->adis.irq_flag |= IRQF_NO_AUTOEN; in adis16460_probe()
405 ret = devm_adis_setup_buffer_and_trigger(&st->adis, indio_dev, NULL); in adis16460_probe()
409 ret = __adis_initial_startup(&st->adis); in adis16460_probe()