Lines Matching refs:bit_M
38 struct bit_entry bit_M; in nvbios_ramcfg_count() local
40 if (!bit_entry(bios, 'M', &bit_M)) { in nvbios_ramcfg_count()
41 if (bit_M.version == 1 && bit_M.length >= 5) in nvbios_ramcfg_count()
42 return nvbios_rd08(bios, bit_M.offset + 2); in nvbios_ramcfg_count()
43 if (bit_M.version == 2 && bit_M.length >= 3) in nvbios_ramcfg_count()
44 return nvbios_rd08(bios, bit_M.offset + 0); in nvbios_ramcfg_count()
56 struct bit_entry bit_M; in nvbios_ramcfg_index() local
60 if (!bit_entry(bios, 'M', &bit_M)) { in nvbios_ramcfg_index()
61 if (bit_M.version == 1 && bit_M.length >= 5) in nvbios_ramcfg_index()
62 xlat = nvbios_rd16(bios, bit_M.offset + 3); in nvbios_ramcfg_index()
63 if (bit_M.version == 2 && bit_M.length >= 3) { in nvbios_ramcfg_index()
68 if (bit_M.length >= 7 && in nvbios_ramcfg_index()
71 xlat = nvbios_rd16(bios, bit_M.offset + 1); in nvbios_ramcfg_index()