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 || !strcmp(compass, "AKM8975") in fillList()
418 || !strcmp(compass, "akm8975")) { in fillList()
426 if(!strcmp(compass, "compass") in fillList()
427 || !strcmp(compass, "INV_AK8963") in fillList()
428 || !strcmp(compass, "AKM8963") in fillList()
429 || !strcmp(compass, "akm8963")) { in fillList()
437 if(!strcmp(compass, "compass") in fillList()
438 || !strcmp(compass, "INV_AK09911") in fillList()
439 || !strcmp(compass, "AK09911") in fillList()
440 || !strcmp(compass, "ak09911")) { in fillList()
448 if(!strcmp(compass, "compass") in fillList()
449 || !strcmp(compass, "INV_AK09912") in fillList()
450 || !strcmp(compass, "AK09912") in fillList()
451 || !strcmp(compass, "ak09912")) { in fillList()
459 if(!strcmp(compass, "ami306")) { in fillList()
467 if(!strcmp(compass, "yas530") in fillList()
468 || !strcmp(compass, "yas532") in fillList()
469 || !strcmp(compass, "yas533")) { in fillList()
481 compass); in fillList()
525 const char* compass = dev_full_name; in inv_init_sysfs_attributes() local
541 find_type_by_name(compass, "iio:device")); in inv_init_sysfs_attributes()
544 inv_get_input_number(compass, &num); in inv_init_sysfs_attributes()