Lines Matching defs:device
25 nvif_fifo_runlists(struct nvif_device *device)
27 struct nvif_object *object = &device->object;
37 if (device->runlist)
54 device->runlists = fls64(a->v.runlists.data);
55 device->runlist = kcalloc(device->runlists, sizeof(*device->runlist),
57 if (!device->runlist) {
62 for (i = 0; i < device->runlists; i++) {
64 device->runlist[i].engines = a->v.runlist[i].data;
73 nvif_fifo_runlist(struct nvif_device *device, u64 engine)
78 if ((ret = nvif_fifo_runlists(device)))
81 for (i = 0; i < device->runlists; i++) {
82 if (device->runlist[i].engines & engine)