Lines Matching defs:name
23 * iioutils_break_up_name() - extract generic name from full channel name
24 * @full_name: the full channel name
25 * @generic_name: the output generic channel name
81 * @name: the channel name
82 * @generic_name: the channel type name
90 const char *name, const char *generic_name)
104 ret = asprintf(&builtname, FORMAT_TYPE_FILE, name);
211 * @param_name: the parameter name to read
213 * @name: the channel name
214 * @generic_name: the channel type name
219 const char *device_dir, const char *name,
229 ret = asprintf(&builtname, "%s_%s", name, param_name);
390 /* decrement count to avoid freeing name */
423 current->name = strndup(ent->d_name,
426 if (!current->name) {
432 /* Get the generic and specific name elements */
433 ret = iioutils_break_up_name(current->name,
436 free(current->name);
444 current->name);
455 scan_el_dir, current->name);
477 current->name,
485 current->name,
498 current->name,
518 free((*ci_array)[i].name);
552 * find_type_by_name() - function to match top level types by name
553 * @name: top level type instance name
560 int find_type_by_name(const char *name, const char *type)
606 ret = sprintf(filename, "%s%s%d/name", iio_dir,
631 if (strcmp(name, thisname) == 0) {
723 * @filename: name of the file to write to
737 * @filename: name of the file to write to
823 * @filename: name of file to write to
837 * @filename: name of file to write to
851 * @filename: name of file to read from
898 * @filename: name of file to read from
945 * @filename: name of file to read from