Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/magnetometer/
H A Dmag3110.c38 #define MAG3110_CTRL_DR_SHIFT 5 macro
165 int ret, i = data->ctrl_reg1 >> MAG3110_CTRL_DR_SHIFT; in mag3110_calculate_sleep()
334 i = data->ctrl_reg1 >> MAG3110_CTRL_DR_SHIFT; in mag3110_read_raw()
369 data->ctrl_reg1 |= rate << MAG3110_CTRL_DR_SHIFT; in mag3110_write_raw()
526 data->ctrl_reg1 = MAG3110_CTRL_DR_DEFAULT << MAG3110_CTRL_DR_SHIFT; in mag3110_probe()