Searched refs:prop_len (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.10/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-v5.10/arch/xtensa/platforms/xtfpga/ |
D | setup.c | 103 int prop_len; in update_local_mac() local 105 macaddr = of_get_property(node, "local-mac-address", &prop_len); in update_local_mac() 106 if (macaddr == NULL || prop_len != MAC_LEN) in update_local_mac()
|
/Linux-v5.10/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-v5.10/drivers/of/ |
D | base.c | 317 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()
|
/Linux-v5.10/arch/powerpc/kernel/ |
D | prom_init.c | 1313 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()
|
/Linux-v5.10/drivers/net/ethernet/sun/ |
D | niu.c | 8085 int len, err, prop_len; in niu_pci_vpd_scan_props() local 8101 prop_len = niu_pci_eeprom_read(np, start + 4); in niu_pci_vpd_scan_props() 8102 if (prop_len < 0) in niu_pci_vpd_scan_props() 8103 return prop_len; in niu_pci_vpd_scan_props() 8136 if (max_len && prop_len > max_len) { in niu_pci_vpd_scan_props() 8137 dev_err(np->device, "Property '%s' length (%d) is too long\n", namebuf, prop_len); in niu_pci_vpd_scan_props() 8147 namebuf, prop_len); in niu_pci_vpd_scan_props() 8148 for (i = 0; i < prop_len; i++) { in niu_pci_vpd_scan_props() 9200 int prop_len; in niu_get_of_props() local 9207 phy_type = of_get_property(dp, "phy-type", &prop_len); in niu_get_of_props() [all …]
|