Home
last modified time | relevance | path

Searched refs:ccw1 (Results 1 – 25 of 39) sorted by relevance

12

/linux-6.6.21/drivers/s390/char/
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 …]
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()
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()
Draw3270.h23 struct ccw1 ccw; /* single ccw. */
Dcon3215.c72 struct ccw1 ccws[RAW3215_NR_CCWS]; /* space for the channel program */
147 struct ccw1 *ccw; in raw3215_mk_read_req()
175 struct ccw1 *ccw; in raw3215_mk_write_req()
/linux-6.6.21/drivers/s390/cio/
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), false); in ccwchain_handle_ccw()
[all …]
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 */
Dcio.h124 extern int cio_start (struct subchannel *, struct ccw1 *, __u8);
125 extern int cio_start_key (struct subchannel *, struct ccw1 *, __u8, __u8);
Dvfio_ccw_cp.h40 struct ccw1 *guest_cp;
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()
Ddevice_pgid.c61 struct ccw1 *cp = cdev->private->dma_area->iccws; in nop_build_cp()
138 struct ccw1 *cp = cdev->private->dma_area->iccws; in spid_build_cp()
440 struct ccw1 *cp = cdev->private->dma_area->iccws; in snid_build_cp()
632 struct ccw1 *cp = cdev->private->dma_area->iccws; in stlck_build_cp()
Ddevice_id.c205 struct ccw1 *cp = cdev->private->dma_area->iccws; in ccw_device_sense_id_start()
Dcio.c124 struct ccw1 * cpa, /* logical channel prog addr */ in cio_start_key()
176 cio_start (struct subchannel *sch, struct ccw1 *cpa, __u8 lpm) in cio_start()
/linux-6.6.21/drivers/s390/block/
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()
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_t) irb->scsw.cmd.cpa) - 2) { in dasd_fba_dump_sense()
[all …]
Ddasd_eckd.c87 struct ccw1 ccw;
94 struct ccw1 ccw[2];
110 struct ccw1 ccw;
252 static int set_timestamp(struct ccw1 *ccw, struct DE_eckd_data *data, in set_timestamp()
280 define_extent(struct ccw1 *ccw, struct DE_eckd_data *data, unsigned int trk, in define_extent()
387 static void locate_record_ext(struct ccw1 *ccw, struct LRE_eckd_data *data, in locate_record_ext()
529 static int prefix_LRE(struct ccw1 *ccw, struct PFX_eckd_data *pfxdata, in prefix_LRE()
596 static int prefix(struct ccw1 *ccw, struct PFX_eckd_data *pfxdata, in prefix()
605 locate_record(struct ccw1 *ccw, struct LO_eckd_data *data, unsigned int trk, in locate_record()
822 struct ccw1 *ccw; in dasd_eckd_fill_rcd_cqr()
[all …]
Ddasd_3990_erp.c201 struct ccw1 *ccw; in dasd_3990_erp_DCTL()
220 memset(ccw, 0, sizeof(struct ccw1)); in dasd_3990_erp_DCTL()
1618 struct ccw1 *ccw, *oldccw; in dasd_3990_erp_action_1B_32()
1713 memset(ccw, 0, sizeof(struct ccw1)); in dasd_3990_erp_action_1B_32()
1721 memset(ccw, 0, sizeof(struct ccw1)); in dasd_3990_erp_action_1B_32()
1775 struct ccw1 *ccw; in dasd_3990_update_1B()
2380 struct ccw1 *ccw; in dasd_3990_erp_add_erp()
/linux-6.6.21/arch/s390/include/asm/
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 *,
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()
Dcio.h31 struct ccw1 { struct
/linux-6.6.21/drivers/s390/virtio/
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 *ccw; in virtio_ccw_get_features()
[all …]
/linux-6.6.21/drivers/s390/net/
Dctcm_main.h149 struct ccw1 *ccw;
Dlcs.h291 struct ccw1 ccws[LCS_NUM_BUFFS + 1];
Dctcm_fsms.c563 CTCM_CCW_DUMP((char *)&ch->ccw[6], sizeof(struct ccw1) * 2); in ctcm_chx_setmode()
628 memcpy(&ch->ccw[3], &ch->ccw[0], sizeof(struct ccw1) * 3); in ctcm_chx_start()
1037 sizeof(struct ccw1) * 3); in ctcm_chx_txretry()
1350 ctcmpc_dumpit((char *)&ch->ccw[0], sizeof(struct ccw1) * 3); in ctcmpc_chx_txdone()
1446 sizeof(struct ccw1) * 3); in ctcmpc_chx_rx()
1554 CTCM_CCW_DUMP((char *)&ch->ccw[0], sizeof(struct ccw1) * 3); in ctcmpc_chx_rxidle()
1804 CTCM_CCW_DUMP((char *)&wch->ccw[3], sizeof(struct ccw1) * 3); in ctcmpc_chx_send_sweep()
/linux-6.6.21/Documentation/arch/s390/
Dcds.rst207 struct ccw1 *cpa,
212 struct ccw1 *cpa,
218 struct ccw1 *cpa,
224 struct ccw1 *cpa,
260 struct ccw1 {

12