Go to the documentation of this file.
5 #include <linux/wait.h>
7 #include <linux/device.h>
8 #include <linux/types.h>
11 #include <asm/chpid.h>
12 #include <asm/schid.h>
19 #define SPID_FUNC_SINGLE_PATH 0x00
20 #define SPID_FUNC_MULTI_PATH 0x80
21 #define SPID_FUNC_ESTABLISH 0x00
22 #define SPID_FUNC_RESIGN 0x40
23 #define SPID_FUNC_DISBAND 0x20
25 #define SNID_STATE1_RESET 0
26 #define SNID_STATE1_UNGROUPED 2
27 #define SNID_STATE1_GROUPED 3
29 #define SNID_STATE2_NOT_RESVD 0
30 #define SNID_STATE2_RESVD_ELSE 2
31 #define SNID_STATE2_RESVD_SELF 3
33 #define SNID_STATE3_MULTI_PATH 1
34 #define SNID_STATE3_SINGLE_PATH 0
84 void (*irq)(
struct subchannel *);
85 int (*chp_event)(
struct subchannel *,
struct chp_link *,
int);
86 int (*sch_event)(
struct subchannel *,
int);
87 int (*probe)(
struct subchannel *);
88 int (*
remove)(
struct subchannel *);
89 void (*shutdown)(
struct subchannel *);
90 int (*prepare) (
struct subchannel *);
92 int (*freeze)(
struct subchannel *);
93 int (*thaw) (
struct subchannel *);
94 int (*restore)(
struct subchannel *);
98 #define to_cssdriver(n) container_of(n, struct css_driver, drv)
110 void *),
void *
data);
129 #define to_css(dev) container_of(dev, struct channel_subsystem, device)