Home
last modified time | relevance | path

Searched full:rotation (Results 1 – 25 of 261) sorted by relevance

1234567891011

/linux/drivers/gpu/drm/
H A Ddrm_rect.c241 * @rotation: Transformation to be applied
243 * Apply @rotation to the coordinates of rectangle @r.
245 * @width and @height combined with @rotation define
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()
307 * @rotation: Transformation whose inverse is to be applied
309 * Apply the inverse of @rotation to the coordinates
[all …]
/linux/drivers/gpu/drm/tests/
H A Ddrm_plane_helper_test.c41 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/video/fbdev/aty/
H A Dmach64_accel.c30 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/drivers/gpu/drm/exynos/
H A Dexynos_drm_fimc.c33 * FIMC supports image rotation and image effect functions.
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()
[all …]
H A Dexynos_drm_scaler.c264 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 Dexynos_drm_rotator.c161 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()
/linux/drivers/iio/orientation/
H A DKconfig24 tristate "HID Device Rotation"
27 device rotation. The output of a device rotation sensor
/linux/Documentation/devicetree/bindings/display/
H A Dilitek,ili9225.txt15 - rotation: panel rotation in degrees counter clockwise (0,90,180,270)
24 rotation = <270>;
H A Dmulti-inno,mi0283qt.txt17 - rotation: panel rotation in degrees counter clockwise (0,90,180,270)
24 rotation = <90>;
/linux/drivers/media/platform/ti/omap/
H A Domap_vout_vrfb.c206 /* If rotation is enabled, allocate memory for VRFB space also */ in omap_vout_vrfb_buffer_setup()
240 enum dss_rotation rotation; in omap_vout_prepare_vrfb() local
247 /* If rotation is enabled, copy input buffer into VRFB in omap_vout_prepare_vrfb()
307 rotation = calc_rotation(vout); in omap_vout_prepare_vrfb()
309 vout->vrfb_context[vb->index].paddr[rotation]; in omap_vout_prepare_vrfb()
316 * the VRFB 32 pixels alignment with rotation.
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 Domap_vout.c20 * 20-APR-2006 Khasim Modified VRFB based Rotation,
23 * to the virtual space of desired rotation angle
172 * Convert V4L2 rotation to DSS rotation
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()
299 * rotation value selected. in omapvid_setup_overlay()
323 info.rotation = 0; in omapvid_setup_overlay()
[all …]
/linux/drivers/gpu/drm/omapdrm/
H A Domap_fb.c156 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()
202 "rotation '%d' ignored for non-tiled fb\n", 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/Documentation/hwmon/
H A Dlm80.rst40 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 Dgl518sm.rst39 The GL518SM implements one temperature sensor, two fan rotation speed
49 Rotation speeds are reported in RPM (rotations per minute). An alarm is
50 triggered if the rotation speed has dropped below a programmable limit. In
H A Dlm78.rst42 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 Dlm87.rst39 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
H A Dw83792d.rst44 The driver implements three temperature sensors, seven fan rotation speed
63 Fan rotation speeds are reported in RPM (rotations per minute). An alarm is
64 triggered if the rotation speed has dropped below a programmable limit. Fan
105 of full speed rotation of corresponding fan.
H A Dvia686a.rst45 The Via 686a implements three temperature sensors, two fan rotation speed
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 Demc2103.rst23 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
/linux/drivers/gpu/drm/arm/display/komeda/
H A Dkomeda_kms.h161 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/samples/hid/
H A Dhid_surface_dial.c6 * - a resolution (-r) of 3600 will report 3600 "ticks" in one full rotation
8 * - any other resolution will report N "ticks" in a full rotation with haptic
58 "- a resolution (-r) of 3600 will report 3600 'ticks' in one full rotation\n" in usage()
60 "- any other resolution will report N 'ticks' in a full rotation with haptic\n" in usage()
/linux/drivers/media/platform/sunxi/sun8i-rotate/
H A DKconfig4 tristate "Allwinner DE2 rotation driver"
13 Support for the Allwinner DE2 rotation unit.
/linux/drivers/gpu/drm/arm/
H A Dmalidp_hw.h36 ROTATE_NONE, /* does not support rotation at all */
37 ROTATE_ANY, /* supports rotation on any buffers */
38 ROTATE_COMPRESSED, /* supports rotation only on compressed buffers */
68 enum rotation_features rot; /* type of rotation supported */
180 * Calculate the required rotation memory given the active area
/linux/Documentation/devicetree/bindings/counter/
H A Dinterrupt-counter.yaml14 and used for agricultural devices to measure rotation speed of wheels or
15 other tools. Since the direction of rotation is not important, only one
/linux/drivers/staging/media/imx/
H A Dimx-ic-prpencvf.c7 * for resizing, colorspace conversion, and rotation.
86 int rotation; /* degrees */ member
90 /* derived from rotation, hflip, vflip controls */
802 * rotation mode.
805 * for 90 or 270 rotation, _both_ output width and height must
806 * be aligned by W_ALIGN_SRC, because the intermediate rotation
1076 int rotation, ret = 0; in prp_s_ctrl() local
1081 rotation = priv->rotation; in prp_s_ctrl()
1093 rotation = ctrl->val; in prp_s_ctrl()
1101 ret = ipu_degrees_to_rot_mode(&rot_mode, rotation, hflip, vflip); in prp_s_ctrl()
[all …]

1234567891011