Home
last modified time | relevance | path

Searched refs:tcw (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/s390/cio/
H A Dfcx.c27 struct tcw *tcw_get_intrg(struct tcw *tcw) in tcw_get_intrg() argument
29 return dma32_to_virt(tcw->intrg); in tcw_get_intrg()
41 void *tcw_get_data(struct tcw *tcw) in tcw_get_data() argument
43 if (tcw->r) in tcw_get_data()
44 return dma64_to_virt(tcw->input); in tcw_get_data()
45 if (tcw->w) in tcw_get_data()
46 return dma64_to_virt(tcw->output); in tcw_get_data()
57 struct tccb *tcw_get_tccb(struct tcw *tcw) in tcw_get_tccb() argument
59 return dma64_to_virt(tcw->tccb); in tcw_get_tccb()
69 struct tsb *tcw_get_tsb(struct tcw *tcw) in tcw_get_tsb() argument
[all …]
H A Ditcw.c61 struct tcw *tcw; member
62 struct tcw *intrg_tcw;
75 struct tcw *itcw_get_tcw(struct itcw *itcw) in itcw_get_tcw()
77 return itcw->tcw; in itcw_get_tcw()
103 len += /* TCW */ sizeof(struct tcw) + /* TCCB */ TCCB_MAX_SIZE + in itcw_calc_size()
108 len += /* TCW */ sizeof(struct tcw) + /* TCCB */ TCCB_MAX_SIZE + in itcw_calc_size()
212 chunk = fit_chunk(&start, end, sizeof(struct tcw), 64, 0); in itcw_init()
215 itcw->tcw = chunk; in itcw_init()
216 tcw_init(itcw->tcw, (op == ITCW_OP_READ) ? 1 : 0, in itcw_init()
220 chunk = fit_chunk(&start, end, sizeof(struct tcw), 64, 0); in itcw_init()
[all …]
H A Dorb.h55 dma32_t tcw; member
H A Ddevice_fsm.c68 dma32_to_virt(orb->tm.tcw), in ccw_timeout_log()
69 sizeof(struct tcw), 0); in ccw_timeout_log()
/linux/arch/s390/include/asm/
H A Dfcx.h38 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 Dccwdev.h188 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 Ditcw.h20 struct tcw *itcw_get_tcw(struct itcw *itcw);
H A Dscsw.h97 dma32_t tcw; member
/linux/drivers/md/
H A Ddm-crypt.c178 struct iv_tcw_private tcw; member
584 struct iv_tcw_private *tcw = &cc->iv_gen_private.tcw; in crypt_iv_tcw_dtr() local
586 kfree_sensitive(tcw->iv_seed); in crypt_iv_tcw_dtr()
587 tcw->iv_seed = NULL; in crypt_iv_tcw_dtr()
588 kfree_sensitive(tcw->whitening); in crypt_iv_tcw_dtr()
589 tcw->whitening = NULL; in crypt_iv_tcw_dtr()
595 struct iv_tcw_private *tcw = &cc->iv_gen_private.tcw; in crypt_iv_tcw_ctr() local
607 tcw->iv_seed = kzalloc(cc->iv_size, GFP_KERNEL); in crypt_iv_tcw_ctr()
608 tcw->whitening = kzalloc(TCW_WHITENING_SIZE, GFP_KERNEL); in crypt_iv_tcw_ctr()
609 if (!tcw->iv_seed || !tcw->whitening) { in crypt_iv_tcw_ctr()
[all …]
/linux/drivers/s390/block/
H A Ddasd_3990_erp.c2344 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()