Home
last modified time | relevance | path

Searched refs:adis_read_reg_16 (Results 1 – 12 of 12) sorted by relevance

/linux-6.1.9/drivers/iio/gyro/
Dadis16136.c77 ret = adis_read_reg_16(&adis16136->adis, ADIS16136_REG_SERIAL_NUM, in adis16136_show_serial()
82 ret = adis_read_reg_16(&adis16136->adis, ADIS16136_REG_LOT1, &lot1); in adis16136_show_serial()
86 ret = adis_read_reg_16(&adis16136->adis, ADIS16136_REG_LOT2, &lot2); in adis16136_show_serial()
90 ret = adis_read_reg_16(&adis16136->adis, ADIS16136_REG_LOT3, &lot3); in adis16136_show_serial()
113 ret = adis_read_reg_16(&adis16136->adis, ADIS16136_REG_PROD_ID, in adis16136_show_product_id()
131 ret = adis_read_reg_16(&adis16136->adis, ADIS16136_REG_FLASH_CNT, in adis16136_show_flash_count()
436 ret = adis_read_reg_16(&adis16136->adis, ADIS16136_REG_PROD_ID, in adis16136_initial_setup()
Dadis16260.c233 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()
/linux-6.1.9/drivers/staging/iio/accel/
Dadis16240.c207 ret = adis_read_reg_16(st, in adis16240_spi_read_signed()
282 ret = adis_read_reg_16(st, addr, &val16); in adis16240_read_raw()
289 ret = adis_read_reg_16(st, addr, &val16); in adis16240_read_raw()
Dadis16203.c198 ret = adis_read_reg_16(st, addr, &val16); in adis16203_read_raw()
/linux-6.1.9/drivers/iio/imu/
Dadis16460.c80 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()
178 ret = adis_read_reg_16(&st->adis, ADIS16460_REG_DEC_RATE, &t); in adis16460_get_freq()
Dadis16400.c216 ret = adis_read_reg_16(&st->adis, ADIS16334_LOT_ID1, &lot1); in adis16400_show_serial_number()
220 ret = adis_read_reg_16(&st->adis, ADIS16334_LOT_ID2, &lot2); in adis16400_show_serial_number()
224 ret = adis_read_reg_16(&st->adis, ADIS16334_SERIAL_NUMBER, in adis16400_show_serial_number()
248 ret = adis_read_reg_16(&st->adis, ADIS16400_PRODUCT_ID, &prod_id); in adis16400_show_product_id()
265 ret = adis_read_reg_16(&st->adis, ADIS16400_FLASH_CNT, &flash_count); in adis16400_show_flash_count()
453 ret = adis_read_reg_16(&st->adis, in adis16400_initial_setup()
473 ret = adis_read_reg_16(&st->adis, ADIS16400_SMPL_PRD, &smp_prd); in adis16400_initial_setup()
587 ret = adis_read_reg_16(&st->adis, in adis16400_read_raw()
Dadis16480.c200 ret = adis_read_reg_16(&adis16480->adis, ADIS16480_REG_FIRM_REV, &rev); in adis16480_show_firmware_revision()
225 ret = adis_read_reg_16(&adis16480->adis, ADIS16480_REG_FIRM_Y, &year); in adis16480_show_firmware_date()
229 ret = adis_read_reg_16(&adis16480->adis, ADIS16480_REG_FIRM_DM, &md); in adis16480_show_firmware_date()
252 ret = adis_read_reg_16(&adis16480->adis, ADIS16480_REG_SERIAL_NUM, in adis16480_show_serial_number()
270 ret = adis_read_reg_16(&adis16480->adis, ADIS16480_REG_PROD_ID, in adis16480_show_product_id()
508 ret = adis_read_reg_16(&st->adis, reg, &val16); in adis16480_get_calibbias()
548 ret = adis_read_reg_16(&st->adis, reg, &val16); in adis16480_get_calibscale()
594 ret = adis_read_reg_16(&st->adis, reg, &val); in adis16480_get_filter_freq()
1330 ret = adis_read_reg_16(&st->adis, ADIS16480_REG_FNCTIO_CTRL, &val); in adis16480_ext_clk_config()
Dadis16475.c138 ret = adis_read_reg_16(&st->adis, ADIS16475_REG_FIRM_REV, &rev); in adis16475_show_firmware_revision()
164 ret = adis_read_reg_16(&st->adis, ADIS16475_REG_FIRM_Y, &year); in adis16475_show_firmware_date()
168 ret = adis_read_reg_16(&st->adis, ADIS16475_REG_FIRM_DM, &md); in adis16475_show_firmware_date()
191 ret = adis_read_reg_16(&st->adis, ADIS16475_REG_SERIAL_NUM, &serial); in adis16475_show_serial_number()
208 ret = adis_read_reg_16(&st->adis, ADIS16475_REG_PROD_ID, &prod_id); in adis16475_show_product_id()
390 ret = adis_read_reg_16(&st->adis, ADIS16475_REG_FILT_CTRL, &filter_sz); in adis16475_get_filter()
1099 adis_read_reg_16(adis, reg, &val); in adis16475_trigger_handler()
Dadis.c259 ret = adis_read_reg_16(adis, reg, &val16); in adis_debugfs_reg_access()
445 ret = adis_read_reg_16(adis, adis->data->prod_id_reg, &prod_id); in __adis_initial_startup()
/linux-6.1.9/drivers/iio/accel/
Dadis16201.c166 ret = adis_read_reg_16(st, addr, &val16); in adis16201_read_raw()
Dadis16209.c202 ret = adis_read_reg_16(st, addr, &val16); in adis16209_read_raw()
/linux-6.1.9/include/linux/iio/imu/
Dadis.h318 static inline int adis_read_reg_16(struct adis *adis, unsigned int reg, in adis_read_reg_16() function