Searched defs:rotation (Results 1 - 23 of 23) sorted by relevance

/drivers/gpu/drm/
H A Ddrm_rect.c302 * @rotation: Transformation to be applied
304 * Apply @rotation to the coordinates of rectangle @r.
306 * @width and @height combined with @rotation define
315 unsigned int rotation)
319 if (rotation & (BIT(DRM_REFLECT_X) | BIT(DRM_REFLECT_Y))) {
322 if (rotation & BIT(DRM_REFLECT_X)) {
327 if (rotation & BIT(DRM_REFLECT_Y)) {
333 switch (rotation & 0xf) {
368 * @rotation: Transformation whose inverse is to be applied
370 * Apply the inverse of @rotation t
313 drm_rect_rotate(struct drm_rect *r, int width, int height, unsigned int rotation) argument
387 drm_rect_rotate_inv(struct drm_rect *r, int width, int height, unsigned int rotation) argument
[all...]
H A Ddrm_crtc.c5044 * drm_rotation_simplify() - Try to simplify the rotation
5045 * @rotation: Rotation to be simplified
5048 * Attempt to simplify the rotation to a form that is supported.
5052 * drm_rotation_simplify(rotation, BIT(DRM_ROTATE_0) |
5061 unsigned int drm_rotation_simplify(unsigned int rotation, argument
5064 if (rotation & ~supported_rotations) {
5065 rotation ^= BIT(DRM_REFLECT_X) | BIT(DRM_REFLECT_Y);
5066 rotation = (rotation & ~0xf) | BIT((ffs(rotation
[all...]
/drivers/gpu/drm/omapdrm/
H A Domap_drv.h46 uint32_t rotation; member in struct:omap_drm_window
/drivers/media/platform/omap/
H A Domap_vout_vrfb.c193 /* If rotation is enabled, allocate memory for VRFB space also */
222 enum dss_rotation rotation; local
231 /* If rotation is enabled, copy input buffer into VRFB
262 rotation = calc_rotation(vout);
283 vout->vrfb_context[vb->i].paddr[rotation];
290 * the VRFB 32 pixels alignment with rotation.
294 enum dss_rotation rotation; local
302 rotation = calc_rotation(vout);
334 switch (rotation) {
H A Domap_voutdef.h57 * DSS understands rotation in 0, 1, 2, 3 context
67 /* Enum for choosing rotation type for vout
68 * DSS2 doesn't understand no rotation as an
70 * rotation in the case where VRFB is not built in
154 enum dss_rotation rotation; member in struct:omap_vout_device
188 * Return true if rotation is 90 or 270
192 return (vout->rotation == dss_rotation_90_degree ||
193 vout->rotation == dss_rotation_270_degree);
197 * Return true if rotation is enabled
201 return vout->rotation || vou
[all...]
H A Domap_vout.c23 * to the virtual space of desired rotation angle
260 * Convert V4L2 rotation to DSS rotation
265 enum dss_rotation *rotation, bool mirror)
271 *rotation = dss_rotation_90_degree;
274 *rotation = dss_rotation_180_degree;
277 *rotation = dss_rotation_270_degree;
280 *rotation = dss_rotation_0_degree;
387 * rotation value selected.
411 info.rotation
264 v4l2_rot_to_dss_rot(int v4l2_rotation, enum dss_rotation *rotation, bool mirror) argument
1395 int rotation = a->value; local
[all...]
/drivers/video/fbdev/aty/
H A Dmach64_accel.c29 u32 rotation; local
31 rotation = (dx / 4) % 6;
33 rotation = ((dx + 2) / 4) % 6;
36 return ((rotation << 8) | DST_24_ROTATION_ENABLE);
200 u32 sx = area->sx, dx = area->dx, width = area->width, rotation = 0; local
232 rotation = rotation24bpp(dx, direction);
239 aty_st_le32(DST_CNTL, direction | rotation, par);
246 u32 color, dx = rect->dx, width = rect->width, rotation = 0; local
268 rotation = rotation24bpp(dx, DST_X_LEFT_TO_RIGHT);
278 DST_X_LEFT_TO_RIGHT | rotation, pa
286 u32 pix_width_save, pix_width, host_cntl, rotation = 0, src, mix; local
[all...]
/drivers/video/fbdev/
H A Dgoldfishfb.c51 int rotation; member in struct:goldfish_fb
127 if (fb->rotation != fb->fb.var.rotate) {
129 fb->rotation = fb->fb.var.rotate;
130 writel(fb->rotation, fb->reg_base + FB_SET_ROTATION);
/drivers/video/fbdev/omap2/omapfb/
H A Domapfb-sysfs.c286 ofbi->rotation[t-1] = ofbi->rotation[t];
310 ofbi->rotation[ofbi->num_overlays] = 0;
348 t == 0 ? "" : ",", ofbi->rotation[t]);
366 u8 rotation[OMAPFB_MAX_OVL_PER_FB]; local
392 if (ofbi->rotation[num_ovls] != rot)
395 rotation[num_ovls++] = rot;
408 ofbi->rotation[i] = rotation[i];
H A Domapfb.h77 u8 rotation[OMAPFB_MAX_OVL_PER_FB]; member in struct:omapfb_info
H A Domapfb-main.c495 * Consider if VRFB assisted rotation is in use and if the virtual space for
772 const struct fb_fix_screeninfo *fix, int rotation)
783 const struct fb_fix_screeninfo *fix, int rotation)
787 if (rotation == FB_ROTATE_UD)
790 else if (rotation == FB_ROTATE_CW)
796 if (rotation == FB_ROTATE_UR)
799 else if (rotation == FB_ROTATE_UD)
802 else if (rotation == FB_ROTATE_CW)
805 else if (rotation == FB_ROTATE_CCW)
815 int rotation, u3
771 calc_rotation_offset_dma(const struct fb_var_screeninfo *var, const struct fb_fix_screeninfo *fix, int rotation) argument
782 calc_rotation_offset_vrfb(const struct fb_var_screeninfo *var, const struct fb_fix_screeninfo *fix, int rotation) argument
812 omapfb_calc_addr(const struct omapfb_info *ofbi, const struct fb_var_screeninfo *var, const struct fb_fix_screeninfo *fix, int rotation, u32 *paddr) argument
855 int rotation = var->rotate; local
967 int rotation = (var->rotate + ofbi->rotation[i]) % 4; local
1764 int rotation = (var->rotate + ofbi->rotation[0]) % 4; local
[all...]
/drivers/gpu/drm/exynos/
H A Dexynos_drm_gsc.c32 * GSC supports image rotation and image effect functions.
34 * M2M operation : supports crop/scale/rotation/csc so on.
109 * @tile_w: tile mode or rotation width.
110 * @tile_h: tile mode or rotation height.
115 /* tile or rotation */
134 * @rotation: supports rotation of src.
146 bool rotation; member in struct:gsc_context
599 ctx->rotation = cfg &
601 *swap = ctx->rotation;
[all...]
/drivers/gpu/ipu-v3/
H A Dipu-ic.c151 bool rotation; member in struct:ipu_ic
342 if (ic->rotation)
382 ic->rotation = ic->graphics = false;
624 ic->rotation = true;
640 if (ic->rotation)
/drivers/media/platform/exynos4-is/
H A Dfimc-core.c217 int dw, int dh, int rotation)
219 if (rotation == 90 || rotation == 270)
259 if (ctx->rotation == 90 || ctx->rotation == 270) {
561 ctx->rotation = ctrl->val;
668 ctx->rotation = ctrls->rotate->val;
673 ctx->rotation = 0;
216 fimc_check_scaler_ratio(struct fimc_ctx *ctx, int sw, int sh, int dw, int dh, int rotation) argument
H A Dfimc-capture.c151 * spinlock held. It updates the camera pixel crop, rotation and
587 bool rotation = ctx->rotation == 90 || ctx->rotation == 270; local
635 max_w = rotation ? pl->out_rot_en_w : pl->out_rot_dis_w;
643 if (var->min_vsize_align == 1 && !rotation)
664 bool rotate = ctx->rotation == 90 || ctx->rotation == 270;
681 if (ctx->rotation != 90 && ctx->rotation !
[all...]
H A Dfimc-core.h447 * @rotate: image rotation control
478 * @rotation: image clockwise rotation in degrees
498 int rotation; member in struct:fimc_ctx
634 int dw, int dh, int rotation);
H A Dfimc-is-param.h746 struct param_scaler_rotation rotation; member in struct:scalerp_param
/drivers/media/platform/exynos-gsc/
H A Dgsc-core.h157 * @rotate: rotation degree
374 int rotation; member in struct:gsc_ctx
/drivers/media/platform/s3c-camif/
H A Dcamif-core.h206 * @rotation: current image rotation value
232 u16 rotation; member in struct:camif_vp
/drivers/net/wireless/b43/
H A Dphy_lp.c1784 int rotation = (((36 * freq) / 20) << 16) / 100; local
1802 angle += rotation;
/drivers/gpu/drm/i915/
H A Dintel_drv.h465 unsigned int rotation; member in struct:intel_plane
H A Dintel_bios.h791 u32 rotation:2; member in struct:mipi_config
/drivers/video/fbdev/omap2/dss/
H A Ddispc.c1347 bool five_taps, u8 rotation,
1362 bool ilace, enum omap_color_mode color_mode, u8 rotation)
1400 switch (rotation) {
1453 u8 rotation)
1461 rotation, DISPC_COLOR_COMPONENT_RGB_Y);
1507 u8 rotation)
1525 out_height, ilace, color_mode, rotation);
1542 /* For YUV422 with 90/270 rotation, we don't upsample chroma */
1543 if (rotation == OMAP_DSS_ROT_0 ||
1544 rotation
1344 dispc_ovl_set_scale_param(enum omap_plane plane, u16 orig_width, u16 orig_height, u16 out_width, u16 out_height, bool five_taps, u8 rotation, enum omap_color_component color_comp) argument
1360 dispc_ovl_set_accu_uv(enum omap_plane plane, u16 orig_width, u16 orig_height, u16 out_width, u16 out_height, bool ilace, enum omap_color_mode color_mode, u8 rotation) argument
1448 dispc_ovl_set_scaling_common(enum omap_plane plane, u16 orig_width, u16 orig_height, u16 out_width, u16 out_height, bool ilace, bool five_taps, bool fieldmode, enum omap_color_mode color_mode, u8 rotation) argument
1502 dispc_ovl_set_scaling_uv(enum omap_plane plane, u16 orig_width, u16 orig_height, u16 out_width, u16 out_height, bool ilace, bool five_taps, bool fieldmode, enum omap_color_mode color_mode, u8 rotation) argument
1582 dispc_ovl_set_scaling(enum omap_plane plane, u16 orig_width, u16 orig_height, u16 out_width, u16 out_height, bool ilace, bool five_taps, bool fieldmode, enum omap_color_mode color_mode, u8 rotation) argument
1606 dispc_ovl_set_rotation_attrs(enum omap_plane plane, u8 rotation, enum omap_dss_rotation_type rotation_type, bool mirroring, enum omap_color_mode color_mode) argument
1717 calc_vrfb_rotation_offset(u8 rotation, bool mirror, u16 screen_width, u16 width, u16 height, enum omap_color_mode color_mode, bool fieldmode, unsigned int field_offset, unsigned *offset0, unsigned *offset1, s32 *row_inc, s32 *pix_inc, int x_predecim, int y_predecim) argument
1802 calc_dma_rotation_offset(u8 rotation, bool mirror, u16 screen_width, u16 width, u16 height, enum omap_color_mode color_mode, bool fieldmode, unsigned int field_offset, unsigned *offset0, unsigned *offset1, s32 *row_inc, s32 *pix_inc, int x_predecim, int y_predecim) argument
2414 dispc_ovl_setup_common(enum omap_plane plane, enum omap_overlay_caps caps, u32 paddr, u32 p_uv_addr, u16 screen_width, int pos_x, int pos_y, u16 width, u16 height, u16 out_width, u16 out_height, enum omap_color_mode color_mode, u8 rotation, bool mirror, u8 zorder, u8 pre_mult_alpha, u8 global_alpha, enum omap_dss_rotation_type rotation_type, bool replication, const struct omap_video_timings *mgr_timings, bool mem_to_mem) argument
[all...]

Completed in 397 milliseconds