Lines Matching refs:header
68 struct smapi_bios_header *header;
105 bcopy((caddr_t)sc->header, data,
122 smapi_header_cksum (struct smapi_bios_header *header)
128 ptr = (u_int8_t *)header;
130 for (i = 0; i < header->length; i++) {
180 device_printf(dev, "SMAPI header checksum failed.\n");
210 sc->header = (struct smapi_bios_header *)rman_get_virtual(sc->res);
212 sc->header->prot32_segment +
213 sc->header->prot32_offset);
228 bcd2bin(sc->header->version_major),
229 bcd2bin(sc->header->version_minor),
230 sc->header->length,
231 sc->header->checksum);
233 sc->header->information,
240 if (sc->header->information & SMAPI_REAL_VM86)
242 sc->header->real16_segment,
243 sc->header->real16_offset);
244 if (sc->header->information & SMAPI_PROT_16BIT)
246 sc->header->prot16_segment,
247 sc->header->prot16_offset);
248 if (sc->header->information & SMAPI_PROT_32BIT)
250 sc->header->prot32_segment,
251 sc->header->prot32_offset);