Searched refs:prop_len (Results 1 – 2 of 2) sorted by relevance
/drivers/of/ |
D | base.c | 339 int ac, prop_len, tid; in __of_find_n_match_cpu_property() local 343 cell = of_get_property(cpun, prop_name, &prop_len); in __of_find_n_match_cpu_property() 348 prop_len /= sizeof(*cell) * ac; in __of_find_n_match_cpu_property() 349 for (tid = 0; tid < prop_len; tid++) { in __of_find_n_match_cpu_property()
|
/drivers/net/ethernet/sun/ |
D | niu.c | 8101 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 …]
|