Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
dasd_eckd.c File Reference
#include <linux/stddef.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/hdreg.h>
#include <linux/bio.h>
#include <linux/module.h>
#include <linux/compat.h>
#include <linux/init.h>
#include <asm/css_chars.h>
#include <asm/debug.h>
#include <asm/idals.h>
#include <asm/ebcdic.h>
#include <asm/io.h>
#include <asm/uaccess.h>
#include <asm/cio.h>
#include <asm/ccwdev.h>
#include <asm/itcw.h>
#include "dasd_int.h"
#include "dasd_eckd.h"

Go to the source code of this file.

Data Structures

struct  path_verification_work_data
 

Macros

#define KMSG_COMPONENT   "dasd-eckd"
 
#define PRINTK_HEADER   "dasd(eckd):"
 
#define ECKD_C0(i)   (i->home_bytes)
 
#define ECKD_F(i)   (i->formula)
 
#define ECKD_F1(i)
 
#define ECKD_F2(i)
 
#define ECKD_F3(i)
 
#define ECKD_F4(i)   (ECKD_F(i)==0x02?(i->factors.f_0x02.f4):0)
 
#define ECKD_F5(i)   (ECKD_F(i)==0x02?(i->factors.f_0x02.f5):0)
 
#define ECKD_F6(i)   (i->factor6)
 
#define ECKD_F7(i)   (i->factor7)
 
#define ECKD_F8(i)   (i->factor8)
 
#define DASD_RAW_BLOCK_PER_TRACK   16
 
#define DASD_RAW_BLOCKSIZE   4096
 
#define DASD_RAW_SECTORS_PER_TRACK   128
 
#define INIT_CQR_OK   0
 
#define INIT_CQR_UNFORMATTED   1
 
#define INIT_CQR_ERROR   2
 
#define LABEL_SIZE   140
 
#define DASD_ECKD_CHANQ_MAX_SIZE   4
 

Functions

 MODULE_LICENSE ("GPL")
 
 MODULE_DEVICE_TABLE (ccw, dasd_eckd_ids)
 
void dasd_eckd_reset_ccw_to_base_io (struct dasd_ccw_req *cqr)
 
 module_init (dasd_eckd_init)
 
 module_exit (dasd_eckd_cleanup)
 

Macro Definition Documentation

#define DASD_ECKD_CHANQ_MAX_SIZE   4

Definition at line 3296 of file dasd_eckd.c.

#define DASD_RAW_BLOCK_PER_TRACK   16

Definition at line 59 of file dasd_eckd.c.

#define DASD_RAW_BLOCKSIZE   4096

Definition at line 60 of file dasd_eckd.c.

#define DASD_RAW_SECTORS_PER_TRACK   128

Definition at line 62 of file dasd_eckd.c.

#define ECKD_C0 (   i)    (i->home_bytes)

Definition at line 41 of file dasd_eckd.c.

#define ECKD_F (   i)    (i->formula)

Definition at line 42 of file dasd_eckd.c.

#define ECKD_F1 (   i)
Value:
(ECKD_F(i)==0x01?(i->factors.f_0x01.f1):\
(i->factors.f_0x02.f1))

Definition at line 43 of file dasd_eckd.c.

#define ECKD_F2 (   i)
Value:
(ECKD_F(i)==0x01?(i->factors.f_0x01.f2):\
(i->factors.f_0x02.f2))

Definition at line 45 of file dasd_eckd.c.

#define ECKD_F3 (   i)
Value:
(ECKD_F(i)==0x01?(i->factors.f_0x01.f3):\
(i->factors.f_0x02.f3))

Definition at line 47 of file dasd_eckd.c.

#define ECKD_F4 (   i)    (ECKD_F(i)==0x02?(i->factors.f_0x02.f4):0)

Definition at line 49 of file dasd_eckd.c.

#define ECKD_F5 (   i)    (ECKD_F(i)==0x02?(i->factors.f_0x02.f5):0)

Definition at line 50 of file dasd_eckd.c.

#define ECKD_F6 (   i)    (i->factor6)

Definition at line 51 of file dasd_eckd.c.

#define ECKD_F7 (   i)    (i->factor7)

Definition at line 52 of file dasd_eckd.c.

#define ECKD_F8 (   i)    (i->factor8)

Definition at line 53 of file dasd_eckd.c.

#define INIT_CQR_ERROR   2

Definition at line 90 of file dasd_eckd.c.

#define INIT_CQR_OK   0

Definition at line 88 of file dasd_eckd.c.

#define INIT_CQR_UNFORMATTED   1

Definition at line 89 of file dasd_eckd.c.

#define KMSG_COMPONENT   "dasd-eckd"

Definition at line 12 of file dasd_eckd.c.

#define LABEL_SIZE   140

Definition at line 140 of file dasd_eckd.c.

#define PRINTK_HEADER   "dasd(eckd):"

Definition at line 39 of file dasd_eckd.c.

Function Documentation

void dasd_eckd_reset_ccw_to_base_io ( struct dasd_ccw_req cqr)

Definition at line 3271 of file dasd_eckd.c.

MODULE_DEVICE_TABLE ( ccw  ,
dasd_eckd_ids   
)
module_exit ( dasd_eckd_cleanup  )
module_init ( dasd_eckd_init  )
MODULE_LICENSE ( "GPL"  )

Variable Documentation

struct ccw1 ccw

Definition at line 95 of file dasd_eckd.c.

Definition at line 94 of file dasd_eckd.c.

char data[32]

Definition at line 96 of file dasd_eckd.c.