Lines Matching refs:ccw_device

24 /* simplified initializers for struct ccw_device:
74 * struct ccw_device - channel attached device
86 struct ccw_device {
95 void (*handler) (struct ccw_device *, unsigned long, struct irb *);
138 int (*probe) (struct ccw_device *);
139 void (*remove) (struct ccw_device *);
140 int (*set_online) (struct ccw_device *);
141 int (*set_offline) (struct ccw_device *);
142 int (*notify) (struct ccw_device *, int);
143 void (*path_event) (struct ccw_device *, int *);
144 void (*shutdown) (struct ccw_device *);
145 int (*prepare) (struct ccw_device *);
146 void (*complete) (struct ccw_device *);
147 int (*freeze)(struct ccw_device *);
148 int (*thaw) (struct ccw_device *);
149 int (*restore)(struct ccw_device *);
150 enum uc_todo (*uc_handler) (struct ccw_device *, struct irb *);
155 extern struct ccw_device *get_ccwdev_by_busid(struct ccw_driver *cdrv,
166 extern int ccw_device_set_options_mask(struct ccw_device *, unsigned long);
167 extern int ccw_device_set_options(struct ccw_device *, unsigned long);
168 extern void ccw_device_clear_options(struct ccw_device *, unsigned long);
169 int ccw_device_is_pathgroup(struct ccw_device *cdev);
170 int ccw_device_is_multipath(struct ccw_device *cdev);
183 extern int ccw_device_start(struct ccw_device *, struct ccw1 *,
185 extern int ccw_device_start_timeout(struct ccw_device *, struct ccw1 *,
187 extern int ccw_device_start_key(struct ccw_device *, struct ccw1 *,
189 extern int ccw_device_start_timeout_key(struct ccw_device *, struct ccw1 *,
194 extern int ccw_device_resume(struct ccw_device *);
195 extern int ccw_device_halt(struct ccw_device *, unsigned long);
196 extern int ccw_device_clear(struct ccw_device *, unsigned long);
197 int ccw_device_tm_start_key(struct ccw_device *cdev, struct tcw *tcw,
199 int ccw_device_tm_start_key(struct ccw_device *, struct tcw *,
201 int ccw_device_tm_start_timeout_key(struct ccw_device *, struct tcw *,
203 int ccw_device_tm_start(struct ccw_device *, struct tcw *,
205 int ccw_device_tm_start_timeout(struct ccw_device *, struct tcw *,
207 int ccw_device_tm_intrg(struct ccw_device *cdev);
209 int ccw_device_get_mdc(struct ccw_device *cdev, u8 mask);
211 extern int ccw_device_set_online(struct ccw_device *cdev);
212 extern int ccw_device_set_offline(struct ccw_device *cdev);
215 extern struct ciw *ccw_device_get_ciw(struct ccw_device *, __u32 cmd);
216 extern __u8 ccw_device_get_path_mask(struct ccw_device *);
217 extern void ccw_device_get_id(struct ccw_device *, struct ccw_dev_id *);
221 #define to_ccwdev(n) container_of(n, struct ccw_device, dev)
224 extern struct ccw_device *ccw_device_create_console(struct ccw_driver *);
225 extern void ccw_device_destroy_console(struct ccw_device *);
226 extern int ccw_device_enable_console(struct ccw_device *);
227 extern void ccw_device_wait_idle(struct ccw_device *);
228 extern int ccw_device_force_console(struct ccw_device *);
230 extern void *ccw_device_dma_zalloc(struct ccw_device *cdev, size_t size);
231 extern void ccw_device_dma_free(struct ccw_device *cdev,
234 int ccw_device_siosl(struct ccw_device *);
236 extern void ccw_device_get_schid(struct ccw_device *, struct subchannel_id *);
238 struct channel_path_desc_fmt0 *ccw_device_get_chp_desc(struct ccw_device *, int);
239 u8 *ccw_device_get_util_str(struct ccw_device *cdev, int chp_idx);
240 int ccw_device_pnso(struct ccw_device *cdev,
243 int ccw_device_get_cssid(struct ccw_device *cdev, u8 *cssid);
244 int ccw_device_get_iid(struct ccw_device *cdev, u8 *iid);
245 int ccw_device_get_chpid(struct ccw_device *cdev, int chp_idx, u8 *chpid);
246 int ccw_device_get_chid(struct ccw_device *cdev, int chp_idx, u16 *chid);