Home
last modified time | relevance | path

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

12

/drivers/s390/cio/
Ddevice.h50 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 …]
Ddevice_ops.c39 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 …]
Ddevice_fsm.c37 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()
264 ccw_device_sense_id_done(struct ccw_device *cdev, int err) in ccw_device_sense_id_done()
290 int ccw_device_notify(struct ccw_device *cdev, int event) in ccw_device_notify()
313 static void ccw_device_oper_notify(struct ccw_device *cdev) in ccw_device_oper_notify()
[all …]
Ddevice.c63 struct ccw_device *cdev = to_ccwdev(dev); in ccw_bus_match()
106 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()
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 …]
Ddevice_pgid.c28 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 …]
Dcmf.c106 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 …]
Dio_sch.h18 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;
Dccwreq.c41 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()
Ddevice_id.c99 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()
Ddevice_status.c28 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()
DMakefile12 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
Dqdio.h224 struct ccw_device *cdev;
244 void (*orig_handler) (struct ccw_device *, unsigned long, struct irb *);
256 void (*irq_poll)(struct ccw_device *cdev, unsigned long data);
333 void qdio_int_handler(struct ccw_device *cdev, unsigned long intparm,
Dqdio_main.c703 void qdio_int_handler(struct ccw_device *cdev, unsigned long intparm, in qdio_int_handler()
762 int qdio_get_ssqd_desc(struct ccw_device *cdev, in qdio_get_ssqd_desc()
778 struct ccw_device *cdev = irq->cdev; in qdio_cancel_ccw()
811 int qdio_shutdown(struct ccw_device *cdev, int how) in qdio_shutdown()
857 int qdio_free(struct ccw_device *cdev) in qdio_free()
888 int qdio_allocate(struct ccw_device *cdev, unsigned int no_input_qs, in qdio_allocate()
970 int qdio_establish(struct ccw_device *cdev, in qdio_establish()
1064 int qdio_activate(struct ccw_device *cdev) in qdio_activate()
1195 int do_QDIO(struct ccw_device *cdev, unsigned int callflags, in do_QDIO()
1229 int qdio_start_irq(struct ccw_device *cdev) in qdio_start_irq()
[all …]
/drivers/s390/scsi/
Dzfcp_aux.c60 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 …]
Dzfcp_qdio.c31 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 = do_QDIO(qdio->adapter->ccw_device, QDIO_FLAG_SYNC_OUTPUT, 0, in zfcp_qdio_send()
373 ret = qdio_allocate(qdio->adapter->ccw_device, 1, 1); in zfcp_qdio_allocate()
408 qdio_stop_irq(adapter->ccw_device); in zfcp_qdio_close()
409 qdio_shutdown(adapter->ccw_device, QDIO_FLAG_CLEANUP_USING_CLEAR); in zfcp_qdio_close()
[all …]
Dzfcp_ccw.c21 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()
Dzfcp_fsf.c82 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 …]
Dzfcp_sysfs.c47 struct ccw_device *cdev = to_ccwdev(dev); \
171 struct ccw_device *cdev = to_ccwdev(dev); in zfcp_sysfs_adapter_failed_show()
191 struct ccw_device *cdev = to_ccwdev(dev); in zfcp_sysfs_adapter_failed_store()
217 struct ccw_device *cdev = to_ccwdev(dev); in zfcp_sysfs_port_rescan_store()
302 struct ccw_device *cdev = to_ccwdev(dev); in zfcp_sysfs_port_remove_store()
388 struct ccw_device *cdev = to_ccwdev(dev); in zfcp_sysfs_adapter_fc_security_show()
618 dev_name(&zfcp_sdev->port->adapter->ccw_device->dev));
/drivers/s390/char/
Dvmur.c61 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);
100 static struct urdev *urdev_alloc(struct ccw_device *cdev) in urdev_alloc()
131 static struct urdev *urdev_get_from_cdev(struct ccw_device *cdev) in urdev_get_from_cdev()
147 struct ccw_device *cdev; in urdev_get_from_devno()
250 struct ccw_device *cdev = urd->cdev; in do_ur_io()
281 static void ur_int_handler(struct ccw_device *cdev, unsigned long intparm, in ur_int_handler()
793 static int ur_probe(struct ccw_device *cdev) in ur_probe()
[all …]
Dtape.h185 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 *);
Draw3270.c37 struct ccw_device *cdev;
316 raw3270_irq (struct ccw_device *cdev, unsigned long intparm, struct irb *irb) in raw3270_irq()
688 raw3270_setup_device(struct ccw_device *cdev, struct raw3270 *rp, char *ascebc) in raw3270_setup_device()
757 struct ccw_device *cdev; in raw3270_setup_console()
808 raw3270_create_device(struct ccw_device *cdev) in raw3270_create_device()
1017 struct ccw_device *cdev; in raw3270_delete_device()
1039 raw3270_probe (struct ccw_device *cdev) in raw3270_probe()
1119 raw3270_set_online (struct ccw_device *cdev) in raw3270_set_online()
1147 raw3270_remove (struct ccw_device *cdev) in raw3270_remove()
1198 raw3270_set_offline (struct ccw_device *cdev) in raw3270_set_offline()
Dcon3215.c79 struct ccw_device *cdev; /* device for tty driver */
346 static void raw3215_irq(struct ccw_device *cdev, unsigned long intparm, in raw3215_irq()
645 static int raw3215_probe (struct ccw_device *cdev) in raw3215_probe()
678 static void raw3215_remove (struct ccw_device *cdev) in raw3215_remove()
697 static int raw3215_set_online (struct ccw_device *cdev) in raw3215_set_online()
708 static int raw3215_set_offline (struct ccw_device *cdev) in raw3215_set_offline()
820 struct ccw_device *cdev; in con3215_init()
/drivers/s390/block/
Ddasd_int.h568 struct ccw_device *cdev;
824 int dasd_generic_probe(struct ccw_device *);
826 void dasd_generic_remove (struct ccw_device *cdev);
827 int dasd_generic_set_online(struct ccw_device *, struct dasd_discipline *);
828 int dasd_generic_set_offline (struct ccw_device *cdev);
829 int dasd_generic_notify(struct ccw_device *, int);
832 void dasd_generic_shutdown(struct ccw_device *);
835 enum uc_todo dasd_generic_uc_handler(struct ccw_device *, struct irb *);
836 void dasd_generic_path_event(struct ccw_device *, int *);
864 struct dasd_device *dasd_create_device(struct ccw_device *);
[all …]
Ddasd_devmap.c526 dasd_devmap_from_cdev(struct ccw_device *cdev) in dasd_devmap_from_cdev()
541 dasd_create_device(struct ccw_device *cdev) in dasd_create_device()
599 struct ccw_device *cdev; in dasd_delete_device()
661 dasd_device_from_cdev_locked(struct ccw_device *cdev) in dasd_device_from_cdev_locked()
675 dasd_device_from_cdev(struct ccw_device *cdev) in dasd_device_from_cdev()
783 struct ccw_device *cdev = to_ccwdev(dev); in dasd_ro_store()
960 struct ccw_device *cdev = to_ccwdev(dev); in dasd_safe_offline_store()
998 struct ccw_device *cdev = to_ccwdev(dev); in dasd_access_show()
1435 struct ccw_device *cdev = to_ccwdev(dev); in dasd_reservation_policy_store()
1691 struct ccw_device *cdev = to_ccwdev(dev); \
[all …]
/drivers/s390/virtio/
Dvirtio_ccw.c59 struct ccw_device *cdev;
1076 static void virtio_ccw_int_handler(struct ccw_device *cdev, in virtio_ccw_int_handler()
1136 static int virtio_ccw_check_autoonline(struct ccw_device *cdev) in virtio_ccw_check_autoonline()
1148 struct ccw_device *cdev = data; in virtio_ccw_auto_online()
1156 static int virtio_ccw_probe(struct ccw_device *cdev) in virtio_ccw_probe()
1165 static struct virtio_ccw_device *virtio_grab_drvdata(struct ccw_device *cdev) in virtio_grab_drvdata()
1181 static void virtio_ccw_remove(struct ccw_device *cdev) in virtio_ccw_remove()
1197 static int virtio_ccw_offline(struct ccw_device *cdev) in virtio_ccw_offline()
1259 static int virtio_ccw_online(struct ccw_device *cdev) in virtio_ccw_online()
1321 static int virtio_ccw_cio_notify(struct ccw_device *cdev, int event) in virtio_ccw_cio_notify()

12