Searched refs:stem (Results 1 - 4 of 4) sorted by relevance

/u-boot/include/dm/
H A Dof_access.h548 * alias stem.
551 * @stem: Alias stem of the given device_node
554 int of_alias_get_id(const struct device_node *np, const char *stem);
557 * of_alias_get_highest_id - Get highest alias id for the given stem
558 * @stem: Alias stem to be examined
561 * given alias stem.
564 int of_alias_get_highest_id(const char *stem);
H A Dread.h779 * dev_read_alias_highest_id - Get highest alias id for the given stem
780 * @stem: Alias stem to be examined
783 * given alias stem.
786 int dev_read_alias_highest_id(const char *stem);
1239 static inline int dev_read_alias_highest_id(const char *stem) argument
1243 return fdtdec_get_alias_highest_id(gd->fdt_blob, stem);
/u-boot/drivers/core/
H A Dof_access.c60 * @stem: Alias string without the index
67 char stem[0]; member in struct:alias_prop
822 int id, const char *stem, int stem_len)
826 strncpy(ap->stem, stem, stem_len);
827 ap->stem[stem_len] = 0;
829 debug("adding DT alias:%s: stem=%s id=%i node=%s\n",
830 ap->alias, ap->stem, ap->id, of_node_full_name(np));
874 * the 'stem' string
883 /* Allocate an alias_prop with enough space for the stem */
821 of_alias_add(struct alias_prop *ap, struct device_node *np, int id, const char *stem, int stem_len) argument
895 of_alias_get_id(const struct device_node *np, const char *stem) argument
915 of_alias_get_highest_id(const char *stem) argument
[all...]
H A Dread.c421 int dev_read_alias_highest_id(const char *stem) argument
424 return of_alias_get_highest_id(stem);
426 return fdtdec_get_alias_highest_id(gd->fdt_blob, stem);

Completed in 169 milliseconds