Home
last modified time | relevance | path

Searched refs:z_gain (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/hw/sensor/
H A Dlsm303dlhc_mag.c83 uint32_t z_gain[] = { 980, 980, 760, 600, 400, 355, 295, 205 }; variable
114 int64_t value = muldiv64(s->z, 100000, z_gain[gm]); in lsm303dlhc_mag_get_z()
176 reg = muldiv64(value, z_gain[gm], 100000); in lsm303dlhc_mag_set_z()