Home
last modified time | relevance | path

Searched refs:adis_write_reg_16 (Results 1 – 8 of 8) sorted by relevance

/linux-4.19.296/drivers/iio/imu/
Dadis.c225 return adis_write_reg_16(adis, reg, writeval); in adis_debugfs_reg_access()
258 ret = adis_write_reg_16(adis, adis->data->msc_ctrl_reg, msc); in adis_enable_irq()
320 ret = adis_write_reg_16(adis, adis->data->msc_ctrl_reg, in adis_self_test()
333 adis_write_reg_16(adis, adis->data->msc_ctrl_reg, 0x00); in adis_self_test()
Dadis16480.c287 return adis_write_reg_16(&st->adis, ADIS16480_REG_DEC_RATE, t); in adis16480_set_freq()
355 return adis_write_reg_16(&st->adis, reg, bias); in adis16480_set_calibbias()
407 return adis_write_reg_16(&st->adis, reg, scale); in adis16480_set_calibscale()
507 return adis_write_reg_16(&st->adis, reg, val); in adis16480_set_filter_freq()
740 ret = adis_write_reg_16(&st->adis, ADIS16480_REG_SLP_CNT, BIT(9)); in adis16480_stop_device()
750 return adis_write_reg_16(adis, ADIS16480_REG_FNCTIO_CTRL, in adis16480_enable_irq()
764 ret = adis_write_reg_16(&st->adis, ADIS16480_REG_GLOB_CMD, BIT(1)); in adis16480_initial_setup()
Dadis16400_core.c177 return adis_write_reg_16(&st->adis, ADIS16400_SMPL_PRD, t); in adis16334_set_freq()
246 ret = adis_write_reg_16(&st->adis, ADIS16400_SENS_AVG, in adis16400_set_filter()
257 ret = adis_write_reg_16(&st->adis, ADIS16400_SLP_CNT, in adis16400_stop_device()
338 ret = adis_write_reg_16(&st->adis, in adis16400_write_raw()
/linux-4.19.296/drivers/iio/gyro/
Dadis16260.c181 ret = adis_write_reg_16(&adis16260->adis, ADIS16260_SLP_CNT, val); in adis16260_stop_device()
289 return adis_write_reg_16(adis, addr, val); in adis16260_write_raw()
295 return adis_write_reg_16(adis, addr, val); in adis16260_write_raw()
Dadis16136.c186 return adis_write_reg_16(&adis16136->adis, ADIS16136_REG_SMPL_PRD, t); in adis16136_set_freq()
268 return adis_write_reg_16(&adis16136->adis, ADIS16136_REG_AVG_CNT, i); in adis16136_set_filter()
416 ret = adis_write_reg_16(&adis16136->adis, ADIS16136_REG_SLP_CTRL, 0xff); in adis16136_stop_device()
/linux-4.19.296/drivers/iio/accel/
Dadis16201.c204 return adis_write_reg_16(st, adis16201_addresses[chan->scan_index], in adis16201_write_raw()
Dadis16209.c129 return adis_write_reg_16(st, adis16209_addresses[chan->scan_index][0], in adis16209_write_raw()
/linux-4.19.296/include/linux/iio/imu/
Dadis.h98 static inline int adis_write_reg_16(struct adis *adis, unsigned int reg, in adis_write_reg_16() function