Searched refs:chip_name (Results 1 – 3 of 3) sorted by relevance
222 char chip_name[10]; in main() local252 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()
24 static char *chip_name[] = { variable46 #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()
30 static char *chip_name[] = { variable54 #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()