/linux-6.6.21/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 | 38 static void ccw_timeout_log(struct ccw_device *cdev) in ccw_timeout_log() 102 struct ccw_device *cdev = priv->cdev; in ccw_device_timeout() 115 ccw_device_set_timeout(struct ccw_device *cdev, int expires) in ccw_device_set_timeout() 124 ccw_device_cancel_halt_clear(struct ccw_device *cdev) in ccw_device_cancel_halt_clear() 140 void ccw_device_update_sense_data(struct ccw_device *cdev) in ccw_device_update_sense_data() 149 int ccw_device_test_sense_data(struct ccw_device *cdev) in ccw_device_test_sense_data() 189 ccw_device_recog_done(struct ccw_device *cdev, int state) in ccw_device_recog_done() 259 ccw_device_sense_id_done(struct ccw_device *cdev, int err) in ccw_device_sense_id_done() 285 int ccw_device_notify(struct ccw_device *cdev, int event) in ccw_device_notify() 308 static void ccw_device_oper_notify(struct ccw_device *cdev) in ccw_device_oper_notify() [all …]
|
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 …]
|
D | device.c | 63 struct ccw_device *cdev = to_ccwdev(dev); in ccw_bus_match() 106 const struct ccw_device *cdev = to_ccwdev(dev); in ccw_uevent() 200 struct ccw_device *cdev = to_ccwdev(dev); in devtype_show() 213 struct ccw_device *cdev = to_ccwdev(dev); in cutype_show() 223 struct ccw_device *cdev = to_ccwdev(dev); in modalias_show() 235 struct ccw_device *cdev = to_ccwdev(dev); in online_show() 240 int ccw_device_is_orphan(struct ccw_device *cdev) in ccw_device_is_orphan() 245 static void ccw_device_unregister(struct ccw_device *cdev) in ccw_device_unregister() 274 int ccw_device_set_offline(struct ccw_device *cdev) in ccw_device_set_offline() 351 int ccw_device_set_online(struct ccw_device *cdev) in ccw_device_set_online() [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 *); 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 …]
|
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 | device_status.c | 29 ccw_device_msg_control_check(struct ccw_device *cdev, struct irb *irb) in ccw_device_msg_control_check() 54 ccw_device_path_notoper(struct ccw_device *cdev) in ccw_device_path_notoper() 76 ccw_device_accumulate_ecw(struct ccw_device *cdev, struct irb *irb) in ccw_device_accumulate_ecw() 114 ccw_device_accumulate_esw(struct ccw_device *cdev, struct irb *irb) in ccw_device_accumulate_esw() 194 ccw_device_accumulate_irb(struct ccw_device *cdev, struct irb *irb) in ccw_device_accumulate_irb() 312 ccw_device_do_sense(struct ccw_device *cdev, struct irb *irb) in ccw_device_do_sense() 349 ccw_device_accumulate_basic_sense(struct ccw_device *cdev, struct irb *irb) in ccw_device_accumulate_basic_sense() 382 ccw_device_accumulate_and_sense(struct ccw_device *cdev, struct irb *irb) in ccw_device_accumulate_and_sense()
|
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() 746 void qdio_int_handler(struct ccw_device *cdev, unsigned long intparm, in qdio_int_handler() 805 int qdio_get_ssqd_desc(struct ccw_device *cdev, in qdio_get_ssqd_desc() 821 struct ccw_device *cdev = irq->cdev; in qdio_cancel_ccw() 854 int qdio_shutdown(struct ccw_device *cdev, int how) in qdio_shutdown() 900 int qdio_free(struct ccw_device *cdev) in qdio_free() 932 int qdio_allocate(struct ccw_device *cdev, unsigned int no_input_qs, in qdio_allocate() 1022 int qdio_establish(struct ccw_device *cdev, in qdio_establish() 1126 int qdio_activate(struct ccw_device *cdev) in qdio_activate() [all …]
|
/linux-6.6.21/arch/s390/include/asm/ |
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 …]
|
D | qdio.h | 290 typedef void qdio_handler_t(struct ccw_device *, unsigned int, int, 333 void (*irq_poll)(struct ccw_device *cdev, unsigned long data); 343 extern int qdio_allocate(struct ccw_device *cdev, unsigned int no_input_qs, 345 extern int qdio_establish(struct ccw_device *cdev, 347 extern int qdio_activate(struct ccw_device *); 348 extern int qdio_start_irq(struct ccw_device *cdev); 349 extern int qdio_stop_irq(struct ccw_device *cdev); 350 extern int qdio_inspect_input_queue(struct ccw_device *cdev, unsigned int nr, 352 extern int qdio_inspect_output_queue(struct ccw_device *cdev, unsigned int nr, 354 extern int qdio_add_bufs_to_input_queue(struct ccw_device *cdev, [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 | 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-6.6.21/drivers/s390/scsi/ |
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() 416 if (device_add_groups(&ccw_device->dev, zfcp_sysfs_adapter_attr_groups)) in zfcp_adapter_enqueue() [all …]
|
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()
|
D | zfcp_qdio.c | 31 dev_warn(&adapter->ccw_device->dev, "A QDIO problem occurred\n"); in zfcp_qdio_handler_error() 66 static void zfcp_qdio_int_req(struct ccw_device *cdev, unsigned int qdio_err, in zfcp_qdio_int_req() 78 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 …]
|
D | zfcp_fsf.c | 82 dev_err(&req->adapter->ccw_device->dev, "FCP device not " in zfcp_fsf_class_not_supp() 163 dev_warn(&req->adapter->ccw_device->dev, in zfcp_fsf_link_down_info_eval() 168 dev_warn(&req->adapter->ccw_device->dev, in zfcp_fsf_link_down_info_eval() 173 dev_warn(&req->adapter->ccw_device->dev, in zfcp_fsf_link_down_info_eval() 178 dev_warn(&req->adapter->ccw_device->dev, in zfcp_fsf_link_down_info_eval() 183 dev_warn(&req->adapter->ccw_device->dev, in zfcp_fsf_link_down_info_eval() 188 dev_warn(&req->adapter->ccw_device->dev, in zfcp_fsf_link_down_info_eval() 192 dev_warn(&req->adapter->ccw_device->dev, in zfcp_fsf_link_down_info_eval() 196 dev_warn(&req->adapter->ccw_device->dev, in zfcp_fsf_link_down_info_eval() 201 dev_warn(&req->adapter->ccw_device->dev, in zfcp_fsf_link_down_info_eval() [all …]
|
/linux-6.6.21/Documentation/arch/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-6.6.21/drivers/s390/char/ |
D | vmur.c | 63 static int ur_probe(struct ccw_device *cdev); 64 static void ur_remove(struct ccw_device *cdev); 65 static int ur_set_online(struct ccw_device *cdev); 66 static int ur_set_offline(struct ccw_device *cdev); 104 static struct urdev *urdev_alloc(struct ccw_device *cdev) in urdev_alloc() 136 static struct urdev *urdev_get_from_cdev(struct ccw_device *cdev) in urdev_get_from_cdev() 152 struct ccw_device *cdev; in urdev_get_from_devno() 255 struct ccw_device *cdev = urd->cdev; in do_ur_io() 298 static void ur_int_handler(struct ccw_device *cdev, unsigned long intparm, in ur_int_handler() 819 static int ur_probe(struct ccw_device *cdev) in ur_probe() [all …]
|
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-6.6.21/drivers/s390/block/ |
D | dasd_int.h | 312 int dasd_devmap_set_device_copy_relation(struct ccw_device *, 624 struct ccw_device *cdev; 900 int dasd_generic_probe(struct ccw_device *); 902 void dasd_generic_remove (struct ccw_device *cdev); 903 int dasd_generic_set_online(struct ccw_device *, struct dasd_discipline *); 904 int dasd_generic_set_offline (struct ccw_device *cdev); 905 int dasd_generic_notify(struct ccw_device *, int); 908 void dasd_generic_shutdown(struct ccw_device *); 911 enum uc_todo dasd_generic_uc_handler(struct ccw_device *, struct irb *); 912 void dasd_generic_path_event(struct ccw_device *, int *); [all …]
|