Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/of/
Dcpu.c56 int ac, prop_len, tid; in __of_find_n_match_cpu_property() local
60 cell = of_get_property(cpun, prop_name, &prop_len); in __of_find_n_match_cpu_property()
65 prop_len /= sizeof(*cell) * ac; in __of_find_n_match_cpu_property()
66 for (tid = 0; tid < prop_len; tid++) { in __of_find_n_match_cpu_property()
/linux-6.12.1/scripts/dtc/libfdt/
Dfdt_overlay.c382 int prop_len; in overlay_fixup_phandle() local
395 symbol_path = fdt_getprop(fdt, symbols_off, label, &prop_len); in overlay_fixup_phandle()
397 return prop_len; in overlay_fixup_phandle()
778 int prop_len; in overlay_apply_node() local
782 &prop_len); in overlay_apply_node()
783 if (prop_len == -FDT_ERR_NOTFOUND) in overlay_apply_node()
785 if (prop_len < 0) in overlay_apply_node()
786 return prop_len; in overlay_apply_node()
788 ret = fdt_setprop(fdt, target, name, prop, prop_len); in overlay_apply_node()
/linux-6.12.1/arch/xtensa/platforms/xtfpga/
Dsetup.c114 int prop_len; in update_local_mac() local
116 macaddr = of_get_property(node, "local-mac-address", &prop_len); in update_local_mac()
117 if (macaddr == NULL || prop_len != MAC_LEN) in update_local_mac()
/linux-6.12.1/tools/testing/selftests/powerpc/syscalls/
Drtas_filter.c55 char **prop_val, size_t *prop_len) in get_property() argument
63 return read_file_alloc(path, prop_val, prop_len); in get_property()
/linux-6.12.1/arch/powerpc/kernel/
Dprom_init.c1348 int prop_len = prom_getproplen(prom.chosen, in prom_check_platform_support() local
1362 if (prop_len > 1) { in prom_check_platform_support()
1366 prop_len); in prom_check_platform_support()
1367 if (prop_len > sizeof(vec)) in prom_check_platform_support()
1369 prop_len); in prom_check_platform_support()
1371 for (i = 0; i < prop_len; i += 2) { in prom_check_platform_support()
/linux-6.12.1/drivers/net/ethernet/sun/
Dniu.c8101 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 …]