'\" t .\" Title: struct ccwgroup_driver .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: March 2017 .\" Manual: The ccwgroup bus .\" Source: Kernel Hackers Manual 4.10.7 .\" Language: English .\" .TH "STRUCT CCWGROUP_DRIV" "9" "March 2017" "Kernel Hackers Manual 4\&.10\&" "The ccwgroup 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" struct_ccwgroup_driver \- driver for ccw group devices .SH "SYNOPSIS" .sp .nf struct ccwgroup_driver { int (* setup) (struct ccwgroup_device *); void (* remove) (struct ccwgroup_device *); int (* set_online) (struct ccwgroup_device *); int (* set_offline) (struct ccwgroup_device *); void (* shutdown) (struct ccwgroup_device *); int (* prepare) (struct ccwgroup_device *); void (* complete) (struct ccwgroup_device *); int (* freeze) (struct ccwgroup_device *); int (* thaw) (struct ccwgroup_device *); int (* restore) (struct ccwgroup_device *); struct device_driver driver; }; .fi .SH "MEMBERS" .PP setup .RS 4 function called during device creation to setup the device .RE .PP remove .RS 4 function called on remove .RE .PP set_online .RS 4 function called when device is set online .RE .PP set_offline .RS 4 function called when device is set offline .RE .PP shutdown .RS 4 function called when device is shut down .RE .PP prepare .RS 4 prepare for pm state transition .RE .PP complete .RS 4 undo work done in \fIprepare\fR .RE .PP freeze .RS 4 callback for freezing during hibernation snapshotting .RE .PP thaw .RS 4 undo work done in \fIfreeze\fR .RE .PP restore .RS 4 callback for restoring after hibernation .RE .PP driver .RS 4 embedded driver structure .RE .SH "AUTHOR" .PP \fBCornelia Huck\fR <\&cornelia.huck@de.ibm.com\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br