.\" 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 "S1D13XXXFB_SETCOLREG" "9" "09 October 2005" "" ""
.SH NAME
s1d13xxxfb_setcolreg \- sets a color register.
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int s1d13xxxfb_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
Which register in the CLUT we are programming
.TP
\fB\fIred\fB\fR
The red value which can be up to 16 bits wide
.TP
\fB\fIgreen\fB\fR
The green value which can be up to 16 bits wide
.TP
\fB\fIblue\fB\fR
The blue value which can be up to 16 bits wide.
.TP
\fB\fItransp\fB\fR
If supported the alpha value which can be up to 16 bits wide.
.TP
\fB\fIinfo\fB\fR
frame buffer info structure
.SH "DESCRIPTION"
.PP
Returns negative errno on error, or zero on success.