Lines Matching full:rotation
443 unsigned int rotation) in mipi_dbi_rotate_mode() argument
445 if (rotation == 0 || rotation == 180) { in mipi_dbi_rotate_mode()
447 } else if (rotation == 90 || rotation == 270) { in mipi_dbi_rotate_mode()
477 * @rotation: Initial rotation in degrees Counter Clock Wise
481 * has one fixed &drm_display_mode which is rotated according to @rotation.
497 unsigned int rotation, size_t tx_buf_size) in mipi_dbi_dev_init_with_formats() argument
518 ret = mipi_dbi_rotate_mode(&dbidev->mode, rotation); in mipi_dbi_dev_init_with_formats()
520 DRM_ERROR("Illegal rotation value %u\n", rotation); in mipi_dbi_dev_init_with_formats()
542 dbidev->rotation = rotation; in mipi_dbi_dev_init_with_formats()
544 DRM_DEBUG_KMS("rotation = %u\n", rotation); in mipi_dbi_dev_init_with_formats()
555 * @rotation: Initial rotation in degrees Counter Clock Wise
558 * has one fixed &drm_display_mode which is rotated according to @rotation.
569 const struct drm_display_mode *mode, unsigned int rotation) in mipi_dbi_dev_init() argument
577 rotation, bufsize); in mipi_dbi_dev_init()