Lines Matching refs:prop_len
8108 int len, err, prop_len; in niu_pci_vpd_scan_props() local
8124 prop_len = niu_pci_eeprom_read(np, start + 4); in niu_pci_vpd_scan_props()
8157 if (max_len && prop_len > max_len) { in niu_pci_vpd_scan_props()
8158 dev_err(np->device, "Property '%s' length (%d) is too long\n", namebuf, prop_len); in niu_pci_vpd_scan_props()
8168 namebuf, prop_len); in niu_pci_vpd_scan_props()
8169 for (i = 0; i < prop_len; i++) in niu_pci_vpd_scan_props()
9217 int prop_len; in niu_get_of_props() local
9224 phy_type = of_get_property(dp, "phy-type", &prop_len); in niu_get_of_props()
9242 mac_addr = of_get_property(dp, "local-mac-address", &prop_len); in niu_get_of_props()
9248 if (prop_len != dev->addr_len) { in niu_get_of_props()
9250 dp->full_name, prop_len); in niu_get_of_props()
9260 model = of_get_property(dp, "model", &prop_len); in niu_get_of_props()
9265 if (of_find_property(dp, "hot-swappable-phy", &prop_len)) { in niu_get_of_props()