/linux-master/arch/s390/include/asm/ |
H A D | cmb.h | 7 struct ccw_device; 8 extern int enable_cmf(struct ccw_device *cdev); 9 extern int disable_cmf(struct ccw_device *cdev); 10 extern int __disable_cmf(struct ccw_device *cdev); 11 extern u64 cmf_read(struct ccw_device *cdev, int index); 12 extern int cmf_readall(struct ccw_device *cdev, struct cmbdata *data);
|
H A D | ccwdev.h | 25 /* simplified initializers for struct ccw_device: 75 * struct ccw_device - channel attached device 87 struct ccw_device { struct 97 void (*handler) (struct ccw_device *, unsigned long, struct irb *); 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 *, in [all...] |
H A D | ccwgroup.h | 5 struct ccw_device; 28 struct ccw_device *cdev[]; 60 extern int ccwgroup_probe_ccwdev(struct ccw_device *cdev); 61 extern void ccwgroup_remove_ccwdev(struct ccw_device *cdev);
|
H A D | qdio.h | 289 /* params are: ccw_device, qdio_error, queue_number, 291 typedef void qdio_handler_t(struct ccw_device *, unsigned int, int, 334 void (*irq_poll)(struct ccw_device *cdev, unsigned long data); 344 extern int qdio_allocate(struct ccw_device *cdev, unsigned int no_input_qs, 346 extern int qdio_establish(struct ccw_device *cdev, 348 extern int qdio_activate(struct ccw_device *); 349 extern int qdio_start_irq(struct ccw_device *cdev); 350 extern int qdio_stop_irq(struct ccw_device *cdev); 351 extern int qdio_inspect_input_queue(struct ccw_device *cdev, unsigned int nr, 353 extern int qdio_inspect_output_queue(struct ccw_device *cde [all...] |
/linux-master/drivers/s390/cio/ |
H A D | device.h | 50 struct ccw_device; 55 typedef void (fsm_func_t)(struct ccw_device *, enum dev_event); 59 dev_fsm_event(struct ccw_device *cdev, enum dev_event dev_event) 77 dev_fsm_final_state(struct ccw_device *cdev) 87 void io_subchannel_recog_done(struct ccw_device *cdev); 90 int ccw_device_cancel_halt_clear(struct ccw_device *); 92 int ccw_device_is_orphan(struct ccw_device *); 94 void ccw_device_recognition(struct ccw_device *); 95 int ccw_device_online(struct ccw_device *); 96 int ccw_device_offline(struct ccw_device *); [all...] |
H A D | io_sch.h | 18 struct ccw_device *cdev;/* pointer to the child ccw device */ 32 static inline struct ccw_device *sch_get_cdev(struct subchannel *sch) 39 struct ccw_device *cdev) 82 int (*check)(struct ccw_device *, void *); 83 enum io_status (*filter)(struct ccw_device *, void *, struct irb *, 85 void (*callback)(struct ccw_device *, void *, int); 131 struct ccw_device *cdev;
|
H A D | device_ops.c | 39 int ccw_device_set_options_mask(struct ccw_device *cdev, unsigned long flags) 64 int ccw_device_set_options(struct ccw_device *cdev, unsigned long flags) 91 void ccw_device_clear_options(struct ccw_device *cdev, unsigned long flags) 106 int ccw_device_is_pathgroup(struct ccw_device *cdev) 118 int ccw_device_is_multipath(struct ccw_device *cdev) 137 int ccw_device_clear(struct ccw_device *cdev, unsigned long intparm) 191 int ccw_device_start_timeout_key(struct ccw_device *cdev, struct ccw1 *cpa, 275 int ccw_device_start_key(struct ccw_device *cdev, struct ccw1 *cpa, 309 int ccw_device_start(struct ccw_device *cdev, struct ccw1 *cpa, 347 int ccw_device_start_timeout(struct ccw_device *cde [all...] |
H A D | Makefile | 12 ccw_device-objs += device.o device_fsm.o device_ops.o 13 ccw_device-objs += device_id.o device_pgid.o device_status.o 14 obj-y += ccw_device.o cmf.o
|
H A D | device_pgid.c | 29 static void verify_start(struct ccw_device *cdev); 34 static void verify_done(struct ccw_device *cdev, int rc) 58 static void nop_build_cp(struct ccw_device *cdev) 73 static void nop_do(struct ccw_device *cdev) 93 static enum io_status nop_filter(struct ccw_device *cdev, void *data, 105 static void nop_callback(struct ccw_device *cdev, void *data, int rc) 135 static void spid_build_cp(struct ccw_device *cdev, u8 fn) 150 static void pgid_wipeout_callback(struct ccw_device *cdev, void *data, int rc) 168 static void pgid_wipeout_start(struct ccw_device *cdev) 195 static void spid_do(struct ccw_device *cde [all...] |
H A D | ccwreq.c | 41 static u16 ccwreq_next_path(struct ccw_device *cdev) 58 static void ccwreq_stop(struct ccw_device *cdev, int rc) 75 static void ccwreq_do(struct ccw_device *cdev) 120 void ccw_request_start(struct ccw_device *cdev) 151 int ccw_request_cancel(struct ccw_device *cdev) 170 static enum io_status ccwreq_status(struct ccw_device *cdev, struct irb *lcirb) 232 static void ccwreq_log_status(struct ccw_device *cdev, enum io_status status) 255 void ccw_request_handler(struct ccw_device *cdev) 327 void ccw_request_timeout(struct ccw_device *cdev) 365 void ccw_request_notoper(struct ccw_device *cde [all...] |
H A D | device_fsm.c | 38 static void ccw_timeout_log(struct ccw_device *cdev) 102 struct ccw_device *cdev = priv->cdev; 115 ccw_device_set_timeout(struct ccw_device *cdev, int expires) 124 ccw_device_cancel_halt_clear(struct ccw_device *cdev) 140 void ccw_device_update_sense_data(struct ccw_device *cdev) 149 int ccw_device_test_sense_data(struct ccw_device *cdev) 189 ccw_device_recog_done(struct ccw_device *cdev, int state) 259 ccw_device_sense_id_done(struct ccw_device *cdev, int err) 285 int ccw_device_notify(struct ccw_device *cdev, int event) 308 static void ccw_device_oper_notify(struct ccw_device *cde [all...] |
H A D | cmf.c | 92 * Most of these functions operate on a struct ccw_device. There is only 94 * data is guaranteed to be the same for every ccw_device. 106 int (*alloc) (struct ccw_device *); 107 void (*free) (struct ccw_device *); 108 int (*set) (struct ccw_device *, u32); 109 u64 (*read) (struct ccw_device *, int); 110 int (*readall)(struct ccw_device *, struct cmbdata *); 111 void (*reset) (struct ccw_device *); 177 static int set_schib(struct ccw_device *cdev, u32 mme, int mbfc, 213 static int set_schib_wait(struct ccw_device *cde [all...] |
H A D | device.c | 63 struct ccw_device *cdev = to_ccwdev(dev); 106 const struct ccw_device *cdev = to_ccwdev(dev); 200 struct ccw_device *cdev = to_ccwdev(dev); 213 struct ccw_device *cdev = to_ccwdev(dev); 223 struct ccw_device *cdev = to_ccwdev(dev); 235 struct ccw_device *cdev = to_ccwdev(dev); 240 int ccw_device_is_orphan(struct ccw_device *cdev) 245 static void ccw_device_unregister(struct ccw_device *cdev) 274 int ccw_device_set_offline(struct ccw_device *cdev) 351 int ccw_device_set_online(struct ccw_device *cde [all...] |
H A D | device_id.c | 99 static int diag210_get_dev_info(struct ccw_device *cdev) 134 static void snsid_init(struct ccw_device *cdev) 146 static int snsid_check(struct ccw_device *cdev, void *data) 172 static void snsid_callback(struct ccw_device *cdev, void *data, int rc) 201 void ccw_device_sense_id_start(struct ccw_device *cdev)
|
H A D | device_status.c | 29 ccw_device_msg_control_check(struct ccw_device *cdev, struct irb *irb) 54 ccw_device_path_notoper(struct ccw_device *cdev) 76 ccw_device_accumulate_ecw(struct ccw_device *cdev, struct irb *irb) 114 ccw_device_accumulate_esw(struct ccw_device *cdev, struct irb *irb) 194 ccw_device_accumulate_irb(struct ccw_device *cdev, struct irb *irb) 312 ccw_device_do_sense(struct ccw_device *cdev, struct irb *irb) 349 ccw_device_accumulate_basic_sense(struct ccw_device *cdev, struct irb *irb) 382 ccw_device_accumulate_and_sense(struct ccw_device *cdev, struct irb *irb)
|
H A D | qdio.h | 224 struct ccw_device *cdev; 242 void (*orig_handler) (struct ccw_device *, unsigned long, struct irb *); 255 void (*irq_poll)(struct ccw_device *cdev, unsigned long data); 332 void qdio_int_handler(struct ccw_device *cdev, unsigned long intparm,
|
H A D | qdio_main.c | 501 int qdio_inspect_input_queue(struct ccw_device *cdev, unsigned int nr, 605 int qdio_inspect_output_queue(struct ccw_device *cdev, unsigned int nr, 749 void qdio_int_handler(struct ccw_device *cdev, unsigned long intparm, 823 int qdio_get_ssqd_desc(struct ccw_device *cdev, 839 struct ccw_device *cdev = irq->cdev; 872 int qdio_shutdown(struct ccw_device *cdev, int how) 918 int qdio_free(struct ccw_device *cdev) 950 int qdio_allocate(struct ccw_device *cdev, unsigned int no_input_qs, 1040 int qdio_establish(struct ccw_device *cdev, 1144 int qdio_activate(struct ccw_device *cde [all...] |
/linux-master/drivers/s390/scsi/ |
H A D | zfcp_ccw.c | 21 struct zfcp_adapter *zfcp_ccw_adapter_by_cdev(struct ccw_device *cdev) 49 static int zfcp_ccw_activate(struct ccw_device *cdev, int clear, char *tag) 98 static int zfcp_ccw_probe(struct ccw_device *cdev) 112 static void zfcp_ccw_remove(struct ccw_device *cdev) 158 static int zfcp_ccw_set_online(struct ccw_device *cdev) 203 static int zfcp_ccw_set_offline(struct ccw_device *cdev) 226 static int zfcp_ccw_notify(struct ccw_device *cdev, int event) 265 static void zfcp_ccw_shutdown(struct ccw_device *cdev)
|
H A D | zfcp_aux.c | 60 struct ccw_device *cdev; 309 dev_name(&adapter->ccw_device->dev), 318 dev_name(&adapter->ccw_device->dev)); 336 * @ccw_device: pointer to the struct cc_device 343 struct zfcp_adapter *zfcp_adapter_enqueue(struct ccw_device *ccw_device) argument 347 if (!get_device(&ccw_device->dev)) 352 put_device(&ccw_device->dev); 358 ccw_device->handler = NULL; 359 adapter->ccw_device [all...] |
H A D | zfcp_qdio.c | 31 dev_warn(&adapter->ccw_device->dev, "A QDIO problem occurred\n"); 66 static void zfcp_qdio_int_req(struct ccw_device *cdev, unsigned int qdio_err, 78 struct ccw_device *cdev = qdio->adapter->ccw_device; 110 static void zfcp_qdio_int_resp(struct ccw_device *cdev, unsigned int qdio_err, 164 struct ccw_device *cdev = qdio->adapter->ccw_device; 184 static void zfcp_qdio_poll(struct ccw_device *cdev, unsigned long data) 329 retval = qdio_add_bufs_to_output_queue(qdio->adapter->ccw_device, 0, 374 ret = qdio_allocate(qdio->adapter->ccw_device, [all...] |
H A D | zfcp_fsf.c | 82 dev_err(&req->adapter->ccw_device->dev, "FCP device not " 163 dev_warn(&req->adapter->ccw_device->dev, 168 dev_warn(&req->adapter->ccw_device->dev, 173 dev_warn(&req->adapter->ccw_device->dev, 178 dev_warn(&req->adapter->ccw_device->dev, 183 dev_warn(&req->adapter->ccw_device->dev, 188 dev_warn(&req->adapter->ccw_device->dev, 192 dev_warn(&req->adapter->ccw_device->dev, 196 dev_warn(&req->adapter->ccw_device->dev, 201 dev_warn(&req->adapter->ccw_device [all...] |
/linux-master/drivers/s390/char/ |
H A D | vmur.h | 64 * via the ccw_device driver model. 67 struct ccw_device *cdev; /* Backpointer to ccw device */
|
H A D | tape.h | 185 struct ccw_device * cdev; 266 extern int tape_generic_offline(struct ccw_device *); 269 extern int tape_generic_probe(struct ccw_device *); 270 extern void tape_generic_remove(struct ccw_device *);
|
H A D | vmur.c | 65 static int ur_probe(struct ccw_device *cdev); 66 static void ur_remove(struct ccw_device *cdev); 67 static int ur_set_online(struct ccw_device *cdev); 68 static int ur_set_offline(struct ccw_device *cdev); 106 static struct urdev *urdev_alloc(struct ccw_device *cdev) 138 static struct urdev *urdev_get_from_cdev(struct ccw_device *cdev) 154 struct ccw_device *cdev; 257 struct ccw_device *cdev = urd->cdev; 298 * ur interrupt handler, called from the ccw_device layer 300 static void ur_int_handler(struct ccw_device *cde [all...] |
/linux-master/drivers/s390/block/ |
H A D | dasd_int.h | 283 int dasd_devmap_set_device_copy_relation(struct ccw_device *, 593 struct ccw_device *cdev; 869 int dasd_generic_probe(struct ccw_device *); 871 void dasd_generic_remove (struct ccw_device *cdev); 872 int dasd_generic_set_online(struct ccw_device *, struct dasd_discipline *); 873 int dasd_generic_set_offline (struct ccw_device *cdev); 874 int dasd_generic_notify(struct ccw_device *, int); 877 void dasd_generic_shutdown(struct ccw_device *); 880 enum uc_todo dasd_generic_uc_handler(struct ccw_device *, struct irb *); 881 void dasd_generic_path_event(struct ccw_device *, in [all...] |