Home
last modified time | relevance | path

Searched refs:ccw1 (Results 1 - 25 of 76) sorted by relevance

1234

/kernel/linux/linux-5.10/drivers/s390/char/
H A Dtape.h126 struct ccw1 *cpaddr; /* address of the channel program. */
303 static inline struct ccw1 *
304 tape_ccw_cc(struct ccw1 *ccw, __u8 cmd_code, __u16 memsize, void *cda) in tape_ccw_cc()
313 static inline struct ccw1 *
314 tape_ccw_end(struct ccw1 *ccw, __u8 cmd_code, __u16 memsize, void *cda) in tape_ccw_end()
323 static inline struct ccw1 *
324 tape_ccw_cmd(struct ccw1 *ccw, __u8 cmd_code) in tape_ccw_cmd()
333 static inline struct ccw1 *
334 tape_ccw_repeat(struct ccw1 *ccw, __u8 cmd_code, int count) in tape_ccw_repeat()
346 static inline struct ccw1 *
[all...]
H A Dtape_std.c269 struct ccw1 *ccw; in tape_std_mtfsf()
293 struct ccw1 *ccw; in tape_std_mtfsr()
325 struct ccw1 *ccw; in tape_std_mtbsr()
356 struct ccw1 *ccw; in tape_std_mtweof()
381 struct ccw1 *ccw; in tape_std_mtbsfm()
405 struct ccw1 *ccw; in tape_std_mtbsf()
436 struct ccw1 *ccw; in tape_std_mtfsfm()
H A Dvmur.c212 static void free_chan_prog(struct ccw1 *cpa) in free_chan_prog()
214 struct ccw1 *ptr = cpa; in free_chan_prog()
231 static struct ccw1 *alloc_chan_prog(const char __user *ubuf, int rec_count, in alloc_chan_prog()
234 struct ccw1 *cpa; in alloc_chan_prog()
245 cpa = kcalloc(rec_count + 1, sizeof(struct ccw1), in alloc_chan_prog()
271 static int do_ur_io(struct urdev *urd, struct ccw1 *cpa) in do_ur_io()
419 struct ccw1 *cpa; in do_write()
/kernel/linux/linux-6.6/drivers/s390/char/
H A Dtape.h126 struct ccw1 *cpaddr; /* address of the channel program. */
302 static inline struct ccw1 *
303 tape_ccw_cc(struct ccw1 *ccw, __u8 cmd_code, __u16 memsize, void *cda) in tape_ccw_cc()
312 static inline struct ccw1 *
313 tape_ccw_end(struct ccw1 *ccw, __u8 cmd_code, __u16 memsize, void *cda) in tape_ccw_end()
322 static inline struct ccw1 *
323 tape_ccw_cmd(struct ccw1 *ccw, __u8 cmd_code) in tape_ccw_cmd()
332 static inline struct ccw1 *
333 tape_ccw_repeat(struct ccw1 *ccw, __u8 cmd_code, int count) in tape_ccw_repeat()
345 static inline struct ccw1 *
[all...]
H A Dtape_std.c269 struct ccw1 *ccw; in tape_std_mtfsf()
293 struct ccw1 *ccw; in tape_std_mtfsr()
325 struct ccw1 *ccw; in tape_std_mtbsr()
356 struct ccw1 *ccw; in tape_std_mtweof()
381 struct ccw1 *ccw; in tape_std_mtbsfm()
405 struct ccw1 *ccw; in tape_std_mtbsf()
436 struct ccw1 *ccw; in tape_std_mtfsfm()
H A Dvmur.c193 static void free_chan_prog(struct ccw1 *cpa) in free_chan_prog()
195 struct ccw1 *ptr = cpa; in free_chan_prog()
212 static struct ccw1 *alloc_chan_prog(const char __user *ubuf, int rec_count, in alloc_chan_prog()
215 struct ccw1 *cpa; in alloc_chan_prog()
226 cpa = kcalloc(rec_count + 1, sizeof(struct ccw1), in alloc_chan_prog()
252 static int do_ur_io(struct urdev *urd, struct ccw1 *cpa) in do_ur_io()
421 struct ccw1 *cpa; in do_write()
/kernel/linux/linux-6.6/drivers/s390/cio/
H A Dvfio_ccw_cp.c33 struct ccw1 *ch_ccw;
213 static void convert_ccw0_to_ccw1(struct ccw1 *source, unsigned long len) in convert_ccw0_to_ccw1()
216 struct ccw1 *pccw1 = source; in convert_ccw0_to_ccw1()
261 static inline int ccw_does_data_transfer(struct ccw1 *ccw) in ccw_does_data_transfer()
304 u32 tail = head + (len - 1) * sizeof(struct ccw1); in is_cpa_within_range()
309 static inline int is_tic_within_range(struct ccw1 *ccw, u32 head, int len) in is_tic_within_range()
354 struct ccw1 *ccw = &chain->ch_ccw[idx]; in ccwchain_cda_free()
377 struct ccw1 *ccw = cp->guest_cp; in ccwchain_calc_length()
403 static int tic_target_chain_exists(struct ccw1 *tic, struct channel_program *cp) in tic_target_chain_exists()
428 ret = vfio_dma_rw(vdev, cda, cp->guest_cp, CCWCHAIN_LEN_MAX * sizeof(struct ccw1), fals in ccwchain_handle_ccw()
[all...]
H A Dio_sch.h13 struct ccw1 sense_ccw; /* static ccw for sense command */
78 struct ccw1 *cp;
125 struct ccw1 iccws[2]; /* ccws for SNID/SID/SPGID commands */
H A Dcio.h124 extern int cio_start (struct subchannel *, struct ccw1 *, __u8);
125 extern int cio_start_key (struct subchannel *, struct ccw1 *, __u8, __u8);
H A Dvfio_ccw_cp.h40 struct ccw1 *guest_cp;
/kernel/linux/linux-5.10/drivers/s390/cio/
H A Dvfio_ccw_cp.c33 struct ccw1 *ch_ccw;
167 static void convert_ccw0_to_ccw1(struct ccw1 *source, unsigned long len) in convert_ccw0_to_ccw1()
170 struct ccw1 *pccw1 = source; in convert_ccw0_to_ccw1()
258 static inline int ccw_does_data_transfer(struct ccw1 *ccw) in ccw_does_data_transfer()
301 u32 tail = head + (len - 1) * sizeof(struct ccw1); in is_cpa_within_range()
306 static inline int is_tic_within_range(struct ccw1 *ccw, u32 head, int len) in is_tic_within_range()
329 chain->ch_ccw = (struct ccw1 *)data; in ccwchain_alloc()
350 struct ccw1 *ccw = chain->ch_ccw + idx; in ccwchain_cda_free()
373 struct ccw1 *ccw = cp->guest_cp; in ccwchain_calc_length()
407 static int tic_target_chain_exists(struct ccw1 *ti
[all...]
H A Dio_sch.h13 struct ccw1 sense_ccw; /* static ccw for sense command */
78 struct ccw1 *cp;
125 struct ccw1 iccws[2]; /* ccws for SNID/SID/SPGID commands */
H A Dcio.h131 extern int cio_start (struct subchannel *, struct ccw1 *, __u8);
132 extern int cio_start_key (struct subchannel *, struct ccw1 *, __u8, __u8);
H A Dvfio_ccw_cp.h42 struct ccw1 *guest_cp;
H A Ddevice_ops.c191 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()
/kernel/linux/linux-5.10/drivers/s390/block/
H A Ddasd_erp.c37 (cplength*sizeof(struct ccw1)) > PAGE_SIZE); in dasd_alloc_erp_request()
41 size += cplength * sizeof(struct ccw1); in dasd_alloc_erp_request()
56 cqr->cpaddr = (struct ccw1 *) data; in dasd_alloc_erp_request()
57 data += cplength*sizeof(struct ccw1); in dasd_alloc_erp_request()
58 memset(cqr->cpaddr, 0, cplength*sizeof(struct ccw1)); in dasd_alloc_erp_request()
H A Ddasd_fba.c89 define_extent(struct ccw1 * ccw, struct DE_fba_data *data, int rw, in define_extent()
109 locate_record(struct ccw1 * ccw, struct LO_fba_data *data, int rw, in locate_record()
259 static void ccw_write_no_data(struct ccw1 *ccw) in ccw_write_no_data()
269 static void ccw_write_zero(struct ccw1 *ccw, int count) in ccw_write_zero()
332 struct ccw1 *ccw; in dasd_fba_build_cp_discard()
358 nr_ccws * (sizeof(struct LO_fba_data) + sizeof(struct ccw1)); in dasd_fba_build_cp_discard()
447 struct ccw1 *ccw; in dasd_fba_build_cp_regular()
579 struct ccw1 *ccw; in dasd_fba_free_cp()
673 struct ccw1 *act, *end, *last; in dasd_fba_dump_sense()
733 if (act < ((struct ccw1 *)(addr_ in dasd_fba_dump_sense()
[all...]
/kernel/linux/linux-6.6/drivers/s390/block/
H A Ddasd_erp.c37 (cplength*sizeof(struct ccw1)) > PAGE_SIZE); in dasd_alloc_erp_request()
41 size += cplength * sizeof(struct ccw1); in dasd_alloc_erp_request()
56 cqr->cpaddr = (struct ccw1 *) data; in dasd_alloc_erp_request()
57 data += cplength*sizeof(struct ccw1); in dasd_alloc_erp_request()
58 memset(cqr->cpaddr, 0, cplength*sizeof(struct ccw1)); in dasd_alloc_erp_request()
H A Ddasd_fba.c80 define_extent(struct ccw1 * ccw, struct DE_fba_data *data, int rw, in define_extent()
100 locate_record(struct ccw1 * ccw, struct LO_fba_data *data, int rw, in locate_record()
250 static void ccw_write_no_data(struct ccw1 *ccw) in ccw_write_no_data()
260 static void ccw_write_zero(struct ccw1 *ccw, int count) in ccw_write_zero()
323 struct ccw1 *ccw; in dasd_fba_build_cp_discard()
349 nr_ccws * (sizeof(struct LO_fba_data) + sizeof(struct ccw1)); in dasd_fba_build_cp_discard()
438 struct ccw1 *ccw; in dasd_fba_build_cp_regular()
570 struct ccw1 *ccw; in dasd_fba_free_cp()
664 struct ccw1 *act, *end, *last; in dasd_fba_dump_sense()
724 if (act < ((struct ccw1 *)(addr_ in dasd_fba_dump_sense()
[all...]
/kernel/linux/linux-5.10/arch/s390/include/asm/
H A Dccwdev.h21 struct ccw1;
164 struct ccw1;
183 extern int ccw_device_start(struct ccw_device *, struct ccw1 *,
185 extern int ccw_device_start_timeout(struct ccw_device *, struct ccw1 *,
187 extern int ccw_device_start_key(struct ccw_device *, struct ccw1 *,
189 extern int ccw_device_start_timeout_key(struct ccw_device *, struct ccw1 *,
H A Didals.h71 set_normalized_cda(struct ccw1 * ccw, void *vaddr) in set_normalized_cda()
96 clear_normalized_cda(struct ccw1 * ccw) in clear_normalized_cda()
180 idal_buffer_set_cda(struct idal_buffer *ib, struct ccw1 *ccw) in idal_buffer_set_cda()
/kernel/linux/linux-6.6/arch/s390/include/asm/
H A Dccwdev.h22 struct ccw1;
174 extern int ccw_device_start(struct ccw_device *, struct ccw1 *,
176 extern int ccw_device_start_timeout(struct ccw_device *, struct ccw1 *,
178 extern int ccw_device_start_key(struct ccw_device *, struct ccw1 *,
180 extern int ccw_device_start_timeout_key(struct ccw_device *, struct ccw1 *,
H A Didals.h83 set_normalized_cda(struct ccw1 * ccw, void *vaddr) in set_normalized_cda()
108 clear_normalized_cda(struct ccw1 * ccw) in clear_normalized_cda()
192 idal_buffer_set_cda(struct idal_buffer *ib, struct ccw1 *ccw) in idal_buffer_set_cda()
/kernel/linux/linux-5.10/drivers/s390/virtio/
H A Dvirtio_ccw.c321 struct ccw1 *ccw, __u32 intparm) in ccw_io_helper()
346 struct ccw1 *ccw) in virtio_ccw_drop_indicator()
431 struct ccw1 *ccw, int index) in virtio_ccw_read_vq_conf()
446 static void virtio_ccw_del_vq(struct virtqueue *vq, struct ccw1 *ccw) in virtio_ccw_del_vq()
496 struct ccw1 *ccw; in virtio_ccw_del_vqs()
514 struct ccw1 *ccw) in virtio_ccw_setup_vq()
605 struct ccw1 *ccw) in virtio_ccw_register_adapter_ind()
662 struct ccw1 *ccw; in virtio_ccw_find_vqs()
738 struct ccw1 *ccw; in virtio_ccw_reset()
762 struct ccw1 *cc in virtio_ccw_get_features()
[all...]
/kernel/linux/linux-6.6/drivers/s390/virtio/
H A Dvirtio_ccw.c323 struct ccw1 *ccw, __u32 intparm) in ccw_io_helper()
348 struct ccw1 *ccw) in virtio_ccw_drop_indicator()
421 struct ccw1 *ccw, int index) in virtio_ccw_read_vq_conf()
436 static void virtio_ccw_del_vq(struct virtqueue *vq, struct ccw1 *ccw) in virtio_ccw_del_vq()
486 struct ccw1 *ccw; in virtio_ccw_del_vqs()
504 struct ccw1 *ccw) in virtio_ccw_setup_vq()
604 struct ccw1 *ccw) in virtio_ccw_register_adapter_ind()
663 struct ccw1 *ccw; in virtio_ccw_find_vqs()
739 struct ccw1 *ccw; in virtio_ccw_reset()
763 struct ccw1 *cc in virtio_ccw_get_features()
[all...]

Completed in 22 milliseconds

1234