Lines Matching refs:top

27 nvkm_top_device_new(struct nvkm_top *top)  in nvkm_top_device_new()  argument
39 list_add_tail(&info->head, &top->device); in nvkm_top_device_new()
47 struct nvkm_top *top = device->top; in nvkm_top_addr() local
50 if (top) { in nvkm_top_addr()
51 list_for_each_entry(info, &top->device, head) { in nvkm_top_addr()
63 struct nvkm_top *top = device->top; in nvkm_top_reset() local
66 if (top) { in nvkm_top_reset()
67 list_for_each_entry(info, &top->device, head) { in nvkm_top_reset()
79 struct nvkm_top *top = device->top; in nvkm_top_intr_mask() local
82 if (top) { in nvkm_top_intr_mask()
83 list_for_each_entry(info, &top->device, head) { in nvkm_top_intr_mask()
95 struct nvkm_top *top = device->top; in nvkm_top_fault_id() local
98 list_for_each_entry(info, &top->device, head) { in nvkm_top_fault_id()
109 struct nvkm_top *top = device->top; in nvkm_top_fault() local
112 list_for_each_entry(info, &top->device, head) { in nvkm_top_fault()
123 struct nvkm_top *top = device->top; in nvkm_top_parse() local
125 if (!top || !list_empty(&top->device)) in nvkm_top_parse()
128 return top->func->parse(top); in nvkm_top_parse()
134 struct nvkm_top *top = nvkm_top(subdev); in nvkm_top_dtor() local
137 list_for_each_entry_safe(info, temp, &top->device, head) { in nvkm_top_dtor()
142 return top; in nvkm_top_dtor()
154 struct nvkm_top *top; in nvkm_top_new_() local
155 if (!(top = *ptop = kzalloc(sizeof(*top), GFP_KERNEL))) in nvkm_top_new_()
157 nvkm_subdev_ctor(&nvkm_top, device, type, inst, &top->subdev); in nvkm_top_new_()
158 top->func = func; in nvkm_top_new_()
159 INIT_LIST_HEAD(&top->device); in nvkm_top_new_()