Lines Matching defs:device
121 struct nvif_object *dev = &drm->client.device.object;
130 unsigned shift = drm->client.device.info.chipset >= 0x30 ? 1 : 3;
195 struct nvif_object *dev = &nouveau_drm(plane->dev)->client.device.object;
219 struct nvif_object *dev = &nouveau_drm(plane->base.dev)->client.device.object;
279 nv10_overlay_init(struct drm_device *device)
281 struct nouveau_drm *drm = nouveau_drm(device);
289 switch (drm->client.device.info.chipset) {
299 ret = drm_universal_plane_init(device, &plane->base, 3 /* both crtc's */,
308 device, 0, "colorkey", 0, 0x01ffffff);
310 device, 0, "contrast", 0, 8192 - 1);
312 device, 0, "brightness", 0, 1024);
314 device, 0, "hue", 0, 359);
316 device, 0, "saturation", 0, 8192 - 1);
371 struct nvif_object *dev = &nouveau_drm(plane->dev)->client.device.object;
446 struct nvif_object *dev = &nouveau_drm(plane->dev)->client.device.object;
470 nv04_overlay_init(struct drm_device *device)
472 struct nouveau_drm *drm = nouveau_drm(device);
479 ret = drm_universal_plane_init(device, &plane->base, 1 /* single crtc */,
487 device, 0, "colorkey", 0, 0x01ffffff);
489 device, 0, "brightness", 0, 1024);
512 nouveau_overlay_init(struct drm_device *device)
514 struct nvif_device *dev = &nouveau_drm(device)->client.device;
516 nv04_overlay_init(device);
518 nv10_overlay_init(device);