| /netbsd-src/sys/arch/prep/prep/ |
| H A D | residual.c | 301 VPD *vpd; in print_residual_device_info() local 332 vpd = &res->VitalProductData; in print_residual_device_info() 334 printf(" PrintableModel = %-32s\n", vpd->PrintableModel); in print_residual_device_info() 335 printf(" Serial = %-16s\n", vpd->Serial); in print_residual_device_info() 337 l = be32toh(vpd->FirmwareSupplier); in print_residual_device_info() 340 l = be32toh(vpd->FirmwareSupports); in print_residual_device_info() 352 printf(" NvramSize = %ld\n", be32toh(vpd->NvramSize)); in print_residual_device_info() 353 printf(" NumSIMMSlots = %ld\n", be32toh(vpd->NumSIMMSlots)); in print_residual_device_info() 354 s = be16toh(vpd->EndianSwitchMethod); in print_residual_device_info() 358 s = be16toh(vpd->SpreadIOMethod); in print_residual_device_info() [all …]
|
| H A D | machdep.c | 161 VPD *vpd; in initppc() local 171 vpd = &res->VitalProductData; in initppc() 172 busfreq = be32toh(vpd->ProcessorBusHz); in initppc()
|
| /netbsd-src/external/gpl2/xcvs/dist/src/ |
| H A D | logmsg.c | 868 struct verifymsg_proc_data *vpd = closure; in verifymsg_proc() local 890 if (vpd->fname == NULL) in verifymsg_proc() 893 if ((fp = cvs_temp_file (&(vpd->fname))) == NULL) in verifymsg_proc() 894 error (1, errno, "cannot create temporary file %s", vpd->fname); in verifymsg_proc() 896 if (vpd->message != NULL) in verifymsg_proc() 897 fputs (vpd->message, fp); in verifymsg_proc() 898 if (vpd->message == NULL || in verifymsg_proc() 899 (vpd->message)[0] == '\0' || in verifymsg_proc() 900 (vpd->message)[strlen (vpd->message) - 1] != '\n') in verifymsg_proc() 903 error (1, errno, "%s", vpd->fname); in verifymsg_proc() [all …]
|
| /netbsd-src/sys/dev/pci/cxgb/ |
| H A D | cxgb_t3_hw.c | 200 u32 clkdiv = adap->params.vpd.cclk / (2 * adap->params.vpd.mdc) - 1; in mi1_init() 637 struct t3_vpd vpd; in get_vpd_params() local 643 ret = t3_seeprom_read(adapter, VPD_BASE, (u32 *)&vpd); in get_vpd_params() 646 addr = vpd.id_tag == 0x82 ? VPD_BASE : 0; in get_vpd_params() 648 for (i = 0; i < sizeof(vpd); i += 4) { in get_vpd_params() 650 (u32 *)((u8 *)&vpd + i)); in get_vpd_params() 655 p->cclk = simple_strtoul(vpd.cclk_data, NULL, 10); in get_vpd_params() 656 p->mclk = simple_strtoul(vpd.mclk_data, NULL, 10); in get_vpd_params() 657 p->uclk = simple_strtoul(vpd in get_vpd_params() 3437 const struct vpd_params *vpd = &adapter->params.vpd; t3_init_hw() local [all...] |
| H A D | cxgb_xgmac.c | 65 t3_write_reg(adap, ctrl, adap->params.vpd.xauicfg[macidx(mac)] | in xaui_serdes_reset() 402 thres = (adap->params.vpd.cclk * 1000) / 15625; in t3_mac_set_mtu()
|
| H A D | cxgb_common.h | 377 struct vpd_params vpd; member 618 return adap->params.vpd.cclk / 1000; in core_ticks_per_usec()
|
| /netbsd-src/sys/dev/pci/ |
| H A D | if_hme_pci.c | 130 struct pci_vpd *vpd; in hmeattach_pci() local 274 vpd = (void *)(buf + 3); in hmeattach_pci() 279 vpd->vpd_key0 == 0x4e /* N */ && in hmeattach_pci() 280 vpd->vpd_key1 == 0x41 /* A */ && in hmeattach_pci() 281 vpd->vpd_len == ETHER_ADDR_LEN) { in hmeattach_pci()
|
| H A D | if_gem_pci.c | 162 struct pci_vpd *vpd; in gem_pci_attach() local 336 vpd = (void *)(buf + 3); in gem_pci_attach() 340 vpd->vpd_key0 == 0x4e /* N */ && in gem_pci_attach() 341 vpd->vpd_key1 == 0x41 /* A */ && in gem_pci_attach() 342 vpd->vpd_len == ETHER_ADDR_LEN) { in gem_pci_attach()
|
| H A D | ahd_pci.c | 669 struct vpd_config vpd; in ahd_check_extport() local 689 + (sizeof(vpd) * (ahd->channel - 'A'))) / 2; in ahd_check_extport() 691 error = ahd_read_seeprom(ahd, (uint16_t *)&vpd, in ahd_check_extport() 692 start_addr, sizeof(vpd)/2, in ahd_check_extport() 695 error = ahd_parse_vpddata(ahd, &vpd); in ahd_check_extport()
|
| H A D | if_cas.c | 220 struct pci_vpd *vpd; in cas_pci_readvpd() local 291 vpd = (struct pci_vpd *)buf; in cas_pci_readvpd() 292 vpdoff += sizeof(*vpd) + vpd->vpd_len; in cas_pci_readvpd() 293 len -= sizeof(*vpd) + vpd->vpd_len; in cas_pci_readvpd() 298 if (vpd->vpd_key0 != 'Z') in cas_pci_readvpd() 301 desc = buf + sizeof(*vpd); in cas_pci_readvpd()
|
| /netbsd-src/sys/dev/ic/ |
| H A D | arn5008.c | 2503 uint8_t vpd; in ar5008_get_vpd() local 2516 vpd = athn_interpolate(pwr, pwrPdg[lo], vpdPdg[lo], in ar5008_get_vpd() 2518 return vpd; in ar5008_get_vpd() 2528 uint8_t vpd[AR_MAX_PWR_RANGE_IN_HALF_DB], pwr; in ar5008_get_pdadcs() local 2570 memset(vpd, 0, sizeof(vpd)); in ar5008_get_pdadcs() 2575 lopier->vpd[i], nicepts); in ar5008_get_pdadcs() 2577 hipier->vpd[i], nicepts); in ar5008_get_pdadcs() 2580 vpd[j] = athn_interpolate(fbin, in ar5008_get_pdadcs() 2587 if (vpd[1] > vpd[0]) in ar5008_get_pdadcs() 2588 vpdstep = vpd[1] - vpd[0]; in ar5008_get_pdadcs() [all …]
|
| H A D | arn9287.c | 288 lopier.vpd[i] = pierdata[lo].vpdPdg[i]; in ar9287_get_pdadcs() 290 hipier.vpd[i] = pierdata[lo].vpdPdg[i]; in ar9287_get_pdadcs()
|
| H A D | arn5416.c | 384 lopier.vpd[i] = pierdata[lo].vpdPdg[i]; in ar5416_get_pdadcs() 386 hipier.vpd[i] = pierdata[lo].vpdPdg[i]; in ar5416_get_pdadcs()
|
| H A D | arn9285.c | 729 lopier.vpd[i] = pierdata[lo].vpdPdg[i]; in ar9285_get_pdadcs() 731 hipier.vpd[i] = pierdata[lo].vpdPdg[i]; in ar9285_get_pdadcs()
|
| H A D | athnvar.h | 197 const uint8_t *vpd[AR_PD_GAINS_IN_MASK]; member
|
| H A D | aic79xx.c | 6746 ahd_parse_vpddata(struct ahd_softc *ahd, struct vpd_config *vpd) in ahd_parse_vpddata() argument 6750 error = ahd_verify_vpd_cksum(vpd); in ahd_parse_vpddata() 6753 if ((vpd->bios_flags & VPDBOOTHOST) != 0) in ahd_parse_vpddata() 9037 ahd_verify_vpd_cksum(struct vpd_config *vpd) in ahd_verify_vpd_cksum() argument 9044 vpdarray = (uint8_t *)vpd; in ahd_verify_vpd_cksum() 9050 || (-checksum & 0xFF) != vpd->vpd_checksum) in ahd_verify_vpd_cksum() 9059 || (-checksum & 0xFF) != vpd->checksum) in ahd_verify_vpd_cksum()
|
| /netbsd-src/sys/arch/macppc/stand/ofwboot/ |
| H A D | Locore.c | 233 startup(void *vpd, int res, int (*openfirm)(void *), char *arg, int argl) in startup() argument
|
| /netbsd-src/sys/arch/ofppc/stand/ofwboot/ |
| H A D | Locore.c | 66 startup(void *vpd, int res, int (*openfirm)(void *), char *arg, int argl) in startup() argument
|
| /netbsd-src/usr.sbin/makemandb/ |
| H A D | nostem.txt | 4524 vpd
|
| /netbsd-src/share/man/tools/ |
| H A D | newsp.errs | 1063 vpd
|