Home
last modified time | relevance | path

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

12

/linux/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()
314 static inline struct ccw1 *
315 tape_ccw_end(struct ccw1 *ccw, __u8 cmd_code, __u16 memsize, void *cda) in tape_ccw_end()
326 static inline struct ccw1 *
327 tape_ccw_cmd(struct ccw1 *ccw, __u8 cmd_code) in tape_ccw_cmd()
336 static inline struct ccw1 *
337 tape_ccw_repeat(struct ccw1 *ccw, __u8 cmd_code, int count) in tape_ccw_repeat()
349 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 Draw3270.h23 struct ccw1 ccw; /* single ccw. */
/linux/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()
310 static inline int is_tic_within_range(struct ccw1 *ccw, u32 head, int len) in is_tic_within_range()
355 struct ccw1 *ccw = &chain->ch_ccw[idx]; in ccwchain_cda_free()
378 struct ccw1 *ccw = cp->guest_cp; in ccwchain_calc_length()
404 static int tic_target_chain_exists(struct ccw1 *tic, struct channel_program *cp) in tic_target_chain_exists()
431 ret = vfio_dma_rw(vdev, gcda, cp->guest_cp, CCWCHAIN_LEN_MAX * sizeof(struct ccw1), false); 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 Dvfio_ccw_cp.h40 struct ccw1 *guest_cp;
H A 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()
H A Ddevice_id.c205 struct ccw1 *cp = cdev->private->dma_area->iccws; in ccw_device_sense_id_start()
H A Dccwreq.c79 struct ccw1 *cp = req->cp; in ccwreq_do()
H A Ddevice_status.c315 struct ccw1 *sense_ccw; in ccw_device_do_sense()
/linux/drivers/s390/block/
H A Ddasd_erp.c32 (cplength*sizeof(struct ccw1)) > PAGE_SIZE); in dasd_alloc_erp_request()
36 size += cplength * sizeof(struct ccw1); in dasd_alloc_erp_request()
51 cqr->cpaddr = (struct ccw1 *) data; in dasd_alloc_erp_request()
52 data += cplength*sizeof(struct ccw1); in dasd_alloc_erp_request()
53 memset(cqr->cpaddr, 0, cplength*sizeof(struct ccw1)); in dasd_alloc_erp_request()
H A Ddasd_fba.c76 define_extent(struct ccw1 * ccw, struct DE_fba_data *data, int rw, in define_extent()
96 locate_record(struct ccw1 * ccw, struct LO_fba_data *data, int rw, in locate_record()
246 static void ccw_write_no_data(struct ccw1 *ccw) in ccw_write_no_data()
256 static void ccw_write_zero(struct ccw1 *ccw, int count) in ccw_write_zero()
319 struct ccw1 *ccw; in dasd_fba_build_cp_discard()
345 nr_ccws * (sizeof(struct LO_fba_data) + sizeof(struct ccw1)); in dasd_fba_build_cp_discard()
434 struct ccw1 *ccw; in dasd_fba_build_cp_regular()
566 struct ccw1 *ccw; in dasd_fba_free_cp()
659 struct ccw1 *act, *end, *last; in dasd_fba_dump_sense()
714 if (act < ((struct ccw1 *)dma32_to_virt(irb->scsw.cmd.cpa)) - 2) { in dasd_fba_dump_sense()
[all …]
H A Ddasd_eckd.c81 struct ccw1 ccw;
88 struct ccw1 ccw[2];
104 struct ccw1 ccw;
246 static int set_timestamp(struct ccw1 *ccw, struct DE_eckd_data *data, in set_timestamp()
274 define_extent(struct ccw1 *ccw, struct DE_eckd_data *data, unsigned int trk, in define_extent()
381 static void locate_record_ext(struct ccw1 *ccw, struct LRE_eckd_data *data, in locate_record_ext()
523 static int prefix_LRE(struct ccw1 *ccw, struct PFX_eckd_data *pfxdata, in prefix_LRE()
590 static int prefix(struct ccw1 *ccw, struct PFX_eckd_data *pfxdata, in prefix()
599 locate_record(struct ccw1 *ccw, struct LO_eckd_data *data, unsigned int trk, in locate_record()
816 struct ccw1 *ccw; in dasd_eckd_fill_rcd_cqr()
[all …]
H A Ddasd_3990_erp.c197 struct ccw1 *ccw; in dasd_3990_erp_DCTL()
216 memset(ccw, 0, sizeof(struct ccw1)); in dasd_3990_erp_DCTL()
1592 struct ccw1 *ccw, *oldccw; in dasd_3990_erp_action_1B_32()
1686 memset(ccw, 0, sizeof(struct ccw1)); in dasd_3990_erp_action_1B_32()
1694 memset(ccw, 0, sizeof(struct ccw1)); in dasd_3990_erp_action_1B_32()
1748 struct ccw1 *ccw; in dasd_3990_update_1B()
2341 struct ccw1 *ccw; in dasd_3990_erp_add_erp()
H A Ddasd_alias.c129 lcu->rsu_cqr->cpaddr = kzalloc(sizeof(struct ccw1), in _allocate_lcu()
412 struct ccw1 *ccw; in read_unit_address_configuration()
733 struct ccw1 *ccw; in reset_summary_unit_check()
H A Ddasd.c1187 size += cplength * sizeof(struct ccw1); in dasd_smalloc_request()
1206 data += cplength * sizeof(struct ccw1); in dasd_smalloc_request()
1207 memset(cqr->cpaddr, 0, cplength * sizeof(struct ccw1)); in dasd_smalloc_request()
1232 size += cplength * sizeof(struct ccw1); in dasd_fmalloc_request()
1246 data += cplength * sizeof(struct ccw1); in dasd_fmalloc_request()
1247 memset(cqr->cpaddr, 0, cplength * sizeof(struct ccw1)); in dasd_fmalloc_request()
3976 struct ccw1 *ccw; in dasd_generic_build_rdc()
/linux/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.h88 static inline int set_normalized_cda(struct ccw1 *ccw, void *vaddr) in set_normalized_cda()
111 static inline void clear_normalized_cda(struct ccw1 *ccw) in clear_normalized_cda()
196 static inline void idal_buffer_set_cda(struct idal_buffer *ib, struct ccw1 *ccw) in idal_buffer_set_cda()
H A Dcio.h32 struct ccw1 { struct
/linux/drivers/s390/net/
H A Dctcm_main.h149 struct ccw1 *ccw;
H A Dlcs.h291 struct ccw1 ccws[LCS_NUM_BUFFS + 1];
H A 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()
H A Dqeth_core.h650 static inline struct ccw1 *__ccw_from_cmd(struct qeth_cmd_buffer *iob) in __ccw_from_cmd()
652 return (struct ccw1 *)(iob->data + ALIGN(iob->length, 8)); in __ccw_from_cmd()
H A Dctcm_main.c566 sizeof(struct ccw1) * 3); in ctcm_transmit_skb()
791 sizeof(struct ccw1) * 3); in ctcmpc_transmit_skb()
1331 ch->ccw = kcalloc(ccw_num, sizeof(struct ccw1), GFP_KERNEL | GFP_DMA); in add_channel()
/linux/Documentation/arch/s390/
H A Dcds.rst207 struct ccw1 *cpa,
212 struct ccw1 *cpa,
218 struct ccw1 *cpa,
224 struct ccw1 *cpa,
260 struct ccw1 {

12