Home
last modified time | relevance | path

Searched refs:stem (Results 1 – 2 of 2) sorted by relevance

/rk3399_rockchip-uboot/drivers/core/
H A Dof_access.c64 char stem[0]; member
764 int id, const char *stem, int stem_len) in of_alias_add() argument
769 strncpy(ap->stem, stem, stem_len); in of_alias_add()
770 ap->stem[stem_len] = 0; in of_alias_add()
775 if (stem && !strcmp(stem, oldap->alias) && (id == oldap->id)) { in of_alias_add()
777 if (strcmp(stem, "mmc")) in of_alias_add()
788 ap->alias, ap->stem, ap->id, of_node_full_name(np)); in of_alias_add()
853 int of_alias_get_id(const struct device_node *np, const char *stem) in of_alias_get_id() argument
860 if (strcmp(app->stem, stem) != 0) in of_alias_get_id()
873 struct device_node *of_alias_get_dev(const char *stem, int id) in of_alias_get_dev() argument
[all …]
/rk3399_rockchip-uboot/include/dm/
H A Dof_access.h466 int of_alias_get_id(const struct device_node *np, const char *stem);
477 struct device_node *of_alias_get_dev(const char *stem, int id);