Lines Matching refs:v0
45 struct nv04_disp_scanoutpos_v0 v0; in nv04_disp_scanoutpos() member
51 if (nvif_unpack(args->v0, 0, 0, false)) { in nv04_disp_scanoutpos()
53 args->v0.version); in nv04_disp_scanoutpos()
54 args->v0.vblanks = nvkm_rd32(device, 0x680800 + hoff) & 0xffff; in nv04_disp_scanoutpos()
55 args->v0.vtotal = nvkm_rd32(device, 0x680804 + hoff) & 0xffff; in nv04_disp_scanoutpos()
56 args->v0.vblanke = args->v0.vtotal - 1; in nv04_disp_scanoutpos()
58 args->v0.hblanks = nvkm_rd32(device, 0x680820 + hoff) & 0xffff; in nv04_disp_scanoutpos()
59 args->v0.htotal = nvkm_rd32(device, 0x680824 + hoff) & 0xffff; in nv04_disp_scanoutpos()
60 args->v0.hblanke = args->v0.htotal - 1; in nv04_disp_scanoutpos()
67 if (!args->v0.vtotal || !args->v0.htotal) in nv04_disp_scanoutpos()
70 args->v0.time[0] = ktime_to_ns(ktime_get()); in nv04_disp_scanoutpos()
72 args->v0.time[1] = ktime_to_ns(ktime_get()); in nv04_disp_scanoutpos()
73 args->v0.hline = (line & 0xffff0000) >> 16; in nv04_disp_scanoutpos()
74 args->v0.vline = (line & 0x0000ffff); in nv04_disp_scanoutpos()
86 struct nv04_disp_mthd_v0 v0; in nv04_disp_mthd() member
91 if (nvif_unpack(args->v0, 0, 0, true)) { in nv04_disp_mthd()
93 args->v0.version, args->v0.method, args->v0.head); in nv04_disp_mthd()
94 mthd = args->v0.method; in nv04_disp_mthd()
95 head = args->v0.head; in nv04_disp_mthd()