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
80 * @name: the channel name
81 * @generic_name: the channel type name
87 const char *device_dir, const char *name,
102 ret = asprintf(&builtname, FORMAT_TYPE_FILE, name);
209 * @param_name: the parameter name to read
211 * @name: the channel name
212 * @generic_name: the channel type name
217 const char *device_dir, const char *name,
227 ret = asprintf(&builtname, "%s_%s", name, param_name);
387 /* decrement count to avoid freeing name */
420 current->name = strndup(ent->d_name,
423 if (!current->name) {
429 /* Get the generic and specific name elements */
430 ret = iioutils_break_up_name(current->name,
433 free(current->name);
441 current->name);
452 scan_el_dir, current->name);
474 current->name,
482 current->name,
494 current->name,
514 free((*ci_array)[i].name);
548 * find_type_by_name() - function to match top level types by name
549 * @name: top level type instance name
556 int find_type_by_name(const char *name, const char *type)
602 ret = sprintf(filename, "%s%s%d/name", iio_dir,
627 if (strcmp(name, thisname) == 0) {
719 * @filename: name of the file to write to
733 * @filename: name of the file to write to
819 * @filename: name of file to write to
833 * @filename: name of file to write to
847 * @filename: name of file to read from
894 * @filename: name of file to read from
941 * @filename: name of file to read from