drm_to_overlay_state 44 drivers/gpu/drm/armada/armada_overlay.c return drm_to_overlay_state(state)->brightness << 16 | drm_to_overlay_state 45 drivers/gpu/drm/armada/armada_overlay.c drm_to_overlay_state(state)->contrast; drm_to_overlay_state 51 drivers/gpu/drm/armada/armada_overlay.c return drm_to_overlay_state(state)->saturation << 16; drm_to_overlay_state 186 drivers/gpu/drm/armada/armada_overlay.c val = drm_to_overlay_state(state)->colorkey_yr; drm_to_overlay_state 188 drivers/gpu/drm/armada/armada_overlay.c drm_to_overlay_state(old_state)->colorkey_yr != val) drm_to_overlay_state 190 drivers/gpu/drm/armada/armada_overlay.c val = drm_to_overlay_state(state)->colorkey_ug; drm_to_overlay_state 192 drivers/gpu/drm/armada/armada_overlay.c drm_to_overlay_state(old_state)->colorkey_ug != val) drm_to_overlay_state 194 drivers/gpu/drm/armada/armada_overlay.c val = drm_to_overlay_state(state)->colorkey_vb; drm_to_overlay_state 196 drivers/gpu/drm/armada/armada_overlay.c drm_to_overlay_state(old_state)->colorkey_vb != val) drm_to_overlay_state 198 drivers/gpu/drm/armada/armada_overlay.c val = drm_to_overlay_state(state)->colorkey_mode; drm_to_overlay_state 200 drivers/gpu/drm/armada/armada_overlay.c drm_to_overlay_state(old_state)->colorkey_mode != val) drm_to_overlay_state 204 drivers/gpu/drm/armada/armada_overlay.c val = drm_to_overlay_state(state)->colorkey_enable; drm_to_overlay_state 206 drivers/gpu/drm/armada/armada_overlay.c drm_to_overlay_state(old_state)->colorkey_enable != val) && drm_to_overlay_state 354 drivers/gpu/drm/armada/armada_overlay.c drm_to_overlay_state(state)->colorkey_yr = CCC(K2R(val)); drm_to_overlay_state 355 drivers/gpu/drm/armada/armada_overlay.c drm_to_overlay_state(state)->colorkey_ug = CCC(K2G(val)); drm_to_overlay_state 356 drivers/gpu/drm/armada/armada_overlay.c drm_to_overlay_state(state)->colorkey_vb = CCC(K2B(val)); drm_to_overlay_state 359 drivers/gpu/drm/armada/armada_overlay.c drm_to_overlay_state(state)->colorkey_yr &= ~0x00ff0000; drm_to_overlay_state 360 drivers/gpu/drm/armada/armada_overlay.c drm_to_overlay_state(state)->colorkey_yr |= K2R(val) << 16; drm_to_overlay_state 361 drivers/gpu/drm/armada/armada_overlay.c drm_to_overlay_state(state)->colorkey_ug &= ~0x00ff0000; drm_to_overlay_state 362 drivers/gpu/drm/armada/armada_overlay.c drm_to_overlay_state(state)->colorkey_ug |= K2G(val) << 16; drm_to_overlay_state 363 drivers/gpu/drm/armada/armada_overlay.c drm_to_overlay_state(state)->colorkey_vb &= ~0x00ff0000; drm_to_overlay_state 364 drivers/gpu/drm/armada/armada_overlay.c drm_to_overlay_state(state)->colorkey_vb |= K2B(val) << 16; drm_to_overlay_state 366 drivers/gpu/drm/armada/armada_overlay.c drm_to_overlay_state(state)->colorkey_yr &= ~0xff000000; drm_to_overlay_state 367 drivers/gpu/drm/armada/armada_overlay.c drm_to_overlay_state(state)->colorkey_yr |= K2R(val) << 24; drm_to_overlay_state 368 drivers/gpu/drm/armada/armada_overlay.c drm_to_overlay_state(state)->colorkey_ug &= ~0xff000000; drm_to_overlay_state 369 drivers/gpu/drm/armada/armada_overlay.c drm_to_overlay_state(state)->colorkey_ug |= K2G(val) << 24; drm_to_overlay_state 370 drivers/gpu/drm/armada/armada_overlay.c drm_to_overlay_state(state)->colorkey_vb &= ~0xff000000; drm_to_overlay_state 371 drivers/gpu/drm/armada/armada_overlay.c drm_to_overlay_state(state)->colorkey_vb |= K2B(val) << 24; drm_to_overlay_state 373 drivers/gpu/drm/armada/armada_overlay.c drm_to_overlay_state(state)->colorkey_yr &= ~0x0000ff00; drm_to_overlay_state 374 drivers/gpu/drm/armada/armada_overlay.c drm_to_overlay_state(state)->colorkey_yr |= K2R(val) << 8; drm_to_overlay_state 375 drivers/gpu/drm/armada/armada_overlay.c drm_to_overlay_state(state)->colorkey_ug &= ~0x0000ff00; drm_to_overlay_state 376 drivers/gpu/drm/armada/armada_overlay.c drm_to_overlay_state(state)->colorkey_ug |= K2G(val) << 8; drm_to_overlay_state 377 drivers/gpu/drm/armada/armada_overlay.c drm_to_overlay_state(state)->colorkey_vb &= ~0x0000ff00; drm_to_overlay_state 378 drivers/gpu/drm/armada/armada_overlay.c drm_to_overlay_state(state)->colorkey_vb |= K2B(val) << 8; drm_to_overlay_state 380 drivers/gpu/drm/armada/armada_overlay.c drm_to_overlay_state(state)->colorkey_yr &= ~0x000000ff; drm_to_overlay_state 381 drivers/gpu/drm/armada/armada_overlay.c drm_to_overlay_state(state)->colorkey_yr |= K2R(val); drm_to_overlay_state 382 drivers/gpu/drm/armada/armada_overlay.c drm_to_overlay_state(state)->colorkey_ug &= ~0x000000ff; drm_to_overlay_state 383 drivers/gpu/drm/armada/armada_overlay.c drm_to_overlay_state(state)->colorkey_ug |= K2G(val); drm_to_overlay_state 384 drivers/gpu/drm/armada/armada_overlay.c drm_to_overlay_state(state)->colorkey_vb &= ~0x000000ff; drm_to_overlay_state 385 drivers/gpu/drm/armada/armada_overlay.c drm_to_overlay_state(state)->colorkey_vb |= K2B(val); drm_to_overlay_state 388 drivers/gpu/drm/armada/armada_overlay.c drm_to_overlay_state(state)->colorkey_mode = drm_to_overlay_state 391 drivers/gpu/drm/armada/armada_overlay.c drm_to_overlay_state(state)->colorkey_enable = 0; drm_to_overlay_state 393 drivers/gpu/drm/armada/armada_overlay.c drm_to_overlay_state(state)->colorkey_mode = drm_to_overlay_state 396 drivers/gpu/drm/armada/armada_overlay.c drm_to_overlay_state(state)->colorkey_enable = drm_to_overlay_state 400 drivers/gpu/drm/armada/armada_overlay.c drm_to_overlay_state(state)->brightness = val - 256; drm_to_overlay_state 402 drivers/gpu/drm/armada/armada_overlay.c drm_to_overlay_state(state)->contrast = val; drm_to_overlay_state 404 drivers/gpu/drm/armada/armada_overlay.c drm_to_overlay_state(state)->saturation = val; drm_to_overlay_state 421 drivers/gpu/drm/armada/armada_overlay.c *val = R2BGR(drm_to_overlay_state(state)->colorkey_yr, drm_to_overlay_state 422 drivers/gpu/drm/armada/armada_overlay.c drm_to_overlay_state(state)->colorkey_ug, drm_to_overlay_state 423 drivers/gpu/drm/armada/armada_overlay.c drm_to_overlay_state(state)->colorkey_vb, 16); drm_to_overlay_state 425 drivers/gpu/drm/armada/armada_overlay.c if (*val != R2BGR(drm_to_overlay_state(state)->colorkey_yr, drm_to_overlay_state 426 drivers/gpu/drm/armada/armada_overlay.c drm_to_overlay_state(state)->colorkey_ug, drm_to_overlay_state 427 drivers/gpu/drm/armada/armada_overlay.c drm_to_overlay_state(state)->colorkey_vb, 24) || drm_to_overlay_state 428 drivers/gpu/drm/armada/armada_overlay.c *val != R2BGR(drm_to_overlay_state(state)->colorkey_yr, drm_to_overlay_state 429 drivers/gpu/drm/armada/armada_overlay.c drm_to_overlay_state(state)->colorkey_ug, drm_to_overlay_state 430 drivers/gpu/drm/armada/armada_overlay.c drm_to_overlay_state(state)->colorkey_vb, 8)) drm_to_overlay_state 433 drivers/gpu/drm/armada/armada_overlay.c *val = R2BGR(drm_to_overlay_state(state)->colorkey_yr, drm_to_overlay_state 434 drivers/gpu/drm/armada/armada_overlay.c drm_to_overlay_state(state)->colorkey_ug, drm_to_overlay_state 435 drivers/gpu/drm/armada/armada_overlay.c drm_to_overlay_state(state)->colorkey_vb, 16); drm_to_overlay_state 437 drivers/gpu/drm/armada/armada_overlay.c *val = R2BGR(drm_to_overlay_state(state)->colorkey_yr, drm_to_overlay_state 438 drivers/gpu/drm/armada/armada_overlay.c drm_to_overlay_state(state)->colorkey_ug, drm_to_overlay_state 439 drivers/gpu/drm/armada/armada_overlay.c drm_to_overlay_state(state)->colorkey_vb, 24); drm_to_overlay_state 441 drivers/gpu/drm/armada/armada_overlay.c *val = R2BGR(drm_to_overlay_state(state)->colorkey_yr, drm_to_overlay_state 442 drivers/gpu/drm/armada/armada_overlay.c drm_to_overlay_state(state)->colorkey_ug, drm_to_overlay_state 443 drivers/gpu/drm/armada/armada_overlay.c drm_to_overlay_state(state)->colorkey_vb, 8); drm_to_overlay_state 445 drivers/gpu/drm/armada/armada_overlay.c *val = R2BGR(drm_to_overlay_state(state)->colorkey_yr, drm_to_overlay_state 446 drivers/gpu/drm/armada/armada_overlay.c drm_to_overlay_state(state)->colorkey_ug, drm_to_overlay_state 447 drivers/gpu/drm/armada/armada_overlay.c drm_to_overlay_state(state)->colorkey_vb, 0); drm_to_overlay_state 449 drivers/gpu/drm/armada/armada_overlay.c *val = (drm_to_overlay_state(state)->colorkey_mode & drm_to_overlay_state 452 drivers/gpu/drm/armada/armada_overlay.c *val = drm_to_overlay_state(state)->brightness + 256; drm_to_overlay_state 454 drivers/gpu/drm/armada/armada_overlay.c *val = drm_to_overlay_state(state)->contrast; drm_to_overlay_state 456 drivers/gpu/drm/armada/armada_overlay.c *val = drm_to_overlay_state(state)->saturation;