Home
last modified time | relevance | path

Searched refs:rotation (Results 1 – 88 of 88) sorted by relevance

/linux-4.1.27/drivers/media/platform/omap/
Domap_voutdef.h154 enum dss_rotation rotation; member
192 return (vout->rotation == dss_rotation_90_degree || in is_rotation_90_or_270()
193 vout->rotation == dss_rotation_270_degree); in is_rotation_90_or_270()
201 return vout->rotation || vout->mirror; in is_rotation_enabled()
210 return vout->rotation; in calc_rotation()
212 switch (vout->rotation) { in calc_rotation()
Domap_vout_vrfb.c223 enum dss_rotation rotation; in omap_vout_prepare_vrfb() local
263 rotation = calc_rotation(vout); in omap_vout_prepare_vrfb()
284 vout->vrfb_context[vb->i].paddr[rotation]; in omap_vout_prepare_vrfb()
295 enum dss_rotation rotation; in omap_vout_calculate_vrfb_offset() local
303 rotation = calc_rotation(vout); in omap_vout_calculate_vrfb_offset()
335 switch (rotation) { in omap_vout_calculate_vrfb_offset()
Domap_vout.c265 enum dss_rotation *rotation, bool mirror) in v4l2_rot_to_dss_rot() argument
271 *rotation = dss_rotation_90_degree; in v4l2_rot_to_dss_rot()
274 *rotation = dss_rotation_180_degree; in v4l2_rot_to_dss_rot()
277 *rotation = dss_rotation_270_degree; in v4l2_rot_to_dss_rot()
280 *rotation = dss_rotation_0_degree; in v4l2_rot_to_dss_rot()
411 info.rotation = 0; in omapvid_setup_overlay()
415 info.rotation = vout->rotation; in omapvid_setup_overlay()
425 info.color_mode, info.rotation, info.mirror, info.pos_x, in omapvid_setup_overlay()
466 switch (vout->rotation) { in omapvid_init()
1396 int rotation = a->value; in vidioc_s_ctrl() local
[all …]
/linux-4.1.27/drivers/video/fbdev/aty/
Dmach64_accel.c29 u32 rotation; in rotation24bpp() local
31 rotation = (dx / 4) % 6; in rotation24bpp()
33 rotation = ((dx + 2) / 4) % 6; in rotation24bpp()
36 return ((rotation << 8) | DST_24_ROTATION_ENABLE); in rotation24bpp()
200 u32 sx = area->sx, dx = area->dx, width = area->width, rotation = 0; in atyfb_copyarea() local
232 rotation = rotation24bpp(dx, direction); in atyfb_copyarea()
239 aty_st_le32(DST_CNTL, direction | rotation, par); in atyfb_copyarea()
246 u32 color, dx = rect->dx, width = rect->width, rotation = 0; in atyfb_fillrect() local
268 rotation = rotation24bpp(dx, DST_X_LEFT_TO_RIGHT); in atyfb_fillrect()
278 DST_X_LEFT_TO_RIGHT | rotation, par); in atyfb_fillrect()
[all …]
/linux-4.1.27/drivers/gpu/drm/
Ddrm_rect.c315 unsigned int rotation) in drm_rect_rotate() argument
319 if (rotation & (BIT(DRM_REFLECT_X) | BIT(DRM_REFLECT_Y))) { in drm_rect_rotate()
322 if (rotation & BIT(DRM_REFLECT_X)) { in drm_rect_rotate()
327 if (rotation & BIT(DRM_REFLECT_Y)) { in drm_rect_rotate()
333 switch (rotation & 0xf) { in drm_rect_rotate()
389 unsigned int rotation) in drm_rect_rotate_inv() argument
393 switch (rotation & 0xf) { in drm_rect_rotate_inv()
421 if (rotation & (BIT(DRM_REFLECT_X) | BIT(DRM_REFLECT_Y))) { in drm_rect_rotate_inv()
424 if (rotation & BIT(DRM_REFLECT_X)) { in drm_rect_rotate_inv()
429 if (rotation & BIT(DRM_REFLECT_Y)) { in drm_rect_rotate_inv()
Ddrm_atomic.c424 state->rotation = val; in drm_atomic_plane_set_property()
471 *val = state->rotation; in drm_atomic_plane_get_property()
Ddrm_crtc.c5403 unsigned int drm_rotation_simplify(unsigned int rotation, in drm_rotation_simplify() argument
5406 if (rotation & ~supported_rotations) { in drm_rotation_simplify()
5407 rotation ^= BIT(DRM_REFLECT_X) | BIT(DRM_REFLECT_Y); in drm_rotation_simplify()
5408 rotation = (rotation & ~0xf) | BIT((ffs(rotation & 0xf) + 1) % 4); in drm_rotation_simplify()
5411 return rotation; in drm_rotation_simplify()
/linux-4.1.27/drivers/video/fbdev/omap2/omapfb/
Domapfb-sysfs.c286 ofbi->rotation[t-1] = ofbi->rotation[t]; in store_overlays()
310 ofbi->rotation[ofbi->num_overlays] = 0; in store_overlays()
348 t == 0 ? "" : ",", ofbi->rotation[t]); in show_overlays_rotate()
366 u8 rotation[OMAPFB_MAX_OVL_PER_FB]; in store_overlays_rotate() local
392 if (ofbi->rotation[num_ovls] != rot) in store_overlays_rotate()
395 rotation[num_ovls++] = rot; in store_overlays_rotate()
408 ofbi->rotation[i] = rotation[i]; in store_overlays_rotate()
Domapfb-main.c772 const struct fb_fix_screeninfo *fix, int rotation) in calc_rotation_offset_dma() argument
783 const struct fb_fix_screeninfo *fix, int rotation) in calc_rotation_offset_vrfb() argument
787 if (rotation == FB_ROTATE_UD) in calc_rotation_offset_vrfb()
790 else if (rotation == FB_ROTATE_CW) in calc_rotation_offset_vrfb()
796 if (rotation == FB_ROTATE_UR) in calc_rotation_offset_vrfb()
799 else if (rotation == FB_ROTATE_UD) in calc_rotation_offset_vrfb()
802 else if (rotation == FB_ROTATE_CW) in calc_rotation_offset_vrfb()
805 else if (rotation == FB_ROTATE_CCW) in calc_rotation_offset_vrfb()
815 int rotation, u32 *paddr) in omapfb_calc_addr() argument
821 data_start_p = omapfb_get_region_rot_paddr(ofbi, rotation); in omapfb_calc_addr()
[all …]
Domapfb.h77 u8 rotation[OMAPFB_MAX_OVL_PER_FB]; member
/linux-4.1.27/drivers/gpu/drm/omapdrm/
Domap_fb.c172 switch (win->rotation & 0xf) { in omap_framebuffer_update_scanout()
175 (uint32_t)win->rotation); in omap_framebuffer_update_scanout()
192 if (win->rotation & BIT(DRM_REFLECT_X)) in omap_framebuffer_update_scanout()
195 if (win->rotation & BIT(DRM_REFLECT_Y)) in omap_framebuffer_update_scanout()
210 switch (win->rotation & 0xf) { in omap_framebuffer_update_scanout()
219 win->rotation); in omap_framebuffer_update_scanout()
220 win->rotation = 0; in omap_framebuffer_update_scanout()
Domap_plane.c236 switch (omap_plane->win.rotation & 0xf) { in omap_plane_update()
261 omap_plane->win.rotation = BIT(DRM_ROTATE_0); in omap_plane_disable()
338 omap_plane->win.rotation = val; in omap_plane_set_property()
425 info->rotation = OMAP_DSS_ROT_0; in omap_plane_init()
Domap_drv.h46 uint32_t rotation; member
/linux-4.1.27/drivers/iio/orientation/
DKconfig28 device rotation. The output of a device rotation sensor
DMakefile7 obj-$(CONFIG_HID_SENSOR_DEVICE_ROTATION) += hid-sensor-rotation.o
/linux-4.1.27/drivers/video/fbdev/omap2/dss/
Ddispc.c1437 bool five_taps, u8 rotation, in dispc_ovl_set_scale_param() argument
1452 bool ilace, enum omap_color_mode color_mode, u8 rotation) in dispc_ovl_set_accu_uv() argument
1490 switch (rotation) { in dispc_ovl_set_accu_uv()
1543 u8 rotation) in dispc_ovl_set_scaling_common() argument
1551 rotation, DISPC_COLOR_COMPONENT_RGB_Y); in dispc_ovl_set_scaling_common()
1597 u8 rotation) in dispc_ovl_set_scaling_uv() argument
1615 out_height, ilace, color_mode, rotation); in dispc_ovl_set_scaling_uv()
1633 if (rotation == OMAP_DSS_ROT_0 || in dispc_ovl_set_scaling_uv()
1634 rotation == OMAP_DSS_ROT_180) { in dispc_ovl_set_scaling_uv()
1644 if (rotation != OMAP_DSS_ROT_0) in dispc_ovl_set_scaling_uv()
[all …]
/linux-4.1.27/include/drm/
Ddrm_rect.h168 unsigned int rotation);
171 unsigned int rotation);
Ddrm_crtc.h770 unsigned int rotation; member
1483 extern unsigned int drm_rotation_simplify(unsigned int rotation,
/linux-4.1.27/Documentation/arm/OMAP/
DDSS167 rotate_type 0 = DMA rotation, 1 = VRFB rotation
299 VRFB rotation requires much more memory than non-rotated framebuffer, so you
300 probably need to increase your vram setting before using VRFB rotation. Also,
328 - Use VRFB rotation for all framebuffers.
331 - Default rotation applied to all framebuffers.
332 0 - 0 degree rotation
333 1 - 90 degree rotation
334 2 - 180 degree rotation
335 3 - 270 degree rotation
338 - Default mirror for all framebuffers. Only works with DMA rotation.
/linux-4.1.27/Documentation/hwmon/
Demc210319 Fan rotation speeds are reported in RPM (rotations per minute). An alarm is
20 triggered if the rotation speed has dropped below a programmable limit. Fan
Dw83l786ng27 The driver implements two temperature sensors, two fan rotation speed
33 Fan rotation speeds are reported in RPM (rotations per minute). Fan readings
Dlm8029 The LM80 implements one temperature sensor, two fan rotation speed sensors,
41 Fan rotation speeds are reported in RPM (rotations per minute). An alarm is
42 triggered if the rotation speed has dropped below a programmable limit. Fan
Dlm7830 The LM7* implements one temperature sensor, three fan rotation speed sensors,
41 Fan rotation speeds are reported in RPM (rotations per minute). An alarm is
42 triggered if the rotation speed has dropped below a programmable limit. Fan
Dlm8730 rotation speed sensors, up to seven voltage sensors, alarms, and some
38 Fan rotation speeds are reported in RPM (rotations per minute). An alarm is
39 triggered if the rotation speed has dropped below a programmable limit. Fan
Dnct668319 It supports up to 16 fan rotation sensors and up to 8 fan control engines.
26 Fan rotation speeds are reported in RPM (rotations per minute).
Dpc8742734 Fan rotation speeds are reported as 14-bit values from a gated clock
37 An alarm is triggered if the rotation speed drops below a programmable
Dvia686a39 The Via 686a implements three temperature sensors, two fan rotation speed
46 Fan rotation speeds are reported in RPM (rotations per minute). An alarm is
47 triggered if the rotation speed has dropped below a programmable limit. Fan
Dasb10024 The ASB100 implements seven voltage sensors, three fan rotation speed
34 triggered if the rotation speed has dropped below a programmable limit.
Dw83792d38 The driver implements three temperature sensors, seven fan rotation speed
50 Fan rotation speeds are reported in RPM (rotations per minute). An alarm is
51 triggered if the rotation speed has dropped below a programmable limit. Fan
89 of full speed rotation of corresponding fan.
Dsmsc47m144 Fan rotation speeds are reported in RPM (rotations per minute). An alarm is
45 triggered if the rotation speed has dropped below a programmable limit. Fan
Dg76227 fan1_input: provide current fan rotation value in RPM as reported by
57 ('pwm1_enable' set to 2), the expected rotation speed in RPM can be passed to
Dgl518sm32 The GL518SM implements one temperature sensor, two fan rotation speed
43 triggered if the rotation speed has dropped below a programmable limit. In
Dw83791d62 five fan rotation speed sensors and manual PWM control of each fan.
73 Fan rotation speeds are reported in RPM (rotations per minute). An alarm is
74 triggered if the rotation speed has dropped below a programmable limit. Fan
Dg760a25 The measured fan rotation speed returned via 'fan1_input' is derived
Dsis559573 Fan rotation speeds are reported in RPM (rotations per minute). An alarm is
74 triggered if the rotation speed has dropped below a programmable limit. Fan
Dnct677550 There are 4 to 5 fan rotation speed sensors, 8 to 15 analog voltage sensors,
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. On
Dw83627ehf54 2 to 5 fan rotation speed sensors, 8 to 10 analog voltage sensors, one VID
71 Fan rotation speeds are reported in RPM (rotations per minute). An alarm is
72 triggered if the rotation speed has dropped below a programmable limit. Fan
Dit87121 rotation speed sensors, 8 voltage sensors, associated alarms, and chassis
165 Fan rotation speeds are reported in RPM (rotations per minute). An alarm is
166 triggered if the rotation speed has dropped below a programmable limit. When
Df71805f99 Fan rotation speeds are reported as 12-bit values from a gated clock
107 An alarm is triggered if the rotation speed drops below a programmable
Dpc8736060 Fan rotation speeds are reported in RPM (revolutions per minute). An alarm
61 is triggered if the rotation speed has dropped below a programmable limit.
Dlm8353 health monitoring. They also have voltage and fan rotation speed
Dadm102649 Fan rotation speeds are reported in RPM (rotations per minute) but measured
Dw83781d70 two on the W83783S), three fan rotation speed sensors, voltage sensors
92 Fan rotation speeds are reported in RPM (rotations per minute). An alarm is
93 triggered if the rotation speed has dropped below a programmable limit. Fan
/linux-4.1.27/drivers/video/fbdev/
Dgoldfishfb.c51 int rotation; member
127 if (fb->rotation != fb->fb.var.rotate) { in goldfish_fb_set_par()
129 fb->rotation = fb->fb.var.rotate; in goldfish_fb_set_par()
130 writel(fb->rotation, fb->reg_base + FB_SET_ROTATION); in goldfish_fb_set_par()
Dauo_k1901fb.c145 args[0] = AUOK1901_DMA_ROTATE90(par->rotation) | 1; in auok1901_update_region()
156 args[0] = mode | AUOK1901_DDMA_ROTATE180(par->rotation); in auok1901_update_region()
Dauo_k1900fb.c70 init_param |= AUOK1900_INIT_ROTATE(par->rotation); in auok1900_init()
Dauo_k190x.c553 par->rotation = info->var.rotate; in auok190xfb_set_par()
1056 par->rotation = 0; in auok190x_common_probe()
DKconfig2201 and 8, 15 or 16 bpp color; 90 degrees clockwise display rotation for
/linux-4.1.27/drivers/gpu/ipu-v3/
Dipu-ic.c151 bool rotation; member
342 if (ic->rotation) in ipu_ic_task_enable()
382 ic->rotation = ic->graphics = false; in ipu_ic_task_disable()
624 ic->rotation = true; in ipu_ic_task_idma_init()
640 if (ic->rotation) in ipu_ic_enable()
/linux-4.1.27/drivers/media/platform/exynos4-is/
Dfimc-reg.c53 if (ctx->rotation <= 90) in fimc_hw_get_in_flip()
68 if (ctx->rotation <= 90) in fimc_hw_get_target_flip()
88 if (ctx->rotation == 90 || ctx->rotation == 270) { in fimc_hw_set_rotation()
137 if (ctx->rotation == 90 || ctx->rotation == 270) in fimc_hw_set_target_format()
Dfimc-core.c217 int dw, int dh, int rotation) in fimc_check_scaler_ratio() argument
219 if (rotation == 90 || rotation == 270) in fimc_check_scaler_ratio()
259 if (ctx->rotation == 90 || ctx->rotation == 270) { in fimc_set_scaler_info()
561 ctx->rotation = ctrl->val; in __fimc_s_ctrl()
668 ctx->rotation = ctrls->rotate->val; in fimc_ctrls_activate()
673 ctx->rotation = 0; in fimc_ctrls_activate()
Dfimc-capture.c587 bool rotation = ctx->rotation == 90 || ctx->rotation == 270; in fimc_capture_try_format() local
635 max_w = rotation ? pl->out_rot_en_w : pl->out_rot_dis_w; in fimc_capture_try_format()
643 if (var->min_vsize_align == 1 && !rotation) in fimc_capture_try_format()
664 bool rotate = ctx->rotation == 90 || ctx->rotation == 270; in fimc_capture_try_selection()
681 if (ctx->rotation != 90 && ctx->rotation != 270) in fimc_capture_try_selection()
Dfimc-core.h498 int rotation; member
634 int dw, int dh, int rotation);
Dfimc-m2m.c506 ctx->d_frame.height, ctx->rotation); in fimc_m2m_s_crop()
510 cr.c.height, ctx->rotation); in fimc_m2m_s_crop()
Dfimc-is-param.h746 struct param_scaler_rotation rotation; member
/linux-4.1.27/include/video/
Dauo_k190xfb.h41 int rotation; member
Domapdss.h392 u8 rotation; member
523 u8 rotation; member
/linux-4.1.27/drivers/gpu/drm/i915/
Dintel_sprite.c257 if (drm_plane->state->rotation == BIT(DRM_ROTATE_180)) in skl_update_plane()
443 if (dplane->state->rotation == BIT(DRM_ROTATE_180)) { in vlv_update_plane()
586 if (plane->state->rotation == BIT(DRM_ROTATE_180)) { in ivb_update_plane()
730 if (plane->state->rotation == BIT(DRM_ROTATE_180)) { in ilk_update_plane()
907 state->base.rotation); in intel_check_sprite_plane()
948 state->base.rotation); in intel_check_sprite_plane()
1298 state->base.rotation); in intel_plane_init()
Dintel_atomic_plane.c58 state->base.rotation = BIT(DRM_ROTATE_0); in intel_create_plane_state()
Dintel_drv.h503 unsigned int rotation; member
996 intel_rotation_90_or_270(unsigned int rotation) in intel_rotation_90_or_270() argument
998 return rotation & (BIT(DRM_ROTATE_90) | BIT(DRM_ROTATE_270)); in intel_rotation_90_or_270()
Dintel_fbc.c589 crtc->primary->state->rotation != BIT(DRM_ROTATE_0)) { in intel_fbc_update()
Dintel_bios.h812 u32 rotation:2; member
Dintel_display.c2333 if (!intel_rotation_90_or_270(plane_state->rotation)) in intel_fill_fb_ggtt_view()
2768 if (crtc->primary->state->rotation == BIT(DRM_ROTATE_180)) { in i9xx_update_primary_plane()
2867 if (crtc->primary->state->rotation == BIT(DRM_ROTATE_180)) { in ironlake_update_primary_plane()
2935 if (intel_rotation_90_or_270(intel_plane->base.state->rotation)) in intel_plane_obj_offset()
3012 if (crtc->primary->state->rotation == BIT(DRM_ROTATE_180)) in skylake_update_primary_plane()
8737 if (crtc->cursor->state->rotation == BIT(DRM_ROTATE_180)) in i9xx_update_cursor()
8799 crtc->cursor->state->rotation == BIT(DRM_ROTATE_180)) { in intel_crtc_update_cursor()
12356 plane->state->rotation != state->rotation) in intel_wm_need_update()
12489 state->base.rotation != BIT(DRM_ROTATE_0)) { in intel_check_primary_plane()
12733 state->base.rotation); in intel_primary_plane_create()
[all …]
Dintel_pm.c2841 p->plane[0].rotation = crtc->primary->state->rotation; in skl_compute_wm_pipe_parameters()
2901 if (intel_rotation_90_or_270(p_params->rotation)) { in skl_compute_plane_wm()
3373 intel_plane->wm.rotation = plane->state->rotation; in skl_update_sprite_wm()
/linux-4.1.27/drivers/gpu/drm/exynos/
Dexynos_drm_gsc.c146 bool rotation; member
596 ctx->rotation = cfg & in gsc_src_set_transf()
598 *swap = ctx->rotation; in gsc_src_set_transf()
860 ctx->rotation = cfg & in gsc_dst_set_transf()
862 *swap = ctx->rotation; in gsc_dst_set_transf()
912 if (ctx->rotation) { in gsc_set_prescaler()
/linux-4.1.27/drivers/video/console/
DKconfig127 Enable display rotation for the framebuffer console. This is done
129 display. Note that the rotation is done at the console level only
/linux-4.1.27/Documentation/fb/
Dfbcon.txt14 high resolutions, varying font types, display rotation, primitive multihead,
143 Console rotation will only become available if Console Rotation
146 NOTE: This is purely console rotation. Any other applications that
149 rotation.
/linux-4.1.27/drivers/video/fbdev/omap/
DKconfig57 If you have such a system and want to use rotation
/linux-4.1.27/drivers/media/platform/s3c-camif/
Dcamif-core.h232 u16 rotation; member
Dcamif-core.c161 if (vp->rotation == 90 || vp->rotation == 270) in s3c_camif_get_scaler_config()
Dcamif-regs.c336 if (vp->rotation == 90 || vp->rotation == 270) in camif_hw_set_target_format()
/linux-4.1.27/Documentation/devicetree/bindings/media/
Dsamsung-fimc.txt63 2 - REAL_WIDTH without input rotation,
64 3 - REAL_HEIGHT with input rotation,
/linux-4.1.27/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_plane.c388 (state->base.rotation & (BIT(DRM_ROTATE_90) | BIT(DRM_ROTATE_270)))) in atmel_hlcdc_plane_update_format()
588 if (state->base.rotation & (BIT(DRM_ROTATE_90) | BIT(DRM_ROTATE_270))) { in atmel_hlcdc_plane_atomic_check()
636 switch (state->base.rotation & 0xf) { in atmel_hlcdc_plane_atomic_check()
/linux-4.1.27/include/acpi/
Dacbuffer.h135 u8 rotation; member
/linux-4.1.27/drivers/acpi/acpica/
Dutxface.c567 pld_info->rotation = ACPI_PLD_GET_ROTATION(&dword); in ACPI_EXPORT_SYMBOL()
/linux-4.1.27/Documentation/input/
Drotary-encoder.txt45 (i.e. the rotation was not reversed half-way).
Dalps.txt85 ?'s can have different meanings on different models, such as wheel rotation,
Dsentelic.txt718 1: no rotation
723 0: no rotation
/linux-4.1.27/drivers/media/platform/exynos-gsc/
Dgsc-core.h374 int rotation; member
Dgsc-core.c733 ctx->rotation = ctrl->val; in __gsc_s_ctrl()
/linux-4.1.27/Documentation/video4linux/
Dfimc.txt26 and rotation);
/linux-4.1.27/include/uapi/drm/
Di915_drm.h121 int rotation; /* 0, 90, 180 or 270 */ member
/linux-4.1.27/Documentation/
Drbtree.txt234 - A tree rotation callback, which copies the augmented value for a given
/linux-4.1.27/Documentation/ABI/testing/
Dsysfs-bus-iio1217 which a rotation will occur and w component represents the
1218 amount of rotation.
1227 Raw value of rotation from true/magnetic north measured with
/linux-4.1.27/Documentation/crypto/
Ddescore-readme.txt314 this would entail some byte concatenation and rotation.
/linux-4.1.27/drivers/net/wireless/b43/
Dphy_lp.c1784 int rotation = (((36 * freq) / 20) << 16) / 100; in lpphy_start_tx_tone() local
1802 angle += rotation; in lpphy_start_tx_tone()
/linux-4.1.27/drivers/input/misc/
DKconfig395 rotation. The dial also acts as a pushbutton. The base contains an LED
/linux-4.1.27/Documentation/cgroups/
Dmemory.txt526 recent_rotated means recent frequency of LRU rotation.