Lines Matching refs:head
34 struct nvkm_head *head; in nvkm_head_find() local
35 list_for_each_entry(head, &disp->head, head) { in nvkm_head_find()
36 if (head->id == id) in nvkm_head_find()
37 return head; in nvkm_head_find()
44 struct nvkm_head *head, void *data, u32 size) in nvkm_head_mthd_scanoutpos() argument
56 head->func->state(head, &head->arm); in nvkm_head_mthd_scanoutpos()
57 args->v0.vtotal = head->arm.vtotal; in nvkm_head_mthd_scanoutpos()
58 args->v0.vblanks = head->arm.vblanks; in nvkm_head_mthd_scanoutpos()
59 args->v0.vblanke = head->arm.vblanke; in nvkm_head_mthd_scanoutpos()
60 args->v0.htotal = head->arm.htotal; in nvkm_head_mthd_scanoutpos()
61 args->v0.hblanks = head->arm.hblanks; in nvkm_head_mthd_scanoutpos()
62 args->v0.hblanke = head->arm.hblanke; in nvkm_head_mthd_scanoutpos()
72 head->func->rgpos(head, &args->v0.hline, &args->v0.vline); in nvkm_head_mthd_scanoutpos()
83 struct nvkm_head *head = *phead; in nvkm_head_del() local
84 if (head) { in nvkm_head_del()
85 HEAD_DBG(head, "dtor"); in nvkm_head_del()
86 list_del(&head->head); in nvkm_head_del()
96 struct nvkm_head *head; in nvkm_head_new_() local
97 if (!(head = kzalloc(sizeof(*head), GFP_KERNEL))) in nvkm_head_new_()
99 head->func = func; in nvkm_head_new_()
100 head->disp = disp; in nvkm_head_new_()
101 head->id = id; in nvkm_head_new_()
102 list_add_tail(&head->head, &disp->head); in nvkm_head_new_()
103 HEAD_DBG(head, "ctor"); in nvkm_head_new_()