Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/gyro/
H A 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()
H A 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()
/openbmc/linux/drivers/staging/iio/accel/
H A 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()
H A Dadis16203.c198 ret = adis_read_reg_16(st, addr, &val16); in adis16203_read_raw()
/openbmc/linux/drivers/iio/imu/
H A 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()
H A 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()
H A 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()
H A Dadis16475.c136 ret = adis_read_reg_16(&st->adis, ADIS16475_REG_FIRM_REV, &rev); in adis16475_show_firmware_revision()
162 ret = adis_read_reg_16(&st->adis, ADIS16475_REG_FIRM_Y, &year); in adis16475_show_firmware_date()
166 ret = adis_read_reg_16(&st->adis, ADIS16475_REG_FIRM_DM, &md); in adis16475_show_firmware_date()
189 ret = adis_read_reg_16(&st->adis, ADIS16475_REG_SERIAL_NUM, &serial); in adis16475_show_serial_number()
206 ret = adis_read_reg_16(&st->adis, ADIS16475_REG_PROD_ID, &prod_id); in adis16475_show_product_id()
388 ret = adis_read_reg_16(&st->adis, ADIS16475_REG_FILT_CTRL, &filter_sz); in adis16475_get_filter()
1100 adis_read_reg_16(adis, reg, &val); in adis16475_trigger_handler()
H A 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()
/openbmc/linux/drivers/iio/accel/
H A Dadis16201.c166 ret = adis_read_reg_16(st, addr, &val16); in adis16201_read_raw()
H A Dadis16209.c202 ret = adis_read_reg_16(st, addr, &val16); in adis16209_read_raw()
/openbmc/linux/include/linux/iio/imu/
H A Dadis.h319 static inline int adis_read_reg_16(struct adis *adis, unsigned int reg, in adis_read_reg_16() function