.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "HGAFB_PAN_DISPLAY" "" "06 October 2005" "" ""
.SH NAME
hgafb_pan_display \- pan or wrap the display
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int hgafb_pan_display (struct fb_var_screeninfo * \fIvar\fB, struct fb_info * \fIinfo\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIvar\fB\fR
contains new xoffset, yoffset and vmode values
.TP
\fB\fIinfo\fB\fR
pointer to fb_info object containing info for current hga board
.SH "DESCRIPTION"
.PP
This function looks only at xoffset, yoffset and the FB_VMODE_YWRAP
flag in \fIvar\fR\&. If input parameters are correct it calls \fBhga_pan\fR to
program the hardware. \fIinfo\fR->var is updated to the new values.
A zero is returned on success and -EINVAL for failure.