Lines Matching refs:mag
109 cval = lis2mdl->mag[i] * 1500; in lis2mdl_channel_get_mag()
231 lis2mdl->mag[0] = raw_mag[0]; in lis2mdl_sample_fetch_mag()
232 lis2mdl->mag[1] = raw_mag[1]; in lis2mdl_sample_fetch_mag()
233 lis2mdl->mag[2] = raw_mag[2]; in lis2mdl_sample_fetch_mag()
249 lis2mdl->mag[0] += raw_mag[0]; in lis2mdl_sample_fetch_mag()
250 lis2mdl->mag[1] += raw_mag[1]; in lis2mdl_sample_fetch_mag()
251 lis2mdl->mag[2] += raw_mag[2]; in lis2mdl_sample_fetch_mag()
252 lis2mdl->mag[0] /= 2; in lis2mdl_sample_fetch_mag()
253 lis2mdl->mag[1] /= 2; in lis2mdl_sample_fetch_mag()
254 lis2mdl->mag[2] /= 2; in lis2mdl_sample_fetch_mag()
264 lis2mdl->mag[0] = raw_mag[0]; in lis2mdl_sample_fetch_mag()
265 lis2mdl->mag[1] = raw_mag[1]; in lis2mdl_sample_fetch_mag()
266 lis2mdl->mag[2] = raw_mag[2]; in lis2mdl_sample_fetch_mag()