Home
last modified time | relevance | path

Searched refs:vpd (Results 1 – 7 of 7) sorted by relevance

/linux-2.4.37.9/drivers/net/sk98lin/
Dskvpd.c350 vpd_rom_size = pAC->vpd.rom_size; in VpdTransferBlock()
434 pAC->vpd.rom_size = 256 << ((our_reg2 & PCI_VPD_ROM_SZ) >> 14); in VpdInit()
440 if (((pAC->vpd.v.vpd_status & VPD_VALID) == 0 && in VpdInit()
442 ((pAC->vpd.v.vpd_status & VPD_VALID) != 0 && in VpdInit()
450 if (pAC->vpd.rom_size > VPD_SIZE_GENESIS) { in VpdInit()
454 vpd_size = pAC->vpd.rom_size; in VpdInit()
459 if (VpdTransferBlock(pAC, IoC, pAC->vpd.vpd_buf, 0, vpd_size, VPD_READ) in VpdInit()
467 pAC->vpd.vpd_size = vpd_size; in VpdInit()
471 if( ((unsigned char)pAC->vpd.vpd_buf[0x3f] == 0x38) && in VpdInit()
472 ((unsigned char)pAC->vpd.vpd_buf[0x40] == 0x3c) && in VpdInit()
[all …]
/linux-2.4.37.9/arch/ppc/platforms/
Dresidual.c570 #define vpd res->VitalProductData
571 int ps=vpd.PageSize, i, j;
593 printk("Model: %s\n",vpd.PrintableModel);
594 printk("Serial: %s\n", vpd.Serial);
595 printk("FirmwareSupplier: %s\n", FWMan[vpd.FirmwareSupplier]);
598 if (vpd.FirmwareSupports & (1<<j)) {
600 vpd.FirmwareSupports&(-2<<j) ? ',' : '\n');
603 printk("NVRamSize: %ld\n", vpd.NvramSize);
604 printk("SIMMslots: %ld\n", vpd.NumSIMMSlots);
606 ESM[vpd.EndianSwitchMethod>2 ? 2 : vpd.EndianSwitchMethod]);
[all …]
/linux-2.4.37.9/drivers/scsi/aic7xxx/
Daic79xx_pci.c515 struct vpd_config vpd; in ahd_check_extport() local
535 + (sizeof(vpd) * (ahd->channel - 'A'))) / 2; in ahd_check_extport()
537 error = ahd_read_seeprom(ahd, (uint16_t *)&vpd, in ahd_check_extport()
538 start_addr, sizeof(vpd)/2, in ahd_check_extport()
541 error = ahd_parse_vpddata(ahd, &vpd); in ahd_check_extport()
Daic79xx.h975 int ahd_verify_vpd_cksum(struct vpd_config *vpd);
1361 struct vpd_config *vpd);
Daic79xx_core.c6592 ahd_parse_vpddata(struct ahd_softc *ahd, struct vpd_config *vpd) in ahd_parse_vpddata() argument
6596 error = ahd_verify_vpd_cksum(vpd); in ahd_parse_vpddata()
6599 if ((vpd->bios_flags & VPDBOOTHOST) != 0) in ahd_parse_vpddata()
8847 ahd_verify_vpd_cksum(struct vpd_config *vpd) in ahd_verify_vpd_cksum() argument
8854 vpdarray = (uint8_t *)vpd; in ahd_verify_vpd_cksum()
8860 || (-checksum & 0xFF) != vpd->vpd_checksum) in ahd_verify_vpd_cksum()
8869 || (-checksum & 0xFF) != vpd->checksum) in ahd_verify_vpd_cksum()
/linux-2.4.37.9/drivers/net/skfp/
Ddrvfbi.c1555 u_short vpd ; local
1575 vpd = ibase + get_rom_byte(smc,pci_base+VPD_DATA_1) +
1577 if (vpd == ibase) {
1580 for (len = 0; len < size; len++,buf++,vpd++) {
1581 *buf = get_rom_byte(smc,vpd) ;
/linux-2.4.37.9/drivers/net/sk98lin/h/
Dskdrv2nd.h422 SK_VPD vpd; /* vpd data struct */ member