Searched refs:fdata (Results 1 – 4 of 4) sorted by relevance
/hardware/invensense/6515/libsensors_iio/ |
D | MPLSupport.cpp | 334 int inv_float_to_q16(float *fdata, long *ldata) in inv_float_to_q16() argument 337 if (!fdata || !ldata) in inv_float_to_q16() 339 ldata[0] = (long)(fdata[0] * 65536.f); in inv_float_to_q16() 340 ldata[1] = (long)(fdata[1] * 65536.f); in inv_float_to_q16() 341 ldata[2] = (long)(fdata[2] * 65536.f); in inv_float_to_q16() 345 int inv_long_to_q16(long *fdata, long *ldata) in inv_long_to_q16() argument 348 if (!fdata || !ldata) in inv_long_to_q16() 350 ldata[0] = (fdata[1] * 65536.f); in inv_long_to_q16() 351 ldata[1] = (fdata[2] * 65536.f); in inv_long_to_q16() 352 ldata[2] = (fdata[3] * 65536.f); in inv_long_to_q16() [all …]
|
D | MPLSupport.h | 37 int inv_float_to_q16(float *fdata, long *ldata); 38 int inv_long_to_q16(long *fdata, long *ldata); 39 int inv_float_to_round(float *fdata, long *ldata); 40 int inv_float_to_round2(float *fdata, short *sdata); 41 int inv_long_to_float(long *ldata, float *fdata);
|
/hardware/invensense/65xx/libsensors_iio/ |
D | MPLSensor.h | 307 int inv_float_to_q16(float *fdata, long *ldata); 308 int inv_long_to_q16(long *fdata, long *ldata); 309 int inv_float_to_round(float *fdata, long *ldata); 310 int inv_float_to_round2(float *fdata, short *sdata); 311 int inv_long_to_float(long *ldata, float *fdata);
|
D | MPLSensor.cpp | 4532 int MPLSensor::inv_float_to_q16(float *fdata, long *ldata) in inv_float_to_q16() argument 4536 if (!fdata || !ldata) in inv_float_to_q16() 4538 ldata[0] = (long)(fdata[0] * 65536.f); in inv_float_to_q16() 4539 ldata[1] = (long)(fdata[1] * 65536.f); in inv_float_to_q16() 4540 ldata[2] = (long)(fdata[2] * 65536.f); in inv_float_to_q16() 4544 int MPLSensor::inv_long_to_q16(long *fdata, long *ldata) in inv_long_to_q16() argument 4548 if (!fdata || !ldata) in inv_long_to_q16() 4550 ldata[0] = (fdata[1] * 65536.f); in inv_long_to_q16() 4551 ldata[1] = (fdata[2] * 65536.f); in inv_long_to_q16() 4552 ldata[2] = (fdata[3] * 65536.f); in inv_long_to_q16() [all …]
|