| /Linux-v5.4/arch/s390/include/asm/ |
| D | ccwdev.h | 85 struct ccw_device { struct 94 void (*handler) (struct ccw_device *, unsigned long, struct irb *); argument 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 *, int *); 143 void (*shutdown) (struct ccw_device *); 144 int (*prepare) (struct ccw_device *); [all …]
|
| 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);
|
| D | qdio.h | 309 typedef void qdio_handler_t(struct ccw_device *, unsigned int, int, 348 struct ccw_device *cdev; 361 void (**queue_start_poll_array) (struct ccw_device *, int, 413 extern int qdio_activate(struct ccw_device *); 415 extern int do_QDIO(struct ccw_device *, unsigned int, int, unsigned int, 417 extern int qdio_start_irq(struct ccw_device *, int); 418 extern int qdio_stop_irq(struct ccw_device *, int); 419 extern int qdio_get_next_buffers(struct ccw_device *, int, int *, int *); 420 extern int qdio_inspect_queue(struct ccw_device *cdev, unsigned int nr, 423 extern int qdio_shutdown(struct ccw_device *, int); [all …]
|
| D | ccwgroup.h | 5 struct ccw_device; 29 struct ccw_device *cdev[0]; 73 extern int ccwgroup_probe_ccwdev(struct ccw_device *cdev); 74 extern void ccwgroup_remove_ccwdev(struct ccw_device *cdev);
|
| /Linux-v5.4/drivers/s390/cio/ |
| 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) in dev_fsm_event() 77 dev_fsm_final_state(struct ccw_device *cdev) in dev_fsm_final_state() 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 …]
|
| D | device_ops.c | 39 int ccw_device_set_options_mask(struct ccw_device *cdev, unsigned long flags) in ccw_device_set_options_mask() 64 int ccw_device_set_options(struct ccw_device *cdev, unsigned long flags) in ccw_device_set_options() 91 void ccw_device_clear_options(struct ccw_device *cdev, unsigned long flags) in ccw_device_clear_options() 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() 137 int ccw_device_clear(struct ccw_device *cdev, unsigned long intparm) in ccw_device_clear() 191 int ccw_device_start_timeout_key(struct ccw_device *cdev, struct ccw1 *cpa, in ccw_device_start_timeout_key() 271 int ccw_device_start_key(struct ccw_device *cdev, struct ccw1 *cpa, in ccw_device_start_key() 305 int ccw_device_start(struct ccw_device *cdev, struct ccw1 *cpa, in ccw_device_start() 343 int ccw_device_start_timeout(struct ccw_device *cdev, struct ccw1 *cpa, in ccw_device_start_timeout() [all …]
|
| 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() 114 ccw_device_set_timeout(struct ccw_device *cdev, int expires) in ccw_device_set_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() 270 ccw_device_sense_id_done(struct ccw_device *cdev, int err) in ccw_device_sense_id_done() 296 int ccw_device_notify(struct ccw_device *cdev, int event) in ccw_device_notify() 319 static void ccw_device_oper_notify(struct ccw_device *cdev) in ccw_device_oper_notify() [all …]
|
| D | device.c | 63 struct ccw_device *cdev = to_ccwdev(dev); in ccw_bus_match() 106 struct ccw_device *cdev = to_ccwdev(dev); in ccw_uevent() 154 struct ccw_device *cdev; in io_subchannel_prepare() 214 struct ccw_device *cdev = to_ccwdev(dev); in devtype_show() 227 struct ccw_device *cdev = to_ccwdev(dev); in cutype_show() 237 struct ccw_device *cdev = to_ccwdev(dev); in modalias_show() 249 struct ccw_device *cdev = to_ccwdev(dev); in online_show() 254 int ccw_device_is_orphan(struct ccw_device *cdev) in ccw_device_is_orphan() 259 static void ccw_device_unregister(struct ccw_device *cdev) in ccw_device_unregister() 285 int ccw_device_set_offline(struct ccw_device *cdev) in ccw_device_set_offline() [all …]
|
| 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() 92 static enum io_status nop_filter(struct ccw_device *cdev, void *data, in nop_filter() 104 static void nop_callback(struct ccw_device *cdev, void *data, int rc) in nop_callback() 134 static void spid_build_cp(struct ccw_device *cdev, u8 fn) in spid_build_cp() 149 static void pgid_wipeout_callback(struct ccw_device *cdev, void *data, int rc) in pgid_wipeout_callback() 167 static void pgid_wipeout_start(struct ccw_device *cdev) in pgid_wipeout_start() 194 static void spid_do(struct ccw_device *cdev) in spid_do() [all …]
|
| 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); 110 int (*readall)(struct ccw_device *, struct cmbdata *); 111 void (*reset) (struct ccw_device *); 175 static int set_schib(struct ccw_device *cdev, u32 mme, int mbfc, in set_schib() 211 static int set_schib_wait(struct ccw_device *cdev, u32 mme, in set_schib_wait() 257 void retry_set_schib(struct ccw_device *cdev) in retry_set_schib() 269 static int cmf_copy_block(struct ccw_device *cdev) in cmf_copy_block() [all …]
|
| 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;
|
| 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()
|
| 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()
|
| 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
|
| D | qdio.h | 195 void (*queue_start_poll) (struct ccw_device *, int, unsigned long); 274 struct ccw_device *cdev; 294 void (*orig_handler) (struct ccw_device *, unsigned long, struct irb *); 392 void qdio_int_handler(struct ccw_device *cdev, unsigned long intparm, 402 struct ccw_device *cdev); 404 int qdio_setup_create_sysfs(struct ccw_device *cdev); 405 void qdio_setup_destroy_sysfs(struct ccw_device *cdev);
|
| 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()
|
| /Linux-v5.4/drivers/s390/scsi/ |
| 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() 159 static int zfcp_ccw_set_online(struct ccw_device *cdev) in zfcp_ccw_set_online() 206 static int zfcp_ccw_offline_sync(struct ccw_device *cdev, int set, char *tag) in zfcp_ccw_offline_sync() 228 static int zfcp_ccw_set_offline(struct ccw_device *cdev) in zfcp_ccw_set_offline() 241 static int zfcp_ccw_notify(struct ccw_device *cdev, int event) in zfcp_ccw_notify() 290 static void zfcp_ccw_shutdown(struct ccw_device *cdev) in zfcp_ccw_shutdown() 304 static int zfcp_ccw_suspend(struct ccw_device *cdev) in zfcp_ccw_suspend() [all …]
|
| D | zfcp_aux.c | 58 struct ccw_device *cdev; in zfcp_init_device_configure() 299 dev_name(&adapter->ccw_device->dev), in zfcp_print_sl() 308 dev_name(&adapter->ccw_device->dev)); in zfcp_setup_adapter_work_queue() 333 struct zfcp_adapter *zfcp_adapter_enqueue(struct ccw_device *ccw_device) in zfcp_adapter_enqueue() argument 337 if (!get_device(&ccw_device->dev)) in zfcp_adapter_enqueue() 342 put_device(&ccw_device->dev); in zfcp_adapter_enqueue() 348 ccw_device->handler = NULL; in zfcp_adapter_enqueue() 349 adapter->ccw_device = ccw_device; in zfcp_adapter_enqueue() 399 dev_set_drvdata(&ccw_device->dev, adapter); in zfcp_adapter_enqueue() 401 if (sysfs_create_group(&ccw_device->dev.kobj, in zfcp_adapter_enqueue() [all …]
|
| D | zfcp_qdio.c | 27 dev_warn(&adapter->ccw_device->dev, "A QDIO problem occurred\n"); in zfcp_qdio_handler_error() 62 static void zfcp_qdio_int_req(struct ccw_device *cdev, unsigned int qdio_err, in zfcp_qdio_int_req() 83 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()
|
| D | zfcp_fsf.c | 80 dev_err(&req->adapter->ccw_device->dev, "FCP device not " in zfcp_fsf_class_not_supp() 138 dev_warn(&req->adapter->ccw_device->dev, in zfcp_fsf_link_down_info_eval() 143 dev_warn(&req->adapter->ccw_device->dev, in zfcp_fsf_link_down_info_eval() 148 dev_warn(&req->adapter->ccw_device->dev, in zfcp_fsf_link_down_info_eval() 153 dev_warn(&req->adapter->ccw_device->dev, in zfcp_fsf_link_down_info_eval() 158 dev_warn(&req->adapter->ccw_device->dev, in zfcp_fsf_link_down_info_eval() 163 dev_warn(&req->adapter->ccw_device->dev, in zfcp_fsf_link_down_info_eval() 167 dev_warn(&req->adapter->ccw_device->dev, in zfcp_fsf_link_down_info_eval() 171 dev_warn(&req->adapter->ccw_device->dev, in zfcp_fsf_link_down_info_eval() 176 dev_warn(&req->adapter->ccw_device->dev, in zfcp_fsf_link_down_info_eval() [all …]
|
| /Linux-v5.4/drivers/s390/char/ |
| 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); 65 static int ur_pm_suspend(struct ccw_device *cdev); 102 static struct urdev *urdev_alloc(struct ccw_device *cdev) in urdev_alloc() 133 static struct urdev *urdev_get_from_cdev(struct ccw_device *cdev) in urdev_get_from_cdev() 149 struct ccw_device *cdev; in urdev_get_from_devno() 176 static int ur_pm_suspend(struct ccw_device *cdev) in ur_pm_suspend() 274 struct ccw_device *cdev = urd->cdev; in do_ur_io() [all …]
|
| D | tape.h | 185 struct ccw_device * cdev; 269 extern int tape_generic_offline(struct ccw_device *); 270 extern int tape_generic_pm_suspend(struct ccw_device *); 273 extern int tape_generic_probe(struct ccw_device *); 274 extern void tape_generic_remove(struct ccw_device *);
|
| /Linux-v5.4/Documentation/s390/ |
| D | driver-model.rst | 83 The basic struct ccw_device and struct ccw_driver data structures can be found 86 struct ccw_device { 95 void (*handler) (struct ccw_device *dev, unsigned long intparm, 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); [all …]
|
| D | cds.rst | 48 * The functions use a ccw_device instead of an irq (subchannel). 57 * The interrupt handlers must be adapted to use a ccw_device as argument. 137 device drivers should use the new calling interface via the ccw_device only. 148 support using the information saved in the struct ccw_device given to them. 177 ccw_device_get_ciw(struct ccw_device *cdev, __u32 cmd); 180 cdev The ccw_device for which the command is to be retrieved. 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, 223 int ccw_device_start_key_timeout(struct ccw_device *cdev, [all …]
|
| /Linux-v5.4/drivers/s390/block/ |
| D | dasd_int.h | 525 struct ccw_device *cdev; 766 int dasd_generic_probe (struct ccw_device *, struct dasd_discipline *); 768 void dasd_generic_remove (struct ccw_device *cdev); 769 int dasd_generic_set_online(struct ccw_device *, struct dasd_discipline *); 770 int dasd_generic_set_offline (struct ccw_device *cdev); 771 int dasd_generic_notify(struct ccw_device *, int); 774 void dasd_generic_shutdown(struct ccw_device *); 777 int dasd_generic_pm_freeze(struct ccw_device *); 778 int dasd_generic_restore_device(struct ccw_device *); 779 enum uc_todo dasd_generic_uc_handler(struct ccw_device *, struct irb *); [all …]
|