/src/sys/dev/pci/ |
if_hme_pci.c | 130 struct pci_vpd *vpd; local in function:hmeattach_pci 223 * Dig out VPD (vital product data) and acquire Ethernet address. 224 * The VPD of hme resides in the Boot PROM (PCI FCode) attached 263 * The VPD of hme is not in PCI 2.2 standard 271 /* read PCI VPD */ 274 vpd = (void *)(buf + 3); 279 vpd->vpd_key0 == 0x4e /* N */ && 280 vpd->vpd_key1 == 0x41 /* A */ && 281 vpd->vpd_len == ETHER_ADDR_LEN) {
|
if_gem_pci.c | 162 struct pci_vpd *vpd; local in function:gem_pci_attach 250 * Dig out VPD (vital product data) and acquire Ethernet 251 * address. The VPD of gem resides in the PCI PROM (PCI FCode). 326 * The VPD of gem is not in PCI 2.2 333 /* read PCI VPD */ 336 vpd = (void *)(buf + 3); 340 vpd->vpd_key0 == 0x4e /* N */ && 341 vpd->vpd_key1 == 0x41 /* A */ && 342 vpd->vpd_len == ETHER_ADDR_LEN) {
|
ahd_pci.c | 669 struct vpd_config vpd; local in function:ahd_check_extport 681 * Fetch VPD for this function and parse it. 684 printf("%s: Reading VPD from SEEPROM...", 689 + (sizeof(vpd) * (ahd->channel - 'A'))) / 2; 691 error = ahd_read_seeprom(ahd, (uint16_t *)&vpd, 692 start_addr, sizeof(vpd)/2, 695 error = ahd_parse_vpddata(ahd, &vpd); 697 printf("%s: VPD parsing %s\n",
|
if_cas.c | 220 struct pci_vpd *vpd; local in function:cas_pci_readvpd 291 vpd = (struct pci_vpd *)buf; 292 vpdoff += sizeof(*vpd) + vpd->vpd_len; 293 len -= sizeof(*vpd) + vpd->vpd_len; 296 * We're looking for an "Enhanced" VPD... 298 if (vpd->vpd_key0 != 'Z') 301 desc = buf + sizeof(*vpd);
|
/src/sys/arch/prep/prep/ |
machdep.c | 161 VPD *vpd; local in function:initppc 171 vpd = &res->VitalProductData; 172 busfreq = be32toh(vpd->ProcessorBusHz);
|
residual.c | 301 VPD *vpd; local in function:print_residual_device_info 330 * VPD 332 vpd = &res->VitalProductData; 334 printf(" PrintableModel = %-32s\n", vpd->PrintableModel); 335 printf(" Serial = %-16s\n", vpd->Serial); 337 l = be32toh(vpd->FirmwareSupplier); 340 l = be32toh(vpd->FirmwareSupports); 352 printf(" NvramSize = %ld\n", be32toh(vpd->NvramSize)); 353 printf(" NumSIMMSlots = %ld\n", be32toh(vpd->NumSIMMSlots)) [all...] |
/src/sys/dev/ic/ |
arn5008.c | 2503 uint8_t vpd; local in function:ar5008_get_vpd 2516 vpd = athn_interpolate(pwr, pwrPdg[lo], vpdPdg[lo], 2518 return vpd; 2528 uint8_t vpd[AR_MAX_PWR_RANGE_IN_HALF_DB], pwr; local in function:ar5008_get_pdadcs 2568 /* Compute Vpd table for this pdGain. */ 2570 memset(vpd, 0, sizeof(vpd)); 2573 /* Get lower and higher Vpd. */ 2575 lopier->vpd[i], nicepts); 2577 hipier->vpd[i], nicepts) [all...] |
athnvar.h | 197 const uint8_t *vpd[AR_PD_GAINS_IN_MASK]; member in struct:athn_pier
|
/src/sys/dev/pci/cxgb/ |
cxgb_t3_hw.c | 200 u32 clkdiv = adap->params.vpd.cclk / (2 * adap->params.vpd.mdc) - 1; 507 * VPD-R sections. 539 * t3_seeprom_read - read a VPD EEPROM location 544 * Read a 32-bit word from a location in VPD EEPROM using the card's PCI 545 * VPD ROM capability. A zero is written to the flag bit when the 574 * t3_seeprom_write - write a VPD EEPROM location 579 * Write a 32-bit word to a location in VPD EEPROM using the card's PCI 580 * VPD ROM capability. 628 * get_vpd_params - read VPD parameters from VPD EEPRO 637 struct t3_vpd vpd; local in function:get_vpd_params 3437 const struct vpd_params *vpd = &adapter->params.vpd; local in function:t3_init_hw [all...] |
cxgb_common.h | 377 struct vpd_params vpd; member in struct:adapter_params 618 return adap->params.vpd.cclk / 1000;
|