Lines Matching refs:vmap

32 	u32 vmap = 0;  in nvbios_vmap_table()  local
36 vmap = nvbios_rd32(bios, bit_P.offset + 0x20); in nvbios_vmap_table()
37 if (vmap) { in nvbios_vmap_table()
38 *ver = nvbios_rd08(bios, vmap + 0); in nvbios_vmap_table()
42 *hdr = nvbios_rd08(bios, vmap + 1); in nvbios_vmap_table()
43 *cnt = nvbios_rd08(bios, vmap + 3); in nvbios_vmap_table()
44 *len = nvbios_rd08(bios, vmap + 2); in nvbios_vmap_table()
45 return vmap; in nvbios_vmap_table()
60 u32 vmap = nvbios_vmap_table(bios, ver, hdr, cnt, len); in nvbios_vmap_parse() local
62 switch (!!vmap * *ver) { in nvbios_vmap_parse()
69 info->max0 = nvbios_rd08(bios, vmap + 0x7); in nvbios_vmap_parse()
70 info->max1 = nvbios_rd08(bios, vmap + 0x8); in nvbios_vmap_parse()
72 info->max2 = nvbios_rd08(bios, vmap + 0xc); in nvbios_vmap_parse()
77 return vmap; in nvbios_vmap_parse()
84 u32 vmap = nvbios_vmap_table(bios, ver, &hdr, &cnt, len); in nvbios_vmap_entry() local
85 if (vmap && idx < cnt) { in nvbios_vmap_entry()
86 vmap = vmap + hdr + (idx * *len); in nvbios_vmap_entry()
87 return vmap; in nvbios_vmap_entry()
96 u32 vmap = nvbios_vmap_entry(bios, idx, ver, len); in nvbios_vmap_entry_parse() local
98 switch (!!vmap * *ver) { in nvbios_vmap_entry_parse()
101 info->min = nvbios_rd32(bios, vmap + 0x00); in nvbios_vmap_entry_parse()
102 info->max = nvbios_rd32(bios, vmap + 0x04); in nvbios_vmap_entry_parse()
103 info->arg[0] = nvbios_rd32(bios, vmap + 0x08); in nvbios_vmap_entry_parse()
104 info->arg[1] = nvbios_rd32(bios, vmap + 0x0c); in nvbios_vmap_entry_parse()
105 info->arg[2] = nvbios_rd32(bios, vmap + 0x10); in nvbios_vmap_entry_parse()
108 info->mode = nvbios_rd08(bios, vmap + 0x00); in nvbios_vmap_entry_parse()
109 info->link = nvbios_rd08(bios, vmap + 0x01); in nvbios_vmap_entry_parse()
110 info->min = nvbios_rd32(bios, vmap + 0x02); in nvbios_vmap_entry_parse()
111 info->max = nvbios_rd32(bios, vmap + 0x06); in nvbios_vmap_entry_parse()
112 info->arg[0] = nvbios_rd32(bios, vmap + 0x0a); in nvbios_vmap_entry_parse()
113 info->arg[1] = nvbios_rd32(bios, vmap + 0x0e); in nvbios_vmap_entry_parse()
114 info->arg[2] = nvbios_rd32(bios, vmap + 0x12); in nvbios_vmap_entry_parse()
115 info->arg[3] = nvbios_rd32(bios, vmap + 0x16); in nvbios_vmap_entry_parse()
116 info->arg[4] = nvbios_rd32(bios, vmap + 0x1a); in nvbios_vmap_entry_parse()
117 info->arg[5] = nvbios_rd32(bios, vmap + 0x1e); in nvbios_vmap_entry_parse()
120 return vmap; in nvbios_vmap_entry_parse()