---
name: "struct_ccw_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_ccw_driver"
---

# struct\_ccw\_driver(9)

device driver for channel attached devices

## NAME

struct\_ccw\_driver - device driver for channel attached devices

## SYNOPSIS

```
struct ccw_driver {
  struct ccw_device_id * ids;
  int (* probe) (struct ccw_device *);
  void (* remove) (struct ccw_device *);
  int (* set_online) (struct ccw_device *);
  int (* set_offline) (struct ccw_device *);
  int (* notify) (struct ccw_device *, int);
  void (* path_event) (struct ccw_device *, int *);
  void (* shutdown) (struct ccw_device *);
  int (* prepare) (struct ccw_device *);
  void (* complete) (struct ccw_device *);
  int (* freeze) (struct ccw_device *);
  int (* thaw) (struct ccw_device *);
  int (* restore) (struct ccw_device *);
  enum uc_todo (* uc_handler) (struct ccw_device *, struct irb *);
  struct device_driver driver;
  enum interruption_class int_class;
};
```

## MEMBERS

ids

ids supported by this driver

probe

function called on probe

remove

function called on remove

set\_online

called when setting device online

set\_offline

called when setting device offline

notify

notify driver of device state changes

path\_event

notify driver of channel path events

shutdown

called at device shutdown

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

uc\_handler

callback for unit check handler

driver

embedded device driver structure

int\_class

interruption class to use for accounting interrupts

## AUTHOR

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

Author.

## COPYRIGHT
