'\" t .\" Title: i2c_dp_aux_add_bus .\" Author: .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: May 2018 .\" Manual: DRM Core .\" Source: Kernel Hackers Manual 3.16.56 .\" Language: English .\" .TH "I2C_DP_AUX_ADD_BUS" "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" i2c_dp_aux_add_bus \- register an i2c adapter using the aux ch helper .SH "SYNOPSIS" .HP \w'int\ i2c_dp_aux_add_bus('u .BI "int i2c_dp_aux_add_bus(struct\ i2c_adapter\ *\ " "adapter" ");" .SH "ARGUMENTS" .PP \fIadapter\fR .RS 4 i2c adapter to register .RE .SH "DESCRIPTION" .PP This registers an i2c adapter that uses dp aux channel as it\*(Aqs underlaying transport\&. The driver needs to fill out the i2c_algo_dp_aux_data structure and store it in the algo_data member of the \fIadapter\fR argument\&. This will be used by the i2c over dp aux algorithm to drive the hardware\&. .SH "RETURNS" .PP 0 on success, \-ERRNO on failure\&. .SH "IMPORTANT" .PP This interface is deprecated, please switch to the new dp aux helpers and \fBdrm_dp_aux_register\fR\&. .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