Searched refs:rep_xy (Results 1 – 1 of 1) sorted by relevance
172 u8 rep_xy; member325 static int bmc150_magn_set_max_odr(struct bmc150_magn_data *data, int rep_xy, in bmc150_magn_set_max_odr() argument330 if (rep_xy <= 0) { in bmc150_magn_set_max_odr()335 rep_xy = BMC150_MAGN_REGVAL_TO_REPXY(reg_val); in bmc150_magn_set_max_odr()350 max_odr = 1000000 / (145 * rep_xy + 500 * rep_z + 980); in bmc150_magn_set_max_odr()738 BMC150_MAGN_REPXY_TO_REGVAL(preset.rep_xy)); in bmc150_magn_init()741 preset.rep_xy); in bmc150_magn_init()753 ret = bmc150_magn_set_max_odr(data, preset.rep_xy, preset.rep_z, in bmc150_magn_init()