Lines Matching refs:namebuf
8023 static int niu_pci_vpd_get_propname(struct niu *np, u32 off, char *namebuf, in niu_pci_vpd_get_propname() argument
8032 *namebuf++ = err; in niu_pci_vpd_get_propname()
8084 char namebuf[64]; in niu_pci_vpd_scan_props() local
8102 err = niu_pci_vpd_get_propname(np, start + 5, namebuf, 64); in niu_pci_vpd_scan_props()
8108 if (!strcmp(namebuf, "model")) { in niu_pci_vpd_scan_props()
8112 } else if (!strcmp(namebuf, "board-model")) { in niu_pci_vpd_scan_props()
8116 } else if (!strcmp(namebuf, "version")) { in niu_pci_vpd_scan_props()
8120 } else if (!strcmp(namebuf, "local-mac-address")) { in niu_pci_vpd_scan_props()
8124 } else if (!strcmp(namebuf, "num-mac-addresses")) { in niu_pci_vpd_scan_props()
8128 } else if (!strcmp(namebuf, "phy-type")) { 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()