| /linux/drivers/gpu/drm/tests/ |
| H A D | drm_plane_helper_test.c | 41 unsigned int rotation; member 67 mock->rotation = params->rotation; in drm_plane_helper_init() 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 = DRM_MODE_ROTATE_0, 230 .rotation = DRM_MODE_ROTATE_0, [all …]
|
| /linux/drivers/gpu/drm/ |
| H A D | drm_rect.c | 254 unsigned int rotation) in drm_rect_rotate() argument 258 if (rotation & (DRM_MODE_REFLECT_X | DRM_MODE_REFLECT_Y)) { in drm_rect_rotate() 261 if (rotation & DRM_MODE_REFLECT_X) { in drm_rect_rotate() 266 if (rotation & DRM_MODE_REFLECT_Y) { in drm_rect_rotate() 272 switch (rotation & DRM_MODE_ROTATE_MASK) { in drm_rect_rotate() 328 unsigned int rotation) in drm_rect_rotate_inv() argument 332 switch (rotation & DRM_MODE_ROTATE_MASK) { in drm_rect_rotate_inv() 360 if (rotation & (DRM_MODE_REFLECT_X | DRM_MODE_REFLECT_Y)) { in drm_rect_rotate_inv() 363 if (rotation & DRM_MODE_REFLECT_X) { in drm_rect_rotate_inv() 368 if (rotation & DRM_MODE_REFLECT_Y) { in drm_rect_rotate_inv()
|
| H A D | drm_plane_helper.c | 100 unsigned int rotation, in drm_plane_helper_check_update() argument 119 .rotation = rotation, in drm_plane_helper_check_update()
|
| /linux/drivers/video/fbdev/aty/ |
| H A D | mach64_accel.c | 30 u32 rotation; in rotation24bpp() local 32 rotation = (dx / 4) % 6; in rotation24bpp() 34 rotation = ((dx + 2) / 4) % 6; in rotation24bpp() 37 return ((rotation << 8) | DST_24_ROTATION_ENABLE); in rotation24bpp() 203 u32 sx = area->sx, dx = area->dx, width = area->width, rotation = 0; in atyfb_copyarea() local 235 rotation = rotation24bpp(dx, direction); in atyfb_copyarea() 243 aty_st_le32(DST_CNTL, direction | rotation, par); in atyfb_copyarea() 250 u32 color, dx = rect->dx, width = rect->width, rotation = 0; in atyfb_fillrect() local 272 rotation = rotation24bpp(dx, DST_X_LEFT_TO_RIGHT); in atyfb_fillrect() 283 DST_X_LEFT_TO_RIGHT | rotation, par); in atyfb_fillrect() [all …]
|
| /linux/Documentation/devicetree/bindings/display/ |
| H A D | ilitek,ili9225.txt | 15 - rotation: panel rotation in degrees counter clockwise (0,90,180,270) 24 rotation = <270>;
|
| H A D | multi-inno,mi0283qt.txt | 17 - rotation: panel rotation in degrees counter clockwise (0,90,180,270) 24 rotation = <90>;
|
| /linux/drivers/gpu/drm/arm/display/komeda/ |
| H A D | komeda_kms.h | 161 u32 rotation = drm_rotation_simplify(rot, in has_flip_h() local 166 if (rotation & DRM_MODE_ROTATE_90) in has_flip_h() 167 return !!(rotation & DRM_MODE_REFLECT_Y); in has_flip_h() 169 return !!(rotation & DRM_MODE_REFLECT_X); in has_flip_h()
|
| /linux/drivers/gpu/drm/exynos/ |
| H A D | exynos_drm_fimc.c | 416 static void fimc_src_set_transf(struct fimc_context *ctx, unsigned int rotation) in fimc_src_set_transf() argument 418 unsigned int degree = rotation & DRM_MODE_ROTATE_MASK; in fimc_src_set_transf() 421 DRM_DEV_DEBUG_KMS(ctx->dev, "rotation[%x]\n", rotation); in fimc_src_set_transf() 432 if (rotation & DRM_MODE_REFLECT_X) in fimc_src_set_transf() 434 if (rotation & DRM_MODE_REFLECT_Y) in fimc_src_set_transf() 439 if (rotation & DRM_MODE_REFLECT_X) in fimc_src_set_transf() 441 if (rotation & DRM_MODE_REFLECT_Y) in fimc_src_set_transf() 447 if (rotation & DRM_MODE_REFLECT_X) in fimc_src_set_transf() 449 if (rotation & DRM_MODE_REFLECT_Y) in fimc_src_set_transf() 456 if (rotation & DRM_MODE_REFLECT_X) in fimc_src_set_transf() [all …]
|
| H A D | exynos_drm_rotator.c | 161 unsigned int rotation) in rotator_dst_set_transf() argument 169 if (rotation & DRM_MODE_REFLECT_X) in rotator_dst_set_transf() 171 if (rotation & DRM_MODE_REFLECT_Y) in rotator_dst_set_transf() 176 if (rotation & DRM_MODE_ROTATE_90) in rotator_dst_set_transf() 178 else if (rotation & DRM_MODE_ROTATE_180) in rotator_dst_set_transf() 180 else if (rotation & DRM_MODE_ROTATE_270) in rotator_dst_set_transf() 233 rotator_dst_set_transf(rot, task->transform.rotation); in rotator_commit()
|
| H A D | exynos_drm_scaler.c | 264 unsigned int rotation, in scaler_set_hv_ratio() argument 270 if (drm_rotation_90_or_270(rotation)) { in scaler_set_hv_ratio() 286 unsigned int rotation) in scaler_set_rotation() argument 290 if (rotation & DRM_MODE_ROTATE_90) in scaler_set_rotation() 292 else if (rotation & DRM_MODE_ROTATE_180) in scaler_set_rotation() 294 else if (rotation & DRM_MODE_ROTATE_270) in scaler_set_rotation() 296 if (rotation & DRM_MODE_REFLECT_X) in scaler_set_rotation() 298 if (rotation & DRM_MODE_REFLECT_Y) in scaler_set_rotation() 393 scaler_set_hv_ratio(scaler, task->transform.rotation, src_pos, dst_pos); in scaler_commit() 394 scaler_set_rotation(scaler, task->transform.rotation); in scaler_commit()
|
| H A D | exynos_drm_gsc.c | 112 bool rotation; member 520 static void gsc_src_set_transf(struct gsc_context *ctx, unsigned int rotation) in gsc_src_set_transf() argument 522 unsigned int degree = rotation & DRM_MODE_ROTATE_MASK; in gsc_src_set_transf() 530 if (rotation & DRM_MODE_REFLECT_X) in gsc_src_set_transf() 532 if (rotation & DRM_MODE_REFLECT_Y) in gsc_src_set_transf() 537 if (rotation & DRM_MODE_REFLECT_X) in gsc_src_set_transf() 539 if (rotation & DRM_MODE_REFLECT_Y) in gsc_src_set_transf() 544 if (rotation & DRM_MODE_REFLECT_X) in gsc_src_set_transf() 546 if (rotation & DRM_MODE_REFLECT_Y) in gsc_src_set_transf() 551 if (rotation & DRM_MODE_REFLECT_X) in gsc_src_set_transf() [all …]
|
| /linux/drivers/gpu/drm/omapdrm/ |
| H A D | omap_fb.c | 156 if (drm_rotation_90_or_270(state->rotation)) in omap_framebuffer_update_scanout() 166 orient = drm_rotation_to_tiler(state->rotation); in omap_framebuffer_update_scanout() 190 info->rotation = state->rotation ?: DRM_MODE_ROTATE_0; in omap_framebuffer_update_scanout() 194 switch (state->rotation & DRM_MODE_ROTATE_MASK) { in omap_framebuffer_update_scanout() 203 state->rotation); in omap_framebuffer_update_scanout() 209 info->rotation = DRM_MODE_ROTATE_0; in omap_framebuffer_update_scanout()
|
| /linux/drivers/media/platform/sunxi/sun8i-rotate/ |
| H A D | Kconfig | 4 tristate "Allwinner DE2 rotation driver" 13 Support for the Allwinner DE2 rotation unit.
|
| /linux/drivers/media/platform/ti/omap/ |
| H A D | omap_vout_vrfb.c | 240 enum dss_rotation rotation; in omap_vout_prepare_vrfb() local 307 rotation = calc_rotation(vout); in omap_vout_prepare_vrfb() 309 vout->vrfb_context[vb->index].paddr[rotation]; in omap_vout_prepare_vrfb() 320 enum dss_rotation rotation; in omap_vout_calculate_vrfb_offset() local 328 rotation = calc_rotation(vout); in omap_vout_calculate_vrfb_offset() 360 switch (rotation) { in omap_vout_calculate_vrfb_offset()
|
| H A D | omap_vout.c | 177 enum dss_rotation *rotation, bool mirror) in v4l2_rot_to_dss_rot() argument 183 *rotation = dss_rotation_90_degree; in v4l2_rot_to_dss_rot() 186 *rotation = dss_rotation_180_degree; in v4l2_rot_to_dss_rot() 189 *rotation = dss_rotation_270_degree; in v4l2_rot_to_dss_rot() 192 *rotation = dss_rotation_0_degree; in v4l2_rot_to_dss_rot() 323 info.rotation = 0; in omapvid_setup_overlay() 327 info.rotation = vout->rotation; in omapvid_setup_overlay() 337 info.color_mode, info.rotation, info.mirror, info.pos_x, in omapvid_setup_overlay() 378 switch (vout->rotation) { in omapvid_init() 870 int rotation = ctrl->val; in omap_vout_s_ctrl() local [all …]
|
| /linux/drivers/iio/orientation/ |
| H A D | Kconfig | 27 device rotation. The output of a device rotation sensor
|
| /linux/drivers/gpu/drm/imx/dcss/ |
| H A D | dcss-dpr.c | 532 void dcss_dpr_set_rotation(struct dcss_dpr *dpr, int ch_num, u32 rotation) in dcss_dpr_set_rotation() argument 538 ch->frame_ctrl |= rotation & DRM_MODE_REFLECT_X ? HFLIP_EN : 0; in dcss_dpr_set_rotation() 539 ch->frame_ctrl |= rotation & DRM_MODE_REFLECT_Y ? VFLIP_EN : 0; in dcss_dpr_set_rotation() 541 if (rotation & DRM_MODE_ROTATE_90) in dcss_dpr_set_rotation() 543 else if (rotation & DRM_MODE_ROTATE_180) in dcss_dpr_set_rotation() 545 else if (rotation & DRM_MODE_ROTATE_270) in dcss_dpr_set_rotation()
|
| /linux/Documentation/hwmon/ |
| H A D | emc2103.rst | 23 Fan rotation speeds are reported in RPM (rotations per minute). An alarm is 24 triggered if the rotation speed has dropped below a programmable limit. Fan
|
| H A D | lm80.rst | 40 The LM80 implements one temperature sensor, two fan rotation speed sensors, 52 Fan rotation speeds are reported in RPM (rotations per minute). An alarm is 53 triggered if the rotation speed has dropped below a programmable limit. Fan
|
| H A D | w83l786ng.rst | 32 The driver implements two temperature sensors, two fan rotation speed 38 Fan rotation speeds are reported in RPM (rotations per minute). Fan readings
|
| H A D | lm78.rst | 42 The LM7* implements one temperature sensor, three fan rotation speed sensors, 53 Fan rotation speeds are reported in RPM (rotations per minute). An alarm is 54 triggered if the rotation speed has dropped below a programmable limit. Fan
|
| H A D | lm87.rst | 39 rotation speed sensors, up to seven voltage sensors, alarms, and some 47 Fan rotation speeds are reported in RPM (rotations per minute). An alarm is 48 triggered if the rotation speed has dropped below a programmable limit. Fan
|
| /linux/drivers/video/fbdev/ |
| H A D | goldfishfb.c | 43 int rotation; member 120 if (fb->rotation != fb->fb.var.rotate) { in goldfish_fb_set_par() 122 fb->rotation = fb->fb.var.rotate; in goldfish_fb_set_par() 123 writel(fb->rotation, fb->reg_base + FB_SET_ROTATION); in goldfish_fb_set_par()
|
| /linux/include/media/ |
| H A D | ipu-bridge.h | 99 char rotation[9]; member 139 u32 rotation; member
|
| /linux/include/drm/ |
| H A D | drm_rect.h | 269 unsigned int rotation); 272 unsigned int rotation);
|