'\" t .\" Title: cmf_read .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: July 2017 .\" Manual: The ccw bus .\" Source: Kernel Hackers Manual 4.11.6 .\" Language: English .\" .TH "CMF_READ" "9" "July 2017" "Kernel Hackers Manual 4\&.11\&" "The ccw bus" .\" ----------------------------------------------------------------- .\" * 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" cmf_read \- read one value from the current channel measurement block .SH "SYNOPSIS" .HP \w'u64\ cmf_read('u .BI "u64 cmf_read(struct\ ccw_device\ *\ " "cdev" ", int\ " "index" ");" .SH "ARGUMENTS" .PP \fIstruct ccw_device * cdev\fR .RS 4 the channel to be read .RE .PP \fIint index\fR .RS 4 the index of the value to be read .RE .SH "DESCRIPTION" .PP Returns the value read or \fB0\fR if the value cannot be read\&. .SH "CONTEXT" .PP any .SH "AUTHOR" .PP \fBCornelia Huck\fR <\&cornelia.huck@de.ibm.com\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br