.\" 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_SETCOLREG" "" "06 October 2005" "" ""
.SH NAME
hgafb_setcolreg \- set color registers
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int hgafb_setcolreg (u_int \fIregno\fB, u_int \fIred\fB, u_int \fIgreen\fB, u_int \fIblue\fB, u_int \fItransp\fB, struct fb_info * \fIinfo\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIregno\fB\fR
register index to set
.TP
\fB\fIred\fB\fR
red value, unused
.TP
\fB\fIgreen\fB\fR
green value, unused
.TP
\fB\fIblue\fB\fR
blue value, unused
.TP
\fB\fItransp\fB\fR
transparency value, unused
.TP
\fB\fIinfo\fB\fR
unused
.SH "DESCRIPTION"
.PP
This callback function is used to set the color registers of a HGA
board. Since we have only two fixed colors only \fIregno\fR is checked.
A zero is returned on success and 1 for failure.