Lines Matching refs:compass
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;
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);
298 LOGE("HAL:Compass update delay error");
313 /* use for Invensense compass calibration */
377 LOGI_IF(mEnable, "compass x/y/z: %d/%d/%d", *((short *) (rdata + 0)),
404 const char *compass = dev_full_name;
406 if (compass) {
407 if(!strcmp(compass, "INV_COMPASS")) {
415 if(!strcmp(compass, "compass")
416 || !strcmp(compass, "INV_AK8975")
417 || !strncmp(compass, "ak89xx", 2)) {
425 if(!strcmp(compass, "ami306")) {
433 if(!strcmp(compass, "yas530")
434 || !strcmp(compass, "yas532")
435 || !strcmp(compass, "yas533")) {
445 LOGE("HAL:unknown compass id %s -- "
447 compass);
491 const char* compass = dev_full_name;
507 find_type_by_name(compass, "iio:device"));
510 inv_get_input_number(compass, &num);