| /linux/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) 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 …]
|
| H A 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() 193 int ccw_device_start_timeout_key(struct ccw_device *cdev, struct ccw1 *cpa, in ccw_device_start_timeout_key() 279 int ccw_device_start_key(struct ccw_device *cdev, struct ccw1 *cpa, in ccw_device_start_key() 313 int ccw_device_start(struct ccw_device *cdev, struct ccw1 *cpa, in ccw_device_start() 351 int ccw_device_start_timeout(struct ccw_device *cdev, struct ccw1 *cpa, in ccw_device_start_timeout() [all …]
|
| H A D | device_fsm.c | 39 static void ccw_timeout_log(struct ccw_device *cdev) in ccw_timeout_log() 103 struct ccw_device *cdev = priv->cdev; in ccw_device_timeout() 116 ccw_device_set_timeout(struct ccw_device *cdev, int expires) in ccw_device_set_timeout() 125 ccw_device_cancel_halt_clear(struct ccw_device *cdev) in ccw_device_cancel_halt_clear() 141 void ccw_device_update_sense_data(struct ccw_device *cdev) in ccw_device_update_sense_data() 150 int ccw_device_test_sense_data(struct ccw_device *cdev) in ccw_device_test_sense_data() 193 ccw_device_recog_done(struct ccw_device *cdev, int state) in ccw_device_recog_done() 263 ccw_device_sense_id_done(struct ccw_device *cdev, int err) in ccw_device_sense_id_done() 289 int ccw_device_notify(struct ccw_device *cdev, int event) in ccw_device_notify() 312 static void ccw_device_oper_notify(struct ccw_device *cdev) in ccw_device_oper_notify() [all …]
|
| 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) in verify_done() 58 static void nop_build_cp(struct ccw_device *cdev) in nop_build_cp() 73 static void nop_do(struct ccw_device *cdev) in nop_do() 93 static enum io_status nop_filter(struct ccw_device *cdev, void *data, in nop_filter() 105 static void nop_callback(struct ccw_device *cdev, void *data, int rc) in nop_callback() 135 static void spid_build_cp(struct ccw_device *cdev, u8 fn) in spid_build_cp() 150 static void pgid_wipeout_callback(struct ccw_device *cdev, void *data, int rc) in pgid_wipeout_callback() 168 static void pgid_wipeout_start(struct ccw_device *cdev) in pgid_wipeout_start() 195 static void spid_do(struct ccw_device *cdev) in spid_do() [all …]
|
| H A D | device.c | 62 struct ccw_device *cdev = to_ccwdev(dev); in ccw_bus_match() 105 const struct ccw_device *cdev = to_ccwdev(dev); in ccw_uevent() 199 struct ccw_device *cdev = to_ccwdev(dev); in devtype_show() 211 struct ccw_device *cdev = to_ccwdev(dev); in cutype_show() 220 struct ccw_device *cdev = to_ccwdev(dev); in modalias_show() 232 struct ccw_device *cdev = to_ccwdev(dev); in online_show() 237 int ccw_device_is_orphan(struct ccw_device *cdev) in ccw_device_is_orphan() 242 static void ccw_device_unregister(struct ccw_device *cdev) in ccw_device_unregister() 271 int ccw_device_set_offline(struct ccw_device *cdev) in ccw_device_set_offline() 348 int ccw_device_set_online(struct ccw_device *cdev) in ccw_device_set_online() [all …]
|
| H A D | cmf.c | 105 int (*alloc) (struct ccw_device *); 106 void (*free) (struct ccw_device *); 107 int (*set) (struct ccw_device *, u32); 108 u64 (*read) (struct ccw_device *, int); 109 int (*readall)(struct ccw_device *, struct cmbdata *); 110 void (*reset) (struct ccw_device *); 176 static int set_schib(struct ccw_device *cdev, u32 mme, int mbfc, in set_schib() 212 static int set_schib_wait(struct ccw_device *cdev, u32 mme, in set_schib_wait() 258 void retry_set_schib(struct ccw_device *cdev) in retry_set_schib() 270 static int cmf_copy_block(struct ccw_device *cdev) in cmf_copy_block() [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) 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;
|
| H A D | ccwgroup.c | 221 struct ccw_device *cdev = gdev->cdev[i]; in ccwgroup_release() 519 int ccwgroup_probe_ccwdev(struct ccw_device *cdev) in ccwgroup_probe_ccwdev() 533 void ccwgroup_remove_ccwdev(struct ccw_device *cdev) in ccwgroup_remove_ccwdev()
|
| /linux/arch/s390/include/asm/ |
| H A D | ccwdev.h | 87 struct ccw_device { struct 97 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 enum uc_todo (*uc_handler) (struct ccw_device *, struct irb *); [all …]
|
| H 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); 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 *cdev, unsigned int nr, 355 extern int qdio_add_bufs_to_input_queue(struct ccw_device *cdev, [all …]
|
| 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 | 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);
|
| /linux/drivers/s390/scsi/ |
| H A D | zfcp_aux.c | 59 struct ccw_device *cdev; in zfcp_init_device_configure() 309 dev_name(&adapter->ccw_device->dev), in zfcp_print_sl() 317 dev_name(&adapter->ccw_device->dev)); in zfcp_setup_adapter_work_queue() 341 struct zfcp_adapter *zfcp_adapter_enqueue(struct ccw_device *ccw_device) in zfcp_adapter_enqueue() argument 345 if (!get_device(&ccw_device->dev)) in zfcp_adapter_enqueue() 350 put_device(&ccw_device->dev); in zfcp_adapter_enqueue() 356 ccw_device->handler = NULL; in zfcp_adapter_enqueue() 357 adapter->ccw_device = ccw_device; in zfcp_adapter_enqueue() 412 dev_set_drvdata(&ccw_device->dev, adapter); in zfcp_adapter_enqueue() 414 if (device_add_groups(&ccw_device->dev, zfcp_sysfs_adapter_attr_groups)) in zfcp_adapter_enqueue() [all …]
|
| H A D | zfcp_fsf.c | 81 dev_err(&req->adapter->ccw_device->dev, "FCP device not " in zfcp_fsf_class_not_supp() 162 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() 172 dev_warn(&req->adapter->ccw_device->dev, in zfcp_fsf_link_down_info_eval() 177 dev_warn(&req->adapter->ccw_device->dev, in zfcp_fsf_link_down_info_eval() 182 dev_warn(&req->adapter->ccw_device->dev, in zfcp_fsf_link_down_info_eval() 187 dev_warn(&req->adapter->ccw_device->dev, in zfcp_fsf_link_down_info_eval() 191 dev_warn(&req->adapter->ccw_device->dev, in zfcp_fsf_link_down_info_eval() 195 dev_warn(&req->adapter->ccw_device->dev, in zfcp_fsf_link_down_info_eval() 200 dev_warn(&req->adapter->ccw_device->dev, in zfcp_fsf_link_down_info_eval() [all …]
|
| H A D | zfcp_def.h | 153 struct ccw_device *ccw_device; /* S/390 ccw device */ member
|
| H A D | zfcp_scsi.c | 481 ccw_device_get_id(adapter->ccw_device, &dev_id); in zfcp_scsi_adapter_register() 502 if (scsi_add_host(adapter->scsi_host, &adapter->ccw_device->dev)) { in zfcp_scsi_adapter_register() 510 dev_err(&adapter->ccw_device->dev, in zfcp_scsi_adapter_register() 740 dev_err(&port->adapter->ccw_device->dev, in zfcp_scsi_rport_register()
|
| /linux/drivers/s390/char/ |
| 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) in urdev_alloc() 138 static struct urdev *urdev_get_from_cdev(struct ccw_device *cdev) in urdev_get_from_cdev() 154 struct ccw_device *cdev; in urdev_get_from_devno() 256 struct ccw_device *cdev = urd->cdev; in do_ur_io() 299 static void ur_int_handler(struct ccw_device *cdev, unsigned long intparm, in ur_int_handler() 820 static int ur_probe(struct ccw_device *cdev) in ur_probe() [all …]
|
| H A D | raw3270.c | 42 struct ccw_device *cdev; 342 static void raw3270_irq(struct ccw_device *cdev, unsigned long intparm, struct irb *irb) in raw3270_irq() 727 static int raw3270_setup_device(struct ccw_device *cdev, struct raw3270 *rp, in raw3270_setup_device() 806 struct ccw_device *cdev; in raw3270_setup_console() 855 static struct raw3270 *raw3270_create_device(struct ccw_device *cdev) in raw3270_create_device() 1097 struct ccw_device *cdev; in raw3270_delete_device() 1118 static int raw3270_probe(struct ccw_device *cdev) in raw3270_probe() 1200 static int raw3270_set_online(struct ccw_device *cdev) in raw3270_set_online() 1227 static void raw3270_remove(struct ccw_device *cdev) in raw3270_remove() 1277 static int raw3270_set_offline(struct ccw_device *cdev) in raw3270_set_offline()
|
| H A D | vmur.h | 67 struct ccw_device *cdev; /* Backpointer to ccw device */
|
| H A D | tape_core.c | 35 static void __tape_do_irq (struct ccw_device *, unsigned long, struct irb *); 437 tape_generic_offline(struct ccw_device *cdev) in tape_generic_offline() 564 tape_generic_probe(struct ccw_device *cdev) in tape_generic_probe() 616 tape_generic_remove(struct ccw_device *cdev) in tape_generic_remove() 1080 __tape_do_irq (struct ccw_device *cdev, unsigned long intparm, struct irb *irb) in __tape_do_irq()
|
| /linux/drivers/s390/block/ |
| H A D | dasd_int.h | 290 int dasd_devmap_set_device_copy_relation(struct ccw_device *, 615 struct ccw_device *cdev; 1010 int dasd_generic_probe(struct ccw_device *); 1012 void dasd_generic_remove (struct ccw_device *cdev); 1013 int dasd_generic_set_online(struct ccw_device *, struct dasd_discipline *); 1014 int dasd_generic_set_offline (struct ccw_device *cdev); 1015 int dasd_generic_notify(struct ccw_device *, int); 1018 void dasd_generic_shutdown(struct ccw_device *); 1021 enum uc_todo dasd_generic_uc_handler(struct ccw_device *, struct irb *); 1022 void dasd_generic_path_event(struct ccw_device *, int *); [all …]
|
| H A D | dasd_devmap.c | 535 dasd_devmap_from_cdev(struct ccw_device *cdev) in dasd_devmap_from_cdev() 550 dasd_create_device(struct ccw_device *cdev) in dasd_create_device() 759 int dasd_devmap_set_device_copy_relation(struct ccw_device *cdev, in dasd_devmap_set_device_copy_relation() 840 struct ccw_device *cdev; in dasd_delete_device() 904 dasd_device_from_cdev_locked(struct ccw_device *cdev) in dasd_device_from_cdev_locked() 918 dasd_device_from_cdev(struct ccw_device *cdev) in dasd_device_from_cdev() 1027 struct ccw_device *cdev = to_ccwdev(dev); in dasd_ro_store() 1204 struct ccw_device *cdev = to_ccwdev(dev); in dasd_safe_offline_store() 1242 struct ccw_device *cdev = to_ccwdev(dev); in dasd_access_show() 1870 struct ccw_device *cdev = to_ccwdev(dev); in dasd_reservation_policy_store() [all …]
|
| /linux/Documentation/arch/s390/ |
| H A 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/drivers/s390/virtio/ |
| H A D | virtio_ccw.c | 61 struct ccw_device *cdev; 1174 static void virtio_ccw_int_handler(struct ccw_device *cdev, in virtio_ccw_int_handler() 1244 static int virtio_ccw_check_autoonline(struct ccw_device *cdev) in virtio_ccw_check_autoonline() 1256 struct ccw_device *cdev = data; in virtio_ccw_auto_online() 1264 static int virtio_ccw_probe(struct ccw_device *cdev) in virtio_ccw_probe() 1273 static struct virtio_ccw_device *virtio_grab_drvdata(struct ccw_device *cdev) in virtio_grab_drvdata() 1289 static void virtio_ccw_remove(struct ccw_device *cdev) in virtio_ccw_remove() 1305 static int virtio_ccw_offline(struct ccw_device *cdev) in virtio_ccw_offline() 1367 static int virtio_ccw_online(struct ccw_device *cdev) in virtio_ccw_online() 1432 static int virtio_ccw_cio_notify(struct ccw_device *cdev, int event) in virtio_ccw_cio_notify()
|
| /linux/drivers/s390/net/ |
| H A D | ctcm_main.h | 135 struct ccw_device *cdev;
|