Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/scripts/dtc/libfdt/
Dfdt_overlay.c378 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()
/kernel/linux/linux-5.10/arch/xtensa/platforms/xtfpga/
Dsetup.c107 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()
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/syscalls/
Drtas_filter.c105 char **prop_val, size_t *prop_len) in get_property() argument
113 rc = read_entire_file(fd, prop_val, prop_len); in get_property()
/kernel/linux/linux-5.10/drivers/of/
Dbase.c317 int ac, prop_len, tid; in __of_find_n_match_cpu_property() local
321 cell = of_get_property(cpun, prop_name, &prop_len); in __of_find_n_match_cpu_property()
326 prop_len /= sizeof(*cell) * ac; in __of_find_n_match_cpu_property()
327 for (tid = 0; tid < prop_len; tid++) { in __of_find_n_match_cpu_property()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dprom_init.c1313 int prop_len = prom_getproplen(prom.chosen, in prom_check_platform_support() local
1325 if (prop_len > 1) { in prom_check_platform_support()
1329 prop_len); in prom_check_platform_support()
1330 if (prop_len > sizeof(vec)) in prom_check_platform_support()
1332 prop_len); in prom_check_platform_support()
1334 for (i = 0; i < prop_len; i += 2) { in prom_check_platform_support()
/kernel/linux/linux-5.10/drivers/net/ethernet/sun/
Dniu.c8083 int len, err, prop_len; in niu_pci_vpd_scan_props() local
8099 prop_len = niu_pci_eeprom_read(np, start + 4); in niu_pci_vpd_scan_props()
8100 if (prop_len < 0) in niu_pci_vpd_scan_props()
8101 return prop_len; in niu_pci_vpd_scan_props()
8134 if (max_len && prop_len > max_len) { in niu_pci_vpd_scan_props()
8135 dev_err(np->device, "Property '%s' length (%d) is too long\n", namebuf, prop_len); in niu_pci_vpd_scan_props()
8145 namebuf, prop_len); in niu_pci_vpd_scan_props()
8146 for (i = 0; i < prop_len; i++) { in niu_pci_vpd_scan_props()
9204 int prop_len; in niu_get_of_props() local
9211 phy_type = of_get_property(dp, "phy-type", &prop_len); in niu_get_of_props()
[all …]