Searched refs:SIGNSET (Results 1 - 4 of 4) sorted by relevance

/hardware/invensense/60xx/libsensors_iio/software/core/mllite/
H A Dml_math_func.c615 output[0] = input[orientation & 0x03] * SIGNSET(orientation & 0x004);
616 output[1] = input[(orientation>>3) & 0x03] * SIGNSET(orientation & 0x020);
617 output[2] = input[(orientation>>6) & 0x03] * SIGNSET(orientation & 0x100);
627 output[orientation & 0x03] = input[0] * SIGNSET(orientation & 0x004);
628 output[(orientation>>3) & 0x03] = input[1] * SIGNSET(orientation & 0x020);
629 output[(orientation>>6) & 0x03] = input[2] * SIGNSET(orientation & 0x100);
643 SIGNSET(orientation & 0x004), sensitivity);
645 SIGNSET(orientation & 0x020), sensitivity);
647 SIGNSET(orientation & 0x100), sensitivity);
H A Dml_math_func.h19 #define SIGNSET(x) ((x) ? -1 : +1) macro
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/
H A Dml_math_func.c615 output[0] = input[orientation & 0x03] * SIGNSET(orientation & 0x004);
616 output[1] = input[(orientation>>3) & 0x03] * SIGNSET(orientation & 0x020);
617 output[2] = input[(orientation>>6) & 0x03] * SIGNSET(orientation & 0x100);
627 output[orientation & 0x03] = input[0] * SIGNSET(orientation & 0x004);
628 output[(orientation>>3) & 0x03] = input[1] * SIGNSET(orientation & 0x020);
629 output[(orientation>>6) & 0x03] = input[2] * SIGNSET(orientation & 0x100);
643 SIGNSET(orientation & 0x004), sensitivity);
645 SIGNSET(orientation & 0x020), sensitivity);
647 SIGNSET(orientation & 0x100), sensitivity);
H A Dml_math_func.h19 #define SIGNSET(x) ((x) ? -1 : +1) macro

Completed in 34 milliseconds