'\" t .\" Title: ccw_device_set_options_mask .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: September 2017 .\" Manual: The ccw bus .\" Source: Kernel Hackers Manual 4.12.13 .\" Language: English .\" .TH "CCW_DEVICE_SET_OPTIO" "9" "September 2017" "Kernel Hackers Manual 4\&.12\&" "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" ccw_device_set_options_mask \- set some options and unset the rest .SH "SYNOPSIS" .HP \w'int\ ccw_device_set_options_mask('u .BI "int ccw_device_set_options_mask(struct\ ccw_device\ *\ " "cdev" ", unsigned\ long\ " "flags" ");" .SH "ARGUMENTS" .PP \fIstruct ccw_device * cdev\fR .RS 4 device for which the options are to be set .RE .PP \fIunsigned long flags\fR .RS 4 options to be set .RE .SH "DESCRIPTION" .PP All flags specified in \fIflags\fR are set, all flags not specified in \fIflags\fR are cleared\&. .SH "RETURN" .PP \fB0\fR on success, \-\fBEINVAL\fR on an invalid flag combination\&. .SH "AUTHOR" .PP \fBCornelia Huck\fR <\&cornelia.huck@de.ibm.com\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br