Lines Matching refs:brightness
46 struct drm_property *brightness; member
53 int brightness; member
220 u32 luma = (plane->brightness - 512) << 16 | plane->contrast; in nv10_set_params()
255 else if (property == nv_plane->props.brightness) in nv_set_property()
256 nv_plane->brightness = value; in nv_set_property()
311 plane->props.brightness = drm_property_create_range( in nv10_overlay_init()
319 !plane->props.brightness || in nv10_overlay_init()
332 plane->brightness = 512; in nv10_overlay_init()
334 plane->props.brightness, plane->brightness); in nv10_overlay_init()
377 int brightness = (nv_plane->brightness - 512) * 62 / 512; in nv04_update_plane() local
414 nvif_wr32(dev, NV_PVIDEO_RED_CSC_OFFSET, 0x69 - brightness); in nv04_update_plane()
415 nvif_wr32(dev, NV_PVIDEO_GREEN_CSC_OFFSET, 0x3e + brightness); in nv04_update_plane()
416 nvif_wr32(dev, NV_PVIDEO_BLUE_CSC_OFFSET, 0x89 - brightness); in nv04_update_plane()
488 plane->props.brightness = drm_property_create_range( in nv04_overlay_init()
491 !plane->props.brightness) in nv04_overlay_init()
498 plane->brightness = 512; in nv04_overlay_init()
500 plane->props.brightness, plane->brightness); in nv04_overlay_init()