Home
last modified time | relevance | path

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

/hardware/invensense/6515/libsensors_iio/
DMPLSupport.cpp334 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 …]
DMPLSupport.h37 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/
DMPLSensor.h307 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);
DMPLSensor.cpp4532 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 …]
/hardware/knowles/athletico/sound_trigger_hal/
Dcvq_util.c1016 cdata.data.fdata.filename = BUFFER_CONFIG_VAL_CHRE; in setup_chre_package()
1193 cdata.data.fdata.filename = BUFFER_CONFIG_OSLO_VAL; in setup_sensor_package()
1216 cdata.data.fdata.filename = SENSOR_CONFIG_VAL; in setup_sensor_package()
1415 cdata.data.fdata.filename = BUFFER_CONFIG_VAL_MULTI_SEC; in setup_music_buffer()
1472 cdata.data.fdata.filename = BUFFER_CONFIG_VAL_2_SEC; in setup_howord_buffer()
1540 cdata.data.fdata.filename = SRC_CONFIG; in setup_src_plugin()
Diaxxx_odsp_hw.h41 struct iaxxx_config_file fdata; member
Diaxxx_odsp_hw.c360 strlcpy(pcc.file_name, cdata.data.fdata.filename, NAME_MAX_SIZE); in iaxxx_odsp_plugin_set_creation_config()