Lines Matching refs:ccw_device
84 struct ccw_device { struct
93 void (*handler) (struct ccw_device *, unsigned long, struct irb *); argument
136 int (*probe) (struct ccw_device *);
137 void (*remove) (struct ccw_device *);
138 int (*set_online) (struct ccw_device *);
139 int (*set_offline) (struct ccw_device *);
140 int (*notify) (struct ccw_device *, int);
141 void (*path_event) (struct ccw_device *, int *);
142 void (*shutdown) (struct ccw_device *);
143 int (*prepare) (struct ccw_device *);
144 void (*complete) (struct ccw_device *);
145 int (*freeze)(struct ccw_device *);
146 int (*thaw) (struct ccw_device *);
147 int (*restore)(struct ccw_device *);
148 enum uc_todo (*uc_handler) (struct ccw_device *, struct irb *);
153 extern struct ccw_device *get_ccwdev_by_busid(struct ccw_driver *cdrv,
164 extern int ccw_device_set_options_mask(struct ccw_device *, unsigned long);
165 extern int ccw_device_set_options(struct ccw_device *, unsigned long);
166 extern void ccw_device_clear_options(struct ccw_device *, unsigned long);
167 int ccw_device_is_pathgroup(struct ccw_device *cdev);
168 int ccw_device_is_multipath(struct ccw_device *cdev);
181 extern int ccw_device_start(struct ccw_device *, struct ccw1 *,
183 extern int ccw_device_start_timeout(struct ccw_device *, struct ccw1 *,
185 extern int ccw_device_start_key(struct ccw_device *, struct ccw1 *,
187 extern int ccw_device_start_timeout_key(struct ccw_device *, struct ccw1 *,
192 extern int ccw_device_resume(struct ccw_device *);
193 extern int ccw_device_halt(struct ccw_device *, unsigned long);
194 extern int ccw_device_clear(struct ccw_device *, unsigned long);
195 int ccw_device_tm_start_key(struct ccw_device *cdev, struct tcw *tcw,
197 int ccw_device_tm_start_key(struct ccw_device *, struct tcw *,
199 int ccw_device_tm_start_timeout_key(struct ccw_device *, struct tcw *,
201 int ccw_device_tm_start(struct ccw_device *, struct tcw *,
203 int ccw_device_tm_start_timeout(struct ccw_device *, struct tcw *,
205 int ccw_device_tm_intrg(struct ccw_device *cdev);
207 int ccw_device_get_mdc(struct ccw_device *cdev, u8 mask);
209 extern int ccw_device_set_online(struct ccw_device *cdev);
210 extern int ccw_device_set_offline(struct ccw_device *cdev);
213 extern struct ciw *ccw_device_get_ciw(struct ccw_device *, __u32 cmd);
214 extern __u8 ccw_device_get_path_mask(struct ccw_device *);
215 extern void ccw_device_get_id(struct ccw_device *, struct ccw_dev_id *);
219 #define to_ccwdev(n) container_of(n, struct ccw_device, dev)
222 extern struct ccw_device *ccw_device_create_console(struct ccw_driver *);
223 extern void ccw_device_destroy_console(struct ccw_device *);
224 extern int ccw_device_enable_console(struct ccw_device *);
225 extern void ccw_device_wait_idle(struct ccw_device *);
226 extern int ccw_device_force_console(struct ccw_device *);
228 int ccw_device_siosl(struct ccw_device *);
230 extern void ccw_device_get_schid(struct ccw_device *, struct subchannel_id *);
232 struct channel_path_desc *ccw_device_get_chp_desc(struct ccw_device *, int);