Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/imu/
H A Dfxos8700_core.c57 #define FXOS8700_CTRL_REG1 0x2a macro
335 ret = regmap_write(data->regmap, FXOS8700_CTRL_REG1, mode); in fxos8700_set_active_mode()
365 ret = regmap_read(data->regmap, FXOS8700_CTRL_REG1, &val); in fxos8700_set_scale()
371 ret = regmap_write(data->regmap, FXOS8700_CTRL_REG1, in fxos8700_set_scale()
388 return regmap_write(data->regmap, FXOS8700_CTRL_REG1, in fxos8700_set_scale()
487 ret = regmap_read(data->regmap, FXOS8700_CTRL_REG1, &val); in fxos8700_set_odr()
498 ret = regmap_write(data->regmap, FXOS8700_CTRL_REG1, in fxos8700_set_odr()
513 return regmap_write(data->regmap, FXOS8700_CTRL_REG1, val); in fxos8700_set_odr()
522 ret = regmap_read(data->regmap, FXOS8700_CTRL_REG1, &val); in fxos8700_get_odr()
640 ret = regmap_write(data->regmap, FXOS8700_CTRL_REG1, 0x00); in fxos8700_chip_init()
[all …]