'\" t .\" Title: hdmi_avi_infoframe_pack .\" Author: .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: DRM Core .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "HDMI_AVI_INFOFRAME_P" "9" "May 2018" "Kernel Hackers Manual 3\&.16\&" "DRM Core" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" hdmi_avi_infoframe_pack \- write HDMI AVI infoframe to binary buffer .SH "SYNOPSIS" .HP \w'ssize_t\ hdmi_avi_infoframe_pack('u .BI "ssize_t hdmi_avi_infoframe_pack(struct\ hdmi_avi_infoframe\ *\ " "frame" ", void\ *\ " "buffer" ", size_t\ " "size" ");" .SH "ARGUMENTS" .PP \fIframe\fR .RS 4 HDMI AVI infoframe .RE .PP \fIbuffer\fR .RS 4 destination buffer .RE .PP \fIsize\fR .RS 4 size of buffer .RE .SH "DESCRIPTION" .PP Packs the information contained in the \fIframe\fR structure into a binary representation that can be written into the corresponding controller registers\&. Also computes the checksum as required by section 5\&.3\&.5 of the HDMI 1\&.4 specification\&. .PP Returns the number of bytes packed into the binary buffer or a negative error code on failure\&. .SH "AUTHORS" .PP \fBJesse Barnes\fR <\&jesse.barnes@intel.com\&> .br Intel Corporation, .RS 4 Initial version .RE .PP \fBLaurent Pinchart\fR <\&laurent.pinchart@ideasonboard.com\&> .br Ideas on board SPRL, .RS 4 Driver internals .RE .PP \fBDaniel Vetter\fR <\&daniel.vetter@ffwll.ch\&> .br Intel Corporation, .RS 4 Contributions all over the place .RE .SH "COPYRIGHT" .br