Lines Matching full:disp
33 struct nvkm_disp *disp = nvkm_udisp(object); in nvkm_udisp_sclass() local
53 if (disp->func->user[index].ctor) { in nvkm_udisp_sclass()
54 sclass->base = disp->func->user[index].base; in nvkm_udisp_sclass()
55 sclass->ctor = disp->func->user[index].ctor; in nvkm_udisp_sclass()
65 struct nvkm_disp *disp = nvkm_udisp(object); in nvkm_udisp_dtor() local
67 spin_lock(&disp->client.lock); in nvkm_udisp_dtor()
68 if (object == &disp->client.object) in nvkm_udisp_dtor()
69 disp->client.object.func = NULL; in nvkm_udisp_dtor()
70 spin_unlock(&disp->client.lock); in nvkm_udisp_dtor()
83 struct nvkm_disp *disp = nvkm_disp(oclass->engine); in nvkm_udisp_new() local
92 spin_lock(&disp->client.lock); in nvkm_udisp_new()
93 if (disp->client.object.func) { in nvkm_udisp_new()
94 spin_unlock(&disp->client.lock); in nvkm_udisp_new()
97 nvkm_object_ctor(&nvkm_udisp, oclass, &disp->client.object); in nvkm_udisp_new()
98 *pobject = &disp->client.object; in nvkm_udisp_new()
99 spin_unlock(&disp->client.lock); in nvkm_udisp_new()
102 list_for_each_entry(conn, &disp->conns, head) in nvkm_udisp_new()
106 list_for_each_entry(outp, &disp->outps, head) in nvkm_udisp_new()
110 list_for_each_entry(head, &disp->heads, head) in nvkm_udisp_new()