/scripts/dtc/libfdt/ |
D | fdt_ro.c | 211 const char *name, int namelen) in fdt_subnode_offset_namelen() argument 221 && fdt_nodename_eq_(fdt, offset, name, namelen)) in fdt_subnode_offset_namelen() 235 int fdt_path_offset_namelen(const void *fdt, const char *path, int namelen) in fdt_path_offset_namelen() argument 237 const char *end = path + namelen; in fdt_path_offset_namelen() 381 int namelen, in fdt_get_property_namelen_() argument 395 name, namelen)) { in fdt_get_property_namelen_() 411 int namelen, int *lenp) in fdt_get_property_namelen() argument 421 return fdt_get_property_namelen_(fdt, offset, name, namelen, lenp, in fdt_get_property_namelen() 435 const char *name, int namelen, int *lenp) in fdt_getprop_namelen() argument 440 prop = fdt_get_property_namelen_(fdt, nodeoffset, name, namelen, lenp, in fdt_getprop_namelen() [all …]
|
D | libfdt.h | 451 const char *name, int namelen); 489 int fdt_path_offset_namelen(const void *fdt, const char *path, int namelen); 656 int namelen, int *lenp); 746 const char *name, int namelen, int *lenp); 748 const char *name, int namelen, in fdt_getprop_namelen_w() argument 752 namelen, lenp); in fdt_getprop_namelen_w() 817 const char *name, int namelen); 1218 const char *name, int namelen, 1975 const char *name, int namelen);
|
D | fdt_wip.c | 14 const char *name, int namelen, in fdt_setprop_inplace_namelen_partial() argument 21 propval = fdt_getprop_namelen_w(fdt, nodeoffset, name, namelen, in fdt_setprop_inplace_namelen_partial()
|
D | fdt_sw.c | 214 int namelen; in fdt_begin_node() local 218 namelen = strlen(name) + 1; in fdt_begin_node() 219 nh = fdt_grab_space_(fdt, sizeof(*nh) + FDT_TAGALIGN(namelen)); in fdt_begin_node() 224 memcpy(nh->name, name, namelen); in fdt_begin_node()
|
D | fdt_overlay.c | 652 int len = 0, namelen; in get_path_len() local 658 name = fdt_get_name(fdt, nodeoffset, &namelen); in get_path_len() 660 return namelen; in get_path_len() 663 if (namelen == 0) in get_path_len() 669 len += namelen + 1; in get_path_len()
|
D | fdt_rw.c | 319 const char *name, int namelen) in fdt_add_subnode_namelen() argument 330 offset = fdt_subnode_offset_namelen(fdt, parentoffset, name, namelen); in fdt_add_subnode_namelen() 344 nodelen = sizeof(*nh) + FDT_TAGALIGN(namelen+1) + FDT_TAGSIZE; in fdt_add_subnode_namelen() 351 memset(nh->name, 0, FDT_TAGALIGN(namelen+1)); in fdt_add_subnode_namelen() 352 memcpy(nh->name, name, namelen); in fdt_add_subnode_namelen()
|
/scripts/dtc/ |
D | fdtput.c | 39 static void report_error(const char *name, int namelen, int err) in report_error() argument 41 if (namelen == -1) in report_error() 42 namelen = strlen(name); in report_error() 43 fprintf(stderr, "Error at '%1.*s': %s\n", namelen, name, in report_error()
|
/scripts/mod/ |
D | file2alias.c | 1339 static bool sym_is(const char *name, unsigned namelen, const char *symbol) in sym_is() argument 1341 if (namelen != strlen(symbol)) in sym_is() 1344 return memcmp(name, symbol, namelen) == 0; in sym_is() 1421 unsigned int namelen; in handle_moddevtable() local 1435 namelen = strlen(name); in handle_moddevtable() 1436 if (namelen < strlen("_device_table")) in handle_moddevtable() 1438 if (strcmp(name + namelen - strlen("_device_table"), "_device_table")) in handle_moddevtable() 1443 namelen = identifier - name; in handle_moddevtable() 1456 if (sym_is(name, namelen, "usb")) in handle_moddevtable() 1458 if (sym_is(name, namelen, "of")) in handle_moddevtable() [all …]
|