Lines Matching defs:device
25 nvif_fifo_runlists(struct nvif_device *device)
27 struct nvif_object *object = &device->object;
37 if (device->runlist)
52 device->runlists = fls64(a->v.runlists.data);
53 device->runlist = kcalloc(device->runlists, sizeof(*device->runlist),
55 if (!device->runlist) {
60 for (i = 0; i < device->runlists; i++) {
62 device->runlist[i].engines = a->v.runlist[i].data;
71 nvif_fifo_runlist(struct nvif_device *device, u64 engine)
73 struct nvif_object *object = &device->object;
87 if ((ret = nvif_fifo_runlists(device)))
92 for (i = 0; i < device->runlists; i++) {
93 if (device->runlist[i].engines & a.v.engine.data)