Lines Matching refs:brightness
46 struct drm_property *brightness; member
54 int brightness; member
201 u32 luma = (plane->brightness - 512) << 16 | plane->contrast; in nv10_set_params()
236 else if (property == nv_plane->props.brightness) in nv_set_property()
237 nv_plane->brightness = value; in nv_set_property()
291 plane->props.brightness = drm_property_create_range( in nv10_overlay_init()
301 !plane->props.brightness || in nv10_overlay_init()
315 plane->brightness = 512; in nv10_overlay_init()
317 plane->props.brightness, plane->brightness); in nv10_overlay_init()
355 int brightness = (nv_plane->brightness - 512) * 62 / 512; in nv04_update_plane() local
398 nvif_wr32(dev, NV_PVIDEO_RED_CSC_OFFSET, 0x69 - brightness); in nv04_update_plane()
399 nvif_wr32(dev, NV_PVIDEO_GREEN_CSC_OFFSET, 0x3e + brightness); in nv04_update_plane()
400 nvif_wr32(dev, NV_PVIDEO_BLUE_CSC_OFFSET, 0x89 - brightness); in nv04_update_plane()
471 plane->props.brightness = drm_property_create_range( in nv04_overlay_init()
474 !plane->props.brightness) in nv04_overlay_init()
481 plane->brightness = 512; in nv04_overlay_init()
483 plane->props.brightness, plane->brightness); in nv04_overlay_init()