/linux/arch/s390/include/asm/ |
A D | ccwdev.h | 86 struct ccw_device { struct 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 *); 196 int ccw_device_tm_intrg(struct ccw_device *cdev); 223 int ccw_device_siosl(struct ccw_device *); [all …]
|
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);
|
A D | qdio.h | 291 typedef void qdio_handler_t(struct ccw_device *, unsigned int, int, 334 void (*irq_poll)(struct ccw_device *cdev, unsigned long data); 347 extern int qdio_allocate(struct ccw_device *cdev, unsigned int no_input_qs, 349 extern int qdio_establish(struct ccw_device *cdev, 351 extern int qdio_activate(struct ccw_device *); 354 extern int qdio_start_irq(struct ccw_device *cdev); 355 extern int qdio_stop_irq(struct ccw_device *cdev); 356 extern int qdio_inspect_queue(struct ccw_device *cdev, unsigned int nr, 359 extern int qdio_shutdown(struct ccw_device *, int); 360 extern int qdio_free(struct ccw_device *); [all …]
|
A D | ccwgroup.h | 5 struct ccw_device; 28 struct ccw_device *cdev[0]; 60 extern int ccwgroup_probe_ccwdev(struct ccw_device *cdev); 61 extern void ccwgroup_remove_ccwdev(struct ccw_device *cdev);
|
/linux/drivers/s390/cio/ |
A D | device.h | 50 struct ccw_device; 77 dev_fsm_final_state(struct ccw_device *cdev) in dev_fsm_final_state() 92 int ccw_device_is_orphan(struct ccw_device *); 95 int ccw_device_online(struct ccw_device *); 96 int ccw_device_offline(struct ccw_device *); 111 void ccw_request_start(struct ccw_device *); 128 int ccw_device_stlck(struct ccw_device *); 132 void ccw_device_kill_io(struct ccw_device *); 142 void retry_set_schib(struct ccw_device *cdev); 143 void cmf_retry_copy_block(struct ccw_device *); [all …]
|
A D | device_ops.c | 106 int ccw_device_is_pathgroup(struct ccw_device *cdev) in ccw_device_is_pathgroup() 118 int ccw_device_is_multipath(struct ccw_device *cdev) in ccw_device_is_multipath() 305 int ccw_device_start(struct ccw_device *cdev, struct ccw1 *cpa, in ccw_device_start() 405 int ccw_device_resume(struct ccw_device *cdev) in ccw_device_resume() 436 struct ciw *ccw_device_get_ciw(struct ccw_device *cdev, __u32 ct) in ccw_device_get_ciw() 455 __u8 ccw_device_get_path_mask(struct ccw_device *cdev) in ccw_device_get_path_mask() 640 int ccw_device_get_mdc(struct ccw_device *cdev, u8 mask) in ccw_device_get_mdc() 685 int ccw_device_tm_intrg(struct ccw_device *cdev) in ccw_device_tm_intrg() 725 int ccw_device_pnso(struct ccw_device *cdev, in ccw_device_pnso() 741 int ccw_device_get_cssid(struct ccw_device *cdev, u8 *cssid) in ccw_device_get_cssid() [all …]
|
A D | device_fsm.c | 37 static void ccw_timeout_log(struct ccw_device *cdev) in ccw_timeout_log() 101 struct ccw_device *cdev = priv->cdev; in ccw_device_timeout() 129 ccw_device_cancel_halt_clear(struct ccw_device *cdev) in ccw_device_cancel_halt_clear() 145 void ccw_device_update_sense_data(struct ccw_device *cdev) in ccw_device_update_sense_data() 154 int ccw_device_test_sense_data(struct ccw_device *cdev) in ccw_device_test_sense_data() 194 ccw_device_recog_done(struct ccw_device *cdev, int state) in ccw_device_recog_done() 333 ccw_device_done(struct ccw_device *cdev, int state) in ccw_device_done() 392 void ccw_device_recognition(struct ccw_device *cdev) in ccw_device_recognition() 548 ccw_device_online(struct ccw_device *cdev) in ccw_device_online() 591 ccw_device_offline(struct ccw_device *cdev) in ccw_device_offline() [all …]
|
A D | device.c | 666 struct ccw_device *cdev; in ccw_device_release() 680 struct ccw_device *cdev; in io_subchannel_allocate_dev() 774 struct ccw_device *cdev; in io_subchannel_create_ccwdev() 790 struct ccw_device *cdev; in sch_create_and_recog_new_device() 984 struct ccw_device *cdev; in io_subchannel_irq() 1027 struct ccw_device *cdev; in io_subchannel_probe() 1094 struct ccw_device *cdev; in io_subchannel_remove() 1114 struct ccw_device *cdev; in io_subchannel_verify() 1123 struct ccw_device *cdev; in io_subchannel_terminate_path() 1206 struct ccw_device *cdev; in io_subchannel_quiesce() [all …]
|
A D | device_pgid.c | 28 static void verify_start(struct ccw_device *cdev); 33 static void verify_done(struct ccw_device *cdev, int rc) in verify_done() 57 static void nop_build_cp(struct ccw_device *cdev) in nop_build_cp() 72 static void nop_do(struct ccw_device *cdev) in nop_do() 194 static void spid_do(struct ccw_device *cdev) in spid_do() 266 static void spid_start(struct ccw_device *cdev) in spid_start() 332 static u8 pgid_to_donepm(struct ccw_device *cdev) in pgid_to_donepm() 436 static void snid_build_cp(struct ccw_device *cdev) in snid_build_cp() 453 static void snid_do(struct ccw_device *cdev) in snid_do() 510 static void verify_start(struct ccw_device *cdev) in verify_start() [all …]
|
A D | cmf.c | 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); 111 void (*reset) (struct ccw_device *); 988 struct ccw_device *cdev = to_ccwdev(dev); in cmb_show_avg_sample_interval() 1081 struct ccw_device *cdev = to_ccwdev(dev); in cmb_enable_show() 1090 struct ccw_device *cdev = to_ccwdev(dev); in cmb_enable_store() 1124 int enable_cmf(struct ccw_device *cdev) in enable_cmf() 1189 int disable_cmf(struct ccw_device *cdev) in disable_cmf() [all …]
|
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) in sch_get_cdev() 39 struct ccw_device *cdev) in sch_set_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;
|
A D | ccwreq.c | 41 static u16 ccwreq_next_path(struct ccw_device *cdev) in ccwreq_next_path() 58 static void ccwreq_stop(struct ccw_device *cdev, int rc) in ccwreq_stop() 75 static void ccwreq_do(struct ccw_device *cdev) in ccwreq_do() 120 void ccw_request_start(struct ccw_device *cdev) in ccw_request_start() 151 int ccw_request_cancel(struct ccw_device *cdev) in ccw_request_cancel() 170 static enum io_status ccwreq_status(struct ccw_device *cdev, struct irb *lcirb) in ccwreq_status() 232 static void ccwreq_log_status(struct ccw_device *cdev, enum io_status status) in ccwreq_log_status() 255 void ccw_request_handler(struct ccw_device *cdev) in ccw_request_handler() 327 void ccw_request_timeout(struct ccw_device *cdev) in ccw_request_timeout() 365 void ccw_request_notoper(struct ccw_device *cdev) in ccw_request_notoper()
|
A D | device_id.c | 99 static int diag210_get_dev_info(struct ccw_device *cdev) in diag210_get_dev_info() 134 static void snsid_init(struct ccw_device *cdev) in snsid_init() 146 static int snsid_check(struct ccw_device *cdev, void *data) in snsid_check() 172 static void snsid_callback(struct ccw_device *cdev, void *data, int rc) in snsid_callback() 201 void ccw_device_sense_id_start(struct ccw_device *cdev) in ccw_device_sense_id_start()
|
A D | device_status.c | 28 ccw_device_msg_control_check(struct ccw_device *cdev, struct irb *irb) in ccw_device_msg_control_check() 53 ccw_device_path_notoper(struct ccw_device *cdev) in ccw_device_path_notoper() 75 ccw_device_accumulate_ecw(struct ccw_device *cdev, struct irb *irb) in ccw_device_accumulate_ecw() 113 ccw_device_accumulate_esw(struct ccw_device *cdev, struct irb *irb) in ccw_device_accumulate_esw() 193 ccw_device_accumulate_irb(struct ccw_device *cdev, struct irb *irb) in ccw_device_accumulate_irb() 311 ccw_device_do_sense(struct ccw_device *cdev, struct irb *irb) in ccw_device_do_sense() 348 ccw_device_accumulate_basic_sense(struct ccw_device *cdev, struct irb *irb) in ccw_device_accumulate_basic_sense() 381 ccw_device_accumulate_and_sense(struct ccw_device *cdev, struct irb *irb) in ccw_device_accumulate_and_sense()
|
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
|
A D | qdio.h | 224 struct ccw_device *cdev; 244 void (*orig_handler) (struct ccw_device *, unsigned long, struct irb *); 256 void (*irq_poll)(struct ccw_device *cdev, unsigned long data); 333 void qdio_int_handler(struct ccw_device *cdev, unsigned long intparm,
|
/linux/drivers/s390/scsi/ |
A D | zfcp_aux.c | 60 struct ccw_device *cdev; in zfcp_init_device_configure() 309 dev_name(&adapter->ccw_device->dev), in zfcp_print_sl() 318 dev_name(&adapter->ccw_device->dev)); in zfcp_setup_adapter_work_queue() 343 struct zfcp_adapter *zfcp_adapter_enqueue(struct ccw_device *ccw_device) in zfcp_adapter_enqueue() argument 347 if (!get_device(&ccw_device->dev)) in zfcp_adapter_enqueue() 352 put_device(&ccw_device->dev); in zfcp_adapter_enqueue() 358 ccw_device->handler = NULL; in zfcp_adapter_enqueue() 359 adapter->ccw_device = ccw_device; in zfcp_adapter_enqueue() 414 dev_set_drvdata(&ccw_device->dev, adapter); in zfcp_adapter_enqueue() 448 struct ccw_device *cdev = adapter->ccw_device; in zfcp_adapter_unregister() [all …]
|
A D | zfcp_qdio.c | 31 dev_warn(&adapter->ccw_device->dev, "A QDIO problem occurred\n"); in zfcp_qdio_handler_error() 78 struct ccw_device *cdev = qdio->adapter->ccw_device; in zfcp_qdio_request_tasklet() 164 struct ccw_device *cdev = qdio->adapter->ccw_device; in zfcp_qdio_irq_tasklet() 184 static void zfcp_qdio_poll(struct ccw_device *cdev, unsigned long data) in zfcp_qdio_poll() 373 ret = qdio_allocate(qdio->adapter->ccw_device, 1, 1); in zfcp_qdio_allocate() 408 qdio_stop_irq(adapter->ccw_device); in zfcp_qdio_close() 409 qdio_shutdown(adapter->ccw_device, QDIO_FLAG_CLEANUP_USING_CLEAR); in zfcp_qdio_close() 446 struct ccw_device *cdev = adapter->ccw_device; in zfcp_qdio_open() 537 if (qdio->adapter->ccw_device) in zfcp_qdio_destroy() 538 qdio_free(qdio->adapter->ccw_device); in zfcp_qdio_destroy() [all …]
|
A D | zfcp_ccw.c | 21 struct zfcp_adapter *zfcp_ccw_adapter_by_cdev(struct ccw_device *cdev) in zfcp_ccw_adapter_by_cdev() 49 static int zfcp_ccw_activate(struct ccw_device *cdev, int clear, char *tag) in zfcp_ccw_activate() 98 static int zfcp_ccw_probe(struct ccw_device *cdev) in zfcp_ccw_probe() 112 static void zfcp_ccw_remove(struct ccw_device *cdev) in zfcp_ccw_remove() 158 static int zfcp_ccw_set_online(struct ccw_device *cdev) in zfcp_ccw_set_online() 203 static int zfcp_ccw_set_offline(struct ccw_device *cdev) in zfcp_ccw_set_offline() 226 static int zfcp_ccw_notify(struct ccw_device *cdev, int event) in zfcp_ccw_notify() 265 static void zfcp_ccw_shutdown(struct ccw_device *cdev) in zfcp_ccw_shutdown()
|
A D | zfcp_fsf.c | 284 dev_warn(&adapter->ccw_device->dev, in zfcp_fsf_status_read_handler() 288 dev_warn(&adapter->ccw_device->dev, in zfcp_fsf_status_read_handler() 297 dev_info(&adapter->ccw_device->dev, in zfcp_fsf_status_read_handler() 390 dev_err(&adapter->ccw_device->dev, in zfcp_fsf_protstatus_eval() 402 dev_err(&adapter->ccw_device->dev, in zfcp_fsf_protstatus_eval() 411 dev_err(&adapter->ccw_device->dev, in zfcp_fsf_protstatus_eval() 431 dev_err(&adapter->ccw_device->dev, in zfcp_fsf_protstatus_eval() 571 dev_err(&adapter->ccw_device->dev, in zfcp_fsf_exchange_config_evaluate() 612 dev_err(&adapter->ccw_device->dev, in zfcp_fsf_exchange_config_data_handler() 646 dev_err(&adapter->ccw_device->dev, in zfcp_fsf_exchange_config_data_handler() [all …]
|
/linux/Documentation/s390/ |
A D | driver-model.rst | 86 struct ccw_device { 102 int (*probe) (struct ccw_device *); 103 int (*remove) (struct ccw_device *); 104 int (*set_online) (struct ccw_device *); 105 int (*set_offline) (struct ccw_device *); 106 int (*notify) (struct ccw_device *, int); 139 int (*probe) (struct ccw_device *cdev); 152 int (*remove) (struct ccw_device *cdev); 166 int (*set_online) (struct ccw_device *); 180 int (*set_offline) (struct ccw_device *); [all …]
|
A D | cds.rst | 177 ccw_device_get_ciw(struct ccw_device *cdev, __u32 cmd); 206 int ccw_device_start(struct ccw_device *cdev, 211 int ccw_device_start_timeout(struct ccw_device *cdev, 217 int ccw_device_start_key(struct ccw_device *cdev, 232 cdev ccw_device the I/O is destined for 427 int ccw_device_resume(struct ccw_device *cdev); 430 cdev ccw_device the resume operation is requested for 459 int ccw_device_halt(struct ccw_device *cdev, 463 cdev ccw_device the halt operation is requested for 503 cdev ccw_device the clear operation is requested for [all …]
|
/linux/drivers/s390/char/ |
A D | vmur.c | 61 static int ur_probe(struct ccw_device *cdev); 62 static void ur_remove(struct ccw_device *cdev); 63 static int ur_set_online(struct ccw_device *cdev); 64 static int ur_set_offline(struct ccw_device *cdev); 100 static struct urdev *urdev_alloc(struct ccw_device *cdev) in urdev_alloc() 147 struct ccw_device *cdev; in urdev_get_from_devno() 250 struct ccw_device *cdev = urd->cdev; in do_ur_io() 793 static int ur_probe(struct ccw_device *cdev) in ur_probe() 840 static int ur_set_online(struct ccw_device *cdev) in ur_set_online() 941 static int ur_set_offline(struct ccw_device *cdev) in ur_set_offline() [all …]
|
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 *);
|
/linux/drivers/s390/block/ |
A D | dasd_int.h | 567 struct ccw_device *cdev; 810 int dasd_generic_probe(struct ccw_device *); 812 void dasd_generic_remove (struct ccw_device *cdev); 814 int dasd_generic_set_offline (struct ccw_device *cdev); 815 int dasd_generic_notify(struct ccw_device *, int); 818 void dasd_generic_shutdown(struct ccw_device *); 822 void dasd_generic_path_event(struct ccw_device *, int *); 850 struct dasd_device *dasd_create_device(struct ccw_device *); 853 int dasd_get_feature(struct ccw_device *, int); 854 int dasd_set_feature(struct ccw_device *, int, int); [all …]
|