Searched refs:prop_len (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/scripts/dtc/libfdt/ |
D | fdt_overlay.c | 378 int prop_len; in overlay_fixup_one_phandle() local 384 &prop_len); in overlay_fixup_one_phandle() 386 return prop_len; in overlay_fixup_one_phandle() 566 int prop_len; in overlay_apply_node() local 570 &prop_len); in overlay_apply_node() 571 if (prop_len == -FDT_ERR_NOTFOUND) in overlay_apply_node() 573 if (prop_len < 0) in overlay_apply_node() 574 return prop_len; in overlay_apply_node() 576 ret = fdt_setprop(fdt, target, name, prop, prop_len); in overlay_apply_node()
|
/linux-6.1.9/arch/xtensa/platforms/xtfpga/ |
D | setup.c | 107 int prop_len; in update_local_mac() local 109 macaddr = of_get_property(node, "local-mac-address", &prop_len); in update_local_mac() 110 if (macaddr == NULL || prop_len != MAC_LEN) in update_local_mac()
|
/linux-6.1.9/tools/testing/selftests/powerpc/syscalls/ |
D | rtas_filter.c | 105 char **prop_val, size_t *prop_len) in get_property() argument 113 rc = read_entire_file(fd, prop_val, prop_len); in get_property()
|
/linux-6.1.9/drivers/of/ |
D | base.c | 339 int ac, prop_len, tid; in __of_find_n_match_cpu_property() local 343 cell = of_get_property(cpun, prop_name, &prop_len); in __of_find_n_match_cpu_property() 348 prop_len /= sizeof(*cell) * ac; in __of_find_n_match_cpu_property() 349 for (tid = 0; tid < prop_len; tid++) { in __of_find_n_match_cpu_property()
|
/linux-6.1.9/arch/powerpc/kernel/ |
D | prom_init.c | 1340 int prop_len = prom_getproplen(prom.chosen, in prom_check_platform_support() local 1354 if (prop_len > 1) { in prom_check_platform_support() 1358 prop_len); in prom_check_platform_support() 1359 if (prop_len > sizeof(vec)) in prom_check_platform_support() 1361 prop_len); in prom_check_platform_support() 1363 for (i = 0; i < prop_len; i += 2) { in prom_check_platform_support()
|
/linux-6.1.9/drivers/net/ethernet/sun/ |
D | niu.c | 8101 int len, err, prop_len; in niu_pci_vpd_scan_props() local 8117 prop_len = niu_pci_eeprom_read(np, start + 4); in niu_pci_vpd_scan_props() 8118 if (prop_len < 0) in niu_pci_vpd_scan_props() 8119 return prop_len; in niu_pci_vpd_scan_props() 8152 if (max_len && prop_len > max_len) { in niu_pci_vpd_scan_props() 8153 dev_err(np->device, "Property '%s' length (%d) is too long\n", namebuf, prop_len); in niu_pci_vpd_scan_props() 8163 namebuf, prop_len); in niu_pci_vpd_scan_props() 8164 for (i = 0; i < prop_len; i++) { in niu_pci_vpd_scan_props() 9228 int prop_len; in niu_get_of_props() local 9252 mac_addr = of_get_property(dp, "local-mac-address", &prop_len); in niu_get_of_props() [all …]
|