---
name: "struct_ccwgroup_driver"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/struct_ccwgroup_driver"
---

# struct\_ccwgroup\_driver(9)

driver for ccw group devices

## NAME

struct\_ccwgroup\_driver - driver for ccw group devices

## SYNOPSIS

```
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;
};
```

## MEMBERS

setup

function called during device creation to setup the device

remove

function called on remove

set\_online

function called when device is set online

set\_offline

function called when device is set offline

shutdown

function called when device is shut down

prepare

prepare for pm state transition

complete

undo work done in *prepare*

freeze

callback for freezing during hibernation snapshotting

thaw

undo work done in *freeze*

restore

callback for restoring after hibernation

driver

embedded driver structure

## AUTHOR

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

Author.

## COPYRIGHT
