Lines Matching refs:namebuf
8025 static int niu_pci_vpd_get_propname(struct niu *np, u32 off, char *namebuf, in niu_pci_vpd_get_propname() argument
8034 *namebuf++ = err; in niu_pci_vpd_get_propname()
8086 char namebuf[64]; in niu_pci_vpd_scan_props() local
8104 err = niu_pci_vpd_get_propname(np, start + 5, namebuf, 64); in niu_pci_vpd_scan_props()
8110 if (!strcmp(namebuf, "model")) { in niu_pci_vpd_scan_props()
8114 } else if (!strcmp(namebuf, "board-model")) { in niu_pci_vpd_scan_props()
8118 } else if (!strcmp(namebuf, "version")) { in niu_pci_vpd_scan_props()
8122 } else if (!strcmp(namebuf, "local-mac-address")) { in niu_pci_vpd_scan_props()
8126 } else if (!strcmp(namebuf, "num-mac-addresses")) { in niu_pci_vpd_scan_props()
8130 } else if (!strcmp(namebuf, "phy-type")) { in niu_pci_vpd_scan_props()
8137 dev_err(np->device, "Property '%s' length (%d) is too long\n", namebuf, prop_len); in niu_pci_vpd_scan_props()
8147 namebuf, prop_len); in niu_pci_vpd_scan_props()