Searched refs:b_field (Results 1 – 1 of 1) sorted by relevance
765 struct sensor_value *b_field) in tmag5273_channel_b_field_convert() argument770 b_field->val1 = raw_value / (1 << 16); in tmag5273_channel_b_field_convert()775 const int64_t raw_dec_part = (int64_t)b_field->val1 * (1 << 16); in tmag5273_channel_b_field_convert()777 b_field->val2 = ((raw_value - raw_dec_part) * 1000000) / (1 << 16); in tmag5273_channel_b_field_convert()