| /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_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() 190 ccw_device_recog_done(struct ccw_device *cdev, int state) in ccw_device_recog_done() 260 ccw_device_sense_id_done(struct ccw_device *cdev, int err) in ccw_device_sense_id_done() 286 int ccw_device_notify(struct ccw_device *cdev, int event) in ccw_device_notify() 309 static void ccw_device_oper_notify(struct ccw_device *cdev) in ccw_device_oper_notify() [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 | 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 | 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 | 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 | qdio_main.c | 501 int qdio_inspect_input_queue(struct ccw_device *cdev, unsigned int nr, in qdio_inspect_input_queue() 605 int qdio_inspect_output_queue(struct ccw_device *cdev, unsigned int nr, in qdio_inspect_output_queue() 749 void qdio_int_handler(struct ccw_device *cdev, unsigned long intparm, in qdio_int_handler() 823 int qdio_get_ssqd_desc(struct ccw_device *cdev, in qdio_get_ssqd_desc() 839 struct ccw_device *cdev = irq->cdev; in qdio_cancel_ccw() 872 int qdio_shutdown(struct ccw_device *cdev, int how) in qdio_shutdown() 918 int qdio_free(struct ccw_device *cdev) in qdio_free() 950 int qdio_allocate(struct ccw_device *cdev, unsigned int no_input_qs, in qdio_allocate() 1040 int qdio_establish(struct ccw_device *cdev, in qdio_establish() 1144 int qdio_activate(struct ccw_device *cdev) in qdio_activate() [all …]
|
| /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() 308 dev_name(&adapter->ccw_device->dev), in zfcp_print_sl() 316 dev_name(&adapter->ccw_device->dev)); in zfcp_setup_adapter_work_queue() 340 struct zfcp_adapter *zfcp_adapter_enqueue(struct ccw_device *ccw_device) in zfcp_adapter_enqueue() argument 344 if (!get_device(&ccw_device->dev)) in zfcp_adapter_enqueue() 349 put_device(&ccw_device->dev); in zfcp_adapter_enqueue() 355 ccw_device->handler = NULL; in zfcp_adapter_enqueue() 356 adapter->ccw_device = ccw_device; in zfcp_adapter_enqueue() 411 dev_set_drvdata(&ccw_device->dev, adapter); in zfcp_adapter_enqueue() 413 if (device_add_groups(&ccw_device->dev, zfcp_sysfs_adapter_attr_groups)) in zfcp_adapter_enqueue() [all …]
|
| H A D | zfcp_qdio.c | 30 dev_warn(&adapter->ccw_device->dev, "A QDIO problem occurred\n"); in zfcp_qdio_handler_error() 65 static void zfcp_qdio_int_req(struct ccw_device *cdev, unsigned int qdio_err, in zfcp_qdio_int_req() 77 struct ccw_device *cdev = qdio->adapter->ccw_device; in zfcp_qdio_request_tasklet() 110 static void zfcp_qdio_int_resp(struct ccw_device *cdev, unsigned int qdio_err, in zfcp_qdio_int_resp() 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() 329 retval = qdio_add_bufs_to_output_queue(qdio->adapter->ccw_device, 0, in zfcp_qdio_send() 374 ret = qdio_allocate(qdio->adapter->ccw_device, 1, 1); in zfcp_qdio_allocate() 412 qdio_stop_irq(adapter->ccw_device); in zfcp_qdio_close() 413 qdio_shutdown(adapter->ccw_device, QDIO_FLAG_CLEANUP_USING_CLEAR); in zfcp_qdio_close() [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_sysfs.c | 46 struct ccw_device *cdev = to_ccwdev(dev); \ 170 struct ccw_device *cdev = to_ccwdev(dev); in zfcp_sysfs_adapter_failed_show() 190 struct ccw_device *cdev = to_ccwdev(dev); in zfcp_sysfs_adapter_failed_store() 216 struct ccw_device *cdev = to_ccwdev(dev); in zfcp_sysfs_port_rescan_store() 301 struct ccw_device *cdev = to_ccwdev(dev); in zfcp_sysfs_port_remove_store() 386 struct ccw_device *cdev = to_ccwdev(dev); in zfcp_sysfs_adapter_fc_security_show() 618 dev_name(&zfcp_sdev->port->adapter->ccw_device->dev));
|
| H A D | zfcp_def.h | 153 struct ccw_device *ccw_device; /* S/390 ccw device */ member
|
| H A D | zfcp_ext.h | 21 extern struct zfcp_adapter *zfcp_adapter_enqueue(struct ccw_device *); 29 extern struct zfcp_adapter *zfcp_ccw_adapter_by_cdev(struct ccw_device *);
|
| /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 | con3215.c | 80 struct ccw_device *cdev; /* device for tty driver */ 346 static void raw3215_irq(struct ccw_device *cdev, unsigned long intparm, in raw3215_irq() 701 static int raw3215_probe(struct ccw_device *cdev) in raw3215_probe() 734 static void raw3215_remove(struct ccw_device *cdev) in raw3215_remove() 753 static int raw3215_set_online(struct ccw_device *cdev) in raw3215_set_online() 764 static int raw3215_set_offline(struct ccw_device *cdev) in raw3215_set_offline() 901 struct ccw_device *cdev; in con3215_init()
|
| /linux/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 *, 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() 1788 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()
|