Lines Matching refs:dmi
29 * Search DMI information for specific data or strings
65 struct dmi_header dmi;
68 static const struct dmi_header *dmi;
83 const struct dmi_header *dmi = (void *)dptr;
85 return !memcmp(dmi->signature, "_DMI_", 5) &&
86 !checksum(dmi, 0x0f);
109 dmi = (const struct dmi_header *)(dptr + 16);
112 dmi = (const struct dmi_header *)dptr;
128 if (!dmi)
137 tblcount = dmi->nstruc;
139 while (offset+6 <= dmi->tbllen && tblcount--) {
140 table = (const struct dmi_table *)(dmi->tbladdr + offset);
154 while (offset+2 <= dmi->tbllen &&
155 *(const uint16_t *)(dmi->tbladdr + offset) != 0)
173 if (!dmi)
180 tblcount = dmi->nstruc;
182 while (offset+6 <= dmi->tbllen && tblcount--) {
183 table = (const struct dmi_table *)(dmi->tbladdr + offset);
207 if (offset++ >= dmi->tbllen)
216 if (offset++ >= dmi->tbllen)
224 while (offset+2 <= dmi->tbllen &&
225 *(const uint16_t *)(dmi->tbladdr + offset) != 0)
333 /* Not technically from DMI, but it fit here... */
371 if (!dmi)