Lines Matching defs:device

147 nouveau_channel_prep(struct nouveau_drm *drm, struct nvif_device *device,
150 struct nouveau_cli *cli = (void *)device->object.client;
160 chan->device = device;
197 if (device->info.family >= NV_DEVICE_INFO_V0_TESLA) {
207 if (device->info.family >= NV_DEVICE_INFO_V0_FERMI)
216 if (device->info.family == NV_DEVICE_INFO_V0_TNT) {
223 args.start = nvxx_device(device)->func->
224 resource_addr(nvxx_device(device), 1);
225 args.limit = args.start + device->info.ram_user - 1;
230 args.limit = device->info.ram_user - 1;
247 ret = nvif_object_ctor(&device->object, "abi16PushCtxDma", 0,
259 nouveau_channel_ind(struct nouveau_drm *drm, struct nvif_device *device,
284 ret = nouveau_channel_prep(drm, device, 0x12000, &chan);
324 ret = nvif_object_ctor(&device->object, "abi16ChanUser", 0,
350 nouveau_channel_dma(struct nouveau_drm *drm, struct nvif_device *device,
364 ret = nouveau_channel_prep(drm, device, 0x10000, &chan);
375 ret = nvif_object_ctor(&device->object, "abi16ChanUser", 0,
391 struct nvif_device *device = chan->device;
413 if (device->info.family < NV_DEVICE_INFO_V0_FERMI) {
414 if (device->info.family >= NV_DEVICE_INFO_V0_TESLA) {
423 args.limit = device->info.ram_user - 1;
432 if (device->info.family >= NV_DEVICE_INFO_V0_TESLA) {
490 if (device->info.family < NV_DEVICE_INFO_V0_CELSIUS) {
510 nouveau_channel_new(struct nouveau_drm *drm, struct nvif_device *device,
514 struct nouveau_cli *cli = (void *)device->object.client;
522 ret = nouveau_channel_ind(drm, device, arg0, priv, pchan);
525 ret = nouveau_channel_dma(drm, device, pchan);
561 struct nvif_object *device = &drm->client.device.object;
564 ret = nvif_object_mthd(device, NV_DEVICE_V0_INFO, &args, sizeof(args));