/linux-master/include/drm/ |
H A D | drm_blend.h | 38 static inline bool drm_rotation_90_or_270(unsigned int rotation) argument 40 return rotation & (DRM_MODE_ROTATE_90 | DRM_MODE_ROTATE_270); 47 unsigned int rotation, 49 unsigned int drm_rotation_simplify(unsigned int rotation,
|
H A D | drm_mipi_dbi.h | 105 * @rotation: initial rotation in degrees Counter Clock Wise 107 unsigned int rotation; member in struct:mipi_dbi_dev 161 unsigned int rotation, size_t tx_buf_size); 164 const struct drm_display_mode *mode, unsigned int rotation);
|
/linux-master/drivers/iio/orientation/ |
H A D | Makefile | 8 obj-$(CONFIG_HID_SENSOR_DEVICE_ROTATION) += hid-sensor-rotation.o
|
/linux-master/drivers/gpu/drm/tests/ |
H A D | drm_plane_helper_test.c | 41 unsigned int rotation; member in struct:drm_check_plane_state_test 67 mock->rotation = params->rotation; 144 .rotation = DRM_MODE_ROTATE_0, 158 .rotation = DRM_MODE_ROTATE_90 | DRM_MODE_REFLECT_X, 170 .rotation = DRM_MODE_ROTATE_0, 182 .rotation = DRM_MODE_ROTATE_0, 194 .rotation = DRM_MODE_ROTATE_0, 206 .rotation = DRM_MODE_ROTATE_0, 218 .rotation [all...] |
/linux-master/drivers/iio/imu/inv_mpu6050/ |
H A D | inv_mpu_magn.c | 275 st->magn_orient.rotation[0] = st->orientation.rotation[3]; 276 st->magn_orient.rotation[1] = st->orientation.rotation[4]; 277 st->magn_orient.rotation[2] = st->orientation.rotation[5]; 279 st->magn_orient.rotation[3] = st->orientation.rotation[0]; 280 st->magn_orient.rotation[4] = st->orientation.rotation[ [all...] |
/linux-master/drivers/media/platform/ti/omap/ |
H A D | omap_voutdef.h | 60 * DSS understands rotation in 0, 1, 2, 3 context 70 /* Enum for choosing rotation type for vout 71 * DSS2 doesn't understand no rotation as an 73 * rotation in the case where VRFB is not built in 154 enum dss_rotation rotation; member in struct:omap_vout_device 182 * Return true if rotation is 90 or 270 186 return (vout->rotation == dss_rotation_90_degree || 187 vout->rotation == dss_rotation_270_degree); 191 * Return true if rotation is enabled 195 return vout->rotation || vou [all...] |
/linux-master/drivers/gpu/drm/ |
H A D | drm_blend.c | 101 * rotation: 103 * rotation and reflection step between the source and destination rectangles. 239 * drm_plane_create_rotation_property - create a new rotation property 241 * @rotation: initial value of the rotation property 246 * Since a rotation by 180�� degress is the same as reflecting both along the x 247 * and the y axis the rotation property is somewhat redundant. Drivers can use 251 * drm_property_create_bitmask()) called "rotation" and has the following 269 * rotation. After reflection, the rotation i 272 drm_plane_create_rotation_property(struct drm_plane *plane, unsigned int rotation, unsigned int supported_rotations) argument 325 drm_rotation_simplify(unsigned int rotation, unsigned int supported_rotations) argument [all...] |
H A D | drm_rect.c | 242 * @rotation: Transformation to be applied 244 * Apply @rotation to the coordinates of rectangle @r. 246 * @width and @height combined with @rotation define 255 unsigned int rotation) 259 if (rotation & (DRM_MODE_REFLECT_X | DRM_MODE_REFLECT_Y)) { 262 if (rotation & DRM_MODE_REFLECT_X) { 267 if (rotation & DRM_MODE_REFLECT_Y) { 273 switch (rotation & DRM_MODE_ROTATE_MASK) { 308 * @rotation: Transformation whose inverse is to be applied 310 * Apply the inverse of @rotation t 253 drm_rect_rotate(struct drm_rect *r, int width, int height, unsigned int rotation) argument 327 drm_rect_rotate_inv(struct drm_rect *r, int width, int height, unsigned int rotation) argument [all...] |
H A D | drm_panel.c | 338 * the "rotation" binding from a device tree node 342 * Looks up the rotation of a panel in the device tree. The orientation of the 343 * panel is expressed as a property name "rotation" in the device tree. The 344 * rotation in the device tree is counter clockwise. 346 * Return: 0 when a valid rotation value (0, 90, 180, or 270) is read or the 347 * rotation property doesn't exist. Return a negative error code on failure. 352 int rotation, ret; local 354 ret = of_property_read_u32(np, "rotation", &rotation); 356 /* Don't return an error if there's no rotation propert [all...] |
H A D | drm_plane_helper.c | 99 unsigned int rotation, 118 .rotation = rotation, 94 drm_plane_helper_check_update(struct drm_plane *plane, struct drm_crtc *crtc, struct drm_framebuffer *fb, struct drm_rect *src, struct drm_rect *dst, unsigned int rotation, int min_scale, int max_scale, bool can_position, bool can_update_disabled, bool *visible) argument
|
/linux-master/drivers/gpu/drm/i915/display/ |
H A D | i9xx_plane.h | 21 unsigned int rotation); 34 unsigned int rotation) 32 i965_plane_max_stride(struct intel_plane *plane, u32 pixel_format, u64 modifier, unsigned int rotation) argument
|
H A D | skl_universal_plane.c | 327 unsigned int rotation) 366 unsigned int rotation) 394 unsigned int rotation) 434 unsigned int rotation) 444 unsigned int rotation) 451 unsigned int rotation) 458 unsigned int rotation) 466 unsigned int rotation) 493 if (drm_rotation_90_or_270(rotation)) 592 int color_plane, unsigned int rotation) 325 skl_plane_max_width(const struct drm_framebuffer *fb, int color_plane, unsigned int rotation) argument 364 glk_plane_max_width(const struct drm_framebuffer *fb, int color_plane, unsigned int rotation) argument 392 icl_plane_min_width(const struct drm_framebuffer *fb, int color_plane, unsigned int rotation) argument 432 icl_hdr_plane_max_width(const struct drm_framebuffer *fb, int color_plane, unsigned int rotation) argument 442 icl_sdr_plane_max_width(const struct drm_framebuffer *fb, int color_plane, unsigned int rotation) argument 449 skl_plane_max_height(const struct drm_framebuffer *fb, int color_plane, unsigned int rotation) argument 456 icl_plane_max_height(const struct drm_framebuffer *fb, int color_plane, unsigned int rotation) argument 464 skl_plane_max_stride(struct intel_plane *plane, u32 pixel_format, u64 modifier, unsigned int rotation) argument 591 skl_plane_stride_mult(const struct drm_framebuffer *fb, int color_plane, unsigned int rotation) argument 610 unsigned int rotation = plane_state->hw.rotation; local 917 unsigned int rotation = plane_state->hw.rotation; local 1427 unsigned int rotation = plane_state->hw.rotation; local 1539 unsigned int rotation = plane_state->hw.rotation; local 1570 intel_plane_min_width(struct intel_plane *plane, const struct drm_framebuffer *fb, int color_plane, unsigned int rotation) argument 1581 intel_plane_max_width(struct intel_plane *plane, const struct drm_framebuffer *fb, int color_plane, unsigned int rotation) argument 1592 intel_plane_max_height(struct intel_plane *plane, const struct drm_framebuffer *fb, int color_plane, unsigned int rotation) argument 1705 const unsigned int rotation = plane_state->hw.rotation; local 1776 unsigned int rotation = plane_state->hw.rotation; local [all...] |
/linux-master/drivers/video/fbdev/aty/ |
H A D | mach64_accel.c | 30 u32 rotation; local 32 rotation = (dx / 4) % 6; 34 rotation = ((dx + 2) / 4) % 6; 37 return ((rotation << 8) | DST_24_ROTATION_ENABLE); 203 u32 sx = area->sx, dx = area->dx, width = area->width, rotation = 0; local 235 rotation = rotation24bpp(dx, direction); 243 aty_st_le32(DST_CNTL, direction | rotation, par); 250 u32 color, dx = rect->dx, width = rect->width, rotation = 0; local 272 rotation = rotation24bpp(dx, DST_X_LEFT_TO_RIGHT); 283 DST_X_LEFT_TO_RIGHT | rotation, pa 291 u32 pix_width, rotation = 0, src, mix; local [all...] |
/linux-master/drivers/gpu/drm/amd/display/modules/inc/ |
H A D | mod_shared.h | 103 enum lut3d_control_rotation_mode rotation; member in struct:lut3d_settings
|
/linux-master/drivers/gpu/drm/mediatek/ |
H A D | mtk_drm_plane.h | 31 unsigned int rotation; member in struct:mtk_plane_pending_state
|
/linux-master/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | dpu_plane.h | 33 * @rotation: simplified drm rotation hint 50 unsigned int rotation; member in struct:dpu_plane_state
|
/linux-master/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_plane.h | 45 const enum dc_rotation_angle rotation,
|
/linux-master/drivers/gpu/drm/arm/display/komeda/ |
H A D | komeda_kms.h | 161 u32 rotation = drm_rotation_simplify(rot, local 166 if (rotation & DRM_MODE_ROTATE_90) 167 return !!(rotation & DRM_MODE_REFLECT_Y); 169 return !!(rotation & DRM_MODE_REFLECT_X);
|
/linux-master/drivers/gpu/drm/amd/display/dc/dcn35/ |
H A D | dcn35_hubp.h | 70 enum dc_rotation_angle rotation,
|
/linux-master/drivers/gpu/drm/amd/display/dc/inc/hw/ |
H A D | mem_input.h | 145 enum dc_rotation_angle rotation); 160 enum dc_rotation_angle rotation,
|
/linux-master/drivers/gpu/drm/exynos/ |
H A D | exynos_drm_fimc.c | 33 * FIMC supports image rotation and image effect functions. 416 static void fimc_src_set_transf(struct fimc_context *ctx, unsigned int rotation) argument 418 unsigned int degree = rotation & DRM_MODE_ROTATE_MASK; 421 DRM_DEV_DEBUG_KMS(ctx->dev, "rotation[%x]\n", rotation); 432 if (rotation & DRM_MODE_REFLECT_X) 434 if (rotation & DRM_MODE_REFLECT_Y) 439 if (rotation & DRM_MODE_REFLECT_X) 441 if (rotation & DRM_MODE_REFLECT_Y) 447 if (rotation 689 fimc_dst_set_transf(struct fimc_context *ctx, unsigned int rotation) argument [all...] |
/linux-master/drivers/gpu/drm/tiny/ |
H A D | hx8357d.c | 163 switch (dbidev->rotation) { 223 u32 rotation = 0; local 241 device_property_read_u32(dev, "rotation", &rotation); 247 ret = mipi_dbi_dev_init(dbidev, &hx8357d_pipe_funcs, &yx350hv15_mode, rotation);
|
H A D | ili9163.c | 81 switch (dbidev->rotation) { 143 u32 rotation = 0; local 172 device_property_read_u32(dev, "rotation", &rotation); 178 ret = mipi_dbi_dev_init(dbidev, &ili9163_pipe_funcs, &yx240qv29_mode, rotation);
|
H A D | st7735r.c | 95 switch (dbidev->rotation) { 189 u32 rotation = 0; local 219 device_property_read_u32(dev, "rotation", &rotation); 232 rotation);
|
H A D | mi0283qt.c | 118 * As a result, we need to always apply the rotation value 121 switch (dbidev->rotation) { 184 u32 rotation = 0; local 211 device_property_read_u32(dev, "rotation", &rotation); 217 ret = mipi_dbi_dev_init(dbidev, &mi0283qt_pipe_funcs, &mi0283qt_mode, rotation);
|