Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
zfcp_ccw.c File Reference
#include <linux/module.h>
#include "zfcp_ext.h"
#include "zfcp_reqlist.h"

Go to the source code of this file.

Macros

#define KMSG_COMPONENT   "zfcp"
 
#define pr_fmt(fmt)   KMSG_COMPONENT ": " fmt
 
#define ZFCP_MODEL_PRIV   0x4
 

Functions

struct zfcp_adapterzfcp_ccw_adapter_by_cdev (struct ccw_device *cdev)
 
void zfcp_ccw_adapter_put (struct zfcp_adapter *adapter)
 
 MODULE_DEVICE_TABLE (ccw, zfcp_ccw_device_id)
 
int zfcp_ccw_priv_sch (struct zfcp_adapter *adapter)
 

Variables

struct ccw_driver zfcp_ccw_driver
 

Macro Definition Documentation

#define KMSG_COMPONENT   "zfcp"

Definition at line 9 of file zfcp_ccw.c.

#define pr_fmt (   fmt)    KMSG_COMPONENT ": " fmt

Definition at line 10 of file zfcp_ccw.c.

#define ZFCP_MODEL_PRIV   0x4

Definition at line 16 of file zfcp_ccw.c.

Function Documentation

MODULE_DEVICE_TABLE ( ccw  ,
zfcp_ccw_device_id   
)
struct zfcp_adapter* zfcp_ccw_adapter_by_cdev ( struct ccw_device cdev)
read

Definition at line 20 of file zfcp_ccw.c.

void zfcp_ccw_adapter_put ( struct zfcp_adapter adapter)

Definition at line 33 of file zfcp_ccw.c.

int zfcp_ccw_priv_sch ( struct zfcp_adapter adapter)

zfcp_ccw_priv_sch - check if subchannel is privileged : Adapter/Subchannel to check

Definition at line 78 of file zfcp_ccw.c.

Variable Documentation

struct ccw_driver zfcp_ccw_driver
Initial value:
= {
.driver = {
.owner = THIS_MODULE,
.name = "zfcp",
},
.ids = zfcp_ccw_device_id,
.probe = zfcp_ccw_probe,
.remove = zfcp_ccw_remove,
.set_online = zfcp_ccw_set_online,
.set_offline = zfcp_ccw_set_offline,
.notify = zfcp_ccw_notify,
.shutdown = zfcp_ccw_shutdown,
.freeze = zfcp_ccw_suspend,
.thaw = zfcp_ccw_thaw,
.restore = zfcp_ccw_resume,
}

Definition at line 312 of file zfcp_ccw.c.