/linux/drivers/s390/cio/ |
H A D | fcx.c | 26 struct tcw *tcw_get_intrg(struct tcw *tcw) in tcw_get_intrg() argument 28 return dma32_to_virt(tcw->intrg); in tcw_get_intrg() 40 void *tcw_get_data(struct tcw *tcw) in tcw_get_data() argument 42 if (tcw->r) in tcw_get_data() 43 return dma64_to_virt(tcw->input); in tcw_get_data() 44 if (tcw->w) in tcw_get_data() 45 return dma64_to_virt(tcw->output); in tcw_get_data() 56 struct tccb *tcw_get_tccb(struct tcw *tcw) in tcw_get_tccb() argument 58 return dma64_to_virt(tcw->tccb); in tcw_get_tccb() 68 struct tsb *tcw_get_tsb(struct tcw *tcw) in tcw_get_tsb() argument [all …]
|
H A D | itcw.c | 60 struct tcw *tcw; member 61 struct tcw *intrg_tcw; 74 struct tcw *itcw_get_tcw(struct itcw *itcw) in itcw_get_tcw() 76 return itcw->tcw; in itcw_get_tcw() 102 len += /* TCW */ sizeof(struct tcw) + /* TCCB */ TCCB_MAX_SIZE + in itcw_calc_size() 107 len += /* TCW */ sizeof(struct tcw) + /* TCCB */ TCCB_MAX_SIZE + in itcw_calc_size() 211 chunk = fit_chunk(&start, end, sizeof(struct tcw), 64, 0); in itcw_init() 214 itcw->tcw = chunk; in itcw_init() 215 tcw_init(itcw->tcw, (op == ITCW_OP_READ) ? 1 : 0, in itcw_init() 219 chunk = fit_chunk(&start, end, sizeof(struct tcw), 64, 0); in itcw_init() [all …]
|
H A D | orb.h | 55 dma32_t tcw; member
|
H A D | device_fsm.c | 67 dma32_to_virt(orb->tm.tcw), in ccw_timeout_log() 68 sizeof(struct tcw), 0); in ccw_timeout_log()
|
/linux/arch/s390/include/asm/ |
H A D | fcx.h | 38 struct tcw { struct 293 struct tcw *tcw_get_intrg(struct tcw *tcw); 294 void *tcw_get_data(struct tcw *tcw); 295 struct tccb *tcw_get_tccb(struct tcw *tcw); 296 struct tsb *tcw_get_tsb(struct tcw *tcw); 298 void tcw_init(struct tcw *tcw, int r, int w); 299 void tcw_finalize(struct tcw *tcw, int num_tidaws); 301 void tcw_set_intrg(struct tcw *tcw, struct tcw *intrg_tcw); 302 void tcw_set_data(struct tcw *tcw, void *data, int use_tidal); 303 void tcw_set_tccb(struct tcw *tcw, struct tccb *tccb); [all …]
|
H A D | ccwdev.h | 188 int ccw_device_tm_start_key(struct ccw_device *cdev, struct tcw *tcw, 190 int ccw_device_tm_start_key(struct ccw_device *, struct tcw *, 192 int ccw_device_tm_start_timeout_key(struct ccw_device *, struct tcw *, 194 int ccw_device_tm_start(struct ccw_device *, struct tcw *, 196 int ccw_device_tm_start_timeout(struct ccw_device *, struct tcw *,
|
H A D | itcw.h | 20 struct tcw *itcw_get_tcw(struct itcw *itcw);
|
H A D | scsw.h | 97 dma32_t tcw; member
|
/linux/drivers/md/ |
H A D | dm-crypt.c | 178 struct iv_tcw_private tcw; 329 * tcw: Compatible implementation of the block chaining mode used 604 struct iv_tcw_private *tcw = &cc->iv_gen_private.tcw; in crypt_iv_tcw_dtr() 606 kfree_sensitive(tcw->iv_seed); in crypt_iv_tcw_dtr() 607 tcw->iv_seed = NULL; in crypt_iv_tcw_dtr() 608 kfree_sensitive(tcw->whitening); in crypt_iv_tcw_dtr() 609 tcw->whitening = NULL; in crypt_iv_tcw_dtr() 611 if (tcw->crc32_tfm && !IS_ERR(tcw in crypt_iv_tcw_dtr() 177 struct iv_tcw_private tcw; global() member 603 struct iv_tcw_private *tcw = &cc->iv_gen_private.tcw; crypt_iv_tcw_dtr() local 618 struct iv_tcw_private *tcw = &cc->iv_gen_private.tcw; crypt_iv_tcw_ctr() local 650 struct iv_tcw_private *tcw = &cc->iv_gen_private.tcw; crypt_iv_tcw_init() local 662 struct iv_tcw_private *tcw = &cc->iv_gen_private.tcw; crypt_iv_tcw_wipe() local 674 struct iv_tcw_private *tcw = &cc->iv_gen_private.tcw; crypt_iv_tcw_whitening() local 706 struct iv_tcw_private *tcw = &cc->iv_gen_private.tcw; crypt_iv_tcw_gen() local [all...] |
/linux/drivers/s390/block/ |
H A D | dasd_3990_erp.c | 2344 struct tcw *tcw; in dasd_3990_erp_add_erp() local 2350 datasize = 64 + sizeof(struct tcw) + sizeof(struct tsb); in dasd_3990_erp_add_erp() 2380 tcw = erp->cpaddr; in dasd_3990_erp_add_erp() 2381 tsb = (struct tsb *) &tcw[1]; in dasd_3990_erp_add_erp() 2382 *tcw = *((struct tcw *)cqr->cpaddr); in dasd_3990_erp_add_erp() 2383 tcw->tsb = virt_to_dma64(tsb); in dasd_3990_erp_add_erp()
|
H A D | dasd_eckd.c | 4939 struct tcw *tcw; in dasd_eckd_reset_ccw_to_base_io() local 4944 tcw = cqr->cpaddr; in dasd_eckd_reset_ccw_to_base_io() 4945 tccb = tcw_get_tccb(tcw); in dasd_eckd_reset_ccw_to_base_io() 5690 dma32_to_virt(irb->scsw.tm.tcw)); in dasd_eckd_dump_sense_tcw() 5694 if (irb->scsw.tm.tcw && (irb->scsw.tm.fcxs & 0x01)) in dasd_eckd_dump_sense_tcw() 5695 tsb = tcw_get_tsb(dma32_to_virt(irb->scsw.tm.tcw)); in dasd_eckd_dump_sense_tcw()
|
H A D | dasd.c | 4032 if (irb->scsw.tm.tcw) in dasd_get_sense() 4033 tsb = tcw_get_tsb(dma32_to_virt(irb->scsw.tm.tcw)); in dasd_get_sense()
|