screen_width
static void calc_offset(u16 screen_width, u16 width,
DSSDBG("scrw %d, width %d\n", screen_width, width);
*offset0 = field_offset * screen_width * ps;
*row_inc = pixinc(1 + (y_predecim * screen_width - width * x_predecim) +
(fieldmode ? screen_width : 0), ps);
u16 screen_width, int pos_x, int pos_y,
calc_offset(screen_width, frame_width,
plane, &oi->paddr, &oi->p_uv_addr, oi->screen_width, oi->pos_x,
oi->screen_width, oi->pos_x, oi->pos_y, oi->width, oi->height,
.screen_width = 1,
u16 screen_width;
info->screen_width = omap_gem_tiled_stride(fb->obj[0], orient);
info->screen_width = fb->pitches[0];
info->screen_width /= format->cpp[0];
info.out_width, info.out_height, info.screen_width);
r_info.out_width, r_info.out_height, r_info.screen_width);
info.screen_width = pixwidth;
info.screen_width = 2048;
info.screen_width);
unsigned long offset, int screen_width,
lcdc.screen_width * bpp / 8 / esize);
unsigned long offset, int screen_width,
lcdc.screen_width = screen_width;
int screen_width;
int screen_width,
u16 screen_width,
DSSDBG("calc_rot(%d): scrw %d, %dx%d\n", rotation, screen_width,
*offset0 = field_offset * screen_width * ps;
(y_predecim * screen_width - x_predecim * width) +
(fieldmode ? screen_width : 0), ps);
*offset0 = field_offset * screen_width * ps;
(y_predecim * screen_width + x_predecim * width) -
(fieldmode ? screen_width : 0), ps);
u16 screen_width,
DSSDBG("calc_rot(%d): scrw %d, %dx%d\n", rotation, screen_width,
*offset0 = *offset1 + field_offset * screen_width * ps;
(y_predecim * screen_width - fbw * x_predecim) +
(fieldmode ? screen_width : 0), ps);
*offset1 = screen_width * (fbh - 1) * ps;
*row_inc = pixinc(screen_width * (fbh * x_predecim - 1) +
*pix_inc = pixinc(-x_predecim * screen_width, ps);
*offset1 = (screen_width * (fbh - 1) + fbw - 1) * ps;
*offset0 = *offset1 - field_offset * screen_width * ps;
(y_predecim * screen_width - fbw * x_predecim) -
(fieldmode ? screen_width : 0), ps);
*row_inc = pixinc(-screen_width * (fbh * x_predecim - 1) -
*pix_inc = pixinc(x_predecim * screen_width, ps);
*offset0 = *offset1 + field_offset * screen_width * ps;
*row_inc = pixinc(y_predecim * screen_width * 2 - 1 +
(fieldmode ? screen_width : 0),
*row_inc = pixinc(-screen_width * (fbh * x_predecim - 1) +
*pix_inc = pixinc(x_predecim * screen_width, ps);
*offset1 = screen_width * (fbh - 1) * ps;
*offset0 = *offset1 - field_offset * screen_width * ps;
*row_inc = pixinc(1 - y_predecim * screen_width * 2 -
(fieldmode ? screen_width : 0),
*offset1 = (screen_width * (fbh - 1) + fbw - 1) * ps;
*row_inc = pixinc(screen_width * (fbh * x_predecim - 1) -
*pix_inc = pixinc(-x_predecim * screen_width, ps);
static void calc_tiler_rotation_offset(u16 screen_width, u16 width,
DSSDBG("scrw %d, width %d\n", screen_width, width);
*offset0 = *offset1 + field_offset * screen_width * ps;
*row_inc = pixinc(1 + (y_predecim * screen_width - width * x_predecim) +
(fieldmode ? screen_width : 0), ps);
u16 screen_width, int pos_x, int pos_y, u16 width, u16 height,
calc_tiler_rotation_offset(screen_width, frame_width,
calc_dma_rotation_offset(rotation, mirror, screen_width,
screen_width, frame_width, frame_height,
plane, &oi->paddr, &oi->p_uv_addr, oi->screen_width, oi->pos_x,
oi->screen_width, oi->pos_x, oi->pos_y, oi->width, oi->height,
return sysfs_emit(buf, "%d\n", info.screen_width);
static OVERLAY_ATTR(screen_width, S_IRUGO, overlay_screen_width_show, NULL);
int screen_width;
screen_width = fix->line_length
screen_width = fix->line_length / (var->bits_per_pixel >> 3);
info.screen_width = screen_width;
u16 screen_width;