Lines Matching refs:ccw_device

87 struct ccw_device {  struct
97 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 enum uc_todo (*uc_handler) (struct ccw_device *, struct irb *);
149 extern struct ccw_device *get_ccwdev_by_busid(struct ccw_driver *cdrv,
157 extern int ccw_device_set_options_mask(struct ccw_device *, unsigned long);
158 extern int ccw_device_set_options(struct ccw_device *, unsigned long);
159 extern void ccw_device_clear_options(struct ccw_device *, unsigned long);
160 int ccw_device_is_pathgroup(struct ccw_device *cdev);
161 int ccw_device_is_multipath(struct ccw_device *cdev);
174 extern int ccw_device_start(struct ccw_device *, struct ccw1 *,
176 extern int ccw_device_start_timeout(struct ccw_device *, struct ccw1 *,
178 extern int ccw_device_start_key(struct ccw_device *, struct ccw1 *,
180 extern int ccw_device_start_timeout_key(struct ccw_device *, struct ccw1 *,
185 extern int ccw_device_resume(struct ccw_device *);
186 extern int ccw_device_halt(struct ccw_device *, unsigned long);
187 extern int ccw_device_clear(struct ccw_device *, unsigned long);
188 int ccw_device_tm_start_key(struct ccw_device *cdev, struct tcw *tcw,
190 int ccw_device_tm_start_key(struct ccw_device *, struct tcw *,
192 int ccw_device_tm_start_timeout_key(struct ccw_device *, struct tcw *,
194 int ccw_device_tm_start(struct ccw_device *, struct tcw *,
196 int ccw_device_tm_start_timeout(struct ccw_device *, struct tcw *,
198 int ccw_device_tm_intrg(struct ccw_device *cdev);
200 int ccw_device_get_mdc(struct ccw_device *cdev, u8 mask);
202 extern int ccw_device_set_online(struct ccw_device *cdev);
203 extern int ccw_device_set_offline(struct ccw_device *cdev);
206 extern struct ciw *ccw_device_get_ciw(struct ccw_device *, __u32 cmd);
207 extern __u8 ccw_device_get_path_mask(struct ccw_device *);
208 extern void ccw_device_get_id(struct ccw_device *, struct ccw_dev_id *);
212 #define to_ccwdev(n) container_of(n, struct ccw_device, dev)
215 extern struct ccw_device *ccw_device_create_console(struct ccw_driver *);
216 extern void ccw_device_destroy_console(struct ccw_device *);
217 extern int ccw_device_enable_console(struct ccw_device *);
218 extern void ccw_device_wait_idle(struct ccw_device *);
220 extern void *ccw_device_dma_zalloc(struct ccw_device *cdev, size_t size);
221 extern void ccw_device_dma_free(struct ccw_device *cdev,
224 int ccw_device_siosl(struct ccw_device *);
226 extern void ccw_device_get_schid(struct ccw_device *, struct subchannel_id *);
228 struct channel_path_desc_fmt0 *ccw_device_get_chp_desc(struct ccw_device *, int);
229 u8 *ccw_device_get_util_str(struct ccw_device *cdev, int chp_idx);
230 int ccw_device_pnso(struct ccw_device *cdev,
233 int ccw_device_get_cssid(struct ccw_device *cdev, u8 *cssid);
234 int ccw_device_get_iid(struct ccw_device *cdev, u8 *iid);
235 int ccw_device_get_chpid(struct ccw_device *cdev, int chp_idx, u8 *chpid);
236 int ccw_device_get_chid(struct ccw_device *cdev, int chp_idx, u16 *chid);