Lines Matching defs:device
50 .device = ~0ULL,
55 /* allocate device object targeting client's default
56 * device (ie. the one that belongs to the fd it
61 &abi16->device) == 0)
85 struct nouveau_cli *cli = (void *)abi16->device.object.client;
93 switch (drm->client.device.info.family) {
172 struct nouveau_cli *cli = (void *)abi16->device.object.client;
180 /* destroy the device object */
181 nvif_device_dtor(&abi16->device);
188 getparam_dma_ib_max(struct nvif_device *device)
198 return nvif_mclass(&device->object, dmas) < 0 ? NV50_DMA_IB_MAX : 0;
206 struct nvif_device *device = &drm->client.device;
207 struct nvkm_gr *gr = nvxx_gr(device);
213 getparam->value = device->info.chipset;
216 if (device->info.platform != NV_DEVICE_INFO_V0_SOC)
222 if (device->info.platform != NV_DEVICE_INFO_V0_SOC)
223 getparam->value = pdev->device;
228 switch (device->info.platform) {
254 getparam->value = nvif_device_time(device);
266 int ib_max = getparam_dma_ib_max(device);
287 struct nvif_device *device;
304 device = &abi16->device;
308 if (device->info.family >= NV_DEVICE_INFO_V0_KEPLER) {
326 runm = nvif_fifo_runlist(device, engine);
328 runm = nvif_fifo_runlist_ce(device);
342 ret = nouveau_channel_new(drm, device, false, runm, init->fb_ctxdma_handle,
354 if (device->info.family >= NV_DEVICE_INFO_V0_TESLA)
363 if (device->info.family < NV_DEVICE_INFO_V0_CELSIUS) {
379 switch (device->info.family) {
405 if (device->info.family >= NV_DEVICE_INFO_V0_TESLA) {
470 args->v0.object = nvif_handle(&abi16->device.object);
509 client = abi16->device.object.client;
592 struct nvif_device *device = &abi16->device;
601 if (unlikely(device->info.family >= NV_DEVICE_INFO_V0_FERMI))
603 client = abi16->device.object.client;
622 if (device->info.family >= NV_DEVICE_INFO_V0_TESLA) {