Lines Matching refs:head
34 struct nvkm_head *head; in nvkm_head_find() local
35 list_for_each_entry(head, &disp->heads, head) { in nvkm_head_find()
36 if (head->id == id) in nvkm_head_find()
37 return head; in nvkm_head_find()
45 struct nvkm_head *head = *phead; in nvkm_head_del() local
46 if (head) { in nvkm_head_del()
47 HEAD_DBG(head, "dtor"); in nvkm_head_del()
48 list_del(&head->head); in nvkm_head_del()
58 struct nvkm_head *head; in nvkm_head_new_() local
59 if (!(head = kzalloc(sizeof(*head), GFP_KERNEL))) in nvkm_head_new_()
61 head->func = func; in nvkm_head_new_()
62 head->disp = disp; in nvkm_head_new_()
63 head->id = id; in nvkm_head_new_()
64 list_add_tail(&head->head, &disp->heads); in nvkm_head_new_()
65 HEAD_DBG(head, "ctor"); in nvkm_head_new_()