Searched refs:rep_z (Results 1 – 4 of 4) sorted by relevance
| /Zephyr-4.1.0/drivers/sensor/bosch/bmc150_magn/ |
| D | bmc150_magn.c | 42 uint8_t rep_z; member 133 data->rep_z = BMC150_MAGN_REGVAL_TO_REPZ((int)(reg_val)); in bmc150_magn_read_rep_z() 139 int rep_z, int *max_odr) in bmc150_magn_compute_max_odr() argument 152 if (rep_z == 0) { in bmc150_magn_compute_max_odr() 153 if (data->rep_z <= 0) { in bmc150_magn_compute_max_odr() 158 rep_z = data->rep_z; in bmc150_magn_compute_max_odr() 161 *max_odr = 1000000 / (145 * rep_xy + 500 * rep_z + 980); in bmc150_magn_compute_max_odr() 224 data->rep_z = val; in bmc150_magn_write_rep_z() 523 BMC150_MAGN_REPZ_TO_REGVAL(preset.rep_z)) < 0) { in bmc150_magn_init_chip() 525 preset.rep_z); 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 | 29 uint8_t rep_z; member 142 data->rep_z = BMM150_REGVAL_TO_REPZ((int)(reg_val)); in bmm150_read_rep_z() 148 int rep_z, int *max_odr) in bmm150_compute_max_odr() argument 161 if (rep_z == 0) { in bmm150_compute_max_odr() 162 if (data->rep_z <= 0) { in bmm150_compute_max_odr() 167 rep_z = data->rep_z; in bmm150_compute_max_odr() 171 *max_odr = 1000000 / (145 * rep_xy + 500 * rep_z + 980); in bmm150_compute_max_odr() 233 data->rep_z = val; in bmm150_write_rep_z() 587 if (bmm150_reg_write(dev, BMM150_REG_REP_Z, BMM150_REPZ_TO_REGVAL(preset.rep_z)) < 0) { in bmm150_init_chip() 589 preset.rep_z); in bmm150_init_chip() [all …]
|
| D | bmm150.h | 168 int rep_xy, rep_z, odr, max_odr; member
|