Lines Matching refs:ccw_device

85 struct ccw_device {  struct
94 void (*handler) (struct ccw_device *, unsigned long, struct irb *); argument
137 int (*probe) (struct ccw_device *);
138 void (*remove) (struct ccw_device *);
139 int (*set_online) (struct ccw_device *);
140 int (*set_offline) (struct ccw_device *);
141 int (*notify) (struct ccw_device *, int);
142 void (*path_event) (struct ccw_device *, int *);
143 void (*shutdown) (struct ccw_device *);
144 int (*prepare) (struct ccw_device *);
145 void (*complete) (struct ccw_device *);
146 int (*freeze)(struct ccw_device *);
147 int (*thaw) (struct ccw_device *);
148 int (*restore)(struct ccw_device *);
149 enum uc_todo (*uc_handler) (struct ccw_device *, struct irb *);
154 extern struct ccw_device *get_ccwdev_by_busid(struct ccw_driver *cdrv,
165 extern int ccw_device_set_options_mask(struct ccw_device *, unsigned long);
166 extern int ccw_device_set_options(struct ccw_device *, unsigned long);
167 extern void ccw_device_clear_options(struct ccw_device *, unsigned long);
168 int ccw_device_is_pathgroup(struct ccw_device *cdev);
169 int ccw_device_is_multipath(struct ccw_device *cdev);
182 extern int ccw_device_start(struct ccw_device *, struct ccw1 *,
184 extern int ccw_device_start_timeout(struct ccw_device *, struct ccw1 *,
186 extern int ccw_device_start_key(struct ccw_device *, struct ccw1 *,
188 extern int ccw_device_start_timeout_key(struct ccw_device *, struct ccw1 *,
193 extern int ccw_device_resume(struct ccw_device *);
194 extern int ccw_device_halt(struct ccw_device *, unsigned long);
195 extern int ccw_device_clear(struct ccw_device *, unsigned long);
196 int ccw_device_tm_start_key(struct ccw_device *cdev, struct tcw *tcw,
198 int ccw_device_tm_start_key(struct ccw_device *, struct tcw *,
200 int ccw_device_tm_start_timeout_key(struct ccw_device *, struct tcw *,
202 int ccw_device_tm_start(struct ccw_device *, struct tcw *,
204 int ccw_device_tm_start_timeout(struct ccw_device *, struct tcw *,
206 int ccw_device_tm_intrg(struct ccw_device *cdev);
208 int ccw_device_get_mdc(struct ccw_device *cdev, u8 mask);
210 extern int ccw_device_set_online(struct ccw_device *cdev);
211 extern int ccw_device_set_offline(struct ccw_device *cdev);
214 extern struct ciw *ccw_device_get_ciw(struct ccw_device *, __u32 cmd);
215 extern __u8 ccw_device_get_path_mask(struct ccw_device *);
216 extern void ccw_device_get_id(struct ccw_device *, struct ccw_dev_id *);
220 #define to_ccwdev(n) container_of(n, struct ccw_device, dev)
223 extern struct ccw_device *ccw_device_create_console(struct ccw_driver *);
224 extern void ccw_device_destroy_console(struct ccw_device *);
225 extern int ccw_device_enable_console(struct ccw_device *);
226 extern void ccw_device_wait_idle(struct ccw_device *);
227 extern int ccw_device_force_console(struct ccw_device *);
229 int ccw_device_siosl(struct ccw_device *);
231 extern void ccw_device_get_schid(struct ccw_device *, struct subchannel_id *);
233 struct channel_path_desc_fmt0 *ccw_device_get_chp_desc(struct ccw_device *, int);
234 u8 *ccw_device_get_util_str(struct ccw_device *cdev, int chp_idx);