Lines Matching refs:compass
147 const char* compass = dev_full_name; in enable_iio_sysfs() local
165 find_type_by_name(compass, "iio:device")); in enable_iio_sysfs()
171 compass, iio_device_node, strerror(res), res); in enable_iio_sysfs()
174 "HAL:iio %s, compass_fd opened : %d", compass, compass_fd); in enable_iio_sysfs()
404 const char *compass = dev_full_name; in fillList() local
406 if (compass) { in fillList()
407 if(!strcmp(compass, "INV_COMPASS")) { in fillList()
415 if(!strcmp(compass, "compass") in fillList()
416 || !strcmp(compass, "INV_AK8975") in fillList()
417 || !strncmp(compass, "ak89xx", 2)) { in fillList()
425 if(!strcmp(compass, "ami306")) { in fillList()
433 if(!strcmp(compass, "yas530") in fillList()
434 || !strcmp(compass, "yas532") in fillList()
435 || !strcmp(compass, "yas533")) { in fillList()
447 compass); in fillList()
491 const char* compass = dev_full_name; in inv_init_sysfs_attributes() local
507 find_type_by_name(compass, "iio:device")); in inv_init_sysfs_attributes()
510 inv_get_input_number(compass, &num); in inv_init_sysfs_attributes()