Lines Matching refs:prop_len
8083 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()
9210 int prop_len; in niu_get_of_props() local
9234 mac_addr = of_get_property(dp, "local-mac-address", &prop_len); in niu_get_of_props()
9240 if (prop_len != dev->addr_len) { in niu_get_of_props()
9242 dp, prop_len); in niu_get_of_props()