Lines Matching refs:ver
79 int ver;
152 smbios_setuuid(const char *name, const caddr_t addr, const int ver)
190 byteorder = ver < 0x0206 ? BIG_ENDIAN : LITTLE_ENDIAN;
239 smbios_setuuid("smbios.system.uuid", addr + 0x08, smbios.ver);
380 smbios.ver = SMBIOS_GET8(saddr, 0x1e); /* SMBIOS BCD Revision */
382 if (smbios.ver != 0) {
383 smbios.major = smbios.ver >> 4;
384 smbios.minor = smbios.ver & 0x0f;
386 smbios.ver = 0;
388 if (smbios.ver == 0) {
392 smbios.ver = (smbios.major << 8) | smbios.minor;