Home
last modified time | relevance | path

Searched refs:ccw_device (Results 1 - 25 of 107) sorted by relevance

12345

/kernel/linux/linux-5.10/arch/s390/include/asm/
H A Dccwdev.h24 /* simplified initializers for struct ccw_device:
74 * struct ccw_device - channel attached device
86 struct ccw_device { struct
95 void (*handler) (struct ccw_device *, unsigned long, struct irb *);
138 int (*probe) (struct ccw_device *);
139 void (*remove) (struct ccw_device *);
140 int (*set_online) (struct ccw_device *);
141 int (*set_offline) (struct ccw_device *);
142 int (*notify) (struct ccw_device *, int);
143 void (*path_event) (struct ccw_device *, in
[all...]
H A Dcmb.h7 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 Dqdio.h308 /* params are: ccw_device, qdio_error, queue_number,
310 typedef void qdio_handler_t(struct ccw_device *, unsigned int, int,
358 void (*irq_poll)(struct ccw_device *cdev, unsigned long data);
379 extern int qdio_allocate(struct ccw_device *cdev, unsigned int no_input_qs,
381 extern int qdio_establish(struct ccw_device *cdev,
383 extern int qdio_activate(struct ccw_device *);
385 extern int do_QDIO(struct ccw_device *, unsigned int, int, unsigned int,
387 extern int qdio_start_irq(struct ccw_device *cdev);
388 extern int qdio_stop_irq(struct ccw_device *cdev);
389 extern int qdio_get_next_buffers(struct ccw_device *, in
[all...]
/kernel/linux/linux-5.10/drivers/s390/cio/
H A 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...]
H A 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 *cde
[all...]
H A 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 *cde
[all...]
H A Ddevice.c63 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 *cde
[all...]
H A 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()
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 *cde
[all...]
H A 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;
H A Dcmf.c92 * Most of these functions operate on a struct ccw_device. There is only
94 * data is guaranteed to be the same for every ccw_device.
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 *cde
[all...]
/kernel/linux/linux-6.6/drivers/s390/cio/
H A 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...]
H A 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 *cde
[all...]
H A Ddevice_fsm.c38 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 *cde
[all...]
H A Ddevice_pgid.c29 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 *cde
[all...]
H A 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;
H A Ddevice.c63 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 *cde
[all...]
H A Dcmf.c92 * Most of these functions operate on a struct ccw_device. There is only
94 * data is guaranteed to be the same for every ccw_device.
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 *cde
[all...]
/kernel/linux/linux-6.6/arch/s390/include/asm/
H A Dccwdev.h25 /* simplified initializers for struct ccw_device:
75 * struct ccw_device - channel attached device
87 struct ccw_device { struct
97 void (*handler) (struct ccw_device *, unsigned long, struct irb *);
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 *, in
[all...]
H A Dcmb.h7 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 Dqdio.h288 /* params are: ccw_device, qdio_error, queue_number,
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 *cde
[all...]
/kernel/linux/linux-5.10/drivers/s390/scsi/
H A 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()
205 static int zfcp_ccw_offline_sync(struct ccw_device *cdev, int set, char *tag) in zfcp_ccw_offline_sync()
227 static int zfcp_ccw_set_offline(struct ccw_device *cdev) in zfcp_ccw_set_offline()
240 static int zfcp_ccw_notify(struct ccw_device *cdev, int event) in zfcp_ccw_notify()
289 static void zfcp_ccw_shutdown(struct ccw_device *cdev) in zfcp_ccw_shutdown()
303 static int zfcp_ccw_suspend(struct ccw_device *cde
[all...]
H A Dzfcp_aux.c60 struct ccw_device *cdev; in zfcp_init_device_configure()
301 dev_name(&adapter->ccw_device->dev), in zfcp_print_sl()
310 dev_name(&adapter->ccw_device->dev)); in zfcp_setup_adapter_work_queue()
328 * @ccw_device: pointer to the struct cc_device
335 struct zfcp_adapter *zfcp_adapter_enqueue(struct ccw_device *ccw_device) in zfcp_adapter_enqueue() argument
339 if (!get_device(&ccw_device->dev)) in zfcp_adapter_enqueue()
344 put_device(&ccw_device->dev); in zfcp_adapter_enqueue()
350 ccw_device->handler = NULL; in zfcp_adapter_enqueue()
351 adapter->ccw_device in zfcp_adapter_enqueue()
[all...]
/kernel/linux/linux-6.6/drivers/s390/scsi/
H A 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()
336 * @ccw_device: pointer to the struct cc_device
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 in zfcp_adapter_enqueue()
[all...]
H A 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()
H A 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 = qdio_add_bufs_to_output_queue(qdio->adapter->ccw_device, 0, in zfcp_qdio_send()
374 ret = qdio_allocate(qdio->adapter->ccw_device, in zfcp_qdio_allocate()
[all...]

Completed in 16 milliseconds

12345