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_plane_init(device, &plane->base, 3 /* both crtc's */,
307 device, 0, "colorkey", 0, 0x01ffffff);
309 device, 0, "contrast", 0, 8192 - 1);
311 device, 0, "brightness", 0, 1024);
313 device, 0, "hue", 0, 359);
315 device, 0, "saturation", 0, 8192 - 1);
370 struct nvif_object *dev = &nouveau_drm(plane->dev)->client.device.object;
445 struct nvif_object *dev = &nouveau_drm(plane->dev)->client.device.object;
469 nv04_overlay_init(struct drm_device *device)
471 struct nouveau_drm *drm = nouveau_drm(device);
478 ret = drm_plane_init(device, &plane->base, 1 /* single crtc */,
486 device, 0, "colorkey", 0, 0x01ffffff);
488 device, 0, "brightness", 0, 1024);
511 nouveau_overlay_init(struct drm_device *device)
513 struct nvif_device *dev = &nouveau_drm(device)->client.device;
515 nv04_overlay_init(device);
517 nv10_overlay_init(device);