Lines Matching refs:bios

29 nvbios_M0203Te(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len)  in nvbios_M0203Te()  argument
34 if (!bit_entry(bios, 'M', &bit_M)) { in nvbios_M0203Te()
36 data = nv_ro16(bios, bit_M.offset + 0x03); in nvbios_M0203Te()
38 *ver = nv_ro08(bios, data + 0x00); in nvbios_M0203Te()
41 *hdr = nv_ro08(bios, data + 0x01); in nvbios_M0203Te()
42 *len = nv_ro08(bios, data + 0x02); in nvbios_M0203Te()
43 *cnt = nv_ro08(bios, data + 0x03); in nvbios_M0203Te()
55 nvbios_M0203Tp(struct nvkm_bios *bios, u8 *ver, u8 *hdr, u8 *cnt, u8 *len, in nvbios_M0203Tp() argument
58 u32 data = nvbios_M0203Te(bios, ver, hdr, cnt, len); in nvbios_M0203Tp()
62 info->type = nv_ro08(bios, data + 0x04); in nvbios_M0203Tp()
63 info->pointer = nv_ro16(bios, data + 0x05); in nvbios_M0203Tp()
72 nvbios_M0203Ee(struct nvkm_bios *bios, int idx, u8 *ver, u8 *hdr) in nvbios_M0203Ee() argument
75 u32 data = nvbios_M0203Te(bios, ver, hdr, &cnt, &len); in nvbios_M0203Ee()
85 nvbios_M0203Ep(struct nvkm_bios *bios, int idx, u8 *ver, u8 *hdr, in nvbios_M0203Ep() argument
88 u32 data = nvbios_M0203Ee(bios, idx, ver, hdr); in nvbios_M0203Ep()
92 info->type = (nv_ro08(bios, data + 0x00) & 0x0f) >> 0; in nvbios_M0203Ep()
93 info->strap = (nv_ro08(bios, data + 0x00) & 0xf0) >> 4; in nvbios_M0203Ep()
94 info->group = (nv_ro08(bios, data + 0x01) & 0x0f) >> 0; in nvbios_M0203Ep()
103 nvbios_M0203Em(struct nvkm_bios *bios, u8 ramcfg, u8 *ver, u8 *hdr, in nvbios_M0203Em() argument
110 if (!nvbios_M0203Tp(bios, ver, hdr, &cnt, &len, &M0203T)) { in nvbios_M0203Em()
111 nv_warn(bios, "M0203T not found\n"); in nvbios_M0203Em()
115 while ((data = nvbios_M0203Ep(bios, ++idx, ver, hdr, info))) { in nvbios_M0203Em()
122 nv_warn(bios, "M0203T type %02x\n", M0203T.type); in nvbios_M0203Em()