Searched refs:namelen (Results 1 – 6 of 6) sorted by relevance
/scripts/dtc/libfdt/ |
D | fdt_ro.c | 133 const char *name, int namelen) in fdt_subnode_offset_namelen() argument 143 && _fdt_nodename_eq(fdt, offset, name, namelen)) in fdt_subnode_offset_namelen() 157 int fdt_path_offset_namelen(const void *fdt, const char *path, int namelen) in fdt_path_offset_namelen() argument 159 const char *end = path + namelen; in fdt_path_offset_namelen() 269 int namelen, int *lenp) in fdt_get_property_namelen() argument 281 name, namelen)) in fdt_get_property_namelen() 299 const char *name, int namelen, int *lenp) in fdt_getprop_namelen() argument 303 prop = fdt_get_property_namelen(fdt, nodeoffset, name, namelen, lenp); in fdt_getprop_namelen() 347 const char *name, int namelen) in fdt_get_alias_namelen() argument 355 return fdt_getprop_namelen(fdt, aliasoffset, name, namelen, NULL); in fdt_get_alias_namelen() [all …]
|
D | libfdt.h | 304 const char *name, int namelen); 339 int fdt_path_offset_namelen(const void *fdt, const char *path, int namelen); 471 int namelen, int *lenp); 556 const char *name, int namelen, int *lenp); 617 const char *name, int namelen); 1591 const char *name, int namelen);
|
D | fdt_rw.c | 337 const char *name, int namelen) in fdt_add_subnode_namelen() argument 348 offset = fdt_subnode_offset_namelen(fdt, parentoffset, name, namelen); in fdt_add_subnode_namelen() 362 nodelen = sizeof(*nh) + FDT_TAGALIGN(namelen+1) + FDT_TAGSIZE; in fdt_add_subnode_namelen() 369 memset(nh->name, 0, FDT_TAGALIGN(namelen+1)); in fdt_add_subnode_namelen() 370 memcpy(nh->name, name, namelen); in fdt_add_subnode_namelen()
|
D | fdt_sw.c | 173 int namelen = strlen(name) + 1; in fdt_begin_node() local 177 nh = _fdt_grab_space(fdt, sizeof(*nh) + FDT_TAGALIGN(namelen)); in fdt_begin_node() 182 memcpy(nh->name, name, namelen); in fdt_begin_node()
|
/scripts/dtc/ |
D | fdtput.c | 53 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/ |
D | file2alias.c | 1305 static bool sym_is(const char *name, unsigned namelen, const char *symbol) in sym_is() argument 1307 if (namelen != strlen(symbol)) in sym_is() 1310 return memcmp(name, symbol, namelen) == 0; in sym_is() 1344 unsigned int namelen; in handle_moddevtable() local 1359 namelen = strlen(name); in handle_moddevtable() 1360 if (namelen < strlen("_device_table")) in handle_moddevtable() 1362 if (strcmp(name + namelen - strlen("_device_table"), "_device_table")) in handle_moddevtable() 1367 namelen = identifier - name; in handle_moddevtable() 1380 if (sym_is(name, namelen, "usb")) in handle_moddevtable() 1382 if (sym_is(name, namelen, "of")) in handle_moddevtable() [all …]
|