Home
last modified time | relevance | path

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

/Zephyr-Core-2.7.6/drivers/sensor/bmc150_magn/
Dbmc150_magn.c41 uint8_t rep_xy; member
124 data->rep_xy = BMC150_MAGN_REGVAL_TO_REPXY((int)(reg_val)); in bmc150_magn_read_rep_xy()
145 static int bmc150_magn_compute_max_odr(const struct device *dev, int rep_xy, in bmc150_magn_compute_max_odr() argument
150 if (rep_xy == 0) { in bmc150_magn_compute_max_odr()
151 if (data->rep_xy <= 0) { in bmc150_magn_compute_max_odr()
156 rep_xy = data->rep_xy; in bmc150_magn_compute_max_odr()
168 *max_odr = 1000000 / (145 * rep_xy + 500 * rep_z + 980); in bmc150_magn_compute_max_odr()
212 data->rep_xy = val; in bmc150_magn_write_rep_xy()
521 BMC150_MAGN_REPXY_TO_REGVAL(preset.rep_xy)) in bmc150_magn_init_chip()
524 preset.rep_xy); in bmc150_magn_init_chip()
[all …]
Dbmc150_magn.h134 int rep_xy, rep_z, odr, max_odr; member
/Zephyr-Core-2.7.6/drivers/sensor/bmm150/
Dbmm150.c29 uint8_t rep_xy; member
112 data->rep_xy = BMM150_REGVAL_TO_REPXY((uint8_t)(reg_val)); in bmm150_read_rep_xy()
133 static int bmm150_compute_max_odr(const struct device *dev, int rep_xy, in bmm150_compute_max_odr() argument
138 if (rep_xy == 0) { in bmm150_compute_max_odr()
139 if (data->rep_xy <= 0) { in bmm150_compute_max_odr()
144 rep_xy = data->rep_xy; in bmm150_compute_max_odr()
157 *max_odr = 1000000 / (145 * rep_xy + 500 * rep_z + 980); in bmm150_compute_max_odr()
201 data->rep_xy = val; in bmm150_write_rep_xy()
533 BMM150_REPXY_TO_REGVAL(preset.rep_xy)) in bmm150_init_chip()
536 preset.rep_xy); in bmm150_init_chip()
[all …]
Dbmm150.h124 int rep_xy, rep_z, odr, max_odr; member