Home
last modified time | relevance | path

Searched refs:namelen (Results 1 – 6 of 6) sorted by relevance

/scripts/dtc/libfdt/
Dfdt_ro.c133 const char *name, int namelen) in fdt_subnode_offset_namelen() argument
143 && _fdt_nodename_eq(fdt, offset, name, namelen)) in fdt_subnode_offset_namelen()
263 int namelen, int *lenp) in fdt_get_property_namelen() argument
275 name, namelen)) in fdt_get_property_namelen()
293 const char *name, int namelen, int *lenp) in fdt_getprop_namelen() argument
297 prop = fdt_get_property_namelen(fdt, nodeoffset, name, namelen, lenp); in fdt_getprop_namelen()
341 const char *name, int namelen) in fdt_get_alias_namelen() argument
349 return fdt_getprop_namelen(fdt, aliasoffset, name, namelen, NULL); in fdt_get_alias_namelen()
360 int offset, depth, namelen; in fdt_get_path() local
379 name = fdt_get_name(fdt, offset, &namelen); in fdt_get_path()
[all …]
Dlibfdt.h272 const char *name, int namelen);
428 int namelen, int *lenp);
513 const char *name, int namelen, int *lenp);
574 const char *name, int namelen);
1416 const char *name, int namelen);
Dfdt_sw.c141 int namelen = strlen(name) + 1; in fdt_begin_node() local
145 nh = _fdt_grab_space(fdt, sizeof(*nh) + FDT_TAGALIGN(namelen)); in fdt_begin_node()
150 memcpy(nh->name, name, namelen); in fdt_begin_node()
Dfdt_rw.c335 const char *name, int namelen) in fdt_add_subnode_namelen() argument
346 offset = fdt_subnode_offset_namelen(fdt, parentoffset, name, namelen); in fdt_add_subnode_namelen()
360 nodelen = sizeof(*nh) + FDT_TAGALIGN(namelen+1) + FDT_TAGSIZE; in fdt_add_subnode_namelen()
367 memset(nh->name, 0, FDT_TAGALIGN(namelen+1)); in fdt_add_subnode_namelen()
368 memcpy(nh->name, name, namelen); in fdt_add_subnode_namelen()
/scripts/dtc/
Dfdtput.c53 static void report_error(const char *name, int namelen, int err) in report_error() argument
55 if (namelen == -1) in report_error()
56 namelen = strlen(name); in report_error()
57 fprintf(stderr, "Error at '%1.*s': %s\n", namelen, name, in report_error()
/scripts/mod/
Dfile2alias.c1159 static bool sym_is(const char *name, unsigned namelen, const char *symbol) in sym_is() argument
1161 if (namelen != strlen(symbol)) in sym_is()
1164 return memcmp(name, symbol, namelen) == 0; in sym_is()
1198 unsigned int namelen; in handle_moddevtable() local
1213 namelen = strlen(name); in handle_moddevtable()
1214 if (namelen < strlen("_device_table")) in handle_moddevtable()
1216 if (strcmp(name + namelen - strlen("_device_table"), "_device_table")) in handle_moddevtable()
1218 namelen -= strlen("_device_table"); in handle_moddevtable()
1231 if (sym_is(name, namelen, "usb")) in handle_moddevtable()
1233 else if (sym_is(name, namelen, "pnp")) in handle_moddevtable()
[all …]