Home
last modified time | relevance | path

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

/Linux-v4.19/scripts/dtc/libfdt/
Dfdt_overlay.c422 int prop_len; in overlay_fixup_one_phandle() local
428 &prop_len); in overlay_fixup_one_phandle()
430 return prop_len; in overlay_fixup_one_phandle()
610 int prop_len; in overlay_apply_node() local
614 &prop_len); in overlay_apply_node()
615 if (prop_len == -FDT_ERR_NOTFOUND) in overlay_apply_node()
617 if (prop_len < 0) in overlay_apply_node()
618 return prop_len; in overlay_apply_node()
620 ret = fdt_setprop(fdt, target, name, prop, prop_len); in overlay_apply_node()
/Linux-v4.19/arch/xtensa/platforms/xtfpga/
Dsetup.c122 int prop_len; in update_local_mac() local
124 macaddr = of_get_property(node, "local-mac-address", &prop_len); in update_local_mac()
125 if (macaddr == NULL || prop_len != MAC_LEN) in update_local_mac()
/Linux-v4.19/drivers/of/
Dbase.c328 int ac, prop_len, tid; in __of_find_n_match_cpu_property() local
332 cell = of_get_property(cpun, prop_name, &prop_len); in __of_find_n_match_cpu_property()
335 prop_len /= sizeof(*cell) * ac; in __of_find_n_match_cpu_property()
336 for (tid = 0; tid < prop_len; tid++) { in __of_find_n_match_cpu_property()
/Linux-v4.19/arch/powerpc/kernel/
Dprom_init.c1130 int prop_len = prom_getproplen(prom.chosen, in prom_check_platform_support() local
1132 if (prop_len > 1) { in prom_check_platform_support()
1134 u8 vec[prop_len]; in prom_check_platform_support()
1136 prop_len); in prom_check_platform_support()
1139 for (i = 0; i < prop_len; i += 2) { in prom_check_platform_support()
/Linux-v4.19/drivers/net/ethernet/sun/
Dniu.c8086 int len, err, prop_len; in niu_pci_vpd_scan_props() local
8102 prop_len = niu_pci_eeprom_read(np, start + 4); in niu_pci_vpd_scan_props()
8135 if (max_len && prop_len > max_len) { in niu_pci_vpd_scan_props()
8136 dev_err(np->device, "Property '%s' length (%d) is too long\n", namebuf, prop_len); in niu_pci_vpd_scan_props()
8146 namebuf, prop_len); in niu_pci_vpd_scan_props()
8147 for (i = 0; i < prop_len; i++) in niu_pci_vpd_scan_props()
9195 int prop_len; in niu_get_of_props() local
9202 phy_type = of_get_property(dp, "phy-type", &prop_len); in niu_get_of_props()
9219 mac_addr = of_get_property(dp, "local-mac-address", &prop_len); in niu_get_of_props()
9225 if (prop_len != dev->addr_len) { in niu_get_of_props()
[all …]