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);
115 "HAL:compass mounting matrix: "
129 LOGE("HAL:Couldn't read compass mounting matrix");
135 LOGE("HAL:Couldn't read compass overunderflow");
147 const char* compass = dev_full_name;
156 LOGE("HAL:could not open %s trigger name", compass);
189 find_type_by_name(compass, "iio:device"));
195 compass, iio_device_node, strerror(res), res);
198 "HAL:iio %s, compass_fd opened : %d", compass, compass_fd);
313 LOGE("HAL:Compass update delay error");
328 /* use for Invensense compass calibration */
392 LOGI_IF(mEnable, "compass x/y/z: %d/%d/%d", *((short *) (rdata + 0)),
419 const char *compass = dev_full_name;
421 if (compass) {
422 if(!strcmp(compass, "INV_COMPASS")) {
430 if(!strcmp(compass, "compass")
431 || !strcmp(compass, "INV_AK8975")
432 || !strncmp(compass, "ak89xx", 2)) {
440 if(!strcmp(compass, "ami306")) {
448 if(!strcmp(compass, "yas530")
449 || !strcmp(compass, "yas532")
450 || !strcmp(compass, "yas533")) {
460 LOGE("HAL:unknown compass id %s -- "
462 compass);
507 const char* compass = dev_full_name;
523 find_type_by_name(compass, "iio:device"));
525 find_type_by_name(compass, "iio:device"));
528 inv_get_input_number(compass, &num);