Home
last modified time | relevance | path

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

/linux/arch/xtensa/platforms/xtfpga/
H A 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/tools/testing/selftests/powerpc/syscalls/
H A 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/arch/powerpc/kernel/
H A 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/drivers/net/ethernet/sun/
H A Dniu.c8127 int len, err, prop_len; in niu_pci_vpd_scan_props() local
8143 prop_len = niu_pci_eeprom_read(np, start + 4); in niu_pci_vpd_scan_props()
8144 if (prop_len < 0) in niu_pci_vpd_scan_props()
8145 return prop_len; in niu_pci_vpd_scan_props()
8178 if (max_len && prop_len > max_len) { in niu_pci_vpd_scan_props()
8179 dev_err(np->device, "Property '%s' length (%d) is too long\n", namebuf, prop_len); in niu_pci_vpd_scan_props()
8189 namebuf, prop_len); in niu_pci_vpd_scan_props()
8190 for (i = 0; i < prop_len; i++) { in niu_pci_vpd_scan_props()
9256 int prop_len; in niu_get_of_props() local
9280 mac_addr = of_get_property(dp, "local-mac-address", &prop_len); in niu_get_of_props()
[all …]