Scroll to navigation

CCW_DEVICE_SET_OPTIO(9) The ccw bus CCW_DEVICE_SET_OPTIO(9)

NAME

ccw_device_set_options_mask - set some options and unset the rest

SYNOPSIS

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

ARGUMENTS

struct ccw_device * cdev

device for which the options are to be set

unsigned long flags

options to be set

DESCRIPTION

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

RETURN

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

AUTHOR

Cornelia Huck <cornelia.huck@de.ibm.com>

Author.

COPYRIGHT

June 2017 Kernel Hackers Manual 4.11