Lines Matching refs:magnetic
115 MagneticField magnetic;
153 * magnetic-field:<x>:<y>:<z>
309 /* NOTE: sensors HAL expects "magnetic", not "magnetic-field" name here. */
310 snprintf(buffer, sizeof buffer, "magnetic:%g:%g:%g",
311 sensor->u.magnetic.x,
312 sensor->u.magnetic.y,
313 sensor->u.magnetic.z);
534 qemu_put_float(f, s->u.magnetic.x);
535 qemu_put_float(f, s->u.magnetic.y);
536 qemu_put_float(f, s->u.magnetic.z);
585 s->u.magnetic.x = qemu_get_float(f);
586 s->u.magnetic.y = qemu_get_float(f);
587 s->u.magnetic.z = qemu_get_float(f);