Searched refs:rep_xy (Results 1 – 4 of 4) sorted by relevance
| /Zephyr-4.1.0/drivers/sensor/bosch/bmc150_magn/ |
| D | bmc150_magn.c | 41 uint8_t rep_xy; member 117 data->rep_xy = BMC150_MAGN_REGVAL_TO_REPXY((int)(reg_val)); in bmc150_magn_read_rep_xy() 138 static int bmc150_magn_compute_max_odr(const struct device *dev, int rep_xy, in bmc150_magn_compute_max_odr() argument 143 if (rep_xy == 0) { in bmc150_magn_compute_max_odr() 144 if (data->rep_xy <= 0) { in bmc150_magn_compute_max_odr() 149 rep_xy = data->rep_xy; in bmc150_magn_compute_max_odr() 161 *max_odr = 1000000 / (145 * rep_xy + 500 * rep_z + 980); in bmc150_magn_compute_max_odr() 205 data->rep_xy = val; in bmc150_magn_write_rep_xy() 514 BMC150_MAGN_REPXY_TO_REGVAL(preset.rep_xy)) in bmc150_magn_init_chip() 517 preset.rep_xy); in bmc150_magn_init_chip() [all …]
|
| D | bmc150_magn.h | 128 int rep_xy, rep_z, odr, max_odr; member
|
| /Zephyr-4.1.0/drivers/sensor/bosch/bmm150/ |
| D | bmm150.c | 28 uint8_t rep_xy; member 127 data->rep_xy = BMM150_REGVAL_TO_REPXY((uint8_t)(reg_val)); in bmm150_read_rep_xy() 147 static int bmm150_compute_max_odr(const struct device *dev, int rep_xy, in bmm150_compute_max_odr() argument 152 if (rep_xy == 0) { in bmm150_compute_max_odr() 153 if (data->rep_xy <= 0) { in bmm150_compute_max_odr() 158 rep_xy = data->rep_xy; in bmm150_compute_max_odr() 171 *max_odr = 1000000 / (145 * rep_xy + 500 * rep_z + 980); in bmm150_compute_max_odr() 214 data->rep_xy = val; in bmm150_write_rep_xy() 580 if (bmm150_reg_write(dev, BMM150_REG_REP_XY, BMM150_REPXY_TO_REGVAL(preset.rep_xy)) in bmm150_init_chip() 583 preset.rep_xy); in bmm150_init_chip() [all …]
|
| D | bmm150.h | 168 int rep_xy, rep_z, odr, max_odr; member
|