'\" t .\" Title: i2c_parse_fw_timings .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: I2C and SMBus Subsystem .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "I2C_PARSE_FW_TIMINGS" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "I2C and SMBus Subsystem" .\" ----------------------------------------------------------------- .\" * 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_parse_fw_timings \- get I2C related timing parameters from firmware .SH "SYNOPSIS" .HP \w'void\ i2c_parse_fw_timings('u .BI "void i2c_parse_fw_timings(struct\ device\ *\ " "dev" ", struct\ i2c_timings\ *\ " "t" ", bool\ " "use_defaults" ");" .SH "ARGUMENTS" .PP \fIdev\fR .RS 4 The device to scan for I2C timing properties .RE .PP \fIt\fR .RS 4 the i2c_timings struct to be filled with values .RE .PP \fIuse_defaults\fR .RS 4 bool to use sane defaults derived from the I2C specification when properties are not found, otherwise use 0 .RE .SH "DESCRIPTION" .PP Scan the device for the generic I2C properties describing timing parameters for the signal and fill the given struct with the results\&. If a property was not found and use_defaults was true, then maximum timings are assumed which are derived from the I2C specification\&. If use_defaults is not used, the results will be 0, so drivers can apply their own defaults later\&. The latter is mainly intended for avoiding regressions of existing drivers which want to switch to this function\&. New drivers almost always should use the defaults\&. .SH "COPYRIGHT" .br