Lines Matching refs:ccw_device

86 struct ccw_device {  struct
95 void (*handler) (struct ccw_device *, unsigned long, struct irb *); argument
135 int (*probe) (struct ccw_device *);
136 void (*remove) (struct ccw_device *);
137 int (*set_online) (struct ccw_device *);
138 int (*set_offline) (struct ccw_device *);
139 int (*notify) (struct ccw_device *, int);
140 void (*path_event) (struct ccw_device *, int *);
141 void (*shutdown) (struct ccw_device *);
142 enum uc_todo (*uc_handler) (struct ccw_device *, struct irb *);
147 extern struct ccw_device *get_ccwdev_by_busid(struct ccw_driver *cdrv,
155 extern int ccw_device_set_options_mask(struct ccw_device *, unsigned long);
156 extern int ccw_device_set_options(struct ccw_device *, unsigned long);
157 extern void ccw_device_clear_options(struct ccw_device *, unsigned long);
158 int ccw_device_is_pathgroup(struct ccw_device *cdev);
159 int ccw_device_is_multipath(struct ccw_device *cdev);
172 extern int ccw_device_start(struct ccw_device *, struct ccw1 *,
174 extern int ccw_device_start_timeout(struct ccw_device *, struct ccw1 *,
176 extern int ccw_device_start_key(struct ccw_device *, struct ccw1 *,
178 extern int ccw_device_start_timeout_key(struct ccw_device *, struct ccw1 *,
183 extern int ccw_device_resume(struct ccw_device *);
184 extern int ccw_device_halt(struct ccw_device *, unsigned long);
185 extern int ccw_device_clear(struct ccw_device *, unsigned long);
186 int ccw_device_tm_start_key(struct ccw_device *cdev, struct tcw *tcw,
188 int ccw_device_tm_start_key(struct ccw_device *, struct tcw *,
190 int ccw_device_tm_start_timeout_key(struct ccw_device *, struct tcw *,
192 int ccw_device_tm_start(struct ccw_device *, struct tcw *,
194 int ccw_device_tm_start_timeout(struct ccw_device *, struct tcw *,
196 int ccw_device_tm_intrg(struct ccw_device *cdev);
198 int ccw_device_get_mdc(struct ccw_device *cdev, u8 mask);
200 extern int ccw_device_set_online(struct ccw_device *cdev);
201 extern int ccw_device_set_offline(struct ccw_device *cdev);
204 extern struct ciw *ccw_device_get_ciw(struct ccw_device *, __u32 cmd);
205 extern __u8 ccw_device_get_path_mask(struct ccw_device *);
206 extern void ccw_device_get_id(struct ccw_device *, struct ccw_dev_id *);
210 #define to_ccwdev(n) container_of(n, struct ccw_device, dev)
213 extern struct ccw_device *ccw_device_create_console(struct ccw_driver *);
214 extern void ccw_device_destroy_console(struct ccw_device *);
215 extern int ccw_device_enable_console(struct ccw_device *);
216 extern void ccw_device_wait_idle(struct ccw_device *);
217 extern int ccw_device_force_console(struct ccw_device *);
219 extern void *ccw_device_dma_zalloc(struct ccw_device *cdev, size_t size);
220 extern void ccw_device_dma_free(struct ccw_device *cdev,
223 int ccw_device_siosl(struct ccw_device *);
225 extern void ccw_device_get_schid(struct ccw_device *, struct subchannel_id *);
227 struct channel_path_desc_fmt0 *ccw_device_get_chp_desc(struct ccw_device *, int);
228 u8 *ccw_device_get_util_str(struct ccw_device *cdev, int chp_idx);
229 int ccw_device_pnso(struct ccw_device *cdev,
232 int ccw_device_get_cssid(struct ccw_device *cdev, u8 *cssid);
233 int ccw_device_get_iid(struct ccw_device *cdev, u8 *iid);
234 int ccw_device_get_chpid(struct ccw_device *cdev, int chp_idx, u8 *chpid);
235 int ccw_device_get_chid(struct ccw_device *cdev, int chp_idx, u16 *chid);