Lines Matching refs:q
260 char __iomem *p = maddr_to_virt(0xF0000), *q; in dmi_get_table() local
266 for (q = p; q <= p + 0x10000 - sizeof(eps.dmi); q += 16) { in dmi_get_table()
267 memcpy_fromio(&eps, q, sizeof(eps.dmi)); in dmi_get_table()
279 q > p + 0x10000 - sizeof(eps.smbios3)) in dmi_get_table()
281 memcpy_fromio(&eps.dmi + 1, q + sizeof(eps.dmi), in dmi_get_table()
285 q <= p + 0x10000 - eps.smbios3.length && in dmi_get_table()
286 dmi_checksum(q, eps.smbios3.length)) { in dmi_get_table()
342 char __iomem *p, *q; in dmi_iterate() local
348 for (q = p; q < p + 0x10000; q += 16) { in dmi_iterate()
350 memcpy_fromio(&dmi, q, sizeof(dmi)); in dmi_iterate()
356 q <= p + 0x10000 - sizeof(smbios3)) { in dmi_iterate()
357 memcpy_fromio(&smbios3, q, sizeof(smbios3)); in dmi_iterate()
360 q > p + 0x10000 - smbios3.length || in dmi_iterate()
361 !dmi_checksum(q, smbios3.length)) in dmi_iterate()