Searched refs:xyz1 (Results 1 – 4 of 4) sorted by relevance
252 rhall = tregs->xyz1; in bmc150_magn_compensate_xy()263 val = ((int16_t)(((uint16_t)((((int32_t)tregs->xyz1) << 14) / rhall)) - in bmc150_magn_compensate_xy()284 ((int32_t)(((int16_t)rhall) - ((int16_t)tregs->xyz1)))) >> 2)) / in bmc150_magn_compensate_z()557 data->tregs.xyz1 = sys_le16_to_cpu(data->tregs.xyz1); in bmc150_magn_init_chip()
109 uint16_t xyz1; member
240 rhall = tregs->xyz1; in bmm150_compensate_xy()251 prevalue = (uint16_t)((((int32_t)tregs->xyz1) << 14) / rhall); in bmm150_compensate_xy()281 ((int32_t)(((int16_t)rhall) - ((int16_t)tregs->xyz1)))) >> 2); in bmm150_compensate_z()568 data->tregs.xyz1 = sys_le16_to_cpu(data->tregs.xyz1); in bmm150_init_chip()
114 uint16_t xyz1; member