Home
last modified time | relevance | path

Searched refs:chip_name (Results 1 – 3 of 3) 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()