Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
cmb_operations Struct Reference

Data Fields

int(* alloc )(struct ccw_device *)
 
void(* free )(struct ccw_device *)
 
int(* set )(struct ccw_device *, u32)
 
u64(* read )(struct ccw_device *, int)
 
int(* readall )(struct ccw_device *, struct cmbdata *)
 
void(* reset )(struct ccw_device *)
 
void *(* align )(void *)
 
struct attribute_groupattr_group
 

Detailed Description

struct cmb_operations - functions to use depending on cmb_format

Most of these functions operate on a struct ccw_device. There is only one instance of struct cmb_operations because the format of the measurement data is guaranteed to be the same for every ccw_device.

: allocate memory for a channel measurement block, either with the help of a special pool or with kmalloc : free memory allocated with : enable or disable measurement : read a measurement entry at an index : read a measurement block in a common format : clear the data in the associated measurement block and reset its time stamp : align an allocated block so that the hardware can use it

Definition at line 118 of file cmf.c.

Field Documentation

void*(* align)(void *)

Definition at line 125 of file cmf.c.

int(* alloc)(struct ccw_device *)

Definition at line 119 of file cmf.c.

struct attribute_group* attr_group

Definition at line 127 of file cmf.c.

void(* free)(struct ccw_device *)

Definition at line 120 of file cmf.c.

u64(* read)(struct ccw_device *, int)

Definition at line 122 of file cmf.c.

int(* readall)(struct ccw_device *, struct cmbdata *)

Definition at line 123 of file cmf.c.

void(* reset)(struct ccw_device *)

Definition at line 124 of file cmf.c.

int(* set)(struct ccw_device *, u32)

Definition at line 121 of file cmf.c.


The documentation for this struct was generated from the following file: