/hardware/invensense/60xx/mlsdk/mllite/ |
mldl_cfg_mpu.c | 62 struct ext_slave_platform_data *compass = &mldl_cfg->pdata->compass; local 102 if (mldl_cfg->compass) { 103 MPL_LOGD("slave_compass->suspend = %p\n", mldl_cfg->compass->suspend); 104 MPL_LOGD("slave_compass->resume = %p\n", mldl_cfg->compass->resume); 105 MPL_LOGD("slave_compass->read = %p\n", mldl_cfg->compass->read); 106 MPL_LOGD("slave_compass->type = %02x\n", mldl_cfg->compass->type); 108 mldl_cfg->compass->read_reg); 110 mldl_cfg->compass->read_len); 111 MPL_LOGD("slave_compass->endian = %02x\n", mldl_cfg->compass->endian) [all...] |
mldl_cfg.h | 126 struct ext_slave_descr *compass; member in struct:mldl_cfg 190 mldl_cfg->compass, &mldl_cfg->pdata->compass, 241 mldl_cfg->compass, 242 &mldl_cfg->pdata->compass); 294 data, mldl_cfg->compass, 295 &mldl_cfg->pdata->compass);
|
/hardware/invensense/6515/libsensors_iio/ |
CompassSensor.AKM.cpp | 30 // TODO: include corresponding header file for 3rd party compass sensor 47 0, "/sys/class/compass/akm8963/enable_mag", getTimestamp()); 48 write_sysfs_int((char*)"/sys/class/compass/akm8963/enable_mag", 0); 57 0, "/sys/class/compass/akm8963/enable_mag", getTimestamp()); 58 write_sysfs_int((char*)"/sys/class/compass/akm8963/enable_mag", 0); 100 // TODO: return if 3rd-party compass is enabled 154 const char *compass = COMPASS_NAME; local 156 if (compass) { 157 if (!strcmp(compass, "AKM8963")) { 164 if (!strcmp(compass, "AKM8975")) [all...] |
CompassSensor.IIO.9150.cpp | 39 #pragma message("HAL:build Invensense compass cal with YAS53x IIO on secondary bus") 44 #pragma message("HAL:build Invensense compass cal with AK8975 on primary bus") 50 #pragma message("HAL:build Invensense compass cal with compass IIO on secondary bus") 53 #pragma message("HAL:build third party compass cal HAL") 81 LOGE("Error Instantiating Compass\n"); 96 LOGE("HAL:Could not read compass mounting matrix"); 98 LOGV_IF(EXTRA_VERBOSE, "HAL:compass mounting matrix: " 165 LOGE("HAL:Compass update delay error"); 198 /* use for Invensense compass calibration * 294 const char *compass = sensor_name; local [all...] |
CompassSensor.IIO.primary.cpp | 39 #pragma message("HAL:build Invensense compass cal with AK8975 on primary bus") 85 LOGE("Error Instantiating Compass\n"); 101 LOGV_IF(SYSFS_VERBOSE, "HAL:compass name: %s", dev_full_name); 112 LOGE("HAL:could not read compass mounting matrix"); 116 "HAL:compass mounting matrix: " 135 LOGE("HAL:Could not open compass overunderflow"); 147 const char* compass = dev_full_name; local 165 find_type_by_name(compass, "iio:device")); 171 compass, iio_device_node, strerror(res), res); 174 "HAL:iio %s, compass_fd opened : %d", compass, compass_fd) 404 const char *compass = dev_full_name; local 514 const char* compass = dev_full_name; local [all...] |
sensors_mpl.cpp | 113 compass, enumerator in enum:sensors_poll_context_t::__anon40261 153 mPollFds[compass].fd = mCompassSensor->getFd(); 154 mPollFds[compass].events = POLLIN; 155 mPollFds[compass].revents = 0; 230 } else if (i == compass) {
|
/hardware/invensense/65xx/libsensors_iio/ |
CompassSensor.AKM.cpp | 30 // TODO: include corresponding header file for 3rd party compass sensor 47 0, "/sys/class/compass/akm8963/enable_mag", getTimestamp()); 48 write_sysfs_int((char*)"/sys/class/compass/akm8963/enable_mag", 0); 57 0, "/sys/class/compass/akm8963/enable_mag", getTimestamp()); 58 write_sysfs_int((char*)"/sys/class/compass/akm8963/enable_mag", 0); 100 // TODO: return if 3rd-party compass is enabled 154 const char *compass = COMPASS_NAME; local 156 if (compass) { 157 if (!strcmp(compass, "AKM8963")) { 164 if (!strcmp(compass, "AKM8975")) [all...] |
CompassSensor.IIO.9150.cpp | 39 #pragma message("HAL:build Invensense compass cal with YAS53x IIO on secondary bus") 44 #pragma message("HAL:build Invensense compass cal with AK8975 on primary bus") 50 #pragma message("HAL:build Invensense compass cal with compass IIO on secondary bus") 53 #pragma message("HAL:build third party compass cal HAL") 81 LOGE("Error Instantiating Compass\n"); 96 LOGE("HAL:Could not read compass mounting matrix"); 98 LOGV_IF(EXTRA_VERBOSE, "HAL:compass mounting matrix: " 163 LOGE("HAL:Compass update delay error"); 196 /* use for Invensense compass calibration * 292 const char *compass = sensor_name; local [all...] |
sensors_mpl.cpp | 100 compass, enumerator in enum:sensors_poll_context_t::__anon40272 144 mPollFds[compass].fd = mCompassSensor->getFd(); 145 mPollFds[compass].events = POLLIN; 146 mPollFds[compass].revents = 0; 222 } else if (i == compass) {
|
CompassSensor.IIO.primary.cpp | 39 #pragma message("HAL:build Invensense compass cal with AK8975 on primary bus") 85 LOGE("Error Instantiating Compass\n"); 101 LOGV_IF(SYSFS_VERBOSE, "HAL:compass name: %s", dev_full_name); 112 LOGE("HAL:could not read compass mounting matrix"); 116 "HAL:compass mounting matrix: " 135 LOGE("HAL:Could not open compass overunderflow"); 147 const char* compass = dev_full_name; local 165 find_type_by_name(compass, "iio:device")); 171 compass, iio_device_node, strerror(res), res); 174 "HAL:iio %s, compass_fd opened : %d", compass, compass_fd) 404 const char *compass = dev_full_name; local 491 const char* compass = dev_full_name; local [all...] |
/device/lge/hammerhead/libsensors/ |
sensors.cpp | 124 compass, enumerator in enum:sensors_poll_context_t::__anon3471 194 mSensor[compass] = mplSensor; 195 mPollFds[compass].fd = mCompassSensor->getFd(); 196 mPollFds[compass].events = POLLIN; 197 mPollFds[compass].revents = 0; 293 } else if (i == compass) {
|
/hardware/invensense/60xx/libsensors_iio/ |
sensors_mpl.cpp | 94 compass,
enumerator in enum:sensors_poll_context_t::__anon40245 130 mPollFds[compass].fd = mCompassSensor->getFd();
131 mPollFds[compass].events = POLLIN;
132 mPollFds[compass].revents = 0;
174 else if (i == compass) {
|
/development/samples/Compass/src/com/example/android/compass/ |
CompassActivity.java | 17 package com.example.android.compass; 42 * a 3D compass. 234 Log.d("Compass", "yaw: " + (int)(mOrientation[0]*rad2deg) +
|
/device/samsung/manta/libsensors/ |
sensors.cpp | 123 compass, enumerator in enum:sensors_poll_context_t::__anon4619 185 mSensors[compass] = p_mplsen; 186 mPollFds[compass].fd = ((MPLSensor*)mSensors[mpl])->getCompassFd(); 187 mPollFds[compass].events = POLLIN; 188 mPollFds[compass].revents = 0; 264 if (i == compass) {
|
/hardware/invensense/60xx/libsensors_iio/software/core/mllite/ |
hal_outputs.c | 29 int accuracy_mag; /**< Compass accuracy */
226 /** Compass data (uT) in body frame.
227 * @param[out] values Compass data in (uT), length 3. May be calibrated by having
328 long compass[3];
local 337 hal_out.compass_status = sensor_cal->compass.status;
348 if ((sensor_cal->compass.status & INV_SENSOR_ON) && (sr > sensor_cal->compass.sample_rate_ms)) {
349 sr = sensor_cal->compass.sample_rate_ms;
360 if ((sensor_cal->accel.status & sensor_cal->compass.status & INV_SENSOR_ON) == 0) {
364 if ((sensor_cal->gyro.status & sensor_cal->accel.status & sensor_cal->compass.status & INV_SENSOR_ON) == 0) { [all...] |
data_builder.h | 23 /** This is a new sample of compass data */ 108 struct inv_single_sensor_t compass; member in struct:inv_sensor_cal_t 177 inv_error_t inv_build_compass(const long *compass, int status,
|
/hardware/invensense/6515/libsensors_iio/software/simple_apps/playback/linux/ |
and_constructor.c | 86 // compass setup 88 // scale is the max value of the compass in micro Tesla. 165 long compass[3]; local 168 int32_to_long(buffer, compass, 3); 169 inv_build_compass(compass, 0, ts); 316 // Set Compass Sample Rate in MPL in micro seconds 338 // Set Compass Sample Rate in MPL in micro seconds 349 // set compass sample rate in MPL in micro seconds
|
datalogger_outputs.c | 137 * Raw (uncompensated) compass magnetic field (LSB) in chip frame. 143 struct inv_single_sensor_t *pc = &dl_out.sc.compass; 163 long compass[3]; local 168 inv_get_compass_set(compass, accuracy, timestamp); 170 values[0] = (float)compass[0]*COMPASS_CONVERSION; 171 values[1] = (float)compass[1]*COMPASS_CONVERSION; 172 values[2] = (float)compass[2]*COMPASS_CONVERSION;
|
main.c | 397 float compass[3]; local 399 compass[0] = inv_q16_to_float(lcompass[0]); 400 compass[1] = inv_q16_to_float(lcompass[1]); 401 compass[2] = inv_q16_to_float(lcompass[2]); 402 PRINT_3ELM_ARRAY_FLOAT(10, 5, compass); 621 "Note on compass state values:\n"
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
hal_outputs.c | 35 filter for compass data.
37 compass data, since the former is unfiltered and the latter is filtered,
45 int accuracy_mag; /**< Compass accuracy */
299 long compass[3], quat_geomagnetic[4];
local 301 inv_get_compass_set(compass, accuracy, timestamp);
321 /** Compass data (uT) in body frame.
322 * @param[out] values Compass data in (uT), length 3. May be calibrated by having
349 /** Compass raw data (uT) in body frame.
350 * @param[out] values Compass data in (uT), length 3. May be calibrated by having
520 long compass[3], quat_geomagnetic[4]; local 536 long compass[3]; local [all...] |
data_builder.h | 24 /** This is a new sample of compass data */ 130 struct inv_single_sensor_t compass; member in struct:inv_sensor_cal_t 176 /** compass Bias in chip frame, hardware units scaled by 2^16. */ 241 inv_error_t inv_build_compass(const long *compass, int status,
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/ |
data_builder.h | 24 /** This is a new sample of compass data */ 133 struct inv_single_sensor_t compass; member in struct:inv_sensor_cal_t 179 /** compass Bias in chip frame, hardware units scaled by 2^16. */ 244 inv_error_t inv_build_compass(const long *compass, int status,
|
hal_outputs.c | 35 filter for compass data. 37 compass data, since the former is unfiltered and the latter is filtered, 45 int accuracy_mag; /**< Compass accuracy */ 341 long compass[3]; local 345 inv_get_compass_set(compass, accuracy, ×tamp1); 367 /** Compass data (uT) in body frame. 368 * @param[out] values Compass data in (uT), length 3. May be calibrated by having 395 /** Compass raw data (uT) in body frame. 396 * @param[out] values Compass data in (uT), length 3. May be calibrated by having 562 long compass[3] local 580 long compass[3]; local [all...] |
/hardware/invensense/60xx/mlsdk/platform/include/linux/ |
mpu.h | 283 * @compass: Compass platform data 297 struct ext_slave_platform_data compass; member in struct:mpu_platform_data
|
/cts/suite/cts/deviceTests/browserbench/assets/octane/ |
pdfjs.js | [all...] |