Home
last modified time | relevance | path

Searched refs:ccw_device (Results 1 – 56 of 56) sorted by relevance

/linux-4.4.14/drivers/s390/cio/
Ddevice.h49 struct ccw_device;
54 typedef void (fsm_func_t)(struct ccw_device *, enum dev_event);
58 dev_fsm_event(struct ccw_device *cdev, enum dev_event dev_event) in dev_fsm_event()
76 dev_fsm_final_state(struct ccw_device *cdev) in dev_fsm_final_state()
86 void io_subchannel_recog_done(struct ccw_device *cdev);
89 int ccw_device_cancel_halt_clear(struct ccw_device *);
91 int ccw_device_is_orphan(struct ccw_device *);
93 void ccw_device_recognition(struct ccw_device *);
94 int ccw_device_online(struct ccw_device *);
95 int ccw_device_offline(struct ccw_device *);
[all …]
Ddevice_ops.c38 int ccw_device_set_options_mask(struct ccw_device *cdev, unsigned long flags) in ccw_device_set_options_mask()
63 int ccw_device_set_options(struct ccw_device *cdev, unsigned long flags) in ccw_device_set_options()
90 void ccw_device_clear_options(struct ccw_device *cdev, unsigned long flags) in ccw_device_clear_options()
105 int ccw_device_is_pathgroup(struct ccw_device *cdev) in ccw_device_is_pathgroup()
117 int ccw_device_is_multipath(struct ccw_device *cdev) in ccw_device_is_multipath()
138 int ccw_device_clear(struct ccw_device *cdev, unsigned long intparm) in ccw_device_clear()
184 int ccw_device_start_key(struct ccw_device *cdev, struct ccw1 *cpa, in ccw_device_start_key()
264 int ccw_device_start_timeout_key(struct ccw_device *cdev, struct ccw1 *cpa, in ccw_device_start_timeout_key()
302 int ccw_device_start(struct ccw_device *cdev, struct ccw1 *cpa, in ccw_device_start()
337 int ccw_device_start_timeout(struct ccw_device *cdev, struct ccw1 *cpa, in ccw_device_start_timeout()
[all …]
Ddevice_fsm.c36 static void ccw_timeout_log(struct ccw_device *cdev) in ccw_timeout_log()
97 struct ccw_device *cdev; in ccw_device_timeout()
99 cdev = (struct ccw_device *) data; in ccw_device_timeout()
111 ccw_device_set_timeout(struct ccw_device *cdev, int expires) in ccw_device_set_timeout()
136 ccw_device_cancel_halt_clear(struct ccw_device *cdev) in ccw_device_cancel_halt_clear()
182 void ccw_device_update_sense_data(struct ccw_device *cdev) in ccw_device_update_sense_data()
191 int ccw_device_test_sense_data(struct ccw_device *cdev) in ccw_device_test_sense_data()
227 ccw_device_recog_done(struct ccw_device *cdev, int state) in ccw_device_recog_done()
303 ccw_device_sense_id_done(struct ccw_device *cdev, int err) in ccw_device_sense_id_done()
329 int ccw_device_notify(struct ccw_device *cdev, int event) in ccw_device_notify()
[all …]
Ddevice.c60 struct ccw_device *cdev = to_ccwdev(dev); in ccw_bus_match()
103 struct ccw_device *cdev = to_ccwdev(dev); in ccw_uevent()
152 struct ccw_device *cdev; in io_subchannel_prepare()
250 struct ccw_device *cdev = to_ccwdev(dev); in devtype_show()
263 struct ccw_device *cdev = to_ccwdev(dev); in cutype_show()
273 struct ccw_device *cdev = to_ccwdev(dev); in modalias_show()
285 struct ccw_device *cdev = to_ccwdev(dev); in online_show()
290 int ccw_device_is_orphan(struct ccw_device *cdev) in ccw_device_is_orphan()
295 static void ccw_device_unregister(struct ccw_device *cdev) in ccw_device_unregister()
321 int ccw_device_set_offline(struct ccw_device *cdev) in ccw_device_set_offline()
[all …]
Ddevice_pgid.c27 static void verify_start(struct ccw_device *cdev);
32 static void verify_done(struct ccw_device *cdev, int rc) in verify_done()
56 static void nop_build_cp(struct ccw_device *cdev) in nop_build_cp()
71 static void nop_do(struct ccw_device *cdev) in nop_do()
91 static enum io_status nop_filter(struct ccw_device *cdev, void *data, in nop_filter()
103 static void nop_callback(struct ccw_device *cdev, void *data, int rc) in nop_callback()
133 static void spid_build_cp(struct ccw_device *cdev, u8 fn) in spid_build_cp()
148 static void pgid_wipeout_callback(struct ccw_device *cdev, void *data, int rc) in pgid_wipeout_callback()
166 static void pgid_wipeout_start(struct ccw_device *cdev) in pgid_wipeout_start()
193 static void spid_do(struct ccw_device *cdev) in spid_do()
[all …]
Dcmf.c118 int (*alloc) (struct ccw_device *);
119 void (*free) (struct ccw_device *);
120 int (*set) (struct ccw_device *, u32);
121 u64 (*read) (struct ccw_device *, int);
122 int (*readall)(struct ccw_device *, struct cmbdata *);
123 void (*reset) (struct ccw_device *);
184 static int set_schib(struct ccw_device *cdev, u32 mme, int mbfc, in set_schib()
228 static int set_schib_wait(struct ccw_device *cdev, u32 mme, in set_schib_wait()
285 void retry_set_schib(struct ccw_device *cdev) in retry_set_schib()
301 static int cmf_copy_block(struct ccw_device *cdev) in cmf_copy_block()
[all …]
Dio_sch.h14 struct ccw_device *cdev;/* pointer to the child ccw device */
26 static inline struct ccw_device *sch_get_cdev(struct subchannel *sch) in sch_get_cdev()
33 struct ccw_device *cdev) in sch_set_cdev()
76 int (*check)(struct ccw_device *, void *);
77 enum io_status (*filter)(struct ccw_device *, void *, struct irb *,
79 void (*callback)(struct ccw_device *, void *, int);
118 struct ccw_device *cdev;
Dccwreq.c40 static u16 ccwreq_next_path(struct ccw_device *cdev) in ccwreq_next_path()
57 static void ccwreq_stop(struct ccw_device *cdev, int rc) in ccwreq_stop()
74 static void ccwreq_do(struct ccw_device *cdev) in ccwreq_do()
119 void ccw_request_start(struct ccw_device *cdev) in ccw_request_start()
150 int ccw_request_cancel(struct ccw_device *cdev) in ccw_request_cancel()
169 static enum io_status ccwreq_status(struct ccw_device *cdev, struct irb *lcirb) in ccwreq_status()
230 static void ccwreq_log_status(struct ccw_device *cdev, enum io_status status) in ccwreq_log_status()
253 void ccw_request_handler(struct ccw_device *cdev) in ccw_request_handler()
325 void ccw_request_timeout(struct ccw_device *cdev) in ccw_request_timeout()
364 void ccw_request_notoper(struct ccw_device *cdev) in ccw_request_notoper()
DMakefile7 ccw_device-objs += device.o device_fsm.o device_ops.o
8 ccw_device-objs += device_id.o device_pgid.o device_status.o
9 obj-y += ccw_device.o cmf.o
Ddevice_id.c98 static int diag210_get_dev_info(struct ccw_device *cdev) in diag210_get_dev_info()
133 static void snsid_init(struct ccw_device *cdev) in snsid_init()
143 static int snsid_check(struct ccw_device *cdev, void *data) in snsid_check()
169 static void snsid_callback(struct ccw_device *cdev, void *data, int rc) in snsid_callback()
198 void ccw_device_sense_id_start(struct ccw_device *cdev) in ccw_device_sense_id_start()
Dqdio.h194 void (*queue_start_poll) (struct ccw_device *, int, unsigned long);
278 struct ccw_device *cdev;
298 void (*orig_handler) (struct ccw_device *, unsigned long, struct irb *);
396 void qdio_int_handler(struct ccw_device *cdev, unsigned long intparm,
406 struct ccw_device *cdev);
408 int qdio_setup_create_sysfs(struct ccw_device *cdev);
409 void qdio_setup_destroy_sysfs(struct ccw_device *cdev);
Ddevice_status.c27 ccw_device_msg_control_check(struct ccw_device *cdev, struct irb *irb) in ccw_device_msg_control_check()
51 ccw_device_path_notoper(struct ccw_device *cdev) in ccw_device_path_notoper()
73 ccw_device_accumulate_ecw(struct ccw_device *cdev, struct irb *irb) in ccw_device_accumulate_ecw()
111 ccw_device_accumulate_esw(struct ccw_device *cdev, struct irb *irb) in ccw_device_accumulate_esw()
191 ccw_device_accumulate_irb(struct ccw_device *cdev, struct irb *irb) in ccw_device_accumulate_irb()
309 ccw_device_do_sense(struct ccw_device *cdev, struct irb *irb) in ccw_device_do_sense()
346 ccw_device_accumulate_basic_sense(struct ccw_device *cdev, struct irb *irb) in ccw_device_accumulate_basic_sense()
379 ccw_device_accumulate_and_sense(struct ccw_device *cdev, struct irb *irb) in ccw_device_accumulate_and_sense()
Dqdio_main.c1010 static void qdio_handle_activate_check(struct ccw_device *cdev, in qdio_handle_activate_check()
1042 static void qdio_establish_handle_irq(struct ccw_device *cdev, int cstat, in qdio_establish_handle_irq()
1065 void qdio_int_handler(struct ccw_device *cdev, unsigned long intparm, in qdio_int_handler()
1122 int qdio_get_ssqd_desc(struct ccw_device *cdev, in qdio_get_ssqd_desc()
1134 static void qdio_shutdown_queues(struct ccw_device *cdev) in qdio_shutdown_queues()
1154 int qdio_shutdown(struct ccw_device *cdev, int how) in qdio_shutdown()
1228 int qdio_free(struct ccw_device *cdev) in qdio_free()
1335 struct ccw_device *cdev = init_data->cdev; in qdio_establish()
1408 int qdio_activate(struct ccw_device *cdev) in qdio_activate()
1604 int do_QDIO(struct ccw_device *cdev, unsigned int callflags, in do_QDIO()
[all …]
Dqdio_debug.h81 struct ccw_device *cdev);
Dccwgroup.c53 struct ccw_device *cdev; in __ccwgroup_remove_cdev_refs()
605 int ccwgroup_probe_ccwdev(struct ccw_device *cdev) in ccwgroup_probe_ccwdev()
619 void ccwgroup_remove_ccwdev(struct ccw_device *cdev) in ccwgroup_remove_ccwdev()
Dqdio_debug.c313 void qdio_setup_debug_entries(struct qdio_irq *irq_ptr, struct ccw_device *cdev) in qdio_setup_debug_entries()
Dqdio_setup.c519 struct ccw_device *cdev) in qdio_print_subchannel_info()
/linux-4.4.14/arch/s390/include/asm/
Dccwdev.h84 struct ccw_device { struct
93 void (*handler) (struct ccw_device *, unsigned long, struct irb *); argument
136 int (*probe) (struct ccw_device *);
137 void (*remove) (struct ccw_device *);
138 int (*set_online) (struct ccw_device *);
139 int (*set_offline) (struct ccw_device *);
140 int (*notify) (struct ccw_device *, int);
141 void (*path_event) (struct ccw_device *, int *);
142 void (*shutdown) (struct ccw_device *);
143 int (*prepare) (struct ccw_device *);
[all …]
Dcmb.h6 struct ccw_device;
7 extern int enable_cmf(struct ccw_device *cdev);
8 extern int disable_cmf(struct ccw_device *cdev);
9 extern int __disable_cmf(struct ccw_device *cdev);
10 extern u64 cmf_read(struct ccw_device *cdev, int index);
11 extern int cmf_readall(struct ccw_device *cdev, struct cmbdata *data);
Dqdio.h312 typedef void qdio_handler_t(struct ccw_device *, unsigned int, int,
349 struct ccw_device *cdev;
362 void (**queue_start_poll_array) (struct ccw_device *, int,
414 extern int qdio_activate(struct ccw_device *);
416 extern int do_QDIO(struct ccw_device *, unsigned int, int, unsigned int,
418 extern int qdio_start_irq(struct ccw_device *, int);
419 extern int qdio_stop_irq(struct ccw_device *, int);
420 extern int qdio_get_next_buffers(struct ccw_device *, int, int *, int *);
421 extern int qdio_shutdown(struct ccw_device *, int);
422 extern int qdio_free(struct ccw_device *);
[all …]
Dccwgroup.h4 struct ccw_device;
28 struct ccw_device *cdev[0];
68 extern int ccwgroup_probe_ccwdev(struct ccw_device *cdev);
69 extern void ccwgroup_remove_ccwdev(struct ccw_device *cdev);
/linux-4.4.14/drivers/s390/scsi/
Dzfcp_ccw.c20 struct zfcp_adapter *zfcp_ccw_adapter_by_cdev(struct ccw_device *cdev) in zfcp_ccw_adapter_by_cdev()
48 static int zfcp_ccw_activate(struct ccw_device *cdev, int clear, char *tag) in zfcp_ccw_activate()
97 static int zfcp_ccw_probe(struct ccw_device *cdev) in zfcp_ccw_probe()
111 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()
205 static int zfcp_ccw_offline_sync(struct ccw_device *cdev, int set, char *tag) in zfcp_ccw_offline_sync()
227 static int zfcp_ccw_set_offline(struct ccw_device *cdev) in zfcp_ccw_set_offline()
240 static int zfcp_ccw_notify(struct ccw_device *cdev, int event) in zfcp_ccw_notify()
289 static void zfcp_ccw_shutdown(struct ccw_device *cdev) in zfcp_ccw_shutdown()
303 static int zfcp_ccw_suspend(struct ccw_device *cdev) in zfcp_ccw_suspend()
[all …]
Dzfcp_aux.c58 struct ccw_device *cdev; in zfcp_init_device_configure()
303 dev_name(&adapter->ccw_device->dev), in zfcp_print_sl()
312 dev_name(&adapter->ccw_device->dev)); in zfcp_setup_adapter_work_queue()
337 struct zfcp_adapter *zfcp_adapter_enqueue(struct ccw_device *ccw_device) in zfcp_adapter_enqueue() argument
341 if (!get_device(&ccw_device->dev)) in zfcp_adapter_enqueue()
346 put_device(&ccw_device->dev); in zfcp_adapter_enqueue()
352 ccw_device->handler = NULL; in zfcp_adapter_enqueue()
353 adapter->ccw_device = ccw_device; in zfcp_adapter_enqueue()
401 dev_set_drvdata(&ccw_device->dev, adapter); in zfcp_adapter_enqueue()
403 if (sysfs_create_group(&ccw_device->dev.kobj, in zfcp_adapter_enqueue()
[all …]
Dzfcp_qdio.c26 dev_warn(&adapter->ccw_device->dev, "A QDIO problem occurred\n"); in zfcp_qdio_handler_error()
61 static void zfcp_qdio_int_req(struct ccw_device *cdev, unsigned int qdio_err, in zfcp_qdio_int_req()
82 static void zfcp_qdio_int_resp(struct ccw_device *cdev, unsigned int qdio_err, in zfcp_qdio_int_resp()
263 retval = do_QDIO(qdio->adapter->ccw_device, QDIO_FLAG_SYNC_OUTPUT, 0, in zfcp_qdio_send()
285 id->cdev = qdio->adapter->ccw_device; in zfcp_qdio_setup_init_data()
357 qdio_shutdown(adapter->ccw_device, QDIO_FLAG_CLEANUP_USING_CLEAR); in zfcp_qdio_close()
380 struct ccw_device *cdev = adapter->ccw_device; in zfcp_qdio_open()
452 if (qdio->adapter->ccw_device) in zfcp_qdio_destroy()
453 qdio_free(qdio->adapter->ccw_device); in zfcp_qdio_destroy()
500 rc = ccw_device_siosl(adapter->ccw_device); in zfcp_qdio_siosl()
Dzfcp_fsf.c68 dev_err(&req->adapter->ccw_device->dev, "FCP device not " in zfcp_fsf_class_not_supp()
126 dev_warn(&req->adapter->ccw_device->dev, in zfcp_fsf_link_down_info_eval()
131 dev_warn(&req->adapter->ccw_device->dev, in zfcp_fsf_link_down_info_eval()
136 dev_warn(&req->adapter->ccw_device->dev, in zfcp_fsf_link_down_info_eval()
141 dev_warn(&req->adapter->ccw_device->dev, in zfcp_fsf_link_down_info_eval()
146 dev_warn(&req->adapter->ccw_device->dev, in zfcp_fsf_link_down_info_eval()
151 dev_warn(&req->adapter->ccw_device->dev, in zfcp_fsf_link_down_info_eval()
155 dev_warn(&req->adapter->ccw_device->dev, in zfcp_fsf_link_down_info_eval()
159 dev_warn(&req->adapter->ccw_device->dev, in zfcp_fsf_link_down_info_eval()
164 dev_warn(&req->adapter->ccw_device->dev, in zfcp_fsf_link_down_info_eval()
[all …]
Dzfcp_sysfs.c45 struct ccw_device *cdev = to_ccwdev(dev); \
169 struct ccw_device *cdev = to_ccwdev(dev); in zfcp_sysfs_adapter_failed_show()
189 struct ccw_device *cdev = to_ccwdev(dev); in zfcp_sysfs_adapter_failed_store()
218 struct ccw_device *cdev = to_ccwdev(dev); in zfcp_sysfs_port_rescan_store()
244 struct ccw_device *cdev = to_ccwdev(dev); in zfcp_sysfs_port_remove_store()
450 dev_name(&zfcp_sdev->port->adapter->ccw_device->dev));
Dzfcp_ext.h19 extern struct zfcp_adapter *zfcp_adapter_enqueue(struct ccw_device *);
29 extern struct zfcp_adapter *zfcp_ccw_adapter_by_cdev(struct ccw_device *);
Dzfcp_def.h149 struct ccw_device *ccw_device; /* S/390 ccw device */ member
Dzfcp_dbf.c497 sprintf(name, "zfcp_%s_rec", dev_name(&adapter->ccw_device->dev)); in zfcp_dbf_adapter_register()
503 sprintf(name, "zfcp_%s_hba", dev_name(&adapter->ccw_device->dev)); in zfcp_dbf_adapter_register()
509 sprintf(name, "zfcp_%s_pay", dev_name(&adapter->ccw_device->dev)); in zfcp_dbf_adapter_register()
515 sprintf(name, "zfcp_%s_san", dev_name(&adapter->ccw_device->dev)); in zfcp_dbf_adapter_register()
521 sprintf(name, "zfcp_%s_scsi", dev_name(&adapter->ccw_device->dev)); in zfcp_dbf_adapter_register()
Dzfcp_scsi.c317 ccw_device_get_id(adapter->ccw_device, &dev_id); in zfcp_scsi_adapter_register()
322 dev_err(&adapter->ccw_device->dev, in zfcp_scsi_adapter_register()
338 if (scsi_add_host(adapter->scsi_host, &adapter->ccw_device->dev)) { in zfcp_scsi_adapter_register()
561 dev_err(&port->adapter->ccw_device->dev, in zfcp_scsi_rport_register()
Dzfcp_erp.c1014 dev_err(&zfcp_sdev->port->adapter->ccw_device->dev, in zfcp_erp_strategy_check_lun()
1047 dev_err(&port->adapter->ccw_device->dev, in zfcp_erp_strategy_check_port()
1075 dev_err(&adapter->ccw_device->dev, in zfcp_erp_strategy_check_adapter()
1372 dev_name(&adapter->ccw_device->dev)); in zfcp_erp_thread_setup()
1374 dev_err(&adapter->ccw_device->dev, in zfcp_erp_thread_setup()
Dzfcp_fc.c464 dev_warn(&port->adapter->ccw_device->dev, in zfcp_fc_plogi_evaluate()
675 dev_warn(&adapter->ccw_device->dev, in zfcp_fc_eval_gpn_ft()
803 dev_name(&adapter->ccw_device->dev), in zfcp_fc_gspn()
/linux-4.4.14/drivers/s390/block/
Ddasd_int.h470 struct ccw_device *cdev;
705 int dasd_generic_probe (struct ccw_device *, struct dasd_discipline *);
706 void dasd_generic_remove (struct ccw_device *cdev);
707 int dasd_generic_set_online(struct ccw_device *, struct dasd_discipline *);
708 int dasd_generic_set_offline (struct ccw_device *cdev);
709 int dasd_generic_notify(struct ccw_device *, int);
712 void dasd_generic_shutdown(struct ccw_device *);
715 int dasd_generic_pm_freeze(struct ccw_device *);
716 int dasd_generic_restore_device(struct ccw_device *);
717 enum uc_todo dasd_generic_uc_handler(struct ccw_device *, struct irb *);
[all …]
Ddasd_devmap.c524 dasd_devmap_from_cdev(struct ccw_device *cdev) in dasd_devmap_from_cdev()
539 dasd_create_device(struct ccw_device *cdev) in dasd_create_device()
592 struct ccw_device *cdev; in dasd_delete_device()
650 dasd_device_from_cdev_locked(struct ccw_device *cdev) in dasd_device_from_cdev_locked()
664 dasd_device_from_cdev(struct ccw_device *cdev) in dasd_device_from_cdev()
957 struct ccw_device *cdev = to_ccwdev(dev); in dasd_safe_offline_store()
1488 dasd_get_feature(struct ccw_device *cdev, int feature) in dasd_get_feature()
1504 dasd_set_feature(struct ccw_device *cdev, int feature, int flag) in dasd_set_feature()
1525 dasd_add_sysfs_files(struct ccw_device *cdev) in dasd_add_sysfs_files()
1531 dasd_remove_sysfs_files(struct ccw_device *cdev) in dasd_remove_sysfs_files()
Ddasd_fba.c57 dasd_fba_probe(struct ccw_device *cdev) in dasd_fba_probe()
63 dasd_fba_set_online(struct ccw_device *cdev) in dasd_fba_set_online()
130 struct ccw_device *cdev = device->cdev; in dasd_fba_check_characteristics()
Ddasd.c51 void dasd_int_handler(struct ccw_device *, unsigned long, struct irb *);
1523 static void dasd_handle_killed_request(struct ccw_device *cdev, in dasd_handle_killed_request()
1579 void dasd_int_handler(struct ccw_device *cdev, unsigned long intparm, in dasd_int_handler()
1706 enum uc_todo dasd_generic_uc_handler(struct ccw_device *cdev, struct irb *irb) in dasd_generic_uc_handler()
3226 struct ccw_device *cdev = data; in dasd_generic_auto_online()
3239 int dasd_generic_probe(struct ccw_device *cdev, in dasd_generic_probe()
3269 void dasd_generic_remove(struct ccw_device *cdev) in dasd_generic_remove()
3313 int dasd_generic_set_online(struct ccw_device *cdev, in dasd_generic_set_online()
3394 int dasd_generic_set_offline(struct ccw_device *cdev) in dasd_generic_set_offline()
3544 int dasd_generic_notify(struct ccw_device *cdev, int event) in dasd_generic_notify()
[all …]
Ddasd_ioctl.c378 struct ccw_device *cdev; in dasd_ioctl_information()
Ddasd_eckd.c126 dasd_eckd_probe (struct ccw_device *cdev) in dasd_eckd_probe()
144 dasd_eckd_set_online(struct ccw_device *cdev) in dasd_eckd_set_online()
2519 struct ccw_device *cdev = device->cdev; in dasd_eckd_erp_action()
/linux-4.4.14/drivers/s390/char/
Dvmur.c60 static int ur_probe(struct ccw_device *cdev);
61 static void ur_remove(struct ccw_device *cdev);
62 static int ur_set_online(struct ccw_device *cdev);
63 static int ur_set_offline(struct ccw_device *cdev);
64 static int ur_pm_suspend(struct ccw_device *cdev);
101 static struct urdev *urdev_alloc(struct ccw_device *cdev) in urdev_alloc()
132 static struct urdev *urdev_get_from_cdev(struct ccw_device *cdev) in urdev_get_from_cdev()
148 struct ccw_device *cdev; in urdev_get_from_devno()
175 static int ur_pm_suspend(struct ccw_device *cdev) in ur_pm_suspend()
273 struct ccw_device *cdev = urd->cdev; in do_ur_io()
[all …]
Dtape.h183 struct ccw_device * cdev;
267 extern int tape_generic_offline(struct ccw_device *);
268 extern int tape_generic_pm_suspend(struct ccw_device *);
271 extern int tape_generic_probe(struct ccw_device *);
272 extern void tape_generic_remove(struct ccw_device *);
Draw3270.c36 struct ccw_device *cdev;
340 raw3270_irq (struct ccw_device *cdev, unsigned long intparm, struct irb *irb) in raw3270_irq()
729 raw3270_setup_device(struct ccw_device *cdev, struct raw3270 *rp, char *ascebc) in raw3270_setup_device()
798 struct ccw_device *cdev; in raw3270_setup_console()
849 raw3270_create_device(struct ccw_device *cdev) in raw3270_create_device()
1061 struct ccw_device *cdev; in raw3270_delete_device()
1083 raw3270_probe (struct ccw_device *cdev) in raw3270_probe()
1163 raw3270_set_online (struct ccw_device *cdev) in raw3270_set_online()
1191 raw3270_remove (struct ccw_device *cdev) in raw3270_remove()
1242 raw3270_set_offline (struct ccw_device *cdev) in raw3270_set_offline()
[all …]
Dcon3215.c78 struct ccw_device *cdev; /* device for tty driver */
364 static void raw3215_irq(struct ccw_device *cdev, unsigned long intparm, in raw3215_irq()
692 static int raw3215_probe (struct ccw_device *cdev) in raw3215_probe()
725 static void raw3215_remove (struct ccw_device *cdev) in raw3215_remove()
744 static int raw3215_set_online (struct ccw_device *cdev) in raw3215_set_online()
755 static int raw3215_set_offline (struct ccw_device *cdev) in raw3215_set_offline()
768 static int raw3215_pm_stop(struct ccw_device *cdev) in raw3215_pm_stop()
782 static int raw3215_pm_start(struct ccw_device *cdev) in raw3215_pm_start()
905 struct ccw_device *cdev; in con3215_init()
Dvmur.h63 struct ccw_device *cdev; /* Backpointer to ccw device */
Dtape_core.c33 static void __tape_do_irq (struct ccw_device *, unsigned long, struct irb *);
443 int tape_generic_pm_suspend(struct ccw_device *cdev) in tape_generic_pm_suspend()
487 tape_generic_offline(struct ccw_device *cdev) in tape_generic_offline()
614 tape_generic_probe(struct ccw_device *cdev) in tape_generic_probe()
666 tape_generic_remove(struct ccw_device *cdev) in tape_generic_remove()
1100 __tape_do_irq (struct ccw_device *cdev, unsigned long intparm, struct irb *irb) in __tape_do_irq()
Dtape_34xx.c1175 tape_34xx_online(struct ccw_device *cdev) in tape_34xx_online()
Dtape_3590.c1642 tape_3590_online(struct ccw_device *cdev) in tape_3590_online()
/linux-4.4.14/Documentation/s390/
Ddriver-model.txt76 The basic struct ccw_device and struct ccw_driver data structures can be found
79 struct ccw_device {
88 void (*handler) (struct ccw_device *dev, unsigned long intparm,
95 int (*probe) (struct ccw_device *);
96 int (*remove) (struct ccw_device *);
97 int (*set_online) (struct ccw_device *);
98 int (*set_offline) (struct ccw_device *);
99 int (*notify) (struct ccw_device *, int);
128 int (*probe) (struct ccw_device *cdev);
136 int (*remove) (struct ccw_device *cdev);
[all …]
Dcds.txt42 * The functions use a ccw_device instead of an irq (subchannel).
51 * The interrupt handlers must be adapted to use a ccw_device as argument.
130 device drivers should use the new calling interface via the ccw_device only.
141 support using the information saved in the struct ccw_device given to them.
168 ccw_device_get_ciw(struct ccw_device *cdev, __u32 cmd);
170 cdev - The ccw_device for which the command is to be retrieved.
189 int ccw_device_start(struct ccw_device *cdev,
194 int ccw_device_start_timeout(struct ccw_device *cdev,
200 int ccw_device_start_key(struct ccw_device *cdev,
206 int ccw_device_start_key_timeout(struct ccw_device *cdev,
[all …]
/linux-4.4.14/drivers/s390/virtio/
Dvirtio_ccw.c56 struct ccw_device *cdev;
1017 static void virtio_ccw_int_handler(struct ccw_device *cdev, in virtio_ccw_int_handler()
1077 static int virtio_ccw_check_autoonline(struct ccw_device *cdev) in virtio_ccw_check_autoonline()
1089 struct ccw_device *cdev = data; in virtio_ccw_auto_online()
1097 static int virtio_ccw_probe(struct ccw_device *cdev) in virtio_ccw_probe()
1106 static struct virtio_ccw_device *virtio_grab_drvdata(struct ccw_device *cdev) in virtio_grab_drvdata()
1122 static void virtio_ccw_remove(struct ccw_device *cdev) in virtio_ccw_remove()
1138 static int virtio_ccw_offline(struct ccw_device *cdev) in virtio_ccw_offline()
1200 static int virtio_ccw_online(struct ccw_device *cdev) in virtio_ccw_online()
1266 static int virtio_ccw_cio_notify(struct ccw_device *cdev, int event) in virtio_ccw_cio_notify()
/linux-4.4.14/drivers/s390/net/
Dqeth_core.h602 struct ccw_device *ccwdev;
720 void (*start_poll)(struct ccw_device *, int, unsigned long);
923 void qeth_qdio_start_poll(struct ccw_device *, int, unsigned long);
924 void qeth_qdio_input_handler(struct ccw_device *,
927 void qeth_qdio_output_handler(struct ccw_device *, unsigned int,
Dctcm_main.h133 struct ccw_device *cdev;
Dlcs.h287 struct ccw_device *ccwdev;
Dctcm_main.c276 static long ctcm_check_irb_error(struct ccw_device *cdev, struct irb *irb) in ctcm_check_irb_error()
1198 static void ctcm_irq_handler(struct ccw_device *cdev, in ctcm_irq_handler()
1350 static int add_channel(struct ccw_device *cdev, enum ctcm_channel_types type, in add_channel()
1534 struct ccw_device *cdev0; in ctcm_new_device()
1535 struct ccw_device *cdev1; in ctcm_new_device()
Dqeth_core_main.c722 static struct qeth_card *CARD_FROM_CDEV(struct ccw_device *cdev) in CARD_FROM_CDEV()
996 static int qeth_get_problem(struct ccw_device *cdev, struct irb *irb) in qeth_get_problem()
1045 static long __qeth_check_irb_error(struct ccw_device *cdev, in __qeth_check_irb_error()
1083 static void qeth_irq(struct ccw_device *cdev, unsigned long intparm, in qeth_irq()
1354 struct ccw_device *ccwdev; in qeth_update_from_chp_desc()
3562 void qeth_qdio_start_poll(struct ccw_device *ccwdev, int queue, in qeth_qdio_start_poll()
3671 void qeth_qdio_input_handler(struct ccw_device *ccwdev, unsigned int qdio_err, in qeth_qdio_input_handler()
3689 void qeth_qdio_output_handler(struct ccw_device *ccwdev, in qeth_qdio_output_handler()
4783 struct ccw_device *ddev; in qeth_determine_capabilities()
4836 void (**queue_start_poll) (struct ccw_device *, int, unsigned long)) { in qeth_qdio_establish_cq()
[all …]
Dlcs.c1308 lcs_check_irb_error(struct ccw_device *cdev, struct irb *irb) in lcs_check_irb_error()
1337 lcs_get_problem(struct ccw_device *cdev, struct irb *irb) in lcs_get_problem()
1388 lcs_irq(struct ccw_device *cdev, unsigned long intparm, struct irb *irb) in lcs_irq()
Dqeth_l2_main.c2135 struct ccw_device *ddev; in qeth_bridgeport_an_set()