rotation          314 drivers/acpi/acpica/dbconvert.c 	ACPI_PLD_SET_ROTATION(&dword, pld_info->rotation);
rotation          434 drivers/acpi/acpica/dbconvert.c 	acpi_os_printf(ACPI_PLD_OUTPUT, "PLD_Rotation", pld_info->rotation);
rotation          508 drivers/acpi/acpica/utxface.c 	pld_info->rotation = ACPI_PLD_GET_ROTATION(&dword);
rotation         2701 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 			  const enum dc_rotation_angle rotation,
rotation         2736 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	if (rotation == ROTATION_ANGLE_0 || rotation == ROTATION_ANGLE_180)
rotation         2738 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	else if (rotation == ROTATION_ANGLE_90 || rotation == ROTATION_ANGLE_270)
rotation         2766 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 			     const enum dc_rotation_angle rotation,
rotation         2880 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		ret = fill_plane_dcc_attributes(adev, afb, format, rotation,
rotation         3023 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	switch (plane_state->rotation & DRM_MODE_ROTATE_MASK) {
rotation         3025 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		plane_info->rotation = ROTATION_ANGLE_0;
rotation         3028 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		plane_info->rotation = ROTATION_ANGLE_90;
rotation         3031 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		plane_info->rotation = ROTATION_ANGLE_180;
rotation         3034 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		plane_info->rotation = ROTATION_ANGLE_270;
rotation         3037 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 		plane_info->rotation = ROTATION_ANGLE_0;
rotation         3052 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 					   plane_info->rotation, tiling_flags,
rotation         3106 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 	dc_plane_state->rotation = plane_info.rotation;
rotation         4561 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 			adev, afb, plane_state->format, plane_state->rotation,
rotation         2806 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c 		switch (pipe[i].plane_state->rotation) {
rotation         2863 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c 			switch (pipe[i].bottom_pipe->plane_state->rotation) {
rotation         2908 drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c 			switch (pipe[i].plane_state->rotation) {
rotation          345 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 	switch (pipe->plane_state->rotation) {
rotation          919 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 				if (pipe->plane_state->rotation % 2 == 0) {
rotation          948 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 			if (pipe->plane_state->rotation % 2 == 0) {
rotation          997 drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c 			v->source_scan[input_idx] = (pipe->plane_state->rotation % 2) ? dcn_bw_vert : dcn_bw_hor;
rotation         1390 drivers/gpu/drm/amd/display/dc/core/dc.c 	if (u->plane_info->rotation != u->surface->rotation) {
rotation         1717 drivers/gpu/drm/amd/display/dc/core/dc.c 		surface->rotation =
rotation         1718 drivers/gpu/drm/amd/display/dc/core/dc.c 				srf_update->plane_info->rotation;
rotation          167 drivers/gpu/drm/amd/display/dc/core/dc_debug.c 				plane_state->rotation,
rotation          219 drivers/gpu/drm/amd/display/dc/core/dc_debug.c 					update->plane_info->rotation,
rotation          523 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 	enum dc_rotation_angle rotation,
rotation          532 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 	if (rotation == ROTATION_ANGLE_180) {
rotation          535 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 	} else if (rotation == ROTATION_ANGLE_90) {
rotation          538 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 	} else if (rotation == ROTATION_ANGLE_270) {
rotation          593 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 			plane_state->rotation,
rotation          724 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 	if (pipe_ctx->plane_state->rotation == ROTATION_ANGLE_90 ||
rotation          725 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 			pipe_ctx->plane_state->rotation == ROTATION_ANGLE_270)
rotation          858 drivers/gpu/drm/amd/display/dc/core/dc_resource.c 			plane_state->rotation,
rotation          747 drivers/gpu/drm/amd/display/dc/dc.h 	enum dc_rotation_angle rotation;
rotation          777 drivers/gpu/drm/amd/display/dc/dc.h 	enum dc_rotation_angle rotation;
rotation          431 drivers/gpu/drm/amd/display/dc/dc_hw_types.h 	enum dc_rotation_angle rotation;
rotation          122 drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c static bool is_vert_scan(enum dc_rotation_angle rotation)
rotation          124 drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c 	switch (rotation) {
rotation          137 drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c 		enum dc_rotation_angle rotation)
rotation          146 drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c 	unsigned int min_pte_before_flip = is_vert_scan(rotation) ?
rotation          393 drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c 	enum dc_rotation_angle rotation,
rotation          405 drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c 	if (rotation == ROTATION_ANGLE_90 || rotation == ROTATION_ANGLE_270) {
rotation          429 drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c 			GRPH_ROTATION_ANGLE, rotation_angles[rotation]);
rotation          509 drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c 	enum dc_rotation_angle rotation,
rotation          517 drivers/gpu/drm/amd/display/dc/dce/dce_mem_input.c 	program_size_and_rotation(dce_mi, rotation, plane_size);
rotation         2516 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c 			plane_state->rotation,
rotation         2527 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c 				plane_state->rotation);
rotation         2694 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c 		.rotation = pipe_ctx->plane_state->rotation,
rotation          231 drivers/gpu/drm/amd/display/dc/dce110/dce110_mem_input_v.c 	enum dc_rotation_angle rotation,
rotation          237 drivers/gpu/drm/amd/display/dc/dce110/dce110_mem_input_v.c 	if (rotation == ROTATION_ANGLE_90 ||
rotation          238 drivers/gpu/drm/amd/display/dc/dce110/dce110_mem_input_v.c 		rotation == ROTATION_ANGLE_270) {
rotation          336 drivers/gpu/drm/amd/display/dc/dce110/dce110_mem_input_v.c 	switch (rotation) {
rotation          567 drivers/gpu/drm/amd/display/dc/dce110/dce110_mem_input_v.c 		enum dc_rotation_angle rotation)
rotation          595 drivers/gpu/drm/amd/display/dc/dce110/dce110_mem_input_v.c 	switch (rotation) {
rotation          641 drivers/gpu/drm/amd/display/dc/dce110/dce110_mem_input_v.c 	enum dc_rotation_angle rotation,
rotation          649 drivers/gpu/drm/amd/display/dc/dce110/dce110_mem_input_v.c 	program_size_and_rotation(mem_input110, rotation, plane_size);
rotation          461 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.c 	if (param->rotation == ROTATION_ANGLE_90 || param->rotation == ROTATION_ANGLE_270) {
rotation          463 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.c 		if (param->rotation == ROTATION_ANGLE_90) {
rotation          467 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_dpp.c 	} else if (param->rotation == ROTATION_ANGLE_180) {
rotation          205 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c 	enum dc_rotation_angle rotation,
rotation          218 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c 	if (rotation == ROTATION_ANGLE_0)
rotation          222 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c 	else if (rotation == ROTATION_ANGLE_90)
rotation          226 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c 	else if (rotation == ROTATION_ANGLE_180)
rotation          230 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c 	else if (rotation == ROTATION_ANGLE_270)
rotation          530 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c 	enum dc_rotation_angle rotation,
rotation          538 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c 	hubp1_program_rotation(hubp, rotation, horizontal_mirror);
rotation         1146 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.c 	if (param->rotation == ROTATION_ANGLE_90 || param->rotation == ROTATION_ANGLE_270) {
rotation          665 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.h 	enum dc_rotation_angle rotation,
rotation          691 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubp.h 	enum dc_rotation_angle rotation,
rotation         2395 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c 			plane_state->rotation,
rotation         2965 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c 		.rotation = pipe_ctx->plane_state->rotation,
rotation         2983 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c 	if (param.rotation == ROTATION_ANGLE_90) {
rotation         2990 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c 	else if (param.rotation == ROTATION_ANGLE_270) {
rotation         3001 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c 	else if (param.rotation == ROTATION_ANGLE_180) {
rotation          368 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c 	enum dc_rotation_angle rotation,
rotation          381 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c 	if (rotation == ROTATION_ANGLE_0)
rotation          385 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c 	else if (rotation == ROTATION_ANGLE_90)
rotation          389 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c 	else if (rotation == ROTATION_ANGLE_180)
rotation          393 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c 	else if (rotation == ROTATION_ANGLE_270)
rotation          521 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c 	enum dc_rotation_angle rotation,
rotation          531 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c 	hubp2_program_rotation(hubp, rotation, horizontal_mirror);
rotation          964 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c 	if (param->rotation == ROTATION_ANGLE_90 || param->rotation == ROTATION_ANGLE_270) {
rotation          966 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c 		if (param->rotation == ROTATION_ANGLE_90) {
rotation          970 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.c 	} else if (param->rotation == ROTATION_ANGLE_180) {
rotation          300 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.h 	enum dc_rotation_angle rotation,
rotation          312 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubp.h 	enum dc_rotation_angle rotation,
rotation         2079 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 			pipes[pipe_cnt].pipe.src.source_scan = pln->rotation == ROTATION_ANGLE_90
rotation         2080 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c 					|| pln->rotation == ROTATION_ANGLE_270 ? dm_vert : dm_horz;
rotation           98 drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h 		enum dc_rotation_angle rotation);
rotation          113 drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h 		enum dc_rotation_angle rotation,
rotation          142 drivers/gpu/drm/amd/display/dc/inc/hw/mem_input.h 		enum dc_rotation_angle rotation);
rotation          157 drivers/gpu/drm/amd/display/dc/inc/hw/mem_input.h 		enum dc_rotation_angle rotation,
rotation          103 drivers/gpu/drm/amd/display/modules/inc/mod_shared.h 	enum lut3d_control_rotation_mode rotation;
rotation          158 drivers/gpu/drm/arm/display/komeda/komeda_kms.h 	u32 rotation = drm_rotation_simplify(rot,
rotation          163 drivers/gpu/drm/arm/display/komeda/komeda_kms.h 	if (rotation & DRM_MODE_ROTATE_90)
rotation          164 drivers/gpu/drm/arm/display/komeda/komeda_kms.h 		return !!(rotation & DRM_MODE_REFLECT_Y);
rotation          166 drivers/gpu/drm/arm/display/komeda/komeda_kms.h 		return !!(rotation & DRM_MODE_REFLECT_X);
rotation           50 drivers/gpu/drm/arm/display/komeda/komeda_plane.c 	dflow->rot = drm_rotation_simplify(st->rotation, caps->supported_rots);
rotation          147 drivers/gpu/drm/arm/display/komeda/komeda_plane.c 		state->base.rotation = DRM_MODE_ROTATE_0;
rotation          290 drivers/gpu/drm/arm/malidp_crtc.c 		if (pstate->rotation & MALIDP_ROTATED_MASK) {
rotation          377 drivers/gpu/drm/arm/malidp_crtc.c 		if ((pstate->rotation & MALIDP_ROTATED_MASK) || fb->modifier)
rotation          395 drivers/gpu/drm/arm/malidp_crtc.c 		if ((pstate->rotation & MALIDP_ROTATED_MASK) || fb->modifier) {
rotation          289 drivers/gpu/drm/arm/malidp_planes.c 	if (state->rotation & MALIDP_ROTATED_MASK) {
rotation          377 drivers/gpu/drm/arm/malidp_planes.c 					      unsigned int rotation)
rotation          382 drivers/gpu/drm/arm/malidp_planes.c 	if (rotation & (DRM_MODE_ROTATE_90 | DRM_MODE_ROTATE_180 |
rotation          459 drivers/gpu/drm/arm/malidp_planes.c 					      ms->base.rotation)) {
rotation          509 drivers/gpu/drm/arm/malidp_planes.c 	bool rotated = state->rotation & MALIDP_ROTATED_MASK;
rotation          570 drivers/gpu/drm/arm/malidp_planes.c 	if (state->rotation != DRM_MODE_ROTATE_0) {
rotation          591 drivers/gpu/drm/arm/malidp_planes.c 	if (state->rotation & MALIDP_ROTATED_MASK) {
rotation          867 drivers/gpu/drm/arm/malidp_planes.c 	if (state->rotation & DRM_MODE_ROTATE_MASK)
rotation          868 drivers/gpu/drm/arm/malidp_planes.c 		val |= ilog2(plane->state->rotation & DRM_MODE_ROTATE_MASK) <<
rotation          870 drivers/gpu/drm/arm/malidp_planes.c 	if (state->rotation & DRM_MODE_REFLECT_X)
rotation          872 drivers/gpu/drm/arm/malidp_planes.c 	if (state->rotation & DRM_MODE_REFLECT_Y)
rotation          407 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c 	    drm_rotation_90_or_270(state->base.rotation))
rotation          651 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c 		switch (state->base.rotation & DRM_MODE_ROTATE_MASK) {
rotation          696 drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_plane.c 	if (drm_rotation_90_or_270(state->base.rotation)) {
rotation          663 drivers/gpu/drm/drm_atomic.c 	drm_printf(p, "\trotation=%x\n", state->rotation);
rotation         1409 drivers/gpu/drm/drm_atomic.c 	if (drm_rotation_90_or_270(primary_state->rotation)) {
rotation          777 drivers/gpu/drm/drm_atomic_helper.c 	unsigned int rotation = plane_state->rotation;
rotation          802 drivers/gpu/drm/drm_atomic_helper.c 	drm_rect_rotate(src, fb->width << 16, fb->height << 16, rotation);
rotation          819 drivers/gpu/drm/drm_atomic_helper.c 	drm_rect_rotate_inv(src, fb->width << 16, fb->height << 16, rotation);
rotation          226 drivers/gpu/drm/drm_atomic_state_helper.c 	state->rotation = DRM_MODE_ROTATE_0;
rotation          571 drivers/gpu/drm/drm_atomic_uapi.c 		state->rotation = val;
rotation          634 drivers/gpu/drm/drm_atomic_uapi.c 		*val = state->rotation;
rotation          253 drivers/gpu/drm/drm_blend.c 				       unsigned int rotation,
rotation          267 drivers/gpu/drm/drm_blend.c 	WARN_ON(!is_power_of_2(rotation & DRM_MODE_ROTATE_MASK));
rotation          268 drivers/gpu/drm/drm_blend.c 	WARN_ON(rotation & ~supported_rotations);
rotation          276 drivers/gpu/drm/drm_blend.c 	drm_object_attach_property(&plane->base, prop, rotation);
rotation          279 drivers/gpu/drm/drm_blend.c 		plane->state->rotation = rotation;
rotation          305 drivers/gpu/drm/drm_blend.c unsigned int drm_rotation_simplify(unsigned int rotation,
rotation          308 drivers/gpu/drm/drm_blend.c 	if (rotation & ~supported_rotations) {
rotation          309 drivers/gpu/drm/drm_blend.c 		rotation ^= DRM_MODE_REFLECT_X | DRM_MODE_REFLECT_Y;
rotation          310 drivers/gpu/drm/drm_blend.c 		rotation = (rotation & DRM_MODE_REFLECT_MASK) |
rotation          311 drivers/gpu/drm/drm_blend.c 		           BIT((ffs(rotation & DRM_MODE_ROTATE_MASK) + 1)
rotation          315 drivers/gpu/drm/drm_blend.c 	return rotation;
rotation          824 drivers/gpu/drm/drm_client_modeset.c bool drm_client_rotation(struct drm_mode_set *modeset, unsigned int *rotation)
rotation          837 drivers/gpu/drm/drm_client_modeset.c 		*rotation = DRM_MODE_ROTATE_180;
rotation          840 drivers/gpu/drm/drm_client_modeset.c 		*rotation = DRM_MODE_ROTATE_90;
rotation          843 drivers/gpu/drm/drm_client_modeset.c 		*rotation = DRM_MODE_ROTATE_270;
rotation          846 drivers/gpu/drm/drm_client_modeset.c 		*rotation = DRM_MODE_ROTATE_0;
rotation          867 drivers/gpu/drm/drm_client_modeset.c 		panel_rot = ilog2(*rotation & DRM_MODE_ROTATE_MASK);
rotation          871 drivers/gpu/drm/drm_client_modeset.c 		panel_rest = *rotation & ~DRM_MODE_ROTATE_MASK;
rotation          875 drivers/gpu/drm/drm_client_modeset.c 		*rotation = (1 << sum_rot) | sum_rest;
rotation          883 drivers/gpu/drm/drm_client_modeset.c 	if (((*rotation & DRM_MODE_ROTATE_MASK) != DRM_MODE_ROTATE_0 &&
rotation          884 drivers/gpu/drm/drm_client_modeset.c 	     (*rotation & DRM_MODE_ROTATE_MASK) != DRM_MODE_ROTATE_180) ||
rotation          891 drivers/gpu/drm/drm_client_modeset.c 	if (!(*rotation & valid_mask))
rotation          926 drivers/gpu/drm/drm_client_modeset.c 		plane_state->rotation = DRM_MODE_ROTATE_0;
rotation          939 drivers/gpu/drm/drm_client_modeset.c 		unsigned int rotation;
rotation          941 drivers/gpu/drm/drm_client_modeset.c 		if (drm_client_rotation(mode_set, &rotation)) {
rotation          946 drivers/gpu/drm/drm_client_modeset.c 			plane_state->rotation = rotation;
rotation          503 drivers/gpu/drm/drm_crtc.c 	    drm_rotation_90_or_270(crtc->primary->state->rotation))
rotation         1740 drivers/gpu/drm/drm_fb_helper.c 	unsigned int rotation, sw_rotations = 0;
rotation         1751 drivers/gpu/drm/drm_fb_helper.c 		if (drm_client_rotation(modeset, &rotation))
rotation         1755 drivers/gpu/drm/drm_fb_helper.c 			sw_rotations |= rotation;
rotation          446 drivers/gpu/drm/drm_mipi_dbi.c 				unsigned int rotation)
rotation          448 drivers/gpu/drm/drm_mipi_dbi.c 	if (rotation == 0 || rotation == 180) {
rotation          450 drivers/gpu/drm/drm_mipi_dbi.c 	} else if (rotation == 90 || rotation == 270) {
rotation          500 drivers/gpu/drm/drm_mipi_dbi.c 				   unsigned int rotation, size_t tx_buf_size)
rotation          517 drivers/gpu/drm/drm_mipi_dbi.c 	ret = mipi_dbi_rotate_mode(&dbidev->mode, rotation);
rotation          519 drivers/gpu/drm/drm_mipi_dbi.c 		DRM_ERROR("Illegal rotation value %u\n", rotation);
rotation          541 drivers/gpu/drm/drm_mipi_dbi.c 	dbidev->rotation = rotation;
rotation          543 drivers/gpu/drm/drm_mipi_dbi.c 	DRM_DEBUG_KMS("rotation = %u\n", rotation);
rotation          568 drivers/gpu/drm/drm_mipi_dbi.c 		      const struct drm_display_mode *mode, unsigned int rotation)
rotation          576 drivers/gpu/drm/drm_mipi_dbi.c 					      rotation, bufsize);
rotation         1575 drivers/gpu/drm/drm_modes.c 	unsigned int rotation = 0;
rotation         1602 drivers/gpu/drm/drm_modes.c 				rotation |= DRM_MODE_ROTATE_0;
rotation         1606 drivers/gpu/drm/drm_modes.c 				rotation |= DRM_MODE_ROTATE_90;
rotation         1610 drivers/gpu/drm/drm_modes.c 				rotation |= DRM_MODE_ROTATE_180;
rotation         1614 drivers/gpu/drm/drm_modes.c 				rotation |= DRM_MODE_ROTATE_270;
rotation         1621 drivers/gpu/drm/drm_modes.c 			rotation |= DRM_MODE_REFLECT_X;
rotation         1624 drivers/gpu/drm/drm_modes.c 			rotation |= DRM_MODE_REFLECT_Y;
rotation         1675 drivers/gpu/drm/drm_modes.c 	if (!(rotation & DRM_MODE_ROTATE_MASK))
rotation         1676 drivers/gpu/drm/drm_modes.c 		rotation |= DRM_MODE_ROTATE_0;
rotation         1679 drivers/gpu/drm/drm_modes.c 	if (!is_power_of_2(rotation & DRM_MODE_ROTATE_MASK))
rotation         1682 drivers/gpu/drm/drm_modes.c 	mode->rotation_reflection = rotation;
rotation          106 drivers/gpu/drm/drm_plane_helper.c 					 unsigned int rotation,
rotation          125 drivers/gpu/drm/drm_plane_helper.c 		.rotation = rotation,
rotation          250 drivers/gpu/drm/drm_rect.c 		     unsigned int rotation)
rotation          254 drivers/gpu/drm/drm_rect.c 	if (rotation & (DRM_MODE_REFLECT_X | DRM_MODE_REFLECT_Y)) {
rotation          257 drivers/gpu/drm/drm_rect.c 		if (rotation & DRM_MODE_REFLECT_X) {
rotation          262 drivers/gpu/drm/drm_rect.c 		if (rotation & DRM_MODE_REFLECT_Y) {
rotation          268 drivers/gpu/drm/drm_rect.c 	switch (rotation & DRM_MODE_ROTATE_MASK) {
rotation          324 drivers/gpu/drm/drm_rect.c 			 unsigned int rotation)
rotation          328 drivers/gpu/drm/drm_rect.c 	switch (rotation & DRM_MODE_ROTATE_MASK) {
rotation          356 drivers/gpu/drm/drm_rect.c 	if (rotation & (DRM_MODE_REFLECT_X | DRM_MODE_REFLECT_Y)) {
rotation          359 drivers/gpu/drm/drm_rect.c 		if (rotation & DRM_MODE_REFLECT_X) {
rotation          364 drivers/gpu/drm/drm_rect.c 		if (rotation & DRM_MODE_REFLECT_Y) {
rotation          418 drivers/gpu/drm/exynos/exynos_drm_fimc.c static void fimc_src_set_transf(struct fimc_context *ctx, unsigned int rotation)
rotation          420 drivers/gpu/drm/exynos/exynos_drm_fimc.c 	unsigned int degree = rotation & DRM_MODE_ROTATE_MASK;
rotation          423 drivers/gpu/drm/exynos/exynos_drm_fimc.c 	DRM_DEV_DEBUG_KMS(ctx->dev, "rotation[%x]\n", rotation);
rotation          434 drivers/gpu/drm/exynos/exynos_drm_fimc.c 		if (rotation & DRM_MODE_REFLECT_X)
rotation          436 drivers/gpu/drm/exynos/exynos_drm_fimc.c 		if (rotation & DRM_MODE_REFLECT_Y)
rotation          441 drivers/gpu/drm/exynos/exynos_drm_fimc.c 		if (rotation & DRM_MODE_REFLECT_X)
rotation          443 drivers/gpu/drm/exynos/exynos_drm_fimc.c 		if (rotation & DRM_MODE_REFLECT_Y)
rotation          449 drivers/gpu/drm/exynos/exynos_drm_fimc.c 		if (rotation & DRM_MODE_REFLECT_X)
rotation          451 drivers/gpu/drm/exynos/exynos_drm_fimc.c 		if (rotation & DRM_MODE_REFLECT_Y)
rotation          458 drivers/gpu/drm/exynos/exynos_drm_fimc.c 		if (rotation & DRM_MODE_REFLECT_X)
rotation          460 drivers/gpu/drm/exynos/exynos_drm_fimc.c 		if (rotation & DRM_MODE_REFLECT_Y)
rotation          691 drivers/gpu/drm/exynos/exynos_drm_fimc.c static void fimc_dst_set_transf(struct fimc_context *ctx, unsigned int rotation)
rotation          693 drivers/gpu/drm/exynos/exynos_drm_fimc.c 	unsigned int degree = rotation & DRM_MODE_ROTATE_MASK;
rotation          696 drivers/gpu/drm/exynos/exynos_drm_fimc.c 	DRM_DEV_DEBUG_KMS(ctx->dev, "rotation[0x%x]\n", rotation);
rotation          704 drivers/gpu/drm/exynos/exynos_drm_fimc.c 		if (rotation & DRM_MODE_REFLECT_X)
rotation          706 drivers/gpu/drm/exynos/exynos_drm_fimc.c 		if (rotation & DRM_MODE_REFLECT_Y)
rotation          711 drivers/gpu/drm/exynos/exynos_drm_fimc.c 		if (rotation & DRM_MODE_REFLECT_X)
rotation          713 drivers/gpu/drm/exynos/exynos_drm_fimc.c 		if (rotation & DRM_MODE_REFLECT_Y)
rotation          719 drivers/gpu/drm/exynos/exynos_drm_fimc.c 		if (rotation & DRM_MODE_REFLECT_X)
rotation          721 drivers/gpu/drm/exynos/exynos_drm_fimc.c 		if (rotation & DRM_MODE_REFLECT_Y)
rotation          728 drivers/gpu/drm/exynos/exynos_drm_fimc.c 		if (rotation & DRM_MODE_REFLECT_X)
rotation          730 drivers/gpu/drm/exynos/exynos_drm_fimc.c 		if (rotation & DRM_MODE_REFLECT_Y)
rotation         1097 drivers/gpu/drm/exynos/exynos_drm_fimc.c 	fimc_dst_set_transf(ctx, task->transform.rotation);
rotation          114 drivers/gpu/drm/exynos/exynos_drm_gsc.c 	bool	rotation;
rotation          521 drivers/gpu/drm/exynos/exynos_drm_gsc.c static void gsc_src_set_transf(struct gsc_context *ctx, unsigned int rotation)
rotation          523 drivers/gpu/drm/exynos/exynos_drm_gsc.c 	unsigned int degree = rotation & DRM_MODE_ROTATE_MASK;
rotation          531 drivers/gpu/drm/exynos/exynos_drm_gsc.c 		if (rotation & DRM_MODE_REFLECT_X)
rotation          533 drivers/gpu/drm/exynos/exynos_drm_gsc.c 		if (rotation & DRM_MODE_REFLECT_Y)
rotation          538 drivers/gpu/drm/exynos/exynos_drm_gsc.c 		if (rotation & DRM_MODE_REFLECT_X)
rotation          540 drivers/gpu/drm/exynos/exynos_drm_gsc.c 		if (rotation & DRM_MODE_REFLECT_Y)
rotation          545 drivers/gpu/drm/exynos/exynos_drm_gsc.c 		if (rotation & DRM_MODE_REFLECT_X)
rotation          547 drivers/gpu/drm/exynos/exynos_drm_gsc.c 		if (rotation & DRM_MODE_REFLECT_Y)
rotation          552 drivers/gpu/drm/exynos/exynos_drm_gsc.c 		if (rotation & DRM_MODE_REFLECT_X)
rotation          554 drivers/gpu/drm/exynos/exynos_drm_gsc.c 		if (rotation & DRM_MODE_REFLECT_Y)
rotation          561 drivers/gpu/drm/exynos/exynos_drm_gsc.c 	ctx->rotation = (cfg & GSC_IN_ROT_90) ? 1 : 0;
rotation          754 drivers/gpu/drm/exynos/exynos_drm_gsc.c 	if (ctx->rotation) {
rotation          876 drivers/gpu/drm/exynos/exynos_drm_gsc.c 	if (ctx->rotation)
rotation         1131 drivers/gpu/drm/exynos/exynos_drm_gsc.c 	gsc_src_set_transf(ctx, task->transform.rotation);
rotation          271 drivers/gpu/drm/exynos/exynos_drm_ipp.c 	task->transform.rotation = DRM_MODE_ROTATE_0;
rotation          605 drivers/gpu/drm/exynos/exynos_drm_ipp.c 	unsigned int rotation = task->transform.rotation;
rotation          607 drivers/gpu/drm/exynos/exynos_drm_ipp.c 	bool swap = drm_rotation_90_or_270(rotation);
rotation          608 drivers/gpu/drm/exynos/exynos_drm_ipp.c 	bool rotate = (rotation != DRM_MODE_ROTATE_0);
rotation          161 drivers/gpu/drm/exynos/exynos_drm_rotator.c 				   unsigned int rotation)
rotation          169 drivers/gpu/drm/exynos/exynos_drm_rotator.c 	if (rotation & DRM_MODE_REFLECT_X)
rotation          171 drivers/gpu/drm/exynos/exynos_drm_rotator.c 	if (rotation & DRM_MODE_REFLECT_Y)
rotation          176 drivers/gpu/drm/exynos/exynos_drm_rotator.c 	if (rotation & DRM_MODE_ROTATE_90)
rotation          178 drivers/gpu/drm/exynos/exynos_drm_rotator.c 	else if (rotation & DRM_MODE_ROTATE_180)
rotation          180 drivers/gpu/drm/exynos/exynos_drm_rotator.c 	else if (rotation & DRM_MODE_ROTATE_270)
rotation          228 drivers/gpu/drm/exynos/exynos_drm_rotator.c 	rotator_dst_set_transf(rot, task->transform.rotation);
rotation          263 drivers/gpu/drm/exynos/exynos_drm_scaler.c 	unsigned int rotation,
rotation          269 drivers/gpu/drm/exynos/exynos_drm_scaler.c 	if (drm_rotation_90_or_270(rotation)) {
rotation          285 drivers/gpu/drm/exynos/exynos_drm_scaler.c 	unsigned int rotation)
rotation          289 drivers/gpu/drm/exynos/exynos_drm_scaler.c 	if (rotation & DRM_MODE_ROTATE_90)
rotation          291 drivers/gpu/drm/exynos/exynos_drm_scaler.c 	else if (rotation & DRM_MODE_ROTATE_180)
rotation          293 drivers/gpu/drm/exynos/exynos_drm_scaler.c 	else if (rotation & DRM_MODE_ROTATE_270)
rotation          295 drivers/gpu/drm/exynos/exynos_drm_scaler.c 	if (rotation & DRM_MODE_REFLECT_X)
rotation          297 drivers/gpu/drm/exynos/exynos_drm_scaler.c 	if (rotation & DRM_MODE_REFLECT_Y)
rotation          390 drivers/gpu/drm/exynos/exynos_drm_scaler.c 	scaler_set_hv_ratio(scaler, task->transform.rotation, src_pos, dst_pos);
rotation          391 drivers/gpu/drm/exynos/exynos_drm_scaler.c 	scaler_set_rotation(scaler, task->transform.rotation);
rotation          891 drivers/gpu/drm/i915/display/intel_bios.c 	switch (config->rotation) {
rotation          126 drivers/gpu/drm/i915/display/intel_bios.h 	u32 rotation:2;
rotation         1997 drivers/gpu/drm/i915/display/intel_display.c 			unsigned int rotation)
rotation         2000 drivers/gpu/drm/i915/display/intel_display.c 	if (drm_rotation_90_or_270(rotation)) {
rotation         2176 drivers/gpu/drm/i915/display/intel_display.c 			  unsigned int rotation)
rotation         2178 drivers/gpu/drm/i915/display/intel_display.c 	if (drm_rotation_90_or_270(rotation))
rotation         2250 drivers/gpu/drm/i915/display/intel_display.c 				       unsigned int rotation,
rotation         2266 drivers/gpu/drm/i915/display/intel_display.c 		if (drm_rotation_90_or_270(rotation)) {
rotation         2296 drivers/gpu/drm/i915/display/intel_display.c 					   state->base.rotation,
rotation         2320 drivers/gpu/drm/i915/display/intel_display.c 					unsigned int rotation,
rotation         2336 drivers/gpu/drm/i915/display/intel_display.c 		if (drm_rotation_90_or_270(rotation)) {
rotation         2373 drivers/gpu/drm/i915/display/intel_display.c 	unsigned int rotation = state->base.rotation;
rotation         2383 drivers/gpu/drm/i915/display/intel_display.c 					    pitch, rotation, alignment);
rotation         2603 drivers/gpu/drm/i915/display/intel_display.c 	unsigned int rotation = plane_state->base.rotation;
rotation         2620 drivers/gpu/drm/i915/display/intel_display.c 	stride = intel_fb_pitch(fb, 0, rotation);
rotation         2622 drivers/gpu/drm/i915/display/intel_display.c 				       fb->modifier, rotation);
rotation         2800 drivers/gpu/drm/i915/display/intel_display.c 	unsigned int rotation = plane_state->base.rotation;
rotation         2808 drivers/gpu/drm/i915/display/intel_display.c 	plane_state->view.type = drm_rotation_90_or_270(rotation) ?
rotation         2823 drivers/gpu/drm/i915/display/intel_display.c 	if (drm_rotation_90_or_270(rotation))
rotation         2863 drivers/gpu/drm/i915/display/intel_display.c 		if (drm_rotation_90_or_270(rotation)) {
rotation         2910 drivers/gpu/drm/i915/display/intel_display.c 	unsigned int rotation = plane_state->base.rotation;
rotation         2930 drivers/gpu/drm/i915/display/intel_display.c 	intel_fill_fb_ggtt_view(&plane_state->view, &fb->base, rotation);
rotation         2933 drivers/gpu/drm/i915/display/intel_display.c 		plane_state->color_plane[i].stride = intel_fb_pitch(&fb->base, i, rotation);
rotation         2936 drivers/gpu/drm/i915/display/intel_display.c 		if (drm_rotation_90_or_270(rotation)) {
rotation         2946 drivers/gpu/drm/i915/display/intel_display.c 	if (drm_rotation_90_or_270(rotation))
rotation         3230 drivers/gpu/drm/i915/display/intel_display.c 	intel_state->base.rotation = plane_config->rotation;
rotation         3232 drivers/gpu/drm/i915/display/intel_display.c 				intel_state->base.rotation);
rotation         3234 drivers/gpu/drm/i915/display/intel_display.c 		intel_fb_pitch(fb, 0, intel_state->base.rotation);
rotation         3279 drivers/gpu/drm/i915/display/intel_display.c 			       unsigned int rotation)
rotation         3317 drivers/gpu/drm/i915/display/intel_display.c 			       unsigned int rotation)
rotation         3345 drivers/gpu/drm/i915/display/intel_display.c 			       unsigned int rotation)
rotation         3392 drivers/gpu/drm/i915/display/intel_display.c 	unsigned int rotation = plane_state->base.rotation;
rotation         3402 drivers/gpu/drm/i915/display/intel_display.c 		max_width = icl_max_plane_width(fb, 0, rotation);
rotation         3404 drivers/gpu/drm/i915/display/intel_display.c 		max_width = glk_max_plane_width(fb, 0, rotation);
rotation         3406 drivers/gpu/drm/i915/display/intel_display.c 		max_width = skl_max_plane_width(fb, 0, rotation);
rotation         3484 drivers/gpu/drm/i915/display/intel_display.c 	unsigned int rotation = plane_state->base.rotation;
rotation         3485 drivers/gpu/drm/i915/display/intel_display.c 	int max_width = skl_max_plane_width(fb, 1, rotation);
rotation         3571 drivers/gpu/drm/i915/display/intel_display.c 		      unsigned int rotation)
rotation         3619 drivers/gpu/drm/i915/display/intel_display.c 	unsigned int rotation = plane_state->base.rotation;
rotation         3659 drivers/gpu/drm/i915/display/intel_display.c 	if (rotation & DRM_MODE_ROTATE_180)
rotation         3662 drivers/gpu/drm/i915/display/intel_display.c 	if (rotation & DRM_MODE_REFLECT_X)
rotation         3704 drivers/gpu/drm/i915/display/intel_display.c 		unsigned int rotation = plane_state->base.rotation;
rotation         3708 drivers/gpu/drm/i915/display/intel_display.c 		if (rotation & DRM_MODE_ROTATE_180) {
rotation         3711 drivers/gpu/drm/i915/display/intel_display.c 		} else if (rotation & DRM_MODE_REFLECT_X) {
rotation         3940 drivers/gpu/drm/i915/display/intel_display.c 					  int color_plane, unsigned int rotation)
rotation         3948 drivers/gpu/drm/i915/display/intel_display.c 	else if (drm_rotation_90_or_270(rotation))
rotation         3958 drivers/gpu/drm/i915/display/intel_display.c 	unsigned int rotation = plane_state->base.rotation;
rotation         3964 drivers/gpu/drm/i915/display/intel_display.c 	return stride / skl_plane_stride_mult(fb, color_plane, rotation);
rotation         4143 drivers/gpu/drm/i915/display/intel_display.c 	unsigned int rotation = plane_state->base.rotation;
rotation         4162 drivers/gpu/drm/i915/display/intel_display.c 	plane_ctl |= skl_plane_ctl_rotate(rotation & DRM_MODE_ROTATE_MASK);
rotation         4165 drivers/gpu/drm/i915/display/intel_display.c 		plane_ctl |= cnl_plane_ctl_flip(rotation &
rotation         8627 drivers/gpu/drm/i915/display/intel_display.c 			plane_config->rotation = DRM_MODE_ROTATE_180;
rotation         8632 drivers/gpu/drm/i915/display/intel_display.c 		plane_config->rotation |= DRM_MODE_REFLECT_X;
rotation         9872 drivers/gpu/drm/i915/display/intel_display.c 		plane_config->rotation = DRM_MODE_ROTATE_0;
rotation         9875 drivers/gpu/drm/i915/display/intel_display.c 		plane_config->rotation = DRM_MODE_ROTATE_270;
rotation         9878 drivers/gpu/drm/i915/display/intel_display.c 		plane_config->rotation = DRM_MODE_ROTATE_180;
rotation         9881 drivers/gpu/drm/i915/display/intel_display.c 		plane_config->rotation = DRM_MODE_ROTATE_90;
rotation         9887 drivers/gpu/drm/i915/display/intel_display.c 		plane_config->rotation |= DRM_MODE_REFLECT_X;
rotation         10521 drivers/gpu/drm/i915/display/intel_display.c 	    plane_state->base.rotation & DRM_MODE_ROTATE_180)
rotation         10626 drivers/gpu/drm/i915/display/intel_display.c 		       unsigned int rotation)
rotation         10778 drivers/gpu/drm/i915/display/intel_display.c 		       unsigned int rotation)
rotation         10829 drivers/gpu/drm/i915/display/intel_display.c 	if (plane_state->base.rotation & DRM_MODE_ROTATE_180)
rotation         10862 drivers/gpu/drm/i915/display/intel_display.c 	    plane_state->base.rotation & DRM_MODE_ROTATE_0) {
rotation         11481 drivers/gpu/drm/i915/display/intel_display.c 	    cur->base.rotation != new->base.rotation ||
rotation         12063 drivers/gpu/drm/i915/display/intel_display.c 		      plane_state->base.rotation, plane_state->scaler_id);
rotation          538 drivers/gpu/drm/i915/display/intel_display.h 				   unsigned int rotation);
rotation          582 drivers/gpu/drm/i915/display/intel_display_types.h 	u8 rotation;
rotation         1053 drivers/gpu/drm/i915/display/intel_display_types.h 				   unsigned int rotation);
rotation          673 drivers/gpu/drm/i915/display/intel_fbc.c 	cache->plane.rotation = plane_state->base.rotation;
rotation          747 drivers/gpu/drm/i915/display/intel_fbc.c 	    cache->plane.rotation != DRM_MODE_ROTATE_0) {
rotation          257 drivers/gpu/drm/i915/display/intel_sprite.c 	unsigned int rotation = plane_state->base.rotation;
rotation          273 drivers/gpu/drm/i915/display/intel_sprite.c 				       fb->modifier, rotation);
rotation          290 drivers/gpu/drm/i915/display/intel_sprite.c 	bool rotated = drm_rotation_90_or_270(plane_state->base.rotation);
rotation          343 drivers/gpu/drm/i915/display/intel_sprite.c 		     unsigned int rotation)
rotation          352 drivers/gpu/drm/i915/display/intel_sprite.c 	if (drm_rotation_90_or_270(rotation))
rotation          842 drivers/gpu/drm/i915/display/intel_sprite.c 	unsigned int rotation = plane_state->base.rotation;
rotation          893 drivers/gpu/drm/i915/display/intel_sprite.c 	if (rotation & DRM_MODE_ROTATE_180)
rotation          896 drivers/gpu/drm/i915/display/intel_sprite.c 	if (rotation & DRM_MODE_REFLECT_X)
rotation         1053 drivers/gpu/drm/i915/display/intel_sprite.c 	unsigned int rotation = plane_state->base.rotation;
rotation         1097 drivers/gpu/drm/i915/display/intel_sprite.c 	if (rotation & DRM_MODE_ROTATE_180)
rotation         1263 drivers/gpu/drm/i915/display/intel_sprite.c 		      unsigned int rotation)
rotation         1287 drivers/gpu/drm/i915/display/intel_sprite.c 	unsigned int rotation = plane_state->base.rotation;
rotation         1329 drivers/gpu/drm/i915/display/intel_sprite.c 	if (rotation & DRM_MODE_ROTATE_180)
rotation         1636 drivers/gpu/drm/i915/display/intel_sprite.c 	unsigned int rotation = plane_state->base.rotation;
rotation         1640 drivers/gpu/drm/i915/display/intel_sprite.c 	    rotation & DRM_MODE_ROTATE_180 &&
rotation         1641 drivers/gpu/drm/i915/display/intel_sprite.c 	    rotation & DRM_MODE_REFLECT_X) {
rotation         1689 drivers/gpu/drm/i915/display/intel_sprite.c 	unsigned int rotation = plane_state->base.rotation;
rotation         1695 drivers/gpu/drm/i915/display/intel_sprite.c 	if (rotation & ~(DRM_MODE_ROTATE_0 | DRM_MODE_ROTATE_180) &&
rotation         1698 drivers/gpu/drm/i915/display/intel_sprite.c 			      rotation);
rotation         1702 drivers/gpu/drm/i915/display/intel_sprite.c 	if (rotation & DRM_MODE_REFLECT_X &&
rotation         1708 drivers/gpu/drm/i915/display/intel_sprite.c 	if (drm_rotation_90_or_270(rotation)) {
rotation         1790 drivers/gpu/drm/i915/display/intel_sprite.c 	unsigned int rotation = plane_state->base.rotation;
rotation         1795 drivers/gpu/drm/i915/display/intel_sprite.c 	    (rotation == DRM_MODE_ROTATE_270 ||
rotation         1796 drivers/gpu/drm/i915/display/intel_sprite.c 	     rotation == (DRM_MODE_REFLECT_X | DRM_MODE_ROTATE_90))) {
rotation          701 drivers/gpu/drm/i915/display/intel_vbt_defs.h 	u32 rotation;						/* 228 */
rotation         2626 drivers/gpu/drm/i915/i915_debugfs.c static void plane_rotation(char *buf, size_t bufsize, unsigned int rotation)
rotation         2634 drivers/gpu/drm/i915/i915_debugfs.c 		 (rotation & DRM_MODE_ROTATE_0) ? "0 " : "",
rotation         2635 drivers/gpu/drm/i915/i915_debugfs.c 		 (rotation & DRM_MODE_ROTATE_90) ? "90 " : "",
rotation         2636 drivers/gpu/drm/i915/i915_debugfs.c 		 (rotation & DRM_MODE_ROTATE_180) ? "180 " : "",
rotation         2637 drivers/gpu/drm/i915/i915_debugfs.c 		 (rotation & DRM_MODE_ROTATE_270) ? "270 " : "",
rotation         2638 drivers/gpu/drm/i915/i915_debugfs.c 		 (rotation & DRM_MODE_REFLECT_X) ? "FLIPX " : "",
rotation         2639 drivers/gpu/drm/i915/i915_debugfs.c 		 (rotation & DRM_MODE_REFLECT_Y) ? "FLIPY " : "",
rotation         2640 drivers/gpu/drm/i915/i915_debugfs.c 		 rotation);
rotation         2669 drivers/gpu/drm/i915/i915_debugfs.c 		plane_rotation(rot_str, sizeof(rot_str), state->rotation);
rotation          387 drivers/gpu/drm/i915/i915_drv.h 			unsigned int rotation;
rotation         3936 drivers/gpu/drm/i915/intel_pm.c 				 u64 modifier, unsigned int rotation,
rotation         4641 drivers/gpu/drm/i915/intel_pm.c 		      u64 modifier, unsigned int rotation,
rotation         4677 drivers/gpu/drm/i915/intel_pm.c 	if (drm_rotation_90_or_270(rotation)) {
rotation         4751 drivers/gpu/drm/i915/intel_pm.c 				     plane_state->base.rotation,
rotation         1040 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c 		unsigned int rotation;
rotation         1044 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c 		rotation = drm_rotation_simplify(state->rotation,
rotation         1049 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c 		if (rotation & DRM_MODE_REFLECT_X)
rotation         1052 drivers/gpu/drm/msm/disp/dpu1/dpu_plane.c 		if (rotation & DRM_MODE_REFLECT_Y)
rotation          308 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c 		unsigned int rotation;
rotation          321 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c 		rotation = drm_rotation_simplify(state->rotation,
rotation          326 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c 		if (rotation & DRM_MODE_REFLECT_X)
rotation          329 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c 		if (rotation & DRM_MODE_REFLECT_Y)
rotation          928 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c 	unsigned int rotation;
rotation         1003 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c 	rotation = drm_rotation_simplify(pstate->rotation,
rotation         1007 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c 	hflip = !!(rotation & DRM_MODE_REFLECT_X);
rotation         1008 drivers/gpu/drm/msm/disp/mdp5/mdp5_plane.c 	vflip = !!(rotation & DRM_MODE_REFLECT_Y);
rotation         1134 drivers/gpu/drm/omapdrm/dss/dispc.c 					   enum omap_dss_rotation_type rotation)
rotation         1139 drivers/gpu/drm/omapdrm/dss/dispc.c 	if (rotation == OMAP_DSS_ROT_TILER)
rotation         1722 drivers/gpu/drm/omapdrm/dss/dispc.c 				      bool five_taps, u8 rotation,
rotation         1739 drivers/gpu/drm/omapdrm/dss/dispc.c 				  bool ilace, u32 fourcc, u8 rotation)
rotation         1778 drivers/gpu/drm/omapdrm/dss/dispc.c 	switch (rotation & DRM_MODE_ROTATE_MASK) {
rotation         1830 drivers/gpu/drm/omapdrm/dss/dispc.c 					 u8 rotation)
rotation         1838 drivers/gpu/drm/omapdrm/dss/dispc.c 				  rotation, DISPC_COLOR_COMPONENT_RGB_Y);
rotation         1885 drivers/gpu/drm/omapdrm/dss/dispc.c 				     u8 rotation)
rotation         1906 drivers/gpu/drm/omapdrm/dss/dispc.c 			      out_height, ilace, fourcc, rotation);
rotation         1924 drivers/gpu/drm/omapdrm/dss/dispc.c 		if (!drm_rotation_90_or_270(rotation)) {
rotation         1934 drivers/gpu/drm/omapdrm/dss/dispc.c 		if ((rotation & DRM_MODE_ROTATE_MASK) != DRM_MODE_ROTATE_0)
rotation         1950 drivers/gpu/drm/omapdrm/dss/dispc.c 				  rotation, DISPC_COLOR_COMPONENT_UV);
rotation         1968 drivers/gpu/drm/omapdrm/dss/dispc.c 				  u8 rotation)
rotation         1974 drivers/gpu/drm/omapdrm/dss/dispc.c 				     fieldmode, fourcc, rotation);
rotation         1978 drivers/gpu/drm/omapdrm/dss/dispc.c 				 fieldmode, fourcc, rotation);
rotation         1982 drivers/gpu/drm/omapdrm/dss/dispc.c 					 enum omap_plane_id plane, u8 rotation,
rotation         1992 drivers/gpu/drm/omapdrm/dss/dispc.c 		if (rotation & DRM_MODE_REFLECT_X) {
rotation         1993 drivers/gpu/drm/omapdrm/dss/dispc.c 			switch (rotation & DRM_MODE_ROTATE_MASK) {
rotation         2008 drivers/gpu/drm/omapdrm/dss/dispc.c 			switch (rotation & DRM_MODE_ROTATE_MASK) {
rotation         2024 drivers/gpu/drm/omapdrm/dss/dispc.c 		if (drm_rotation_90_or_270(rotation))
rotation         2047 drivers/gpu/drm/omapdrm/dss/dispc.c 			!drm_rotation_90_or_270(rotation);
rotation         2100 drivers/gpu/drm/omapdrm/dss/dispc.c 		enum omap_dss_rotation_type rotation_type, u8 rotation)
rotation         2110 drivers/gpu/drm/omapdrm/dss/dispc.c 	    drm_rotation_90_or_270(rotation)) {
rotation         2595 drivers/gpu/drm/omapdrm/dss/dispc.c 				  u32 fourcc, u8 rotation, u8 zorder,
rotation         2709 drivers/gpu/drm/omapdrm/dss/dispc.c 			rotation_type, rotation);
rotation         2745 drivers/gpu/drm/omapdrm/dss/dispc.c 				      fieldmode, fourcc, rotation);
rotation         2750 drivers/gpu/drm/omapdrm/dss/dispc.c 	dispc_ovl_set_rotation_attrs(dispc, plane, rotation, rotation_type,
rotation         2776 drivers/gpu/drm/omapdrm/dss/dispc.c 		oi->fourcc, oi->rotation, channel, replication);
rotation         2782 drivers/gpu/drm/omapdrm/dss/dispc.c 		oi->out_width, oi->out_height, oi->fourcc, oi->rotation,
rotation         2811 drivers/gpu/drm/omapdrm/dss/dispc.c 		in_height, wi->width, wi->height, wi->fourcc, wi->rotation);
rotation         2815 drivers/gpu/drm/omapdrm/dss/dispc.c 		wi->height, wi->fourcc, wi->rotation, zorder,
rotation         4571 drivers/gpu/drm/omapdrm/dss/dispc.c 		.rotation = DRM_MODE_ROTATE_0,
rotation          236 drivers/gpu/drm/omapdrm/dss/omapdss.h 	u8 rotation;
rotation          283 drivers/gpu/drm/omapdrm/dss/omapdss.h 	u8 rotation;
rotation           24 drivers/gpu/drm/omapdrm/omap_crtc.c 	unsigned int rotation;
rotation          590 drivers/gpu/drm/omapdrm/omap_crtc.c 		omap_crtc_state->rotation = pri_state->rotation;
rotation          671 drivers/gpu/drm/omapdrm/omap_crtc.c 		plane_state->rotation = val;
rotation          689 drivers/gpu/drm/omapdrm/omap_crtc.c 		*val = omap_state->rotation;
rotation          727 drivers/gpu/drm/omapdrm/omap_crtc.c 	state->rotation = current_state->rotation;
rotation          151 drivers/gpu/drm/omapdrm/omap_fb.c 	if (drm_rotation_90_or_270(state->rotation))
rotation          161 drivers/gpu/drm/omapdrm/omap_fb.c 		orient = drm_rotation_to_tiler(state->rotation);
rotation          185 drivers/gpu/drm/omapdrm/omap_fb.c 		info->rotation = state->rotation ?: DRM_MODE_ROTATE_0;
rotation          189 drivers/gpu/drm/omapdrm/omap_fb.c 		switch (state->rotation & DRM_MODE_ROTATE_MASK) {
rotation          198 drivers/gpu/drm/omapdrm/omap_fb.c 				state->rotation);
rotation          204 drivers/gpu/drm/omapdrm/omap_fb.c 		info->rotation      = DRM_MODE_ROTATE_0;
rotation           55 drivers/gpu/drm/omapdrm/omap_plane.c 	info.rotation = DRM_MODE_ROTATE_0;
rotation           92 drivers/gpu/drm/omapdrm/omap_plane.c 	plane->state->rotation = DRM_MODE_ROTATE_0;
rotation          128 drivers/gpu/drm/omapdrm/omap_plane.c 	if (state->rotation != DRM_MODE_ROTATE_0 &&
rotation          755 drivers/gpu/drm/rockchip/rockchip_drm_vop.c 	if (fb->format->is_yuv && state->rotation & DRM_MODE_REFLECT_Y) {
rotation          841 drivers/gpu/drm/rockchip/rockchip_drm_vop.c 	if (state->rotation & DRM_MODE_REFLECT_Y)
rotation          853 drivers/gpu/drm/rockchip/rockchip_drm_vop.c 		    (state->rotation & DRM_MODE_REFLECT_Y) ? 1 : 0);
rotation          855 drivers/gpu/drm/rockchip/rockchip_drm_vop.c 		    (state->rotation & DRM_MODE_REFLECT_X) ? 1 : 0);
rotation           97 drivers/gpu/drm/selftests/test-drm_plane_helper.c 		.rotation = DRM_MODE_ROTATE_0
rotation          113 drivers/gpu/drm/selftests/test-drm_plane_helper.c 	plane_state.rotation = DRM_MODE_ROTATE_90 | DRM_MODE_REFLECT_X;
rotation          122 drivers/gpu/drm/selftests/test-drm_plane_helper.c 	plane_state.rotation = DRM_MODE_ROTATE_0;
rotation          604 drivers/gpu/drm/tegra/dc.c 	unsigned int rotation = DRM_MODE_ROTATE_0 | DRM_MODE_REFLECT_Y;
rotation          642 drivers/gpu/drm/tegra/dc.c 	rotation = drm_rotation_simplify(state->rotation, rotation);
rotation          644 drivers/gpu/drm/tegra/dc.c 	if (rotation & DRM_MODE_REFLECT_Y)
rotation          162 drivers/gpu/drm/tiny/hx8357d.c 	switch (dbidev->rotation) {
rotation          226 drivers/gpu/drm/tiny/hx8357d.c 	u32 rotation = 0;
rotation          252 drivers/gpu/drm/tiny/hx8357d.c 	device_property_read_u32(dev, "rotation", &rotation);
rotation          258 drivers/gpu/drm/tiny/hx8357d.c 	ret = mipi_dbi_dev_init(dbidev, &hx8357d_pipe_funcs, &yx350hv15_mode, rotation);
rotation          112 drivers/gpu/drm/tiny/ili9225.c 	switch (dbidev->rotation) {
rotation          236 drivers/gpu/drm/tiny/ili9225.c 	switch (dbidev->rotation) {
rotation          385 drivers/gpu/drm/tiny/ili9225.c 	u32 rotation = 0;
rotation          414 drivers/gpu/drm/tiny/ili9225.c 	device_property_read_u32(dev, "rotation", &rotation);
rotation          423 drivers/gpu/drm/tiny/ili9225.c 	ret = mipi_dbi_dev_init(dbidev, &ili9225_pipe_funcs, &ili9225_mode, rotation);
rotation          116 drivers/gpu/drm/tiny/ili9341.c 	switch (dbidev->rotation) {
rotation          183 drivers/gpu/drm/tiny/ili9341.c 	u32 rotation = 0;
rotation          216 drivers/gpu/drm/tiny/ili9341.c 	device_property_read_u32(dev, "rotation", &rotation);
rotation          222 drivers/gpu/drm/tiny/ili9341.c 	ret = mipi_dbi_dev_init(dbidev, &ili9341_pipe_funcs, &yx240qv29_mode, rotation);
rotation          120 drivers/gpu/drm/tiny/mi0283qt.c 	switch (dbidev->rotation) {
rotation          187 drivers/gpu/drm/tiny/mi0283qt.c 	u32 rotation = 0;
rotation          224 drivers/gpu/drm/tiny/mi0283qt.c 	device_property_read_u32(dev, "rotation", &rotation);
rotation          230 drivers/gpu/drm/tiny/mi0283qt.c 	ret = mipi_dbi_dev_init(dbidev, &mi0283qt_pipe_funcs, &mi0283qt_mode, rotation);
rotation          225 drivers/gpu/drm/tiny/st7586.c 	switch (dbidev->rotation) {
rotation          325 drivers/gpu/drm/tiny/st7586.c 	u32 rotation = 0;
rotation          357 drivers/gpu/drm/tiny/st7586.c 	device_property_read_u32(dev, "rotation", &rotation);
rotation          368 drivers/gpu/drm/tiny/st7586.c 					     &st7586_mode, rotation, bufsize);
rotation           76 drivers/gpu/drm/tiny/st7735r.c 	switch (dbidev->rotation) {
rotation          157 drivers/gpu/drm/tiny/st7735r.c 	u32 rotation = 0;
rotation          190 drivers/gpu/drm/tiny/st7735r.c 	device_property_read_u32(dev, "rotation", &rotation);
rotation          199 drivers/gpu/drm/tiny/st7735r.c 	ret = mipi_dbi_dev_init(dbidev, &jd_t18003_t01_pipe_funcs, &jd_t18003_t01_mode, rotation);
rotation          600 drivers/gpu/drm/vc4/vc4_plane.c 	unsigned int rotation;
rotation          624 drivers/gpu/drm/vc4/vc4_plane.c 	rotation = drm_rotation_simplify(state->rotation,
rotation          631 drivers/gpu/drm/vc4/vc4_plane.c 	if (rotation & DRM_MODE_REFLECT_Y)
rotation          692 drivers/gpu/drm/vc4/vc4_plane.c 		if (rotation & DRM_MODE_REFLECT_Y) {
rotation          782 drivers/gpu/drm/vc4/vc4_plane.c 			(rotation & DRM_MODE_REFLECT_X ? SCALER_CTL0_HFLIP : 0) |
rotation          783 drivers/gpu/drm/vc4/vc4_plane.c 			(rotation & DRM_MODE_REFLECT_Y ? SCALER_CTL0_VFLIP : 0) |
rotation         1035 drivers/gpu/drm/vc4/vc4_plane.c 	plane->state->rotation = state->rotation;
rotation          148 drivers/gpu/ipu-v3/ipu-ic.c 	bool rotation;
rotation          280 drivers/gpu/ipu-v3/ipu-ic.c 	if (ic->rotation)
rotation          584 drivers/gpu/ipu-v3/ipu-ic.c 		ic->rotation = true;
rotation          624 drivers/gpu/ipu-v3/ipu-ic.c 	if (ic->rotation)
rotation          648 drivers/gpu/ipu-v3/ipu-ic.c 	if (ic->rotation)
rotation          651 drivers/gpu/ipu-v3/ipu-ic.c 	ic->rotation = ic->graphics = false;
rotation         1316 drivers/hid/wacom_wac.c 				int16_t rotation =
rotation         1318 drivers/hid/wacom_wac.c 				rotation += 1800/4;
rotation         1320 drivers/hid/wacom_wac.c 				if (rotation > 899)
rotation         1321 drivers/hid/wacom_wac.c 					rotation -= 1800;
rotation         1327 drivers/hid/wacom_wac.c 				input_report_abs(pen_input, ABS_Z, rotation);
rotation         1130 drivers/iio/accel/st_accel_core.c 			adata->mount_matrix->rotation[i * 3 + j] = str_value;
rotation          482 drivers/iio/industrialio-core.c 	.rotation = {
rotation          510 drivers/iio/industrialio-core.c 			mtx->rotation[0], mtx->rotation[1], mtx->rotation[2],
rotation          511 drivers/iio/industrialio-core.c 			mtx->rotation[3], mtx->rotation[4], mtx->rotation[5],
rotation          512 drivers/iio/industrialio-core.c 			mtx->rotation[6], mtx->rotation[7], mtx->rotation[8]);
rotation          531 drivers/iio/industrialio-core.c 	size_t len = ARRAY_SIZE(iio_mount_idmatrix.rotation);
rotation          535 drivers/iio/industrialio-core.c 						matrix->rotation, len);
rotation         2950 drivers/media/i2c/ov5640.c 	u32 rotation;
rotation         2983 drivers/media/i2c/ov5640.c 				       &rotation);
rotation         2985 drivers/media/i2c/ov5640.c 		switch (rotation) {
rotation         2993 drivers/media/i2c/ov5640.c 				 rotation);
rotation         2755 drivers/media/i2c/smiapp/smiapp-core.c 	u32 rotation;
rotation         2798 drivers/media/i2c/smiapp/smiapp-core.c 	rval = fwnode_property_read_u32(fwnode, "rotation", &rotation);
rotation         2800 drivers/media/i2c/smiapp/smiapp-core.c 		switch (rotation) {
rotation         2808 drivers/media/i2c/smiapp/smiapp-core.c 			dev_err(dev, "invalid rotation %u\n", rotation);
rotation          732 drivers/media/platform/exynos-gsc/gsc-core.c 		ctx->rotation = ctrl->val;
rotation          366 drivers/media/platform/exynos-gsc/gsc-core.h 	int			rotation;
rotation          576 drivers/media/platform/exynos4-is/fimc-capture.c 	bool rotation = ctx->rotation == 90 || ctx->rotation == 270;
rotation          624 drivers/media/platform/exynos4-is/fimc-capture.c 	max_w = rotation ? pl->out_rot_en_w : pl->out_rot_dis_w;
rotation          632 drivers/media/platform/exynos4-is/fimc-capture.c 	if (var->min_vsize_align == 1 && !rotation)
rotation          653 drivers/media/platform/exynos4-is/fimc-capture.c 	bool rotate = ctx->rotation == 90 || ctx->rotation == 270;
rotation          673 drivers/media/platform/exynos4-is/fimc-capture.c 		if (ctx->rotation != 90 && ctx->rotation != 270)
rotation          193 drivers/media/platform/exynos4-is/fimc-core.c 			    int dw, int dh, int rotation)
rotation          195 drivers/media/platform/exynos4-is/fimc-core.c 	if (rotation == 90 || rotation == 270)
rotation          235 drivers/media/platform/exynos4-is/fimc-core.c 	if (ctx->rotation == 90 || ctx->rotation == 270) {
rotation          537 drivers/media/platform/exynos4-is/fimc-core.c 		ctx->rotation = ctrl->val;
rotation          644 drivers/media/platform/exynos4-is/fimc-core.c 		ctx->rotation = ctrls->rotate->val;
rotation          649 drivers/media/platform/exynos4-is/fimc-core.c 		ctx->rotation = 0;
rotation          492 drivers/media/platform/exynos4-is/fimc-core.h 	int			rotation;
rotation          630 drivers/media/platform/exynos4-is/fimc-core.h 			    int dw, int dh, int rotation);
rotation          743 drivers/media/platform/exynos4-is/fimc-is-param.h 	struct param_scaler_rotation	rotation;
rotation          507 drivers/media/platform/exynos4-is/fimc-m2m.c 				ctx->d_frame.height, ctx->rotation);
rotation          511 drivers/media/platform/exynos4-is/fimc-m2m.c 				s->r.height, ctx->rotation);
rotation           50 drivers/media/platform/exynos4-is/fimc-reg.c 	if (ctx->rotation <= 90)
rotation           65 drivers/media/platform/exynos4-is/fimc-reg.c 	if (ctx->rotation <= 90)
rotation           85 drivers/media/platform/exynos4-is/fimc-reg.c 	if (ctx->rotation == 90 || ctx->rotation == 270) {
rotation          134 drivers/media/platform/exynos4-is/fimc-reg.c 	if (ctx->rotation == 90 || ctx->rotation == 270)
rotation          205 drivers/media/platform/mtk-mdp/mtk_mdp_core.h 	int				rotation;
rotation         1018 drivers/media/platform/mtk-mdp/mtk_mdp_m2m.c 		ctx->rotation = ctrl->val;
rotation          177 drivers/media/platform/omap/omap_vout.c 			enum dss_rotation *rotation, bool mirror)
rotation          183 drivers/media/platform/omap/omap_vout.c 		*rotation = dss_rotation_90_degree;
rotation          186 drivers/media/platform/omap/omap_vout.c 		*rotation = dss_rotation_180_degree;
rotation          189 drivers/media/platform/omap/omap_vout.c 		*rotation = dss_rotation_270_degree;
rotation          192 drivers/media/platform/omap/omap_vout.c 		*rotation = dss_rotation_0_degree;
rotation          323 drivers/media/platform/omap/omap_vout.c 		info.rotation = 0;
rotation          327 drivers/media/platform/omap/omap_vout.c 		info.rotation = vout->rotation;
rotation          337 drivers/media/platform/omap/omap_vout.c 		info.color_mode, info.rotation, info.mirror, info.pos_x,
rotation          378 drivers/media/platform/omap/omap_vout.c 		switch (vout->rotation) {
rotation          869 drivers/media/platform/omap/omap_vout.c 		int rotation = ctrl->val;
rotation          873 drivers/media/platform/omap/omap_vout.c 		if (rotation && ovid->rotation_type == VOUT_ROT_NONE) {
rotation          878 drivers/media/platform/omap/omap_vout.c 		if (rotation && vout->pix.pixelformat == V4L2_PIX_FMT_RGB24) {
rotation          883 drivers/media/platform/omap/omap_vout.c 		if (v4l2_rot_to_dss_rot(rotation, &vout->rotation,
rotation         1364 drivers/media/platform/omap/omap_vout.c 	vout->rotation = 0;
rotation          240 drivers/media/platform/omap/omap_vout_vrfb.c 	enum dss_rotation rotation;
rotation          307 drivers/media/platform/omap/omap_vout_vrfb.c 	rotation = calc_rotation(vout);
rotation          309 drivers/media/platform/omap/omap_vout_vrfb.c 		vout->vrfb_context[vb->index].paddr[rotation];
rotation          320 drivers/media/platform/omap/omap_vout_vrfb.c 	enum dss_rotation rotation;
rotation          328 drivers/media/platform/omap/omap_vout_vrfb.c 	rotation = calc_rotation(vout);
rotation          360 drivers/media/platform/omap/omap_vout_vrfb.c 	switch (rotation) {
rotation          154 drivers/media/platform/omap/omap_voutdef.h 	enum dss_rotation rotation;
rotation          186 drivers/media/platform/omap/omap_voutdef.h 	return (vout->rotation == dss_rotation_90_degree ||
rotation          187 drivers/media/platform/omap/omap_voutdef.h 			vout->rotation == dss_rotation_270_degree);
rotation          195 drivers/media/platform/omap/omap_voutdef.h 	return vout->rotation || vout->mirror;
rotation          204 drivers/media/platform/omap/omap_voutdef.h 		return vout->rotation;
rotation          206 drivers/media/platform/omap/omap_voutdef.h 	switch (vout->rotation) {
rotation          769 drivers/media/platform/qcom/venus/hfi_cmds.c 		switch (in->rotation) {
rotation          790 drivers/media/platform/qcom/venus/hfi_cmds.c 		ops->rotation = in->rotation;
rotation          635 drivers/media/platform/qcom/venus/hfi_helper.h 	u32 rotation;
rotation          152 drivers/media/platform/s3c-camif/camif-core.c 	if (vp->rotation == 90 || vp->rotation == 270)
rotation          228 drivers/media/platform/s3c-camif/camif-core.h 	u16			rotation;
rotation          333 drivers/media/platform/s3c-camif/camif-regs.c 	if (vp->rotation == 90 || vp->rotation == 270)
rotation           44 drivers/media/platform/vsp1/vsp1_wpf.c static int vsp1_wpf_set_rotation(struct vsp1_rwpf *wpf, unsigned int rotation)
rotation           56 drivers/media/platform/vsp1/vsp1_wpf.c 	rotate = rotation == 90 || rotation == 270;
rotation           98 drivers/media/platform/vsp1/vsp1_wpf.c 	unsigned int rotation;
rotation          103 drivers/media/platform/vsp1/vsp1_wpf.c 	rotation = wpf->flip.ctrls.rotate ? wpf->flip.ctrls.rotate->val : 0;
rotation          104 drivers/media/platform/vsp1/vsp1_wpf.c 	ret = vsp1_wpf_set_rotation(wpf, rotation);
rotation          120 drivers/media/platform/vsp1/vsp1_wpf.c 	if (rotation == 180 || rotation == 270)
rotation         1772 drivers/net/wireless/broadcom/b43/phy_lp.c 	int rotation = (((36 * freq) / 20) << 16) / 100;
rotation         1790 drivers/net/wireless/broadcom/b43/phy_lp.c 		theta += rotation;
rotation           86 drivers/staging/media/imx/imx-ic-prpencvf.c 	int  rotation; /* degrees */
rotation         1077 drivers/staging/media/imx/imx-ic-prpencvf.c 	int rotation, ret = 0;
rotation         1082 drivers/staging/media/imx/imx-ic-prpencvf.c 	rotation = priv->rotation;
rotation         1094 drivers/staging/media/imx/imx-ic-prpencvf.c 		rotation = ctrl->val;
rotation         1102 drivers/staging/media/imx/imx-ic-prpencvf.c 	ret = ipu_degrees_to_rot_mode(&rot_mode, rotation, hflip, vflip);
rotation         1124 drivers/staging/media/imx/imx-ic-prpencvf.c 		priv->rotation = rotation;
rotation           30 drivers/video/fbdev/aty/mach64_accel.c 	u32 rotation;
rotation           32 drivers/video/fbdev/aty/mach64_accel.c 		rotation = (dx / 4) % 6;
rotation           34 drivers/video/fbdev/aty/mach64_accel.c 		rotation = ((dx + 2) / 4) % 6;
rotation           37 drivers/video/fbdev/aty/mach64_accel.c 	return ((rotation << 8) | DST_24_ROTATION_ENABLE);
rotation          203 drivers/video/fbdev/aty/mach64_accel.c 	u32 sx = area->sx, dx = area->dx, width = area->width, rotation = 0;
rotation          235 drivers/video/fbdev/aty/mach64_accel.c 		rotation = rotation24bpp(dx, direction);
rotation          243 drivers/video/fbdev/aty/mach64_accel.c 	aty_st_le32(DST_CNTL, direction | rotation, par);
rotation          250 drivers/video/fbdev/aty/mach64_accel.c 	u32 color, dx = rect->dx, width = rect->width, rotation = 0;
rotation          272 drivers/video/fbdev/aty/mach64_accel.c 		rotation = rotation24bpp(dx, DST_X_LEFT_TO_RIGHT);
rotation          283 drivers/video/fbdev/aty/mach64_accel.c 		    DST_X_LEFT_TO_RIGHT | rotation, par);
rotation          291 drivers/video/fbdev/aty/mach64_accel.c 	u32 pix_width, rotation = 0, src, mix;
rotation          342 drivers/video/fbdev/aty/mach64_accel.c 		rotation = rotation24bpp(dx, DST_X_LEFT_TO_RIGHT);
rotation          381 drivers/video/fbdev/aty/mach64_accel.c 	aty_st_le32(DST_CNTL, DST_Y_TOP_TO_BOTTOM | DST_X_LEFT_TO_RIGHT | rotation, par);
rotation           43 drivers/video/fbdev/goldfishfb.c 	int rotation;
rotation          120 drivers/video/fbdev/goldfishfb.c 	if (fb->rotation != fb->fb.var.rotate) {
rotation          122 drivers/video/fbdev/goldfishfb.c 		fb->rotation = fb->fb.var.rotate;
rotation          123 drivers/video/fbdev/goldfishfb.c 		writel(fb->rotation, fb->reg_base + FB_SET_ROTATION);
rotation         1474 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 		bool five_taps, u8 rotation,
rotation         1489 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 		bool ilace, enum omap_color_mode color_mode, u8 rotation)
rotation         1527 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 	switch (rotation) {
rotation         1580 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 		u8 rotation)
rotation         1588 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 				rotation, DISPC_COLOR_COMPONENT_RGB_Y);
rotation         1634 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 		u8 rotation)
rotation         1652 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 			out_height, ilace, color_mode, rotation);
rotation         1670 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 		if (rotation == OMAP_DSS_ROT_0 ||
rotation         1671 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 				rotation == OMAP_DSS_ROT_180) {
rotation         1681 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 		if (rotation != OMAP_DSS_ROT_0)
rotation         1697 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 				rotation, DISPC_COLOR_COMPONENT_UV);
rotation         1714 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 		u8 rotation)
rotation         1723 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 			rotation);
rotation         1730 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 		rotation);
rotation         1733 drivers/video/fbdev/omap2/omapfb/dss/dispc.c static void dispc_ovl_set_rotation_attrs(enum omap_plane plane, u8 rotation,
rotation         1744 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 			switch (rotation) {
rotation         1759 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 			switch (rotation) {
rotation         1775 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 		if (rotation == OMAP_DSS_ROT_90 || rotation == OMAP_DSS_ROT_270)
rotation         1797 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 					(rotation == OMAP_DSS_ROT_0 ||
rotation         1798 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 					rotation == OMAP_DSS_ROT_180);
rotation         1853 drivers/video/fbdev/omap2/omapfb/dss/dispc.c static void calc_vrfb_rotation_offset(u8 rotation, bool mirror,
rotation         1880 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 	DSSDBG("calc_rot(%d): scrw %d, %dx%d\n", rotation, screen_width,
rotation         1887 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 	switch (rotation + mirror * 4) {
rotation         1940 drivers/video/fbdev/omap2/omapfb/dss/dispc.c static void calc_dma_rotation_offset(u8 rotation, bool mirror,
rotation         1964 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 	DSSDBG("calc_rot(%d): scrw %d, %dx%d\n", rotation, screen_width,
rotation         1969 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 	if (rotation == OMAP_DSS_ROT_0 || rotation == OMAP_DSS_ROT_180) {
rotation         1981 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 	switch (rotation + mirror * 4) {
rotation         2591 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 		u8 rotation, bool mirror, u8 zorder, u8 pre_mult_alpha,
rotation         2722 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 		calc_dma_rotation_offset(rotation, mirror, screen_width,
rotation         2728 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 		calc_vrfb_rotation_offset(rotation, mirror,
rotation         2765 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 				   color_mode, rotation);
rotation         2770 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 	dispc_ovl_set_rotation_attrs(plane, rotation, rotation_type, mirror,
rotation         2796 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 		oi->color_mode, oi->rotation, oi->mirror, channel, replication);
rotation         2800 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 		oi->out_width, oi->out_height, oi->color_mode, oi->rotation,
rotation         2825 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 		in_height, wi->width, wi->height, wi->color_mode, wi->rotation,
rotation         2830 drivers/video/fbdev/omap2/omapfb/dss/dispc.c 		wi->height, wi->color_mode, wi->rotation, wi->mirror, zorder,
rotation          761 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 		const struct fb_fix_screeninfo *fix, int rotation)
rotation          772 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 		const struct fb_fix_screeninfo *fix, int rotation)
rotation          776 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 	if (rotation == FB_ROTATE_UD)
rotation          779 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 	else if (rotation == FB_ROTATE_CW)
rotation          785 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 	if (rotation == FB_ROTATE_UR)
rotation          788 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 	else if (rotation == FB_ROTATE_UD)
rotation          791 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 	else if (rotation == FB_ROTATE_CW)
rotation          794 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 	else if (rotation == FB_ROTATE_CCW)
rotation          804 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 			     int rotation, u32 *paddr)
rotation          810 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 		data_start_p = omapfb_get_region_rot_paddr(ofbi, rotation);
rotation          815 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 		offset = calc_rotation_offset_vrfb(var, fix, rotation);
rotation          817 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 		offset = calc_rotation_offset_dma(var, fix, rotation);
rotation          844 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 	int rotation = var->rotate;
rotation          853 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 		rotation = (rotation + ofbi->rotation[i]) % 4;
rotation          860 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 	if (rotation == FB_ROTATE_CW || rotation == FB_ROTATE_CCW) {
rotation          869 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 		omapfb_calc_addr(ofbi, var, fix, rotation, &data_start_p);
rotation          904 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 	info.rotation = rotation;
rotation          957 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 			int rotation = (var->rotate + ofbi->rotation[i]) % 4;
rotation          958 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 			if (rotation == FB_ROTATE_CW ||
rotation          959 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 					rotation == FB_ROTATE_CCW) {
rotation         1754 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 		int rotation = (var->rotate + ofbi->rotation[0]) % 4;
rotation         1758 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 		if (rotation == FB_ROTATE_CW ||
rotation         1759 drivers/video/fbdev/omap2/omapfb/omapfb-main.c 				rotation == FB_ROTATE_CCW) {
rotation          271 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c 			ofbi->rotation[t-1] = ofbi->rotation[t];
rotation          295 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c 		ofbi->rotation[ofbi->num_overlays] = 0;
rotation          332 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c 				t == 0 ? "" : ",", ofbi->rotation[t]);
rotation          350 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c 	u8 rotation[OMAPFB_MAX_OVL_PER_FB];
rotation          375 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c 			if (ofbi->rotation[num_ovls] != rot)
rotation          378 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c 			rotation[num_ovls++] = rot;
rotation          391 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c 			ofbi->rotation[i] = rotation[i];
rotation           65 drivers/video/fbdev/omap2/omapfb/omapfb.h 	u8 rotation[OMAPFB_MAX_OVL_PER_FB];
rotation          101 include/acpi/acbuffer.h 	u8 rotation;
rotation           38 include/drm/drm_blend.h static inline bool drm_rotation_90_or_270(unsigned int rotation)
rotation           40 include/drm/drm_blend.h 	return rotation & (DRM_MODE_ROTATE_90 | DRM_MODE_ROTATE_270);
rotation           47 include/drm/drm_blend.h 				       unsigned int rotation,
rotation           49 include/drm/drm_blend.h unsigned int drm_rotation_simplify(unsigned int rotation,
rotation          158 include/drm/drm_client.h bool drm_client_rotation(struct drm_mode_set *modeset, unsigned int *rotation);
rotation          110 include/drm/drm_mipi_dbi.h 	unsigned int rotation;
rotation          139 include/drm/drm_mipi_dbi.h 				   unsigned int rotation, size_t tx_buf_size);
rotation          142 include/drm/drm_mipi_dbi.h 		      const struct drm_display_mode *mode, unsigned int rotation);
rotation          137 include/drm/drm_plane.h 	unsigned int rotation;
rotation          189 include/drm/drm_rect.h 		     unsigned int rotation);
rotation          192 include/drm/drm_rect.h 			 unsigned int rotation);
rotation          125 include/linux/iio/iio.h 	const char *rotation[9];
rotation          305 include/uapi/drm/exynos_drm.h 	__u32	rotation;
rotation          243 include/uapi/drm/i915_drm.h 	int rotation;           /* 0, 90, 180 or 270 */
rotation          301 include/video/omapfb_dss.h 	u8 rotation;
rotation          431 include/video/omapfb_dss.h 	u8 rotation;
rotation          243 tools/include/uapi/drm/i915_drm.h 	int rotation;           /* 0, 90, 180 or 270 */