Home
last modified time | relevance | path

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

/linux-6.15/drivers/s390/cio/
H A Dfcx.c26 struct tcw *tcw_get_intrg(struct tcw *tcw) in tcw_get_intrg() argument
40 void *tcw_get_data(struct tcw *tcw) in tcw_get_data() argument
42 if (tcw->r) in tcw_get_data()
44 if (tcw->w) in tcw_get_data()
56 struct tccb *tcw_get_tccb(struct tcw *tcw) in tcw_get_tccb() argument
68 struct tsb *tcw_get_tsb(struct tcw *tcw) in tcw_get_tsb() argument
83 void tcw_init(struct tcw *tcw, int r, int w) in tcw_init() argument
85 memset(tcw, 0, sizeof(struct tcw)); in tcw_init()
154 void tcw_finalize(struct tcw *tcw, int num_tidaws) in tcw_finalize() argument
191 void tcw_set_intrg(struct tcw *tcw, struct tcw *intrg_tcw) in tcw_set_intrg() argument
[all …]
H A Ditcw.c60 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()
214 itcw->tcw = chunk; in itcw_init()
224 tcw_set_intrg(itcw->tcw, itcw->intrg_tcw); in itcw_init()
232 tcw_set_data(itcw->tcw, chunk, 1); in itcw_init()
247 tcw_set_tsb(itcw->tcw, chunk); in itcw_init()
261 tcw_set_tccb(itcw->tcw, chunk); in itcw_init()
354 tcw_set_data(itcw->tcw, addr, use_tidal); in itcw_set_data()
[all …]
H A Ddevice_ops.c543 int ccw_device_tm_start_timeout_key(struct ccw_device *cdev, struct tcw *tcw, in ccw_device_tm_start_timeout_key() argument
575 rc = cio_tm_start_key(sch, tcw, lpm, key); in ccw_device_tm_start_timeout_key()
596 int ccw_device_tm_start_key(struct ccw_device *cdev, struct tcw *tcw, in ccw_device_tm_start_key() argument
599 return ccw_device_tm_start_timeout_key(cdev, tcw, intparm, lpm, key, 0); in ccw_device_tm_start_key()
613 int ccw_device_tm_start(struct ccw_device *cdev, struct tcw *tcw, in ccw_device_tm_start() argument
616 return ccw_device_tm_start_key(cdev, tcw, intparm, lpm, in ccw_device_tm_start()
632 int ccw_device_tm_start_timeout(struct ccw_device *cdev, struct tcw *tcw, in ccw_device_tm_start_timeout() argument
635 return ccw_device_tm_start_timeout_key(cdev, tcw, intparm, lpm, in ccw_device_tm_start_timeout()
H A Dcio.h130 int cio_tm_start_key(struct subchannel *sch, struct tcw *tcw, u8 lpm, u8 key);
H A Dcio.c713 int cio_tm_start_key(struct subchannel *sch, struct tcw *tcw, u8 lpm, u8 key) in cio_tm_start_key() argument
723 orb->tm.tcw = virt_to_dma32(tcw); in cio_tm_start_key()
H A Dorb.h55 dma32_t tcw; member
H A Ddevice_fsm.c67 dma32_to_virt(orb->tm.tcw), in ccw_timeout_log()
68 sizeof(struct tcw), 0); in ccw_timeout_log()
/linux-6.15/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-6.15/drivers/md/
H A Ddm-crypt.c178 struct iv_tcw_private tcw; member
604 struct iv_tcw_private *tcw = &cc->iv_gen_private.tcw; in crypt_iv_tcw_dtr() local
606 kfree_sensitive(tcw->iv_seed); in crypt_iv_tcw_dtr()
607 tcw->iv_seed = NULL; in crypt_iv_tcw_dtr()
609 tcw->whitening = NULL; in crypt_iv_tcw_dtr()
615 struct iv_tcw_private *tcw = &cc->iv_gen_private.tcw; in crypt_iv_tcw_ctr() local
629 if (!tcw->iv_seed || !tcw->whitening) { in crypt_iv_tcw_ctr()
640 struct iv_tcw_private *tcw = &cc->iv_gen_private.tcw; in crypt_iv_tcw_init() local
652 struct iv_tcw_private *tcw = &cc->iv_gen_private.tcw; in crypt_iv_tcw_wipe() local
663 struct iv_tcw_private *tcw = &cc->iv_gen_private.tcw; in crypt_iv_tcw_whitening() local
[all …]
/linux-6.15/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()
H A Ddasd_eckd.c4940 struct tcw *tcw; in dasd_eckd_reset_ccw_to_base_io() local
4945 tcw = cqr->cpaddr; in dasd_eckd_reset_ccw_to_base_io()
4946 tccb = tcw_get_tccb(tcw); in dasd_eckd_reset_ccw_to_base_io()
5691 dma32_to_virt(irb->scsw.tm.tcw)); in dasd_eckd_dump_sense_tcw()
5695 if (irb->scsw.tm.tcw && (irb->scsw.tm.fcxs & 0x01)) in dasd_eckd_dump_sense_tcw()
5696 tsb = tcw_get_tsb(dma32_to_virt(irb->scsw.tm.tcw)); in dasd_eckd_dump_sense_tcw()
H A Ddasd.c4033 if (irb->scsw.tm.tcw) in dasd_get_sense()
4034 tsb = tcw_get_tsb(dma32_to_virt(irb->scsw.tm.tcw)); in dasd_get_sense()