Home
last modified time | relevance | path

Searched refs:chip_name (Results 1 – 5 of 5) sorted by relevance

/hardware/invensense/6515/libsensors_iio/software/simple_apps/devnode_parser/
Dread_device_node.c222 char chip_name[10]; in main() local
252 if (inv_get_chip_name(chip_name) != INV_SUCCESS) { in main()
256 printf("INFO: chip_name=%s\n", chip_name); in main()
258 for (i = 0; i < strlen(chip_name); i++) in main()
259 device_name[i] = tolower(chip_name[i]); in main()
260 device_name[strlen(chip_name)] = '\0'; in main()
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/
Dml_sysfs_helper.c24 static char *chip_name[] = { variable
46 #define CHIP_NUM ARRAY_SIZE(chip_name)
149 if(!memcmp(&line[i], chip_name[j], strlen(chip_name[j]))){ in parsing_proc_input()
229 for (i=0; i<strlen(chip_name[j]); i++) { in init_iio()
230 iio_chip[i] = tolower(chip_name[j][i]); in init_iio()
232 iio_chip[strlen(chip_name[j])] = '\0'; in init_iio()
272 sprintf(data, "%s", chip_name[chip_ind]); in process_sysfs_request()
/hardware/invensense/6515/libsensors_iio/software/core/mllite/linux/
Dml_sysfs_helper.c30 static char *chip_name[] = { variable
54 #define CHIP_NUM ARRAY_SIZE(chip_name)
157 if(!memcmp(&line[i], chip_name[j], strlen(chip_name[j]))){ in parsing_proc_input()
237 for (i=0; i<strlen(chip_name[j]); i++) { in init_iio()
238 iio_chip[i] = tolower(chip_name[j][i]); in init_iio()
240 iio_chip[strlen(chip_name[j])] = '\0'; in init_iio()
280 sprintf(data, "%s", chip_name[chip_ind]); in process_sysfs_request()
/hardware/invensense/6515/libsensors_iio/software/simple_apps/mpu_iio/
Dmpu_iio.c582 char chip_name[10]; in main() local
593 if (inv_get_chip_name(chip_name) != INV_SUCCESS) { in main()
597 printf("INFO: chip_name=%s\n", chip_name); in main()
599 for (i = 0; i < strlen(chip_name); i++) in main()
600 device_name[i] = tolower(chip_name[i]); in main()
601 device_name[strlen(chip_name)] = '\0'; in main()
/hardware/invensense/6515/libsensors_iio/software/simple_apps/stress_iio/
Dstress_iio.c927 char chip_name[10]; in main() local
963 if (inv_get_chip_name(chip_name) != INV_SUCCESS) { in main()
967 printf("chip_name=%s\n", chip_name); in main()
973 for (i=0; i<strlen(chip_name); i++) { in main()
974 device_name[i] = tolower(chip_name[i]); in main()
976 device_name[strlen(chip_name)] = '\0'; in main()