Lines Matching full:bios
24 #include <subdev/bios.h>
25 #include <subdev/bios/bit.h>
26 #include <subdev/bios/M0209.h>
29 nvbios_M0209Te(struct nvkm_bios *bios, in nvbios_M0209Te() argument
35 if (!bit_entry(bios, 'M', &bit_M)) { in nvbios_M0209Te()
37 data = nvbios_rd32(bios, bit_M.offset + 0x09); in nvbios_M0209Te()
39 *ver = nvbios_rd08(bios, data + 0x00); in nvbios_M0209Te()
42 *hdr = nvbios_rd08(bios, data + 0x01); in nvbios_M0209Te()
43 *len = nvbios_rd08(bios, data + 0x02); in nvbios_M0209Te()
44 *ssz = nvbios_rd08(bios, data + 0x03); in nvbios_M0209Te()
46 *cnt = nvbios_rd08(bios, data + 0x04); in nvbios_M0209Te()
58 nvbios_M0209Ee(struct nvkm_bios *bios, int idx, in nvbios_M0209Ee() argument
62 u32 data = nvbios_M0209Te(bios, ver, hdr, cnt, len, &snr, &ssz); in nvbios_M0209Ee()
74 nvbios_M0209Ep(struct nvkm_bios *bios, int idx, in nvbios_M0209Ep() argument
77 u32 data = nvbios_M0209Ee(bios, idx, ver, hdr, cnt, len); in nvbios_M0209Ep()
81 info->v00_40 = (nvbios_rd08(bios, data + 0x00) & 0x40) >> 6; in nvbios_M0209Ep()
82 info->bits = nvbios_rd08(bios, data + 0x00) & 0x3f; in nvbios_M0209Ep()
83 info->modulo = nvbios_rd08(bios, data + 0x01); in nvbios_M0209Ep()
84 info->v02_40 = (nvbios_rd08(bios, data + 0x02) & 0x40) >> 6; in nvbios_M0209Ep()
85 info->v02_07 = nvbios_rd08(bios, data + 0x02) & 0x07; in nvbios_M0209Ep()
86 info->v03 = nvbios_rd08(bios, data + 0x03); in nvbios_M0209Ep()
95 nvbios_M0209Se(struct nvkm_bios *bios, int ent, int idx, u8 *ver, u8 *hdr) in nvbios_M0209Se() argument
99 u32 data = nvbios_M0209Ee(bios, ent, ver, hdr, &cnt, &len); in nvbios_M0209Se()
109 nvbios_M0209Sp(struct nvkm_bios *bios, int ent, int idx, u8 *ver, u8 *hdr, in nvbios_M0209Sp() argument
114 u32 data = nvbios_M0209Ep(bios, ent, ver, hdr, &cnt, &len, &M0209E); in nvbios_M0209Sp()
116 u32 i, data = nvbios_M0209Se(bios, ent, idx, ver, hdr); in nvbios_M0209Sp()
125 info->data[i] = nvbios_rd32(bios, data + off); in nvbios_M0209Sp()