1. NAME

ccw_device_set_options_mask - set some options and unset the rest

2. SYNOPSIS

int ccw_device_set_options_mask(struct ccw_device *  cdev , unsigned long  flags );

3. ARGUMENTS

cdev
    device for which the options are to be set

flags
    options to be set

4. DESCRIPTION

All flags specified in flags are set, all flags not specified in flags are cleared.

5. RETURNS

0 on success, -EINVAL on an invalid flag combination.

6. AUTHOR

Cornelia Huck <>
    Author.

7. COPYRIGHT