Searched refs:rep_z (Results 1 – 4 of 4) sorted by relevance
42 uint8_t rep_z; member140 data->rep_z = BMC150_MAGN_REGVAL_TO_REPZ((int)(reg_val)); in bmc150_magn_read_rep_z()146 int rep_z, int *max_odr) in bmc150_magn_compute_max_odr() argument159 if (rep_z == 0) { in bmc150_magn_compute_max_odr()160 if (data->rep_z <= 0) { in bmc150_magn_compute_max_odr()165 rep_z = data->rep_z; in bmc150_magn_compute_max_odr()168 *max_odr = 1000000 / (145 * rep_xy + 500 * rep_z + 980); in bmc150_magn_compute_max_odr()231 data->rep_z = val; in bmc150_magn_write_rep_z()530 BMC150_MAGN_REPZ_TO_REGVAL(preset.rep_z)) < 0) { in bmc150_magn_init_chip()532 preset.rep_z); in bmc150_magn_init_chip()[all …]
134 int rep_xy, rep_z, odr, max_odr; member
30 uint8_t rep_z; member128 data->rep_z = BMM150_REGVAL_TO_REPZ((int)(reg_val)); in bmm150_read_rep_z()134 int rep_z, int *max_odr) in bmm150_compute_max_odr() argument147 if (rep_z == 0) { in bmm150_compute_max_odr()148 if (data->rep_z <= 0) { in bmm150_compute_max_odr()153 rep_z = data->rep_z; in bmm150_compute_max_odr()157 *max_odr = 1000000 / (145 * rep_xy + 500 * rep_z + 980); in bmm150_compute_max_odr()220 data->rep_z = val; in bmm150_write_rep_z()542 BMM150_REPZ_TO_REGVAL(preset.rep_z)) < 0) { in bmm150_init_chip()544 preset.rep_z); in bmm150_init_chip()[all …]
124 int rep_xy, rep_z, odr, max_odr; member