Home
last modified time | relevance | path

Searched refs:dev_full_name (Results 1 – 7 of 7) sorted by relevance

/hardware/invensense/65xx/libsensors_iio/
DCompassSensor.IIO.primary.cpp60 strncpy(dev_full_name, sensor_name, in CompassSensor()
61 sizeof(dev_full_name) / sizeof(dev_full_name[0])); in CompassSensor()
62 if(!strncmp(dev_full_name, "yas", 3)) { in CompassSensor()
71 dev_full_name, sizeof(dev_full_name) / sizeof(dev_full_name[0]))) { in CompassSensor()
78 strncpy(dev_full_name, dev_name, in CompassSensor()
79 sizeof(dev_full_name) / sizeof(dev_full_name[0])); in CompassSensor()
89 if (!strcmp(dev_full_name, "INV_COMPASS")) { in CompassSensor()
101 LOGV_IF(SYSFS_VERBOSE, "HAL:compass name: %s", dev_full_name); in CompassSensor()
147 const char* compass = dev_full_name; in enable_iio_sysfs()
404 const char *compass = dev_full_name; in fillList()
[all …]
DMPLSupport.h33 char* dev_full_name, int len);
DCompassSensor.IIO.primary.h89 char dev_full_name[20]; variable
/hardware/invensense/6515/libsensors_iio/
DCompassSensor.IIO.primary.cpp60 strncpy(dev_full_name, sensor_name, in CompassSensor()
61 sizeof(dev_full_name) / sizeof(dev_full_name[0])); in CompassSensor()
62 if(!strncmp(dev_full_name, "yas", 3)) { in CompassSensor()
71 dev_full_name, sizeof(dev_full_name) / sizeof(dev_full_name[0]))) { in CompassSensor()
78 strncpy(dev_full_name, dev_name, in CompassSensor()
79 sizeof(dev_full_name) / sizeof(dev_full_name[0])); in CompassSensor()
89 if (!strcmp(dev_full_name, "INV_COMPASS")) { in CompassSensor()
101 LOGV_IF(SYSFS_VERBOSE, "HAL:compass name: %s", dev_full_name); in CompassSensor()
147 const char* compass = dev_full_name; in enable_iio_sysfs()
404 const char *compass = dev_full_name; in fillList()
[all …]
DMPLSupport.cpp220 char *dev_full_name, int len) in fill_dev_full_name_by_prefix() argument
233 strncpy(dev_full_name, cand_name, len); in fill_dev_full_name_by_prefix()
244 strncpy(dev_full_name, cand_name, len); in fill_dev_full_name_by_prefix()
255 strncpy(dev_full_name, cand_name, len); in fill_dev_full_name_by_prefix()
DMPLSupport.h32 char* dev_full_name, int len);
DCompassSensor.IIO.primary.h89 char dev_full_name[20]; variable