Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions | Variables
io_sch.h File Reference
#include <linux/types.h>
#include <asm/schid.h>
#include <asm/ccwdev.h>
#include <asm/irq.h>
#include "css.h"
#include "orb.h"

Go to the source code of this file.

Data Structures

struct  io_subchannel_private
 
struct  ccw_request
 
struct  senseid
 
struct  ccw_device_private
 

Macros

#define to_io_private(n)
 
#define set_io_private(n, p)   (dev_set_drvdata(&(n)->dev, p))
 
#define MAX_CIWS   8
 
#define FAKE_CMD_IRB   1
 
#define FAKE_TM_IRB   2
 

Enumerations

enum  io_status {
  IO_DONE, IO_RUNNING, IO_STATUS_ERROR, IO_PATH_ERROR,
  IO_REJECTED, IO_KILLED
}
 
enum  cdev_todo {
  CDEV_TODO_NOTHING, CDEV_TODO_ENABLE_CMF, CDEV_TODO_REBIND, CDEV_TODO_REGISTER,
  CDEV_TODO_UNREG, CDEV_TODO_UNREG_EVAL
}
 

Functions

struct io_subchannel_private __aligned (8)
 
struct ccw_request __attribute__ ((packed))
 
struct senseid __attribute__ ((packed, aligned(4)))
 

Variables

union orb orb
 
struct ccw1 sense_ccw
 
struct ccw_devicecdev
 
struct {
   unsigned int   suspend:1
 
   unsigned int   prefetch:1
 
   unsigned int   inter:1
 
options
 
enum io_status __aligned
 
struct ccw1cp
 
unsigned long timeout
 
u16 maxretries
 
u8 lpm
 
int(* check )(struct ccw_device *, void *)
 
enum io_status(* filter )(struct ccw_device *, void *, struct irb *, enum io_status)
 
void(* callback )(struct ccw_device *, void *, int)
 
voiddata
 
unsigned int singlepath
 
unsigned int cancel
 
unsigned int done
 
u16 mask
 
u16 retries
 
int drc
 
u8 reserved
 
u16 cu_type
 
u8 cu_model
 
u16 dev_type
 
u8 dev_model
 
u8 unused
 
struct ciw ciw [MAX_CIWS]
 
enum cdev_todo __attribute__
 
unsigned int fast
 
unsigned int repall
 
unsigned int pgroup
 
unsigned int force
 
unsigned int mpath
 
unsigned int esid
 
unsigned int dosense
 
unsigned int doverify
 
unsigned int donotify
 
unsigned int recog_done
 
unsigned int fake_irb
 
unsigned int resuming
 
unsigned int initialized
 

Macro Definition Documentation

#define FAKE_CMD_IRB   1

Definition at line 114 of file io_sch.h.

#define FAKE_TM_IRB   2

Definition at line 115 of file io_sch.h.

#define MAX_CIWS   8

Definition at line 40 of file io_sch.h.

#define set_io_private (   n,
  p 
)    (dev_set_drvdata(&(n)->dev, p))

Definition at line 24 of file io_sch.h.

#define to_io_private (   n)
Value:
((struct io_subchannel_private *) \
dev_get_drvdata(&(n)->dev))

Definition at line 22 of file io_sch.h.

Enumeration Type Documentation

enum cdev_todo
Enumerator:
CDEV_TODO_NOTHING 
CDEV_TODO_ENABLE_CMF 
CDEV_TODO_REBIND 
CDEV_TODO_REGISTER 
CDEV_TODO_UNREG 
CDEV_TODO_UNREG_EVAL 

Definition at line 105 of file io_sch.h.

enum io_status
Enumerator:
IO_DONE 
IO_RUNNING 
IO_STATUS_ERROR 
IO_PATH_ERROR 
IO_REJECTED 
IO_KILLED 

Definition at line 45 of file io_sch.h.

Function Documentation

struct io_subchannel_private __aligned ( )
struct ccw_request __attribute__ ( (packed)  )
read

Definition at line 171 of file esd_usb2.c.

struct senseid __attribute__ ( (packed, aligned(4))  )
read

Scatter-gather list for preada/pwritea calls.

< Client physical address of the buffer segment.

< Page table entry describing the caching and location override characteristics of the buffer segment. Some drivers ignore this element and will require that the NOCACHE flag be set on their requests.

< Length of the buffer segment.

Definition at line 1740 of file hypervisor.h.

Variable Documentation

enum io_status __aligned

Definition at line 96 of file io_sch.h.

unsigned int cancel

Definition at line 100 of file io_sch.h.

Definition at line 23 of file io_sch.h.

Definition at line 93 of file io_sch.h.

Definition at line 112 of file io_sch.h.

struct ccw1* cp

Definition at line 89 of file io_sch.h.

u8 cu_model

Definition at line 107 of file io_sch.h.

u16 cu_type

Definition at line 106 of file io_sch.h.

Definition at line 97 of file io_sch.h.

u8 dev_model

Definition at line 109 of file io_sch.h.

Definition at line 108 of file io_sch.h.

unsigned int done

Definition at line 101 of file io_sch.h.

unsigned int donotify

Definition at line 153 of file io_sch.h.

unsigned int dosense

Definition at line 151 of file io_sch.h.

unsigned int doverify

Definition at line 152 of file io_sch.h.

int drc

Definition at line 104 of file io_sch.h.

unsigned int esid

Definition at line 150 of file io_sch.h.

unsigned int fake_irb

Definition at line 155 of file io_sch.h.

unsigned int fast

Definition at line 138 of file io_sch.h.

enum io_status(* filter)(struct ccw_device *, void *, struct irb *, enum io_status)

Definition at line 94 of file io_sch.h.

unsigned int force

Definition at line 141 of file io_sch.h.

unsigned int initialized

Definition at line 159 of file io_sch.h.

unsigned int inter

Definition at line 27 of file io_sch.h.

u8 lpm

Definition at line 92 of file io_sch.h.

u16 mask

Definition at line 102 of file io_sch.h.

u16 maxretries

Definition at line 91 of file io_sch.h.

unsigned int mpath

Definition at line 142 of file io_sch.h.

struct { ... } options
union orb orb

Definition at line 21 of file io_sch.h.

unsigned int pgroup

Definition at line 140 of file io_sch.h.

unsigned int prefetch

Definition at line 26 of file io_sch.h.

unsigned int recog_done

Definition at line 154 of file io_sch.h.

unsigned int repall

Definition at line 139 of file io_sch.h.

u8 reserved

Definition at line 105 of file io_sch.h.

unsigned int resuming

Definition at line 156 of file io_sch.h.

u16 retries

Definition at line 103 of file io_sch.h.

struct ccw1 sense_ccw

Definition at line 22 of file io_sch.h.

unsigned int singlepath

Definition at line 98 of file io_sch.h.

unsigned int suspend

Definition at line 25 of file io_sch.h.

unsigned long timeout

Definition at line 90 of file io_sch.h.

Definition at line 110 of file io_sch.h.